From 229dbd17cb098d06a50f11f5f77a8ee364376388 Mon Sep 17 00:00:00 2001 From: avigaffa Date: Wed, 15 Aug 2018 08:37:02 +0300 Subject: Remove activity spec from sdc Remove activity spec module from sdc since it is now part of sdc-workflow-designer project Change-Id: I730e60708bf6bae757be46113601c7ce4fc92a92 Issue-ID: SDC-1651 Signed-off-by: avigaffa --- .../activity-spec-docker-assembly/Dockerfile | 24 ---------------------- .../Activity_Spec_Manual_Steps_And_Commands.txt | 14 ------------- .../ReadMe/configuration.yaml | 11 ---------- .../activity-spec-docker-assembly/start.sh | 10 --------- 4 files changed, 59 deletions(-) delete mode 100644 services/activity-spec/activity-spec-web/activity-spec-docker-assembly/Dockerfile delete mode 100644 services/activity-spec/activity-spec-web/activity-spec-docker-assembly/ReadMe/Activity_Spec_Manual_Steps_And_Commands.txt delete mode 100644 services/activity-spec/activity-spec-web/activity-spec-docker-assembly/ReadMe/configuration.yaml delete mode 100644 services/activity-spec/activity-spec-web/activity-spec-docker-assembly/start.sh (limited to 'services/activity-spec/activity-spec-web/activity-spec-docker-assembly') diff --git a/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/Dockerfile b/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/Dockerfile deleted file mode 100644 index adbde5e441..0000000000 --- a/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM jetty:9.4.9-alpine - -EXPOSE 8080 -EXPOSE 8443 -EXPOSE 5005 - -USER root - -RUN mkdir -p /etc/onap/activity-spec/be -RUN mkdir -p /var/log/ONAP/activity-spec/be - -ENV CONFIG_FILES_DIR /etc/onap/activity-spec/be -ENV LOGS_DIR /var/log/ONAP/activity-spec/be - -ADD activity-spec-api-docs-*.war ${JETTY_BASE}/webapps/ -ADD activity-spec-war-*.war ${JETTY_BASE}/webapps/ - -COPY start.sh . -COPY logback.xml ${CONFIG_FILES_DIR} - -RUN chown -R jetty:jetty ${JETTY_BASE}/webapps -RUN chmod 744 start.sh - -ENTRYPOINT [ "./start.sh" ] \ No newline at end of file diff --git a/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/ReadMe/Activity_Spec_Manual_Steps_And_Commands.txt b/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/ReadMe/Activity_Spec_Manual_Steps_And_Commands.txt deleted file mode 100644 index c724498349..0000000000 --- a/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/ReadMe/Activity_Spec_Manual_Steps_And_Commands.txt +++ /dev/null @@ -1,14 +0,0 @@ -# Steps to run activiti-spec docker - -1. Create a directory on host machine to hold configuration file. -2. Copy the provided configuration.yaml in this new;y created directory and populate real enviornment value of Cassandra to which activity-spec web service needs to be connected. -3. Execute below commands to start docker containers. - -# 1. Start activity-spec container -docker run -d --name -e JAVA_OPTIONS="-Xmx128m -Xms128m -Xss1m" -v :/etc/onap/activity-spec/be/config -p :8080 -# 2. Start activity-spec-init container -docker run -d --name -e CS_HOST= -e CS_PORT= -e CS_USER= -e CS_PASSWORD= - -# Example Commands -docker run -d --name sdc-act -e JAVA_OPTIONS="-Xmx128m -Xms128m -Xss1m" -v /data/environments:/etc/onap/activity-spec/be/config -p 8090:8080 onap/activity-spec:1.2.0-SNAPSHOT -docker run -d --name sdc-act-init -e CS_HOST=172.17.0.2 -e CS_USER=asdc_user -e CS_PORT=9160 -e CS_PASSWORD=Aa1234%^! onap/activity-spec-init:1.2.0-SNAPSHOT diff --git a/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/ReadMe/configuration.yaml b/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/ReadMe/configuration.yaml deleted file mode 100644 index bedf36c5db..0000000000 --- a/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/ReadMe/configuration.yaml +++ /dev/null @@ -1,11 +0,0 @@ -cassandraConfig: - cassandraHosts: ['${CS_HOST}'] - reconnectTimeout : 30000 - socketReadTimeout: 20000 - socketConnectTimeout: 20000 - authenticate: true - username: ${CS_USER} - password: ${CS_PASSWORD} - ssl: ${CS_SSL_ENABLED} - truststorePath : ${CS_TRUST_PATH} - truststorePassword : ${CS_TRUST_PASSWORD} \ No newline at end of file diff --git a/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/start.sh b/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/start.sh deleted file mode 100644 index 395cf85bae..0000000000 --- a/services/activity-spec/activity-spec-web/activity-spec-docker-assembly/start.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -JAVA_OPTIONS=" ${JAVA_OPTIONS} \ - -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 - -Dconfig.home=${CONFIG_FILES_DIR}/config \ - -Dlog.home=${LOGS_DIR} \ - -Dlogback.configurationFile=${CONFIG_FILES_DIR}/logback.xml \ - -Dconfiguration.yaml=${CONFIG_FILES_DIR}/config/configuration.yaml" - -java ${JAVA_OPTIONS} -jar "$JETTY_HOME/start.jar" \ No newline at end of file -- cgit 1.2.3-korg