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

CORE-165: restore TOS passthroughs #1521

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

davidangb
Copy link
Contributor

@davidangb davidangb commented Dec 19, 2024

#1517 broke the terms-of-service passthroughs; this restores them.


Have you read CONTRIBUTING.md lately? If not, do that first.

I, the developer opening this PR, do solemnly pinky swear that:

  • I've followed the instructions if I've made any changes to the API, especially if they're breaking changes
  • I've updated the FISMA documentation if I've made any security-related changes, including auth, encryption, or auditing

In all cases:

  • Get two thumbsworth of review and PO signoff if necessary
  • Verify all tests go green
  • Squash and merge. Make sure your branch deletes; GitHub should do this for you.
  • Test this change deployed correctly and works on dev environment after deployment

@davidangb davidangb requested a review from a team as a code owner December 19, 2024 20:13
@davidangb davidangb requested review from dvoet and kevinmarete and removed request for a team December 19, 2024 20:13
@@ -25,6 +25,7 @@ trait PassthroughApiService extends Directives with StreamingPassthrough {
pathPrefix("version" / "executionEngine")(streamingPassthrough(s"$rawls/version/executionEngine")),
// Sam
pathPrefix("api" / "proxyGroup")(streamingPassthrough(s"$sam/api/google/user/proxyGroup")),
pathPrefix("register" / "user")(streamingPassthrough(s"$sam/register/user")),
pathPrefix("register")(streamingPassthrough(s"$sam/register/user")),
Copy link
Contributor Author

@davidangb davidangb Dec 19, 2024

Choose a reason for hiding this comment

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

This is ugly, but it allows:

Orch Sam
/register /register/user
/register/user/v1/termsofservice /register/user/v1/termsofservice

@davidangb davidangb merged commit 99a5a5e into develop Dec 19, 2024
14 checks passed
@davidangb davidangb deleted the da_CORE-165_restoreTosPassthroughs branch December 19, 2024 20:38
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.

4 participants