-
Story
-
Resolution: Done
-
Highest
-
None
- Register 2 separate plugins for different responsibilities model v. data (for scaling purposes)
- Backward compatible! i.e. can still register 1 plugin for both (ONAP plugin will keep using that)
- Basic checks while registering: Either 2 separate Plugins OR 1 common plugin for both responsibilities. If not reject registration!
- Required DB Schema update, see https://wiki.onap.org/display/DW/CPS-352+%3A+Create+yang-model+for+DMI-registry+data (new revision of that model) Possible add 2 new leaves for separate registration
2 Parts:
- Registration 1 or 2 separate plugins
- When executing how to retrieve correct address, need data/model enum and check all 3 fields
A/C
- Propose new Yang model and agree with team (possible include algorithm to resolve addressing)
- Update yang model for data storage using liquibase steps
- Registration of single model works as before
- Registration of 2 separate models succeeds
- Even when both plugins refer to same instance (handy for testing with ONAP DMI Plugin)
- Any other combination of registration will fail with an Exception (xxx HTTP error)
Out-of-Scope
- CPS Team will NOT implement a separate plugin instance (ONAP DMI plugin will stay combined)
- Error handling mismatches with previous registration (e.g migrating from single to split registration)
- links to
1.
|
Create new Yang model | Closed | josephkeenan | |
2.
|
Update yang model for data storage using liquibase steps | Closed | josephkeenan | |
3.
|
Update OpenAPI for data and model | Closed | josephkeenan | |
4.
|
Implementation & Testing of algorithm | Closed | josephkeenan | |
5.
|
Create Robot Test for Same Service Names | Closed | josephkeenan |