Update on the Review Comments
1. Resolved review comments. 2. Resolved Go linting issues. 3. Increase coverage from 93 to 96 percentage for module.
This commit is contained in:
63
config/bpp-local.yaml
Normal file
63
config/bpp-local.yaml
Normal file
@@ -0,0 +1,63 @@
|
||||
appName: "bppClientService"
|
||||
log:
|
||||
level: debug
|
||||
destinations:
|
||||
- type: stdout
|
||||
context_keys:
|
||||
- transaction_id
|
||||
- message_id
|
||||
http:
|
||||
port: 8080
|
||||
timeout:
|
||||
read: 30
|
||||
write: 30
|
||||
idle: 30
|
||||
plugin:
|
||||
root: extracted/plugins
|
||||
pluginZipPath: plugins_bundle.zip
|
||||
plugins:
|
||||
- publisher
|
||||
- nopschemavalidator
|
||||
- router
|
||||
- nopsigner
|
||||
- nopsignvalidator
|
||||
- reqpreprocessor
|
||||
- gcpAuthMdw
|
||||
module:
|
||||
modules:
|
||||
- name: transactionReciever
|
||||
path: /reciever
|
||||
targetType: msgQ
|
||||
plugin:
|
||||
schemaValidator:
|
||||
id: nopschemavalidator
|
||||
signValidator:
|
||||
id: nopsignValidator
|
||||
publisher:
|
||||
id: publisher
|
||||
config:
|
||||
project: ondc-seller-dev
|
||||
topic: clientSideTopic
|
||||
Router:
|
||||
id: router
|
||||
config:
|
||||
routingConfigPath: configs/bppRecieverRouting-config.yaml
|
||||
preProcessors:
|
||||
- id: reqpreprocessor
|
||||
- name: transactionCaller
|
||||
path: /caller
|
||||
targetType: "http"
|
||||
plugin:
|
||||
signer:
|
||||
id: nopsigner
|
||||
Router:
|
||||
id: router
|
||||
config:
|
||||
routingConfigPath: configs/bppCallerRouting-config.yaml
|
||||
preProcessors:
|
||||
- id: reqpreprocessor
|
||||
postProcessors:
|
||||
- id: gcpAuthMdw
|
||||
config:
|
||||
audience: "target"
|
||||
|
||||
Reference in New Issue
Block a user