Skip to content

Commit

Permalink
Allow addressGenerationHostnameOverride in config (#216)
Browse files Browse the repository at this point in the history
* chore: bump runtime

* fix: allow addressGenerationHostnameOverride in config

* fix: use addressGenerationHostnameOverride in local config
  • Loading branch information
jkoenig134 authored Jul 22, 2024
1 parent e2c58a6 commit 38887c0
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 17 deletions.
1 change: 1 addition & 0 deletions .dev/.env.local
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# required - the information below is used to connect to the backbone
transportLibrary__baseUrl="http://host.docker.internal:8090"
transportLibrary__addressGenerationHostnameOverride="localhost"
transportLibrary__platformClientId="test"
transportLibrary__platformClientSecret="test"

Expand Down
2 changes: 2 additions & 0 deletions .dev/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
- SYNC_ENABLED=${SYNC_ENABLED:-false}
- DATABASE_NAME=${DATABASE_NAME_PREFIX:-connector}-1
- transportLibrary__baseUrl
- transportLibrary__addressGenerationHostnameOverride
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
- modules__sse__enabled=${modules__sse__enabled:-false}
Expand Down Expand Up @@ -42,6 +43,7 @@ services:
- SYNC_ENABLED=${SYNC_ENABLED:-false}
- DATABASE_NAME=${DATABASE_NAME_PREFIX:-connector}-2
- transportLibrary__baseUrl
- transportLibrary__addressGenerationHostnameOverride
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
- modules__sse__enabled=${modules__sse__enabled:-false}
Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@js-soft/node-logger": "1.1.1",
"@js-soft/ts-utils": "^2.3.3",
"@nmshd/iql": "^1.0.2",
"@nmshd/runtime": "5.0.0-alpha.7",
"@nmshd/runtime": "5.0.0-alpha.9",
"agentkeepalive": "4.5.0",
"amqplib": "^0.10.4",
"axios": "^1.7.2",
Expand Down
3 changes: 3 additions & 0 deletions src/jsonSchemas/connectorConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,9 @@
"baseUrl": {
"type": "string"
},
"addressGenerationHostnameOverride": {
"type": "string"
},
"datawalletEnabled": {
"type": "boolean"
},
Expand Down
1 change: 1 addition & 0 deletions src/jsonSchemas/connectorConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ interface IConfigOverwrite {
platformMaxContentLength?: number;
platformAdditionalHeaders?: object;
baseUrl?: string;
addressGenerationHostnameOverride?: string;
realm?: Realm;
datawalletEnabled?: boolean;
debug?: boolean;
Expand Down

0 comments on commit 38887c0

Please sign in to comment.