-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow config to be supplied at runtime not compile time
- Add CORE_STUB_KEYSTORE_FILE property - Add property for keystore_file - Add conditional logic to handle missing both of keystore_file and keystore_base64 properties - Add compose file for docker-compose startup - Delete bash script for startup
- Loading branch information
Showing
9 changed files
with
72 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,6 @@ hs_err_pid* | |
*.iml | ||
.DS_Store | ||
build | ||
|
||
|
||
**/.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_DIRECTORY=/path/to/config/data/files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ COPY --from=build \ | |
/app/ | ||
|
||
WORKDIR /app | ||
ADD config config | ||
|
||
RUN tar -xvf src.tar \ | ||
&& rm src.tar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: "3.9" | ||
services: | ||
core-stub: | ||
build: ./ | ||
environment: | ||
CORE_STUB_CONFIG_FILE: "/app/di-ipv-cri-config.yaml" | ||
CORE_STUB_KEYSTORE_ALIAS: ipv-core-stub | ||
CORE_STUB_KEYSTORE_PASSWORD: "puppet" | ||
CORE_STUB_KEYSTORE_FILE: "/app/keystore.jks" | ||
CORE_STUB_USER_DATA_PATH: "/app/experian-uat-users-large.zip" | ||
|
||
volumes: | ||
- "./di-ipv-config.yaml:/app/di-ipv-cri-config.yaml" | ||
- "${CONFIG_DIRECTORY}/keystore.jks:/app/keystore.jks" | ||
- "${CONFIG_DIRECTORY}/experian-uat-users-large.zip:/app/experian-uat-users-large.zip" | ||
ports: | ||
- "8085:8085" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
credentialIssuerConfigs: | ||
- id: exampleCRI | ||
name: Example CRI | ||
authorizeUrl: http://localhost:1234/oauth2/authorize | ||
tokenUrl: http://localhost:5678/oauth2/token | ||
credentialUrl: http://localhost:5678/oauth2/credential | ||
sendIdentityClaims: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.