Fix : update the config
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
appName: "onix"
|
||||
log:
|
||||
level: debug
|
||||
destinations:
|
||||
- type: stdout
|
||||
contextKeys:
|
||||
- transaction_id
|
||||
- message_id
|
||||
- subscriber_id
|
||||
- module_id
|
||||
http:
|
||||
port: 8080
|
||||
timeout:
|
||||
@@ -16,6 +26,9 @@ modules:
|
||||
httpClientConfig:
|
||||
maxIdleConns: 1000
|
||||
maxIdleConnsPerHost: 200
|
||||
idleConnTimeout: 300s
|
||||
responseHeaderTimeout: 5s
|
||||
plugins:
|
||||
registry:
|
||||
id: registry
|
||||
config:
|
||||
@@ -63,6 +76,9 @@ modules:
|
||||
httpClientConfig:
|
||||
maxIdleConns: 1000
|
||||
maxIdleConnsPerHost: 200
|
||||
idleConnTimeout: 300s
|
||||
responseHeaderTimeout: 5s
|
||||
plugins:
|
||||
registry:
|
||||
id: registry
|
||||
config:
|
||||
|
||||
@@ -1,41 +1,25 @@
|
||||
# ONIX BAP Caller Routing Configuration
|
||||
|
||||
# Supports Phase 1 (Discover Aggregation) and Phase 2+ (Direct BPP Routing)
|
||||
|
||||
# Phase 1: Discover (Aggregation via CDS)
|
||||
|
||||
# Phase 2+: Other Requests (Direct to BPP, NO CDS involvement)
|
||||
|
||||
# These routes use bpp_uri from context (provided in on_discover aggregated response)
|
||||
|
||||
routingRules:
|
||||
|
||||
# Phase 1: Discover to CDS
|
||||
|
||||
- domain: ev_charging_network
|
||||
version: "1.0.0"
|
||||
targetType: url
|
||||
- domain: "ONDC:TRV10"
|
||||
version: "2.0.0"
|
||||
routingType: "bpp"
|
||||
target:
|
||||
url: http://mock-cds:8082/csd
|
||||
excludeAction: false
|
||||
url: "https://gateway.example.com"
|
||||
endpoints:
|
||||
- discover
|
||||
|
||||
|
||||
|
||||
# Phase 2+: Other actions to BPP (via context_endpoint)
|
||||
|
||||
- domain: ev_charging_network
|
||||
version: "1.0.0"
|
||||
targetType: bpp
|
||||
target: {}
|
||||
- search
|
||||
- domain: "ONDC:TRV10"
|
||||
version: "2.0.0"
|
||||
routingType: "bpp"
|
||||
endpoints:
|
||||
- select
|
||||
- init
|
||||
- confirm
|
||||
- status
|
||||
- track
|
||||
- cancel
|
||||
- update
|
||||
- rating
|
||||
- support
|
||||
- domain: "ONDC:TRV12"
|
||||
version: "2.0.0"
|
||||
routingType: "bpp"
|
||||
endpoints:
|
||||
- select
|
||||
- init
|
||||
- confirm
|
||||
- status
|
||||
Reference in New Issue
Block a user