summaryrefslogtreecommitdiffstats
path: root/cps-ri/src/main/resources/changelog/db/changes/07-update-yang-resource-checksums.yaml
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2021-04-07 16:17:33 +0100
committerToineSiebelink <toine.siebelink@est.tech>2021-04-09 16:37:20 +0100
commit723a1b7de055b5b4ab04b0e7988ec796cc9eb8c8 (patch)
treec9b09b025af269ac6a180b9dc69ae6b1772f114b /cps-ri/src/main/resources/changelog/db/changes/07-update-yang-resource-checksums.yaml
parent674935d2ba1bad2b00f24815a9168b08cbf04933 (diff)
Fix liquibase changeset so we can upgrade from H to I
- Undo (accidental) changes in orginal liquiubase cahnge set (03) (see commit : https://gerrit.onap.org/r/c/cps/+/119061) - Add new changeset for required changed related to checksum calcualtion - There is a incorrect field name (checkstyle instead of checksum) in 03-loadData-schema-set.yaml but it seems to be ignored/overruled by the .csv import. If we change it liquibase report an checksum error during upgrade i.e were are not allowed to touch the file! Issue-ID: CPS-310 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I00c94e3f1ddab7c9c54aac1294019ec7cd51634f
Diffstat (limited to 'cps-ri/src/main/resources/changelog/db/changes/07-update-yang-resource-checksums.yaml')
-rw-r--r--cps-ri/src/main/resources/changelog/db/changes/07-update-yang-resource-checksums.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/cps-ri/src/main/resources/changelog/db/changes/07-update-yang-resource-checksums.yaml b/cps-ri/src/main/resources/changelog/db/changes/07-update-yang-resource-checksums.yaml
new file mode 100644
index 0000000000..c3ab784646
--- /dev/null
+++ b/cps-ri/src/main/resources/changelog/db/changes/07-update-yang-resource-checksums.yaml
@@ -0,0 +1,27 @@
+databaseChangeLog:
+ - changeSet:
+ id: 7
+ author: cps
+ comment: Change checsum on yang resource due to new hash algoritm
+ changes:
+ - update:
+ columns:
+ - column:
+ name: checksum
+ value: 417a7b14944f6236ad0e2b1ef956158c050cff9b74e3561ca80af32d11be240b
+ tableName: yang_resource
+ where: checksum='fd06e465f26f1e7d0253bbf77e7e55e1'
+ - update:
+ columns:
+ - column:
+ name: checksum
+ value: 436fef591eba7f38d1a0c5e3cbd3c122f01ab41dfab37cc5a9cbca1ed53b29fb
+ tableName: yang_resource
+ where: checksum='0337045143fa2e592243243f82699b93'
+ - update:
+ columns:
+ - column:
+ name: checksum
+ value: 25516798613f862ad20831e59ba02b75ecdc9c6f5547ed5d90bda76143bf0112
+ tableName: yang_resource
+ where: checksum='57d603ee9ab0c49355ad0695c0709c93'