From ee64a64fb0705422c18608304e63a505d10d8ba1 Mon Sep 17 00:00:00 2001 From: "Ben David, Elad (eb7504)" Date: Sun, 3 Nov 2019 16:19:16 +0200 Subject: Handle onboard ALTER tables to support upgrade Change-Id: I6c96aecccf00a3b02bf07cf172ff752b69d3cc94 Issue-ID: SDC-2640 Signed-off-by: Ben David, Elad (eb7504) --- .../dist/sdc-onboard-db-init-docker/artifacts/Dockerfile | 2 ++ openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml | 15 ++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'openecomp-be/dist/sdc-onboard-db-init-docker') diff --git a/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile b/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile index 526ab95024..76e1d2b154 100644 --- a/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile +++ b/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile @@ -4,6 +4,8 @@ COPY init_keyspaces.cql /root/ COPY init_schemas.cql /root/ +COPY alter_tables.cql /root/ + COPY startup.sh /root/ RUN chmod 770 /root/startup.sh diff --git a/openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml b/openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml index 05d83776dc..c2cafd71d8 100644 --- a/openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml +++ b/openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml @@ -18,7 +18,12 @@ sdc-onboard-cassandra-init + onap + docker + docker + nexus3.onap.org:10001 + @@ -57,15 +62,15 @@ nexus3.onap.org:10001 - docker - docker + ${docker.username} + ${docker.password} - onap/${docker.image.name} + ${docker.namespace}/${docker.image.name} ${docker.image.name} try @@ -87,7 +92,7 @@ true - onap/${docker.image.name} + ${docker.namespace}/${docker.image.name} @@ -106,7 +111,7 @@ push - onap/${docker.image.name} + ${docker.namespace}/${docker.image.name} -- cgit 1.2.3-korg