bpmnworkflow.bpmn20.xml
dist
*.log
-.idea/
-*.iml
+*.war
-/*
-
- * Copyright (c) 2018 European Support Limited
-
- *
-
- * Licensed under the Apache License, Version 2.0 (the "License");
-
- * you may not use this file except in compliance with the License.
-
- * You may obtain a copy of the License at
-
- *
-
- * http://www.apache.org/licenses/LICENSE-2.0
-
- *
-
- * Unless required by applicable law or agreed to in writing, software
-
- * distributed under the License is distributed on an "AS IS" BASIS,
-
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-
- * See the License for the specific language governing permissions and
-
- * limitations under the License.
-
- */
\ No newline at end of file
### Example
-`docker run -d --name workflow-cassandra cassandra:2.1`
+`docker run -d --name sdc-workflow-cassandra cassandra:2.1`
## 2. Database Initialization
creation statements to prevent accidental data loss.
`docker run -ti -e CS_HOST=<cassandra-host> -e CS_PORT=<cassandra-port> -e CS_AUTHENTICATE=true/false
--e CS_USER=<cassandra-user> -e CS_PASSWORD=<cassandra-password> nexus3.onap.org:10001/onap/workflow-init:latest`
+-e CS_USER=<cassandra-user> -e CS_PASSWORD=<cassandra-password> nexus3.onap.org:10001/onap/sdc-workflow-init:latest`
### Environment Variables
Assuming you have created a dedicated Cassandra container as described in Database section, and the access to it is not
protected with a password, the following command will initialize the database:
-`docker run -d --name workflow-init
--e CS_HOST=$(docker inspect workflow-cassandra --format={{.NetworkSettings.IPAddress}})
-nexus3.onap.org:10001/onap/workflow-init:latest`
+`docker run -d --name sdc-workflow-init
+-e CS_HOST=$(docker inspect sdc-workflow-cassandra --format={{.NetworkSettings.IPAddress}})
+nexus3.onap.org:10001/onap/sdc-workflow-init:latest`
### Troubleshooting
In order to see if the Workflow Designer was successfully initialized, make sure the console does not contain error
-messages. You can also see the logs of the initialization container using `docker logs workflow-init` command.
+messages. You can also see the logs of the initialization container using `docker logs sdc-workflow-init` command.
## 3. Backend
-e SDC_PASSWORD=<sdc-password> -e CS_HOSTS=<cassandra-hosts> -e CS_PORT=<cassandra-port>
-e CS_AUTHENTICATE=true/false -e CS_USER=<cassandra-user> -e CS_PASSWORD=<cassandra-password>
-e CS_SSL_ENABLED=true/false --volume <cassandra-truststore-path_container>:<cassandra-truststore-path_local>
--e CS_TRUST_STORE_PATH=<cassandra-truststore-path_container> -e CS_TRUST_STORE_PASSWORD=<cassandra-truststore-password>
--e SERVER_SSL_ENABLED=true/false -e SERVER_SSL_KEY_PASSWORD=<ssl_key_password>
--e SERVER_SSL_KEYSTORE_PATH=<ssl_keystore_path> -e SERVER_SSL_KEYSTORE_TYPE=<ssl_keystore_type>
--e JAVA_OPTIONS=<jvm-options> nexus3.onap.org:10001/onap/workflow-backend:latest`
+-e CS_TRUST_STORE_PATH=<cassandra-truststore-path_container> -e CS_TRUST_STORE_PASSWORD=<cassandra-truststore-password>
+-e SERVER_SSL_ENABLED=true/false -e SERVER_SSL_KEY_PASSWORD=<ssl_key_password>
+-e SERVER_SSL_KEYSTORE_PATH=<ssl_keystore_path> -e SERVER_SSL_KEYSTORE_TYPE=<ssl_keystore_type>
+-e JAVA_OPTIONS=<jvm-options> nexus3.onap.org:10001/onap/sdc-workflow-backend:latest`
### Environment Variables
Assuming you have a dedicated Cassandra container as described in Database section, and the access to it is not
protected with a password. The following command will start a backend container without SSL support:
-`docker run -d --name workflow-backend -e SDC_PROTOCOL=http
+`docker run -d --name sdc-workflow-backend -e SDC_PROTOCOL=http
-e SDC_ENDPOINT=$(docker inspect sdc-BE --format={{.NetworkSettings.IPAddress}}):8080
--e CS_HOSTS=$(docker inspect workflow-cassandra --format={{.NetworkSettings.IPAddress}})
+-e CS_HOSTS=$(docker inspect sdc-workflow-cassandra --format={{.NetworkSettings.IPAddress}})
-e SDC_USER=workflow -e SDC_PASSWORD=<secret> -e JAVA_OPTIONS="-Xmx128m -Xms128m -Xss1m" -p 8184:8443
-nexus3.onap.org:10001/onap/workflow-backend:latest`
+nexus3.onap.org:10001/onap/sdc-workflow-backend:latest`
### Troubleshooting
In order to verify that the Workflow Designer backend has started successfully, check the logs of the
-backend container. For example, by running `docker logs workflow-backend`. The logs must not contain any
+backend container. For example, by running `docker logs sdc-workflow-backend`. The logs must not contain any
error messages.
Application logs are located in the */var/log/ONAP/workflow-designer/backend* directory of a workflow backend
container. For example, you can view the audit log by running
-`docker exec -ti workflow-backend less /var/log/ONAP/workflow-designer/backend/audit.log`.
+`docker exec -ti sdc-workflow-backend less /var/log/ONAP/workflow-designer/backend/audit.log`.
## 4. Frontend
`docker run -d -e BACKEND=http://<backend-host>:<backend-port> -e JAVA_OPTIONS=<jvm-options>
-nexus3.onap.org:10001/onap/workflow-frontend:latest`
+nexus3.onap.org:10001/onap/sdc-workflow-frontend:latest`
- BACKEND — root endpoint of the RESTful APIs exposed by a workflow backend server.
- IS_HTTPS — flag to set if frontend accepts https connection from client. Default is false.
-- KEYSTORE_PATH
+- KEYSTORE_PATH
- KEYSTORE_PASS
-- TRUSTSTORE_PATH
+- TRUSTSTORE_PATH
- TRUSTSTORE_PASS
If not set then Using jetty default SSL keys.
### Example
`docker run -d --name workflow-frontend
--e BACKEND=http://$(docker inspect workflow-backend --format={{.NetworkSettings.IPAddress}}):8443 -e IS_HTTPS=true
+-e BACKEND=http://$(docker inspect sdc-workflow-backend --format={{.NetworkSettings.IPAddress}}):8443 -e IS_HTTPS=true
-e KEYSTORE_PATH="etc/org.onap.sdc.p12" -e KEYSTORE_PASS='!ppJ.JvWn0hGh)oVF]([Kv)^'
-e TRUSTSTORE_PATH="etc/org.onap.sdc.trust.jks" -e TRUSTSTORE_PASS="].][xgtze]hBhz*wy]}m#lf*"
-e JAVA_OPTIONS="-Xmx64m -Xms64m -Xss1m" -p 9088:8080 -p 8186:8443
--e IS_HTTPS=true nexus3.onap.org:10001/onap/workflow-frontend:latest`
+-e IS_HTTPS=true nexus3.onap.org:10001/onap/sdc-workflow-frontend:latest`
Notice that port 8080 of the frontend container has been
[mapped]( https://docs.docker.com/config/containers/container-networking/#published-ports) to port 9088 of the host
### Troubleshooting
In order to check if the Workflow Designer frontend has successfully started, look at the logs of the
-frontend container. For example, by running `docker logs workflow-frontend`. The logs should not contain
+frontend container. For example, by running `docker logs sdc-workflow-frontend`. The logs should not contain
error messages.
Workflow frontend does not have backend logic, therefore there are no application logs.
For example, you can restart just the frontend by issuing the command:
-`docker-compose -p workflow restart workflow-frontend`
+`docker-compose -p workflow restart sdc-workflow-frontend`
Keep in mind that changes to the _docker-compose.yml_ configuration or environment variables
[will not be reflected](https://docs.docker.com/compose/reference/restart/) when using `restart`. For that, you will
need to recreate the container (e.g. to change the image version):
-`docker-compose -p workflow up -d --no-deps workflow-frontend`
+`docker-compose -p workflow up -d --no-deps sdc-workflow-frontend`
For more advanced features and commands, please refer to
[Docker Compose documentation](https://docs.docker.com/compose/).
# Added debug configurations - exposing port and added required JAVA_OPTIONS for debug
# for both backend and frontend
- workflow-backend:
+ sdc-workflow-backend:
ports:
- "${BACKEND_DEBUG_PORT}:${BACKEND_DEBUG_PORT}"
environment:
- JAVA_OPTIONS=${JAVA_OPTIONS} -Xdebug -agentlib:jdwp=transport=dt_socket,address=${BACKEND_DEBUG_PORT},server=y,suspend=n
- workflow-frontend:
+ sdc-workflow-frontend:
ports:
- "${FRONTEND_DEBUG_PORT}:${FRONTEND_DEBUG_PORT}"
environment:
version: '3'
services:
-
- workflow-cassandra-init:
- image: "${REGISTRY}onap/workflow-init:${IMAGE_TAG}"
+
+ sdc-workflow-cassandra-init:
+ image: "${REGISTRY}onap/sdc-workflow-init:${IMAGE_TAG}"
environment:
- CS_HOST
- CS_AUTHENTICATE
- CS_PASSWORD
- CS_PORT=${CASSANDRA_INIT_PORT}
- workflow-backend:
+ sdc-workflow-backend:
depends_on:
- - workflow-cassandra-init
- image: "${REGISTRY}onap/workflow-backend:${IMAGE_TAG}"
+ - sdc-workflow-cassandra-init
+ image: "${REGISTRY}onap/sdc-workflow-backend:${IMAGE_TAG}"
environment:
- JAVA_OPTIONS
- CS_HOSTS=${CS_HOST}
- SDC_USER
- SDC_PASSWORD
- workflow-frontend:
+ sdc-workflow-frontend:
depends_on:
- - workflow-cassandra-init
- - workflow-backend
- image: "${REGISTRY}onap/workflow-frontend:${IMAGE_TAG}"
+ - sdc-workflow-cassandra-init
+ - sdc-workflow-backend
+ image: "${REGISTRY}onap/sdc-workflow-frontend:${IMAGE_TAG}"
ports:
- "${FRONTEND_PORT}:8080"
environment:
- JAVA_OPTIONS
- - BACKEND=http://workflow-backend:8080
+ - BACKEND=http://sdc-workflow-backend:8080
because of a limitation of ONAP CI/CD infrastructure.
-->
<groupId>org.onap.sdc.sdc-workflow-designer</groupId>
- <artifactId>workflow-designer-parent</artifactId>
+ <artifactId>sdc-workflow-designer-parent</artifactId>
<name>sdc-sdc-workflow-designer</name>
- <version>1.6.1-SNAPSHOT</version>
+ <version>1.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
</parent>
<modules>
- <module>workflow-designer-init</module>
- <module>workflow-designer-be</module>
- <module>workflow-designer-ui</module>
+ <module>sdc-workflow-designer-init</module>
+ <module>sdc-workflow-designer-be</module>
+ <module>sdc-workflow-designer-ui</module>
</modules>
<build>
<modelVersion>4.0.0</modelVersion>
<groupId>org.openecomp.sdc</groupId>
- <artifactId>workflow-cucumber</artifactId>
+ <artifactId>sdc-workflow-cucumber</artifactId>
<name>cucumber-report</name>
- <version>1.6.1-SNAPSHOT</version>
+ <version>1.7.0-SNAPSHOT</version>
<build>
<plugins>
<modelVersion>4.0.0</modelVersion>
- <artifactId>workflow-designer-be</artifactId>
+ <artifactId>sdc-workflow-designer-be</artifactId>
<parent>
<groupId>org.onap.sdc.sdc-workflow-designer</groupId>
- <artifactId>workflow-designer-parent</artifactId>
- <version>1.6.1-SNAPSHOT</version>
+ <artifactId>sdc-workflow-designer-parent</artifactId>
+ <version>1.7.0-SNAPSHOT</version>
</parent>
<properties>
<configuration>
<images>
<image>
- <name>onap/workflow-backend</name>
+ <name>onap/sdc-workflow-backend</name>
<build>
<tags>
<tag>${project.version}</tag>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <artifactId>workflow-designer-init</artifactId>
+ <artifactId>sdc-workflow-designer-init</artifactId>
<packaging>pom</packaging>
<parent>
<groupId>org.onap.sdc.sdc-workflow-designer</groupId>
- <artifactId>workflow-designer-parent</artifactId>
- <version>1.6.1-SNAPSHOT</version>
+ <artifactId>sdc-workflow-designer-parent</artifactId>
+ <version>1.7.0-SNAPSHOT</version>
</parent>
<profiles>
<configuration>
<images>
<image>
- <name>onap/workflow-init</name>
+ <name>onap/sdc-workflow-init</name>
<build>
<tags>
<tag>${project.version}</tag>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <artifactId>workflow-designer-ui</artifactId>
+ <artifactId>sdc-workflow-designer-ui</artifactId>
<packaging>war</packaging>
<parent>
<groupId>org.onap.sdc.sdc-workflow-designer</groupId>
- <artifactId>workflow-designer-parent</artifactId>
- <version>1.6.1-SNAPSHOT</version>
+ <artifactId>sdc-workflow-designer-parent</artifactId>
+ <version>1.7.0-SNAPSHOT</version>
</parent>
- <properties>
+ <properties>
<jest.command />
</properties>
-
+
<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
<arguments>test-build ${jest.command}</arguments>
<skip>${skipTests}</skip>
- </configuration>
+ </configuration>
<phase>test</phase>
</execution>
</executions>
<resource>
<directory>src/main/frontend/dist</directory>
<includes>
- <include>*.*</include>
+ <include>*.*</include>
</includes>
</resource>
<resource>
<configuration>
<images>
<image>
- <name>onap/workflow-frontend</name>
+ <name>onap/sdc-workflow-frontend</name>
<build>
<tags>
<tag>${project.version}</tag>
version "1.0.1"
resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7"
-onap-ui-common@1.0.100:
- version "1.0.100"
- resolved "https://registry.yarnpkg.com/onap-ui-common/-/onap-ui-common-1.0.100.tgz#c0dae1d3d1c3fd2b866340d27a1179ed10a3a860"
- integrity sha512-d+eaYgVgrj9B8/3iVDlkxO2jiE7wXFrvMogxxHsyM8E0Fa7wXGEGwohA4JD5nGydT84dU2vPzwkby7SZNgGpKA==
+onap-ui-common@1.0.101:
+ version "1.0.101"
+ resolved "https://registry.yarnpkg.com/onap-ui-common/-/onap-ui-common-1.0.101.tgz#c79b8fb903b7d2d3f959e3b5c27b561b563d961b"
-onap-ui-react@^0.1.1:
- version "0.1.1"
- resolved "https://registry.yarnpkg.com/onap-ui-react/-/onap-ui-react-0.1.1.tgz#3640bdb9fb10f85104ad9dd57a9f320b0703abf3"
- integrity sha512-hax7WzSMIPll9fHvKVjFbn2dIOh39fWuiy0VQKONq/ccU3f/y08Y6EzJo7rzWcwjt8bp2KDhqNZky0HwIquc6w==
+onap-ui-common@^1.0.101:
+ version "1.0.106"
+ resolved "https://registry.yarnpkg.com/onap-ui-common/-/onap-ui-common-1.0.106.tgz#d7bf8e3eb1c422afcb87fc8f3eaaf5a996aa2947"
+
+onap-ui-react@^1.0.0:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/onap-ui-react/-/onap-ui-react-1.0.2.tgz#e99dc5a924f84a991c71a3e9c05a44a915830168"
dependencies:
"@storybook/react" "^3.1.5"
http-loader "0.0.1"
- onap-ui-common "1.0.100"
+ onap-ui-common "1.0.101"
prop-types "^15.6.0"
react "15.6.2"
react-dom "15.6.2"
# because they are used in Jenkins, whose plug-in doesn't support
major=1
-minor=6
-patch=1
+minor=7
+patch=0
base_version=${major}.${minor}.${patch}
+++ /dev/null
-<assembly
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
- <id>sdc-wfd-be-files</id>
- <includeBaseDirectory>false</includeBaseDirectory>
- <fileSets>
- <fileSet>
- <includes>
- <include>${project.build.finalName}.jar</include>
- </includes>
- <directory>${project.build.directory}</directory>
- <outputDirectory>/</outputDirectory>
- </fileSet>
- <fileSet>
- <includes>
- <include>org.onap.sdc.p12</include>
- </includes>
- <directory>${project.basedir}/../workflow-designer-ui/docker</directory>
- <outputDirectory>/etc/server-https-keystore</outputDirectory>
- </fileSet>
- </fileSets>
-</assembly>