updated router

This commit is contained in:
tanyamadaan
2025-03-27 11:28:45 +05:30
parent a5e0c0ca19
commit a9ffe29a6e
12 changed files with 282 additions and 322 deletions

View File

@@ -1,14 +1,14 @@
routingRules:
- domain: "ONDC:TRV10"
version: "2.0.0"
routingType: "bpp"
targetType: "bpp"
target:
url: "https://gateway.example.com"
endpoints:
- search
- domain: "ONDC:TRV10"
version: "2.0.0"
routingType: "bpp"
targetType: "bpp"
endpoints:
- select
- init
@@ -17,7 +17,7 @@ routingRules:
- cancel
- domain: "ONDC:TRV12"
version: "2.0.0"
routingType: "bpp"
targetType: "bpp"
endpoints:
- select
- init

View File

@@ -1,7 +1,7 @@
routingRules:
- domain: "ONDC:TRV10"
version: "2.0.0"
routingType: "url"
targetType: "url"
target:
url: "https://services-backend/trv/v1"
endpoints:
@@ -13,8 +13,8 @@ routingRules:
- on_cancel
- domain: "ONDC:TRV10"
version: "2.0.0"
routingType: "msgq"
targetType: "msgq"
target:
topic_id: "trv_topic_id1"
publisherId: "trv_topic_id1"
endpoints:
- on_search

View File

@@ -1,7 +1,7 @@
routingRules:
- domain: "ONDC:TRV10"
version: "2.0.0"
routingType: "bap"
targetType: "bap"
endpoints:
- on_search
- on_select
@@ -12,7 +12,7 @@ routingRules:
- on_cancel
- domain: "ONDC:TRV11"
version: "2.0.0"
routingType: "bap"
targetType: "bap"
endpoints:
- on_search
- on_select

View File

@@ -1,7 +1,7 @@
routingRules:
- domain: "ONDC:TRV10"
version: "2.0.0"
routingType: "url"
targetType: "url"
target:
url: "https://services-backend/trv/v1"
endpoints:
@@ -13,15 +13,15 @@ routingRules:
- domain: "ONDC:TRV10"
version: "2.0.0"
routingType: "msgq"
targetType: "msgq"
target:
topic_id: "trv_topic_id1"
publisherId: "trv_topic_id1"
endpoints:
- search
- domain: "ONDC:TRV11"
version: "2.0.0"
routingType: "url"
targetType: "url"
target:
url: "https://services-backend/trv/v1"
endpoints: