...
# | Assumption | Notes |
---|---|---|
1 | There will be separate short and long term solutions | |
2 | ETH wil provide SQL transformation statements (including rollback) |
Issues & Decisions
# | Issue | Notes | Decision | |
---|---|---|---|---|
1 | Short term solution will be delivered on 'latest branch | NOT in any specific commit/version mention in original bug | Agreed in meeting with stakeholders on | |
2 | Where to Store Version Number | Database/ Liquibase (Liquibase not possible for NCMP) CPS-Core Liquibase as 'id' field which act as vessio. Current version is 15 see changelog/db/changes/15-rename-column-yang-resource-table.yaml | Check with Tony Finnerty | |
3 | Does NCMP need (separate) version number from CPS-Core | |||
4 | Where to trigger implement upgrade action | Options:
|
| |
5 | What Dmi-registry yangmodel version we need to upgrade FROM | Relate commit message: https://gerrit.onap.org/r/gitweb? | 5 | 6 |
Short Term Solution
...
p=cps.git;a=commit;h=7914c8924723092345e8b4d829f15d2a3a5c72c8 Was the data compatibility issue introduced by changelog/db/changes/14-loadData-dmi-registry-2022-05-10-schema-set.yaml | |||
6 | Does short term solution need version | Check with Tony Finnerty see #2 | |
---|---|---|---|
7 | Technical debt: dmi-registry is installed as part of liquibase step in CPS-Core | Add liquibase steps | |
8 | Do we need to worry about rollback | requires specific statements to execute rollback | Yes |
Short Term Solution
- Add Liquibase step 16 with 'dummy' transformation
- Test liquibase upgrade
- Test liquibase rollback
Long Term Solution
Resolve technical debt about CPS-Core installing and upgrading NCMP models and data
Consider Downgrade