martin-g commented on code in PR #1506:
URL:
https://github.com/apache/datafusion-ballista/pull/1506#discussion_r2936750142
##########
ballista/scheduler/src/api/mod.rs:
##########
@@ -27,6 +27,7 @@ pub fn get_routes<
) -> Router {
let router = Router::new()
.route("/api/state", get(handlers::get_scheduler_state::<T, U>))
Review Comment:
It is a bit strange both endpoints returning the same response.
But if /app/version was returning only the version and /api/state just the
start time then every client will need to make two separate REST requests ...
Here is a third option: rename `/api/state` to `/api/info`
Spring Boot uses /info for such "server info" data
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]