Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new reverse proxy for the Brregstub service, including configuration, dependencies, and deployment setup. The changes encompass workflow configurations, Docker setup, Gradle build files, application properties, and the main application starter code.
Configuration and Workflow:
.github/workflows/proxy.brregstub-reverse-proxy.yml
: Added a new GitHub Actions workflow for the Brregstub reverse proxy, triggering on specific paths and using a common backend workflow configuration.Application Setup:
proxies/brregstub-reverse-proxy/Dockerfile
: Created a Dockerfile for the Brregstub reverse proxy using the base imageghcr.io/navikt/baseimages/temurin:21
and setting up the application environment.proxies/brregstub-reverse-proxy/build.gradle
: Added Gradle build configuration with necessary plugins and dependencies for the Brregstub reverse proxy.proxies/brregstub-reverse-proxy/settings.gradle
: Configured Gradle settings including plugin management and project dependencies.Application Code:
proxies/brregstub-reverse-proxy/src/main/java/no/nav/testnav/proxies/brregstubreverseproxy/BrregstubReverseProxyApplicationStarter.java
: Implemented the main application starter class, including route configuration for the reverse proxy.proxies/brregstub-reverse-proxy/src/main/java/no/nav/testnav/proxies/brregstubreverseproxy/config/Consumers.java
: Added configuration properties for external service consumers.Deployment Configuration:
proxies/brregstub-reverse-proxy/config.yml
: Added NAIS deployment configuration for the Brregstub reverse proxy, including Azure AD application settings and resource specifications.