Skip to content

Commit

Permalink
fix: config env vars (#367)
Browse files Browse the repository at this point in the history
config env vars fixes
  • Loading branch information
kirgene authored Sep 9, 2022
1 parent be4e5e0 commit 90188ae
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 69 deletions.
4 changes: 2 additions & 2 deletions modules/api-svc/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ module.exports = {
topics: env.get('BACKEND_EVENT_CONSUMER_TOPICS').default('topic-sdk-outbound-domain-events').asArray(),
},
domainEventProducer:{
brokerList: env.get('BACKEND_EVENT_CONSUMER_BROKER_LIST').default('localhost:9092').asString(),
brokerList: env.get('BACKEND_EVENT_PRODUCER_BROKER_LIST').default('localhost:9092').asString(),
clientId: env.get('BACKEND_EVENT_PRODUCER_CLIENT_ID').default('backend_producer_client_id').asString(),
topic: env.get('BACKEND_EVENT_PRODUCER_TOPIC').default('topic-sdk-outbound-domain-events').asString(),
},
Expand All @@ -112,7 +112,7 @@ module.exports = {
topics: env.get('FSPIOP_EVENT_CONSUMER_TOPICS').default('topic-sdk-outbound-domain-events').asArray(),
},
domainEventProducer:{
brokerList: env.get('FSPIOP_EVENT_CONSUMER_BROKER_LIST').default('localhost:9092').asString(),
brokerList: env.get('FSPIOP_EVENT_PRODUCER_BROKER_LIST').default('localhost:9092').asString(),
clientId: env.get('FSPIOP_EVENT_PRODUCER_CLIENT_ID').default('fspiop_producer_client_id').asString(),
topic: env.get('FSPIOP_EVENT_PRODUCER_TOPIC').default('topic-sdk-outbound-domain-events').asString(),
},
Expand Down
4 changes: 2 additions & 2 deletions modules/api-svc/test/config/integration.env
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ MGMT_API_WS_PORT=4005
PM4ML_ENABLED=false

BACKEND_EVENT_CONSUMER_BROKER_LIST=kafka:9092
BACKEND_EVENT_CONSUMER_BROKER_LIST=kafka:9092
FSPIOP_EVENT_CONSUMER_BROKER_LIST=kafka:9092
BACKEND_EVENT_PRODUCER_BROKER_LIST=kafka:9092
FSPIOP_EVENT_CONSUMER_BROKER_LIST=kafka:9092
FSPIOP_EVENT_PRODUCER_BROKER_LIST=kafka:9092
2 changes: 1 addition & 1 deletion modules/outbound-command-event-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"npm-check-updates": "^16.1.0",
"replace": "^1.2.1",
"standard-version": "^9.5.0",
"ts-jest": "^28.0.8",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.3"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/outbound-domain-event-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"npm-check-updates": "^16.1.0",
"replace": "^1.2.1",
"standard-version": "^9.5.0",
"ts-jest": "^28.0.8",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.3"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/private-shared-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"npm-check-updates": "^16.1.0",
"replace": "^1.2.1",
"standard-version": "^9.5.0",
"ts-jest": "^28.0.8",
"ts-jest": "^29.0.0",
"typescript": "^4.8.3"
},
"standard-version": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"npm-check-updates": "^16.1.0",
"replace": "^1.2.1",
"standard-version": "^9.5.0",
"ts-jest": "^28.0.8",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.3",
"yarn-audit-fix": "^9.3.5"
Expand Down
78 changes: 17 additions & 61 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2104,15 +2104,6 @@ __metadata:
languageName: node
linkType: hard

"@jest/schemas@npm:^28.0.2":
version: 28.0.2
resolution: "@jest/schemas@npm:28.0.2"
dependencies:
"@sinclair/typebox": ^0.23.3
checksum: 6a177e97b112c99f377697fe803a34f4489b92cd07949876250c69edc9029c7cbda771fcbb03caebd20ffbcfa89b9c22b4dc9d1e9a7fbc9873185459b48ba780
languageName: node
linkType: hard

"@jest/schemas@npm:^29.0.0":
version: 29.0.0
resolution: "@jest/schemas@npm:29.0.0"
Expand Down Expand Up @@ -2180,20 +2171,6 @@ __metadata:
languageName: node
linkType: hard

"@jest/types@npm:^28.1.1":
version: 28.1.1
resolution: "@jest/types@npm:28.1.1"
dependencies:
"@jest/schemas": ^28.0.2
"@types/istanbul-lib-coverage": ^2.0.0
"@types/istanbul-reports": ^3.0.0
"@types/node": "*"
"@types/yargs": ^17.0.8
chalk: ^4.0.0
checksum: 3c35d3674e08da1e4bb27b8303a59c71fd19a852ff7c7827305462f48ef224b5334aa50e0d547470e1cca1f2dd15a0cff51b46618b8e61e7196908504b29f08f
languageName: node
linkType: hard

"@jest/types@npm:^29.0.1":
version: 29.0.1
resolution: "@jest/types@npm:29.0.1"
Expand Down Expand Up @@ -2598,7 +2575,7 @@ __metadata:
replace: ^1.2.1
standard-version: ^9.5.0
swagger-ui-express: ^4.5.0
ts-jest: ^28.0.8
ts-jest: ^29.0.0
ts-node: ^10.9.1
typescript: ^4.8.3
yamljs: ^0.3.0
Expand All @@ -2625,7 +2602,7 @@ __metadata:
npm-check-updates: ^16.1.0
replace: ^1.2.1
standard-version: ^9.5.0
ts-jest: ^28.0.8
ts-jest: ^29.0.0
ts-node: ^10.9.1
typescript: ^4.8.3
languageName: unknown
Expand All @@ -2647,7 +2624,7 @@ __metadata:
redis: ^4.3.1
replace: ^1.2.1
standard-version: ^9.5.0
ts-jest: ^28.0.8
ts-jest: ^29.0.0
typescript: ^4.8.3
uuid: ^9.0.0
languageName: unknown
Expand All @@ -2673,7 +2650,7 @@ __metadata:
nx: 14.6.5
replace: ^1.2.1
standard-version: ^9.5.0
ts-jest: ^28.0.8
ts-jest: ^29.0.0
ts-node: ^10.9.1
tslib: ^2.4.0
typescript: ^4.8.3
Expand Down Expand Up @@ -3029,13 +3006,6 @@ __metadata:
languageName: node
linkType: hard

"@sinclair/typebox@npm:^0.23.3":
version: 0.23.5
resolution: "@sinclair/typebox@npm:0.23.5"
checksum: c96056d35d9cb862aeb635ff8873e2e7633e668dd544e162aee2690a82c970d0b3f90aa2b3501fe374dfa8e792388559a3e3a86712b23ebaef10061add534f47
languageName: node
linkType: hard

"@sinclair/typebox@npm:^0.24.1":
version: 0.24.20
resolution: "@sinclair/typebox@npm:0.24.20"
Expand Down Expand Up @@ -8985,17 +8955,17 @@ __metadata:
languageName: node
linkType: hard

"jest-util@npm:^28.0.0":
version: 28.1.1
resolution: "jest-util@npm:28.1.1"
"jest-util@npm:^29.0.0, jest-util@npm:^29.0.2":
version: 29.0.2
resolution: "jest-util@npm:29.0.2"
dependencies:
"@jest/types": ^28.1.1
"@jest/types": ^29.0.2
"@types/node": "*"
chalk: ^4.0.0
ci-info: ^3.2.0
graceful-fs: ^4.2.9
picomatch: ^2.2.3
checksum: bca1601099d6a4c3c4ba997b8c035a698f23b9b04a0a284a427113f7d0399f7402ba9f4d73812328e6777bf952bf93dfe3d3edda6380a6ca27cdc02768d601e0
checksum: ee7a264ac9968f5c2fc6d79b7b76c8df4b22762e3c45c92a35e66e81b9fb45c341b03e5e18d8c4de4cd19ab7faf70a67ec419e6b57b5dfc61b84e96719649838
languageName: node
linkType: hard

Expand All @@ -9013,20 +8983,6 @@ __metadata:
languageName: node
linkType: hard

"jest-util@npm:^29.0.2":
version: 29.0.2
resolution: "jest-util@npm:29.0.2"
dependencies:
"@jest/types": ^29.0.2
"@types/node": "*"
chalk: ^4.0.0
ci-info: ^3.2.0
graceful-fs: ^4.2.9
picomatch: ^2.2.3
checksum: ee7a264ac9968f5c2fc6d79b7b76c8df4b22762e3c45c92a35e66e81b9fb45c341b03e5e18d8c4de4cd19ab7faf70a67ec419e6b57b5dfc61b84e96719649838
languageName: node
linkType: hard

"jest-validate@npm:^29.0.2":
version: 29.0.2
resolution: "jest-validate@npm:29.0.2"
Expand Down Expand Up @@ -13638,23 +13594,23 @@ __metadata:
languageName: node
linkType: hard

"ts-jest@npm:^28.0.8":
version: 28.0.8
resolution: "ts-jest@npm:28.0.8"
"ts-jest@npm:^29.0.0":
version: 29.0.0
resolution: "ts-jest@npm:29.0.0"
dependencies:
bs-logger: 0.x
fast-json-stable-stringify: 2.x
jest-util: ^28.0.0
jest-util: ^29.0.0
json5: ^2.2.1
lodash.memoize: 4.x
make-error: 1.x
semver: 7.x
yargs-parser: ^21.0.1
peerDependencies:
"@babel/core": ">=7.0.0-beta.0 <8"
"@jest/types": ^28.0.0
babel-jest: ^28.0.0
jest: ^28.0.0
"@jest/types": ^29.0.0
babel-jest: ^29.0.0
jest: ^29.0.0
typescript: ">=4.3"
peerDependenciesMeta:
"@babel/core":
Expand All @@ -13667,7 +13623,7 @@ __metadata:
optional: true
bin:
ts-jest: cli.js
checksum: c72e9292709e77ce47ac7813cb24feaa9d01dc983598d29a821f224b5cc190dc7d67e17379cef089095404c00b9d582ee91c727916f9ec289cb1b723df408ae3
checksum: f4e811aa910b7cd2ef6a9269700dda17ccf253ebdb6ba9e596982d238292d6482973e670e7a6875209e7d246cdf575d79590fc503e12e9368e9105d1d74f09fc
languageName: node
linkType: hard

Expand Down

0 comments on commit 90188ae

Please sign in to comment.