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

724 redirect traffic from to managementportal #725

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

Bdegraaf1234
Copy link
Member

@Bdegraaf1234 Bdegraaf1234 commented Sep 27, 2023

Description: Change some dev-settings to simplify development by making web-requests sent to the Angular Live Development Server (ALDS) follow the same routes as web-requests sent to (locally hosted) prod builds (i.e. the docker images used in this and other repos)

One "breaking" change is that the ALDS is now hosted at port 8081, as this is the default port we host management portal on when hosted in conjunction with other services.

furthermore, requests pointing to {ALDS}/managementportal are redirected to root, and a description of the client credential authorization workflow was added to the readme

Fixes #724

Checklist:

  • The Main workflow has succeeded
  • The Gatling tests have passed
  • I have logged into the portal running locally with default admin credentials
  • I have updated the README files if this change requires documentation update
  • I have commented my code, particularly in hard-to-understand areas

…gementportal should be redirected to the root. This is because these requests are formatted as they would be when pointed to production servers where requests to managementportal are prefixed with /managementportal
…his is the default port where we expose managementportal in production/docker so this makes web-requests universal between the dev environment and (locally hosted) production builds
@Bdegraaf1234 Bdegraaf1234 self-assigned this Sep 27, 2023
@Bdegraaf1234 Bdegraaf1234 linked an issue Sep 27, 2023 that may be closed by this pull request
@Bdegraaf1234 Bdegraaf1234 changed the base branch from master to dev September 27, 2023 08:54
Copy link
Member

@blootsvoets blootsvoets left a comment

Choose a reason for hiding this comment

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

LGTM

@blootsvoets
Copy link
Member

@Bdegraaf1234 Is this still WIP? Otherwise it can be merged in.

@Bdegraaf1234 Bdegraaf1234 marked this pull request as ready for review October 2, 2023 14:33
@Bdegraaf1234
Copy link
Member Author

No it's ready for review imo :)

@blootsvoets blootsvoets merged commit cc2aa6f into dev Oct 2, 2023
3 of 5 checks passed
@blootsvoets blootsvoets deleted the 724-redirect-traffic-from-to-managementportal branch October 2, 2023 17:37
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.

redirect traffic from / to /managementportal/
2 participants