diff options
author | 2018-07-24 17:34:04 +0300 | |
---|---|---|
committer | 2018-07-25 11:39:10 +0300 | |
commit | a52d50e788792a63e97a9176ab319d53db7a2853 (patch) | |
tree | b1c2222cacf4b8192aea16d1e0315b1f005c5347 /distribution/src | |
parent | 3c2665debb400aef7f0ed9e235698d2ff9f859db (diff) |
Replaced old implementation at root
Old project files and directories has been moved
under 'deprecated-workflow-designer'. The old project
is not built by the CI anymore, but can be still built manually.
New modules/directories have been moved up and integrated with
the CI system.
Change-Id: I1528c792bcbcce9e50bfc294a1328a20e72c91cf
Issue-ID: SDC-1559
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'distribution/src')
-rw-r--r-- | distribution/src/main/assembly/bin/find_kill_process.bat | 20 | ||||
-rw-r--r-- | distribution/src/main/assembly/bin/run.bat | 37 | ||||
-rw-r--r-- | distribution/src/main/assembly/bin/run.sh | 31 | ||||
-rw-r--r-- | distribution/src/main/assembly/bin/stop.bat | 30 | ||||
-rw-r--r-- | distribution/src/main/assembly/bin/stop.sh | 39 | ||||
-rw-r--r-- | distribution/src/main/assembly/conf/workflow-designer.yml | 63 | ||||
-rw-r--r-- | distribution/src/main/assembly/ext-activities-display-info.json | 29 | ||||
-rw-r--r-- | distribution/src/main/assembly/ext-activities.json | 218 | ||||
-rw-r--r-- | distribution/src/main/assembly/temp_workflow.json | 189 | ||||
-rw-r--r-- | distribution/src/main/docker/Dockerfile | 96 |
10 files changed, 0 insertions, 752 deletions
diff --git a/distribution/src/main/assembly/bin/find_kill_process.bat b/distribution/src/main/assembly/bin/find_kill_process.bat deleted file mode 100644 index 6e08993f..00000000 --- a/distribution/src/main/assembly/bin/find_kill_process.bat +++ /dev/null @@ -1,20 +0,0 @@ -@REM
-@REM Copyright (c) 2017 ZTE Corporation.
-@REM All rights reserved. This program and the accompanying materials
-@REM are made available under the terms of the Eclipse Public License v1.0
-@REM and the Apache License 2.0 which both accompany this distribution,
-@REM and are available at http://www.eclipse.org/legal/epl-v10.html
-@REM and http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Contributors:
-@REM ZTE - initial API and implementation and/or initial documentation
-@REM
-
-echo %1 | findstr %2 >NUL
-echo ERRORLEVEL=%ERRORLEVEL%
-IF ERRORLEVEL 1 goto findend
-for /f "tokens=1" %%a in (%1) do (
- echo kill %1
- taskkill /F /pid %%a
-)
-:findend
\ No newline at end of file diff --git a/distribution/src/main/assembly/bin/run.bat b/distribution/src/main/assembly/bin/run.bat deleted file mode 100644 index 40467718..00000000 --- a/distribution/src/main/assembly/bin/run.bat +++ /dev/null @@ -1,37 +0,0 @@ -@REM
-@REM Copyright (c) 2017 ZTE Corporation.
-@REM All rights reserved. This program and the accompanying materials
-@REM are made available under the terms of the Eclipse Public License v1.0
-@REM and the Apache License 2.0 which both accompany this distribution,
-@REM and are available at http://www.eclipse.org/legal/epl-v10.html
-@REM and http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Contributors:
-@REM ZTE - initial API and implementation and/or initial documentation
-@REM
-
-@echo off
-title sdc-workflow-designer
-
-set RUNHOME=%~dp0
-echo ### RUNHOME: %RUNHOME%
-echo ### Starting sdc-workflow-designer
-set main_path=%RUNHOME%..\
-cd /d %main_path%
-set JAVA="%JAVA_HOME%\bin\java.exe"
-set port=12345
-set jvm_opts=-Xms50m -Xmx128m
-set jvm_opts=%jvm_opts% -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=%port%,server=y,suspend=n
-set class_path=%main_path%;%main_path%sdc-workflow-designer.jar
-echo ### jvm_opts: %jvm_opts%
-echo ### class_path: %class_path%
-
-%JAVA% -classpath %class_path% %jvm_opts% org.onap.sdc.workflowdesigner.WorkflowDesignerApp server %main_path%conf/workflow-designer.yml
-
-IF ERRORLEVEL 1 goto showerror
-exit
-:showerror
-echo WARNING: Error occurred during startup or Server abnormally stopped by way of killing the process,Please check!
-echo After checking, press any key to close
-pause
-exit
\ No newline at end of file diff --git a/distribution/src/main/assembly/bin/run.sh b/distribution/src/main/assembly/bin/run.sh deleted file mode 100644 index 05d0dfd8..00000000 --- a/distribution/src/main/assembly/bin/run.sh +++ /dev/null @@ -1,31 +0,0 @@ -# -# Copyright (c) 2017 ZTE Corporation. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# and the Apache License 2.0 which both accompany this distribution, -# and are available at http://www.eclipse.org/legal/epl-v10.html -# and http://www.apache.org/licenses/LICENSE-2.0 -# -# Contributors: -# ZTE - initial API and implementation and/or initial documentation -# - -DIRNAME=`dirname $0` -RUNHOME=`cd $DIRNAME/; pwd` -echo @RUNHOME@ $RUNHOME - -echo @JAVA_HOME@ $JAVA_HOME -JAVA="$JAVA_HOME/bin/java" -echo @JAVA@ $JAVA -main_path=$RUNHOME/../ -cd $main_path -JAVA_OPTS="-Xms50m -Xmx128m" -port=12345 -JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$port,server=y,suspend=n" -echo @JAVA_OPTS@ $JAVA_OPTS - -class_path="$main_path/:$main_path/sdc-workflow-designer.jar" -echo @class_path@ $class_path - -"$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.sdc.workflowdesigner.WorkflowDesignerApp server "$main_path/conf/workflow-designer.yml" - diff --git a/distribution/src/main/assembly/bin/stop.bat b/distribution/src/main/assembly/bin/stop.bat deleted file mode 100644 index 4407a449..00000000 --- a/distribution/src/main/assembly/bin/stop.bat +++ /dev/null @@ -1,30 +0,0 @@ -@REM
-@REM Copyright (c) 2017 ZTE Corporation.
-@REM All rights reserved. This program and the accompanying materials
-@REM are made available under the terms of the Eclipse Public License v1.0
-@REM and the Apache License 2.0 which both accompany this distribution,
-@REM and are available at http://www.eclipse.org/legal/epl-v10.html
-@REM and http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Contributors:
-@REM ZTE - initial API and implementation and/or initial documentation
-@REM
-
-@echo off
-title stopping sdc-workflow-designer
-
-set HOME=%~dp0
-set Main_Class="org.onap.sdc.workflowdesigner.WorkflowDesignerApp"
-
-echo ================== sdc-workflow-designer info =============================================
-echo HOME=$HOME
-echo Main_Class=%Main_Class%
-echo ===============================================================================
-
-echo ### Stopping sdc-workflow-designer
-cd /d %HOME%
-
-for /f "delims=" %%i in ('"%JAVA_HOME%\bin\jcmd"') do (
- call find_kill_process "%%i" %Main_Class%
-)
-exit
\ No newline at end of file diff --git a/distribution/src/main/assembly/bin/stop.sh b/distribution/src/main/assembly/bin/stop.sh deleted file mode 100644 index 3fe6d60d..00000000 --- a/distribution/src/main/assembly/bin/stop.sh +++ /dev/null @@ -1,39 +0,0 @@ -# -# Copyright (c) 2017 ZTE Corporation. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# and the Apache License 2.0 which both accompany this distribution, -# and are available at http://www.eclipse.org/legal/epl-v10.html -# and http://www.apache.org/licenses/LICENSE-2.0 -# -# Contributors: -# ZTE - initial API and implementation and/or initial documentation -# - -DIRNAME=`dirname $0` -HOME=`cd $DIRNAME/; pwd` -Main_Class="org.onap.sdc.workflowdesigner.WorkflowDesignerApp" - -echo ================== sdc-workflow-designer info ============================================= -echo HOME=$HOME -echo Main_Class=$Main_Class -echo =============================================================================== -cd $HOME; pwd - -echo @WORK_DIR@ $HOME - -function save_service_pid(){ - service_pid=`ps -ef | grep $Main_Class | grep -v grep | awk '{print $2}'` - echo @service_pid@ $service_pid -} - -function kill_service_process(){ - ps -p $service_pid - if [ $? == 0 ]; then - kill -9 $service_pid - fi -} - -save_service_pid; -echo @C_CMD@ kill -9 $service_pid -kill_service_process;
\ No newline at end of file diff --git a/distribution/src/main/assembly/conf/workflow-designer.yml b/distribution/src/main/assembly/conf/workflow-designer.yml deleted file mode 100644 index 9b35b261..00000000 --- a/distribution/src/main/assembly/conf/workflow-designer.yml +++ /dev/null @@ -1,63 +0,0 @@ -# -# Copyright (c) 2017 ZTE Corporation. -# All rights reserved. This program and the accompanying materials -# are made available under the Apache License, Version 2.0 -# and the Eclipse Public License v1.0 which both accompany this distribution, -# and are available at http://www.eclipse.org/legal/epl-v10.html -# and http://www.apache.org/licenses/LICENSE-2.0 -# -# Contributors: -# ZTE - initial API and implementation and/or initial documentation -# - -template: Hello, %s! - -defaultName: ${DW_DEFAULT_NAME:-Stranger} - -adapterType: SDC - -sdcServiceProxy: - serviceAddr: http://127.0.0.1:8080 - xEcompInstanceId: workflow - authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= - -activitySpecServiceProxy: - serviceAddr: http://127.0.0.1:8090 - xEcompInstanceId: workflow - userId: workflow - authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= - -# use the simple server factory if you only want to run on a single port -server: - type: simple - rootPath: '/api/workflow-modeler/v1/*' - applicationContextPath: / - adminContextPath: /admin - connector: - type: http - port: 8080 - -# Logging settings. -logging: - - # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL. - level: ALL - - # Logger-specific levels. - loggers: - - # Sets the level for 'com.example.app' to DEBUG. - org.onap.sdc.workflowdesigner.WorkflowDesignerApp: INFO - - appenders: - - type: console - threshold: INFO - timeZone: UTC - logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n" - - type: file - threshold: INFO - logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n" - currentLogFilename: ./works/logs/wfd.log - archivedLogFilenamePattern: ./works/logs/zip/wfd-%d{yyyy-MM-dd}.log.gz - archivedFileCount: 7 - timeZone: UTC diff --git a/distribution/src/main/assembly/ext-activities-display-info.json b/distribution/src/main/assembly/ext-activities-display-info.json deleted file mode 100644 index 72056a5d..00000000 --- a/distribution/src/main/assembly/ext-activities-display-info.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "nodes": { - "apds_script": { - }, - "apds_service": { - }, - "apds_scriptA": { - "category": "aaa" - }, - "apds_scriptB": { - "category": "aaa" - }, - "apds_serviceA": { - "category": "aaa" - }, - "apds_serviceB": { - "category": "aaa" - } - }, - "categoryData": { - "aaa": { - "displayName": { - "zh_CN": "扩展任务", - "en_US": "Extension Task" - }, - "collapse": true - } - } -} diff --git a/distribution/src/main/assembly/ext-activities.json b/distribution/src/main/assembly/ext-activities.json deleted file mode 100644 index 6defc343..00000000 --- a/distribution/src/main/assembly/ext-activities.json +++ /dev/null @@ -1,218 +0,0 @@ -[ - { - "id": "apds_service", - "displayName": { - "zh_CN": "Service", - "en_US": "Service" - }, - "description": { - "zh_CN": "JAVA 节点", - "en_US": "JAVA Node" - }, - "type": "serviceTask", - "icon": { - "name": "apds_service", - "width": 56, - "height": 56 - }, - "content": { - "class": "", - "inputs": {} - } - }, - { - "id": "apds_script", - "displayName": { - "zh_CN": "默认脚本", - "en_US": "Script" - }, - "description": { - "zh_CN": "脚本节点", - "en_US": "Script Node" - }, - "type": "scriptTask", - "icon": { - "name": "apds_script", - "width": 56, - "height": 56 - }, - "content": { - "scriptFormat": "", - "script": "" - } - }, - { - "id": "apds_scriptA", - "displayName": { - "zh_CN": "Stop traffic", - "en_US": "Stop traffic" - }, - "description": { - "zh_CN": "Stop traffic", - "en_US": "Stop traffic" - }, - "type": "scriptTask", - "icon": { - "name": "apds_script", - "width": 56, - "height": 56 - }, - "content": { - "scriptFormat": "JavaScript", - "script": "abc" - } - }, - { - "id": "apds_scriptB", - "displayName": { - "zh_CN": "Drain traffic", - "en_US": "Drain traffic" - }, - "description": { - "zh_CN": "Drain traffic", - "en_US": "Drain traffic" - }, - "type": "scriptTask", - "icon": { - "name": "apds_script", - "width": 56, - "height": 56 - }, - "content": { - "scriptFormat": "Groovy", - "script": "xyz" - } - }, - { - "id": "apds_serviceA", - "displayName": { - "zh_CN": "Stop VNF", - "en_US": "Stop VNF" - }, - "description": { - "zh_CN": "Stop VNF", - "en_US": "Stop VNF" - }, - "type": "serviceTask", - "icon": { - "name": "apds_service", - "width": 56, - "height": 56 - }, - "content": { - "class": "org.onap.sdc.workflow.task.StopVNFDelegate", - "inputs": { - "param1": { - "type": "string", - "default": "default", - "required": false, - "displayName": { - "zh_CN": "参数1", - "en_US": "Param1" - }, - "show": true, - "editable": true - }, - "param2": { - "type": "string", - "required": true, - "displayName": { - "zh_CN": "参数2", - "en_US": "Param2" - }, - "show": true, - "editable": true - }, - "param3": { - "type": "string", - "default": "value3", - "required": true, - "displayName": { - "zh_CN": "参数3", - "en_US": "Param3" - }, - "show": true, - "editable": false - } - }, - "outputs": { - "out1": { - "type": "string", - "required": false, - "displayName": { - "zh_CN": "输出1", - "en_US": "Output Param 1" - }, - "show": true, - "editable": true - } - } - } - }, - { - "id": "apds_serviceB", - "displayName": { - "zh_CN": "Create VNF", - "en_US": "Create VNF" - }, - "description": { - "zh_CN": "Create VNF", - "en_US": "Create VNF" - }, - "type": "serviceTask", - "icon": { - "name": "apds_service", - "width": 56, - "height": 56 - }, - "content": { - "class": "org.onap.sdc.workflow.task.CreateVNFDelegate", - "inputs": { - "id": { - "type": "string", - "default": "default", - "required": false, - "displayName": { - "zh_CN": "id", - "en_US": "id" - }, - "show": true, - "editable": true - }, - "name": { - "type": "string", - "required": true, - "displayName": { - "zh_CN": "name", - "en_US": "name" - }, - "show": true, - "editable": true - }, - "type": { - "type": "string", - "default": "value3", - "required": true, - "displayName": { - "zh_CN": "type", - "en_US": "type" - }, - "show": true, - "editable": false - } - }, - "outputs": { - "status": { - "type": "string", - "required": false, - "displayName": { - "zh_CN": "status", - "en_US": "status of vnf" - }, - "show": true, - "editable": true - } - } - } - } -] diff --git a/distribution/src/main/assembly/temp_workflow.json b/distribution/src/main/assembly/temp_workflow.json deleted file mode 100644 index 3b3fa1c1..00000000 --- a/distribution/src/main/assembly/temp_workflow.json +++ /dev/null @@ -1,189 +0,0 @@ -{
- "id": "id12345",
- "name": "test",
- "scene": "abcd",
- "data": {
- "nodes": [
- {
- "id": "startEvent",
- "type": "startEvent",
- "name": "Start",
- "parentId": "root",
- "position": {
- "left": 73,
- "top": 160,
- "width": 56,
- "height": 56
- },
- "connection": [
- {
- "sourceRef": "startEvent",
- "targetRef": "scriptTask"
- }
- ],
- "parameters": []
- },
- {
- "id": "scriptTask",
- "type": "scriptTask",
- "typeId": "apds_scriptA",
- "icon": "apds_script",
- "name": "Stop traffic",
- "parentId": "root",
- "position": {
- "left": 175,
- "top": 160,
- "width": 56,
- "height": 56
- },
- "connection": [
- {
- "sourceRef": "scriptTask",
- "targetRef": "scriptTask_2"
- }
- ],
- "scriptFormat": "JavaScript",
- "script": "abc"
- },
- {
- "id": "scriptTask_2",
- "type": "scriptTask",
- "typeId": "apds_scriptB",
- "icon": "apds_script",
- "name": "Drain traffic",
- "parentId": "root",
- "position": {
- "left": 289,
- "top": 160,
- "width": 56,
- "height": 56
- },
- "connection": [
- {
- "sourceRef": "scriptTask_2",
- "targetRef": "serviceTask"
- }
- ],
- "scriptFormat": "Groovy",
- "script": "xyz"
- },
- {
- "id": "serviceTask",
- "type": "serviceTask",
- "typeId": "apds_serviceA",
- "icon": "apds_service",
- "name": "Stop VNF",
- "parentId": "root",
- "position": {
- "left": 392,
- "top": 160,
- "width": 56,
- "height": 56
- },
- "connection": [
- {
- "sourceRef": "serviceTask",
- "targetRef": "serviceTask_2"
- }
- ],
- "className": "",
- "inputs": [
- {
- "name": "param1",
- "value": "default",
- "valueSource": "string",
- "type": "string",
- "required": false,
- "show": true,
- "errorMsg": ""
- },
- {
- "name": "param2",
- "value": null,
- "valueSource": "string",
- "type": "string",
- "required": true,
- "show": true,
- "errorMsg": ""
- },
- {
- "name": "param3",
- "value": "value3",
- "valueSource": "string",
- "type": "string",
- "required": true,
- "show": true,
- "errorMsg": ""
- }
- ],
- "outputs": [
- {
- "name": "out1",
- "value": null,
- "valueSource": "string",
- "type": "string",
- "required": false,
- "show": true,
- "errorMsg": ""
- }
- ]
- },
- {
- "id": "serviceTask_2",
- "type": "serviceTask",
- "typeId": "apds_serviceB",
- "icon": "apds_service",
- "name": "Create VNF",
- "parentId": "root",
- "position": {
- "left": 500,
- "top": 160,
- "width": 56,
- "height": 56
- },
- "connection": [
- {
- "sourceRef": "serviceTask_2",
- "targetRef": "serviceTask_3"
- }
- ]
- },
- {
- "id": "serviceTask_3",
- "type": "serviceTask",
- "typeId": "apds_service",
- "icon": "apds_service",
- "name": "Start VNF",
- "parentId": "root",
- "position": {
- "left": 620,
- "top": 160,
- "width": 56,
- "height": 56
- },
- "connection": [
- {
- "sourceRef": "serviceTask_3",
- "targetRef": "endEvent"
- }
- ],
- "className": "",
- "inputs": [],
- "outputs": []
- },
- {
- "id": "endEvent",
- "type": "endEvent",
- "name": "End",
- "parentId": "root",
- "position": {
- "left": 744,
- "top": 160,
- "width": 56,
- "height": 56
- },
- "connection": []
- }
- ]
- }
-}
diff --git a/distribution/src/main/docker/Dockerfile b/distribution/src/main/docker/Dockerfile deleted file mode 100644 index bd28c615..00000000 --- a/distribution/src/main/docker/Dockerfile +++ /dev/null @@ -1,96 +0,0 @@ -FROM ubuntu:16.04 - -MAINTAINER "Lv Bo" <lv.bo163@zte.com.cn> - -EXPOSE 8080 - -#install openjdk-1.8 -#RUN sed -i 's#http://archive.ubuntu.com#http://mirrors.163.com#g' /etc/apt/sources.list -RUN apt-get update -RUN apt-get install -y openjdk-8-jdk - -RUN apt-get -y upgrade - - -# Upgrade specific system libraries to fix CVE vulnerabilities -RUN echo "deb http://archive.ubuntu.com/ubuntu/ bionic main restricted" >> /etc/apt/sources.list && \ - echo "deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted" >> /etc/apt/sources.list && \ - apt-get -y update - -# krb5 1.16-2build1 -# For CVE-2017-15088 CVE-2017-11462 -# libvorbis 1.3.5-4.2 -# For CVE-2017-14632 CVE-2017-14160 -# libx11 2:1.6.4-3 -# For CVE-2016-7943 CVE-2016-7942 -# libxtst 1.2.3-1 -# For CVE-2016-7951 -# ncurses 6.1-1ubuntu1 -# For CVE-2017-10685 CVE-2017-10684 -# libsqllite3-0 3.22.0-1 -# For CVE-2017-10989 -# libtiff5 4.0.9-5 -# For CVE-2017-9117 CVE-2016-9540 CVE-2016-9539 CVE-2016-9538 CVE-2016-9537 CVE-2016-9536 CVE-2016-9535 CVE-2016-9534 CVE-2016-9533 CVE-2015-8668 CVE-2015-7554 CVE-2016-6223 CVE-2017-5563 CVE-2016-3621 CVE-2016-8331 -# shadow 1:4.5-1ubuntu1 -# For CVE-2017-12424 -# perl-base 5.26.1-6 -# For CVE-2015-8608 CVE-2017-12883 -# openssl 1.1.0g-2ubuntu4 -# For CVE-2016-6303 CVE-2016-2182 CVE-2016-2177 CVE-2016-2176 -# zlib1g 1:1.2.11.dfsg-0ubuntu2 -# For CVE-2016-9843 CVE-2016-9841 CVE-2016-9842 CVE-2016-9840 -# libdb5.3 -# CVE-2016-3418 CVE-2016-0694 CVE-2016-0692 CVE-2016-0689 CVE-2016-0682 -# libcairo2 -# CVE-2017-9814 -# libc-bin libc6 multiarch-support -# CVE-2018-6485 -# libgtk2.0-0 libgtk2.0-bin libgtk2.0-common -# CVE-2014-1949 -# libgcrypt20 -# CVE-2017-0379 -# libxi6 -# CVE-2016-7946 CVE-2016-7945 -# libxml2 -# CVE-2016-9318 -# libpcre3 -# CVE-2017-6004 - -RUN apt-get -y --only-upgrade install \ - libkrb5-3 krb5-locales \ - libvorbis0a \ - libx11-6 libx11-data libx11-doc libx11-xcb1 \ - libxtst6 \ - ncurses-base ncurses-bin libncurses5 libncursesw5 \ - libsqlite3-0 \ - libtiff5 \ - passwd \ - perl-base \ - libssl1.0.0 \ - openssl \ - zlib1g \ - libdb5.3 \ - libcairo2 \ - libc-bin libc6 multiarch-support \ - libgtk2.0-0 libgtk2.0-bin libgtk2.0-common \ - libgcrypt20 \ - libxi6 \ - libxml2 \ - libpcre3 && \ - apt-get -y autoremove - -#configure the JDK -RUN sed -i 's|#networkaddress.cache.ttl=-1|networkaddress.cache.ttl=10|' /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security -ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 -ENV PATH $PATH:/usr/lib/jvm/java-8-openjdk-amd64/jre/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin -ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib -ENV JRE_HOME ${JAVA_HOME}/jre - -#add workflow designer related resources to the docker image -RUN mkdir /home/sdc-workflow-designer -WORKDIR /home/sdc-workflow-designer -ADD sdc-workflow-designer-*-linux64.tar.gz /home/sdc-workflow-designer/ -RUN chmod 755 /home/sdc-workflow-designer/bin/*.sh - -ENTRYPOINT /home/sdc-workflow-designer/bin/run.sh - |