From 495ae8e49f0131bf461ea52baa87004c39f40bd3 Mon Sep 17 00:00:00 2001 From: "puthuparambil.aditya" Date: Tue, 23 Feb 2021 15:51:00 +0000 Subject: Schema creation and Data pre-load to on cps-xnf-proxy start-up using liquibase 1. Common change-log master used only to specify the different change sets. 2. Specific change set created for cpsTables creation and for loading data to each cps component like dataspace, schema-set, anchor and dataNode 3. The data load cabability is configurable in the sense, it will be trigered only if the label is specified in the application.yaml Issue-ID: CPS-173, CPS-242 Signed-off-by: puthuparambil.aditya Change-Id: I44c640ce50b7203f5799d722149397478a98bc05 --- .../resources/changelog/db/changes/04-loadData-anchor.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cps-ri/src/main/resources/changelog/db/changes/04-loadData-anchor.yaml (limited to 'cps-ri/src/main/resources/changelog/db/changes/04-loadData-anchor.yaml') diff --git a/cps-ri/src/main/resources/changelog/db/changes/04-loadData-anchor.yaml b/cps-ri/src/main/resources/changelog/db/changes/04-loadData-anchor.yaml new file mode 100644 index 000000000..d42870d24 --- /dev/null +++ b/cps-ri/src/main/resources/changelog/db/changes/04-loadData-anchor.yaml @@ -0,0 +1,13 @@ +databaseChangeLog: + - changeSet: + author: cps + label: xnf-data-preload + id: 4 + loadUpdateData: + encoding: UTF-8 + file: 'changelog/db/changes/data/anchor.csv' + onlyUpdate: 'false' + primaryKey: 'id' + quotchar: '"' + separator: '|' + tableName: 'anchor' -- cgit