Added unit tests for the following:
- For target type URL:
- ExcludeAction explicitly set true
- ExcludeAction explicitly set to false
- ExcludeAction omitted
- ExcludeAction when target type is BPP
- ExcludeAction when target type is BAP
- ExcludeAction when target type is Publisher
11 lines
197 B
YAML
11 lines
197 B
YAML
routingRules:
|
|
- domain: ONDC:TRV10
|
|
version: 2.0.0
|
|
targetType: bap
|
|
target:
|
|
url: https://mock_bap.com/v2/ondc
|
|
excludeAction: true
|
|
endpoints:
|
|
- search
|
|
- init
|