fix: routing files change, projectid, ip change
This commit is contained in:
@@ -22,31 +22,26 @@ modules:
|
||||
handler:
|
||||
type: std
|
||||
role: bap
|
||||
trace:
|
||||
# validateSign: true
|
||||
# addRoute: true
|
||||
# validateSchema: true
|
||||
# reqpreprocessor: true
|
||||
registryUrl: http://localhost:8080/reg
|
||||
plugins:
|
||||
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
|
||||
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
|
||||
@@ -60,7 +55,7 @@ modules:
|
||||
steps:
|
||||
- validateSign
|
||||
- addRoute
|
||||
# - validateSchema
|
||||
- validateSchema
|
||||
- name: bapTxnCaller
|
||||
path: /bap/caller/
|
||||
handler:
|
||||
@@ -71,21 +66,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
|
||||
@@ -97,7 +92,7 @@ modules:
|
||||
uuidKeys: transaction_id,message_id
|
||||
role: bap
|
||||
steps:
|
||||
# - validateSchema
|
||||
- validateSchema
|
||||
- addRoute
|
||||
- sign
|
||||
- name: bppTxnReciever
|
||||
@@ -111,21 +106,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
|
||||
@@ -139,7 +134,7 @@ modules:
|
||||
steps:
|
||||
- validateSign
|
||||
- addRoute
|
||||
# - validateSchema
|
||||
- validateSchema
|
||||
- name: bppTxnCaller
|
||||
path: /bpp/caller/
|
||||
handler:
|
||||
@@ -150,21 +145,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
|
||||
@@ -176,6 +171,6 @@ modules:
|
||||
uuidKeys: transaction_id,message_id
|
||||
role: bpp
|
||||
steps:
|
||||
# - validateSchema
|
||||
- validateSchema
|
||||
- addRoute
|
||||
- sign
|
||||
@@ -1,4 +1,25 @@
|
||||
routes:
|
||||
- action: search
|
||||
type: url
|
||||
target: http://localhost:8080/bpp/reciever/search
|
||||
routingRules:
|
||||
- domain: "ONDC:TRV10"
|
||||
version: "2.0.0"
|
||||
routingType: "bpp"
|
||||
target:
|
||||
url: "https://gateway.example.com"
|
||||
endpoints:
|
||||
- search
|
||||
- domain: "ONDC:TRV10"
|
||||
version: "2.0.0"
|
||||
routingType: "bpp"
|
||||
endpoints:
|
||||
- select
|
||||
- init
|
||||
- confirm
|
||||
- status
|
||||
- cancel
|
||||
- domain: "ONDC:TRV12"
|
||||
version: "2.0.0"
|
||||
routingType: "bpp"
|
||||
endpoints:
|
||||
- select
|
||||
- init
|
||||
- confirm
|
||||
- status
|
||||
@@ -1,4 +1,20 @@
|
||||
routes:
|
||||
- action: on_search
|
||||
type: publisher
|
||||
target: bapNetworkReciever
|
||||
routingRules:
|
||||
- domain: "ONDC:TRV10"
|
||||
version: "2.0.0"
|
||||
routingType: "url"
|
||||
target:
|
||||
url: "https://services-backend/trv/v1"
|
||||
endpoints:
|
||||
- on_select
|
||||
- on_init
|
||||
- on_confirm
|
||||
- on_status
|
||||
- on_update
|
||||
- on_cancel
|
||||
- domain: "ONDC:TRV10"
|
||||
version: "2.0.0"
|
||||
routingType: "msgq"
|
||||
target:
|
||||
topic_id: "trv_topic_id1"
|
||||
endpoints:
|
||||
- on_search
|
||||
@@ -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