Fix : update the config

This commit is contained in:
Manendra Pal Singh
2026-02-26 14:57:38 +05:30
parent 9d57d3b8f1
commit 80f1cc0f10
2 changed files with 32 additions and 32 deletions

View File

@@ -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:

View File

@@ -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