Replies: 5 comments
-
HI All, Can we please have this discussion and finalise a solution for this ? This would soon be needed for the Onix layer2 validations. Thanks, |
Beta Was this translation helpful? Give feedback.
-
This discussion also came up in the ONDC initiative. Restarting the discussion on this including them cc. Tanya |
Beta Was this translation helpful? Give feedback.
-
Same topic on this ticket - beckn/beckn-onix#94 |
Beta Was this translation helpful? Give feedback.
-
Tagging @binrange @tanya-ondc since this has come up in the ONDC discussions. |
Beta Was this translation helpful? Give feedback.
-
Problem
Protocol Server currently has a mechanism to specify a different validation file other than core validation file to validate the messages it receives (search, select, on_search, on_select etc). Typically this facility is used by networks which have Layer 2 config file(Beckn ONIX networks mandate layer 2 config)
Currently when layer 2 config is enabled, the logic to choose the layer 2 config file is fixed.
For example if the context.domain is "dsep:jobs" and context.version is "1.1.0", then the layer 2 config is assumed to be at
schemas/dsep_jobs_1.1.0.yaml
.This method is fixed and is not flexible. Some examples where it falls short are:
Some initial proposals
cc: @ravi-prakash-v @faizmagic @em-abee @shreyvishal
Beta Was this translation helpful? Give feedback.
All reactions