You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

References

CPS-1312 - Getting issue details... STATUS

CPS-1307 - Getting issue details... STATUS

Assumptions

#AssumptionNotes
1There will be separate short and long term solutions
2ETH wil provide SQL transformation statements (including rollback)


Issues & Decisions

#

Issue

Notes 

Decision

1Short term solution will be delivered on 'latest branchNOT in any specific commit/version mention in original bug

Agreed in meeting with stakeholders on  

2Where to Store Version NumberDatabase/ 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 

3Does NCMP need (separate) version number from CPS-Core

4Where to trigger implement upgrade action

Options:

  1. Init container 
  2. kubernetes - hooks
  3. SpringBoot lifecycle events
  4. Liquibase step 16
  1. Liquibase step 16
5What Dmi-registry yangmodel version we need to upgrade FROM

Relate commit message: https://gerrit.onap.org/r/gitweb?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


6Does short term solution need version

Check with Tony Finnerty  see #2

7Technical debt: dmi-registry is installed as part of liquibase step in CPS-CoreAdd liquibase steps 
8Do we need to worry about rollback requires specific statements to execute rollbackYes

Short Term Solution

  1. Add Liquibase step 16 with 'dummy' transformation
  2. Test liquibase upgrade
  3. Test liquibase rollback

Long Term Solution

Resolve technical debt about CPS-Core installing and upgrading NCMP models and data

Consider Downgrade

  • No labels