fix: routing files change, projectid, ip change
This commit is contained in:
@@ -28,21 +28,21 @@ modules:
|
||||
keyManager:
|
||||
id: secretskeymanager
|
||||
config:
|
||||
projectID: trusty-relic-370809
|
||||
projectID: ${projectID}
|
||||
cache:
|
||||
id: redis
|
||||
config:
|
||||
addr: 10.81.192.4:6379
|
||||
# schemaValidator:
|
||||
# id: schemavalidator
|
||||
# config:
|
||||
# schemaDir: /mnt/gcs/configs/schemas
|
||||
addr: 192.168.1.1:6379
|
||||
schemaValidator:
|
||||
id: schemavalidator
|
||||
config:
|
||||
schemaDir: /mnt/gcs/configs/schemas
|
||||
signValidator:
|
||||
id: signvalidator
|
||||
publisher:
|
||||
id: publisher
|
||||
config:
|
||||
project: trusty-relic-370809
|
||||
project: ${projectID}
|
||||
topic: bapNetworkReciever
|
||||
router:
|
||||
id: router
|
||||
@@ -56,7 +56,7 @@ modules:
|
||||
steps:
|
||||
- validateSign
|
||||
- addRoute
|
||||
# - validateSchema
|
||||
- validateSchema
|
||||
- name: bppTxnCaller
|
||||
path: /bpp/caller/
|
||||
handler:
|
||||
@@ -67,21 +67,21 @@ modules:
|
||||
keyManager:
|
||||
id: secretskeymanager
|
||||
config:
|
||||
projectID: trusty-relic-370809
|
||||
projectID: ${projectID}
|
||||
cache:
|
||||
id: redis
|
||||
config:
|
||||
addr: 10.81.192.4:6379
|
||||
# schemaValidator:
|
||||
# id: schemavalidator
|
||||
# config:
|
||||
# schemaDir: /mnt/gcs/configs/schemas
|
||||
addr: 192.168.1.1:6379
|
||||
schemaValidator:
|
||||
id: schemavalidator
|
||||
config:
|
||||
schemaDir: /mnt/gcs/configs/schemas
|
||||
signer:
|
||||
id: signer
|
||||
publisher:
|
||||
id: publisher
|
||||
config:
|
||||
project: trusty-relic-370809
|
||||
project: ${projectID}
|
||||
topic: bapNetworkReciever
|
||||
router:
|
||||
id: router
|
||||
@@ -93,6 +93,6 @@ modules:
|
||||
uuidKeys: transaction_id,message_id
|
||||
role: bpp
|
||||
steps:
|
||||
# - validateSchema
|
||||
- validateSchema
|
||||
- addRoute
|
||||
- sign
|
||||
@@ -1,4 +1,23 @@
|
||||
routes:
|
||||
- action: on_search
|
||||
type: url
|
||||
target: http://localhost:8080/bap/reciever/on_search
|
||||
routingRules:
|
||||
- domain: "ONDC:TRV10"
|
||||
version: "2.0.0"
|
||||
routingType: "bap"
|
||||
endpoints:
|
||||
- on_search
|
||||
- on_select
|
||||
- on_init
|
||||
- on_confirm
|
||||
- on_status
|
||||
- on_update
|
||||
- on_cancel
|
||||
- domain: "ONDC:TRV11"
|
||||
version: "2.0.0"
|
||||
routingType: "bap"
|
||||
endpoints:
|
||||
- on_search
|
||||
- on_select
|
||||
- on_init
|
||||
- on_confirm
|
||||
- on_status
|
||||
- on_update
|
||||
- on_cancel
|
||||
@@ -1,4 +1,30 @@
|
||||
routes:
|
||||
- action: search
|
||||
type: publisher
|
||||
target: bapNetworkReciever
|
||||
routingRules:
|
||||
- domain: "ONDC:TRV10"
|
||||
version: "2.0.0"
|
||||
routingType: "url"
|
||||
target:
|
||||
url: "https://services-backend/trv/v1"
|
||||
endpoints:
|
||||
- select
|
||||
- init
|
||||
- confirm
|
||||
- status
|
||||
- cancel
|
||||
|
||||
- domain: "ONDC:TRV10"
|
||||
version: "2.0.0"
|
||||
routingType: "msgq"
|
||||
target:
|
||||
topic_id: "trv_topic_id1"
|
||||
endpoints:
|
||||
- search
|
||||
|
||||
- domain: "ONDC:TRV11"
|
||||
version: "2.0.0"
|
||||
routingType: "url"
|
||||
target:
|
||||
url: "https://services-backend/trv/v1"
|
||||
endpoints:
|
||||
- select
|
||||
- init
|
||||
- confirm
|
||||
Reference in New Issue
Block a user