aboutsummaryrefslogtreecommitdiffstats
path: root/deprecated-workflow-designer/distribution
diff options
context:
space:
mode:
authorvempo <vitaliy.emporopulo@amdocs.com>2018-10-22 11:33:19 +0300
committervempo <vitaliy.emporopulo@amdocs.com>2018-10-22 11:33:19 +0300
commit032929d287cbafefe8367e0fcee18dec4b1bf9f7 (patch)
tree6e4f28cd5303d810c24cd110fb69c6d95b875e98 /deprecated-workflow-designer/distribution
parenta224f54637da8de90570beee979aef9069f467d5 (diff)
Deleted deprecated workflow project
Change-Id: I2ad75adab7d47d8df5b3996a315a9b173fa4bbfe Issue-ID: SDC-1855 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'deprecated-workflow-designer/distribution')
-rw-r--r--deprecated-workflow-designer/distribution/pom.xml294
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/bin/find_kill_process.bat20
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/bin/run.bat37
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/bin/run.sh31
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/bin/stop.bat30
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/bin/stop.sh39
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/conf/workflow-designer.yml63
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/ext-activities-display-info.json29
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/ext-activities.json218
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/temp_workflow.json189
-rw-r--r--deprecated-workflow-designer/distribution/src/main/docker/Dockerfile96
11 files changed, 0 insertions, 1046 deletions
diff --git a/deprecated-workflow-designer/distribution/pom.xml b/deprecated-workflow-designer/distribution/pom.xml
deleted file mode 100644
index 583f4664..00000000
--- a/deprecated-workflow-designer/distribution/pom.xml
+++ /dev/null
@@ -1,294 +0,0 @@
-<?xml version="1.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
- */
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
- <artifactId>sdc-workflow-designer</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>distribution</artifactId>
- <name>distribution</name>
- <packaging>pom</packaging>
-
- <properties>
- <project.package>sdc-workflow-designer</project.package>
- <project.jar>sdc-workflow-designer.jar</project.jar>
- <src.assembly>src/main/assembly</src.assembly>
- <src.docker>src/main/docker</src.docker>
- <linux64id>linux64</linux64id>
- <win64id>win64</win64id>
- <linux64outputdir>target/assembly/linux64</linux64outputdir>
- <win64outputdir>target/assembly/win64</win64outputdir>
- <version.output>target/version</version.output>
- <target.dir>target</target.dir>
- </properties>
-
- <build>
- <plugins>
- <!-- assembly ui and backend to one jar -->
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <mainClass>org.onap.sdc.workflowdesigner.WorkflowDesignerApp</mainClass>
- </manifest>
- </archive>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>assembly-ui-and-backend</id>
- <phase>process-sources</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- copy assembly and jar to assembly -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-assembly-and-jar-${linux64id}</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${linux64outputdir}</outputDirectory>
- <overwrite>true</overwrite>
- <resources>
- <resource>
- <directory>${src.assembly}</directory>
- <filtering>false</filtering>
- <includes>
- <include>**/*</include>
- </includes>
- <excludes>
- <exclude>**/*.bat</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>${target.dir}</directory>
- <filtering>false</filtering>
- <includes>
- <include>*.jar</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- copy assembly and jar to assembly -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-assembly-and-jar-${win64id}</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${win64outputdir}</outputDirectory>
- <overwrite>true</overwrite>
- <resources>
- <resource>
- <directory>${src.assembly}</directory>
- <filtering>false</filtering>
- <includes>
- <include>**/*</include>
- </includes>
- <excludes>
- <exclude>**/*.sh</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>${target.dir}</directory>
- <filtering>false</filtering>
- <includes>
- <include>*.jar</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- rename jar name -->
- <plugin>
- <groupId>com.coderplus.maven.plugins</groupId>
- <artifactId>copy-rename-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>rename-jar-name-${linux64id}</id>
- <phase>process-resources</phase>
- <goals>
- <goal>rename</goal>
- </goals>
- <configuration>
- <sourceFile>${linux64outputdir}/${project.name}-${project.version}-jar-with-dependencies.jar</sourceFile>
- <destinationFile>${linux64outputdir}/${project.jar}</destinationFile>
- </configuration>
- </execution>
- <execution>
- <id>rename-jar-name-${win64id}</id>
- <phase>process-resources</phase>
- <goals>
- <goal>rename</goal>
- </goals>
- <configuration>
- <sourceFile>${win64outputdir}/${project.name}-${project.version}-jar-with-dependencies.jar</sourceFile>
- <destinationFile>${win64outputdir}/${project.jar}</destinationFile>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- version package -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>distribution</id>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target name="distribution">
- <tar destfile="${version.output}/${project.package}-${project.version}-linux64.tar.gz" longfile="posix" compression="gzip">
- <tarfileset dir="${linux64outputdir}" filemode="0644" dirmode="0755">
- <exclude name="**/*.sh"/>
- </tarfileset>
- <tarfileset dir="${linux64outputdir}" filemode="0755" dirmode="0755">
- <include name="**/*.sh"/>
- </tarfileset>
- </tar>
- <attachartifact file="${version.output}/${project.package}-${project.version}-linux64.tar.gz" classifier="linux64" type="tar.gz"/>
- <zip destfile="${version.output}/${project.package}-${project.version}-win64.zip" update="true">
- <zipfileset dir="${win64outputdir}" includes="**"/>
- </zip>
- <attachartifact file="${version.output}/${project.package}-${project.version}-win64.zip" classifier="win64" type="zip"/>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- Copy dockerfile to version -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dockerfile</id>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${version.output}</outputDirectory>
- <resources>
- <resource>
- <directory>${src.docker}</directory>
- <filtering>false</filtering>
- <includes>
- <include>Dockerfile</include>
- </includes>
- </resource>
- </resources>
- <overwrite>true</overwrite>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>docker</id>
- <build>
- <plugins>
- <plugin>
- <groupId>io.fabric8</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <version>0.16.5</version>
- <inherited>false</inherited>
- <configuration>
- <images>
- <image>
- <name>onap/sdc/sdc-workflow-designer</name>
- <build>
- <cleanup>try</cleanup>
- <dockerFileDir>${basedir}/${version.output}</dockerFileDir>
- <dockerFile>${basedir}/target/version/Dockerfile</dockerFile>
- <tags>
- <tag>${project.version}-STAGING-latest</tag>
- </tags>
- </build>
- </image>
- </images>
- </configuration>
- <executions>
- <execution>
- <id>generate-images</id>
- <phase>package</phase>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
-
- <execution>
- <id>push-images</id>
- <phase>deploy</phase>
- <goals>
- <goal>build</goal>
- <goal>push</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
- <dependencies>
- <dependency>
- <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
- <artifactId>sdc-workflow-designer-server</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
- <artifactId>sdc-workflow-designer-ui</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
-</project>
diff --git a/deprecated-workflow-designer/distribution/src/main/assembly/bin/find_kill_process.bat b/deprecated-workflow-designer/distribution/src/main/assembly/bin/find_kill_process.bat
deleted file mode 100644
index 9d129ee5..00000000
--- a/deprecated-workflow-designer/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/deprecated-workflow-designer/distribution/src/main/assembly/bin/run.bat b/deprecated-workflow-designer/distribution/src/main/assembly/bin/run.bat
deleted file mode 100644
index 63f3dcd5..00000000
--- a/deprecated-workflow-designer/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/deprecated-workflow-designer/distribution/src/main/assembly/bin/run.sh b/deprecated-workflow-designer/distribution/src/main/assembly/bin/run.sh
deleted file mode 100644
index 05d0dfd8..00000000
--- a/deprecated-workflow-designer/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/deprecated-workflow-designer/distribution/src/main/assembly/bin/stop.bat b/deprecated-workflow-designer/distribution/src/main/assembly/bin/stop.bat
deleted file mode 100644
index 974d41b6..00000000
--- a/deprecated-workflow-designer/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/deprecated-workflow-designer/distribution/src/main/assembly/bin/stop.sh b/deprecated-workflow-designer/distribution/src/main/assembly/bin/stop.sh
deleted file mode 100644
index 3fe6d60d..00000000
--- a/deprecated-workflow-designer/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/deprecated-workflow-designer/distribution/src/main/assembly/conf/workflow-designer.yml b/deprecated-workflow-designer/distribution/src/main/assembly/conf/workflow-designer.yml
deleted file mode 100644
index 9b35b261..00000000
--- a/deprecated-workflow-designer/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/deprecated-workflow-designer/distribution/src/main/assembly/ext-activities-display-info.json b/deprecated-workflow-designer/distribution/src/main/assembly/ext-activities-display-info.json
deleted file mode 100644
index 72056a5d..00000000
--- a/deprecated-workflow-designer/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/deprecated-workflow-designer/distribution/src/main/assembly/ext-activities.json b/deprecated-workflow-designer/distribution/src/main/assembly/ext-activities.json
deleted file mode 100644
index 6defc343..00000000
--- a/deprecated-workflow-designer/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/deprecated-workflow-designer/distribution/src/main/assembly/temp_workflow.json b/deprecated-workflow-designer/distribution/src/main/assembly/temp_workflow.json
deleted file mode 100644
index 112372ec..00000000
--- a/deprecated-workflow-designer/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/deprecated-workflow-designer/distribution/src/main/docker/Dockerfile b/deprecated-workflow-designer/distribution/src/main/docker/Dockerfile
deleted file mode 100644
index bd28c615..00000000
--- a/deprecated-workflow-designer/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
-