Layer 2 configuration creation and maintenance
vbabuEM opened this issue · 0 comments
vbabuEM commented
Beckn-ONIX requires layer 2 configuration files to be present for the domain name(field name - domain) and core spec version (field name - version) specified in the message context. These layer 2 configuration currently are all encompassing yaml file with domain specific and network specific rules. The reference Beckn Adapter expects them to be present in its file system with the name `{domain}_{version}.yaml) With regards to this, we have the following issues:
- We will need a yaml file for each domain name used in the examples we support in sandbox and those that we use in Experience Center.
- The spec team is publishing 1.1 complaint domain specs. We need to ensure this covers all the examples and EC apps.
- Currently the domain names are not standardized. e.g in sandbox and EC we use the name desp:courses while in the examples in the repository, we use onest:learning-experiences
- The domain specs currently only use examples and not any rules. So essentially from a validation perspective, they are identical to core spec. The spec team will gradually be modifying this to make it more featureful.
Towards the above, we need an understanding with the spec team. I am assuming that a few of these will be sorted out.
- Standardization of domain names for the published examples and EC apps.
- Ownership of layer 2 configuration files
- A place to update these files on github, so users of Beckn-ONIX can use that in the download script.