aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-flows
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2020-08-19 10:22:20 +0100
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2020-08-20 17:23:34 +0100
commit329da0d034a4645685ac0fe7f8e61d24e435d5dc (patch)
treeb4ead5e2c9c1471fb1b47f710fc90348cfd74d8a /bpmn/so-bpmn-infrastructure-flows
parent87260307fcdb8b4296558f564d36ad18653268cd (diff)
Picking workflow names dynamically for schema update procedure
Issue-ID: SO-3147 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I4c9de93ea7b51657c2bc6ee24b4bb52e2068cf5a
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-flows')
-rw-r--r--bpmn/so-bpmn-infrastructure-flows/src/test/java/org/onap/so/bpmn/infrastructure/process/ServiceLevelUpgradeTest.java20
1 files changed, 12 insertions, 8 deletions
diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/java/org/onap/so/bpmn/infrastructure/process/ServiceLevelUpgradeTest.java b/bpmn/so-bpmn-infrastructure-flows/src/test/java/org/onap/so/bpmn/infrastructure/process/ServiceLevelUpgradeTest.java
index 805597cd12..00dda299b6 100644
--- a/bpmn/so-bpmn-infrastructure-flows/src/test/java/org/onap/so/bpmn/infrastructure/process/ServiceLevelUpgradeTest.java
+++ b/bpmn/so-bpmn-infrastructure-flows/src/test/java/org/onap/so/bpmn/infrastructure/process/ServiceLevelUpgradeTest.java
@@ -20,7 +20,19 @@
package org.onap.so.bpmn.infrastructure.process;
+import static com.github.tomakehurst.wiremock.client.WireMock.get;
+import static com.github.tomakehurst.wiremock.client.WireMock.okJson;
+import static com.github.tomakehurst.wiremock.client.WireMock.post;
+import static com.github.tomakehurst.wiremock.client.WireMock.put;
+import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
+import static org.assertj.core.api.Assertions.fail;
+import static org.camunda.bpm.engine.test.assertions.bpmn.BpmnAwareAssertions.assertThat;
import com.google.protobuf.Struct;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
import org.camunda.bpm.engine.runtime.ProcessInstance;
import org.junit.Before;
import org.junit.Test;
@@ -35,14 +47,6 @@ import org.onap.so.bpmn.mock.FileUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
-import static com.github.tomakehurst.wiremock.client.WireMock.*;
-import static org.assertj.core.api.Assertions.fail;
-import static org.camunda.bpm.engine.test.assertions.bpmn.BpmnAwareAssertions.assertThat;
/**
* Basic Integration test for ServiceLevelUpgrade.bpmn workflow.
t"><artifactId>odlparent-lite</artifactId> <version>2.3.2</version> <relativePath/> </parent> <groupId>org.onap.ccsdk.sli</groupId> <artifactId>ccsdk-sli-root</artifactId> <version>1.4.1-SNAPSHOT</version> <packaging>pom</packaging> <name>ccsdk-sli</name> <description>Service Logic Interpreter</description> <url>https://wiki.onap.org</url> <organization> <name>ONAP</name> </organization> <modules> <module>core</module> <module>adaptors</module> <module>northbound</module> <module>plugins</module> </modules> <scm> <connection>scm:git:ssh://git@${onap.git.host}/sdnc-code.git</connection> <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/sli.git</developerConnection> <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/sli/browse</url> <tag>sli-1.1.0</tag> </scm> <distributionManagement> <site> <id>ecomp-site</id> <url>dav:${onap.nexus.url}/${sitePath}</url> </site> </distributionManagement> <properties> <sitePath>content/sites/site/org/onap/ccsdk/sli/${project.version}/</sitePath> </properties> <profiles> <profile> <id>blackduck</id> <activation> <property> <name>blackduck-scan</name> </property> </activation> <build> <plugins> <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId> <version>1.4.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName> <outputDirectory>${project.basedir}</outputDirectory> </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase> <goals> <goal>createHubOutput</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>dependency-list</id> <build> <plugins> <plugin> <groupId>com.github.ferstl</groupId> <artifactId>depgraph-maven-plugin</artifactId> <executions> <execution> <phase>validate</phase> <inherited>false</inherited> <goals> <goal>aggregate</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>attach-artifacts</id> <phase>package</phase> <inherited>false</inherited> <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts> <artifact> <file>${dependency-list.file}</file> <type>txt</type> <classifier>dependencies</classifier> </artifact> </artifacts> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>