Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drtii 1608 flexible pax endpoint #1939

Merged
merged 13 commits into from
Oct 29, 2024
Merged

Conversation

richbirch
Copy link
Collaborator

Move keycloak classes & test to drt-lib
Add queues end point with support for flexible slot sizes
Add flights end point
Tests

Copy link
Contributor

@ngu04 ngu04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one !

@@ -35,6 +35,13 @@ class SummariesController @Inject()(cc: ControllerComponents, ctrl: DrtSystemInt
Action(BadRequest(s"Invalid date format for $localDateStr. Expected YYYY-mm-dd"))
}
}

private def parseOptionalEndDate(maybeString: Option[String], default: SDateLike): SDateLike =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not referred anywhere

queueTotals
.filter {
case (slotTime, _) =>
println(s"${start.toISOString} <= ${SDate(slotTime).toISOString} < ${end.toISOString}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to keep this println ?

@richbirch richbirch merged commit 45df0ea into master Oct 29, 2024
2 checks passed
@richbirch richbirch deleted the DRTII-1608-flexible-pax-endpoint branch October 29, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants