summaryrefslogtreecommitdiffstats
path: root/cps-ri/src
diff options
context:
space:
mode:
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-02-26 11:42:29 +0200
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-03-03 17:28:20 +0200
commitd44fceebbd37108a15f45fbf5813d413efeb2ac6 (patch)
tree624fc224c5434996e7004c4d148e5e6da5397485 /cps-ri/src
parent32446dce35b5bf9d2c84751718cb4ece7f96fa72 (diff)
CSIT: Integration tests for CPS Core
+ also fixes issue with fragment_id sequence not reflecting data loaded Issue-ID: CPS-261 Change-Id: If590d6a0859a1acc9005dd2da952b7dd93a23059 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'cps-ri/src')
-rw-r--r--cps-ri/src/main/resources/changelog/db/changes/05-loadData-fragment.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/cps-ri/src/main/resources/changelog/db/changes/05-loadData-fragment.yaml b/cps-ri/src/main/resources/changelog/db/changes/05-loadData-fragment.yaml
index 1a31f424a4..8abf980d81 100644
--- a/cps-ri/src/main/resources/changelog/db/changes/05-loadData-fragment.yaml
+++ b/cps-ri/src/main/resources/changelog/db/changes/05-loadData-fragment.yaml
@@ -40,3 +40,13 @@ databaseChangeLog:
header: schema_node_id
name: schema_node_id
type: NUMERIC
+
+ - changeSet:
+ author: cps
+ label: xnf-data-preload
+ id: 5.1
+ changes:
+ - sql:
+ comment: Fixes the id sequence after data insert with predefined ids
+ dbms: postgresql
+ sql: ALTER SEQUENCE IF EXISTS fragment_id_seq RESTART WITH 200 \ No newline at end of file