summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/main/resources
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-04-25 10:05:06 +0000
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2018-04-25 10:05:06 +0000
commit326db25f7ea828f5a9f69de39877b35db99a60ee (patch)
treef6840dc1a7d4fc122015ad9c1ecbdbe985c8cbef /bpmn/MSOInfrastructureBPMN/src/main/resources
parent95fd7ba6c80038182957430073a98e713a1b5b3d (diff)
Add sync response for VFCNS delete
Add sync response for VFCNS delete Change-Id: I4917f0a83fc0c33d51b9b90d91f10dbdc023e690 Issue-ID: SO-422 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'bpmn/MSOInfrastructureBPMN/src/main/resources')
-rw-r--r--bpmn/MSOInfrastructureBPMN/src/main/resources/process/DeleteVFCNSResource.bpmn50
1 files changed, 34 insertions, 16 deletions
diff --git a/bpmn/MSOInfrastructureBPMN/src/main/resources/process/DeleteVFCNSResource.bpmn b/bpmn/MSOInfrastructureBPMN/src/main/resources/process/DeleteVFCNSResource.bpmn
index 514abb0d52..d7a4bba1dd 100644
--- a/bpmn/MSOInfrastructureBPMN/src/main/resources/process/DeleteVFCNSResource.bpmn
+++ b/bpmn/MSOInfrastructureBPMN/src/main/resources/process/DeleteVFCNSResource.bpmn
@@ -8,9 +8,9 @@
<bpmn:sequenceFlow id="SequenceFlow_00vpfm3" sourceRef="Task_0yl3rau" targetRef="Task_14gmbq4" />
<bpmn:sequenceFlow id="SequenceFlow_1s4cyms" sourceRef="Task_14gmbq4" targetRef="Task_1e27uaw" />
<bpmn:endEvent id="EndEvent_07ew0rf" name="End Custom Delete E2E NS">
- <bpmn:incoming>SequenceFlow_152xb4z</bpmn:incoming>
+ <bpmn:incoming>SequenceFlow_0jvtdhv</bpmn:incoming>
</bpmn:endEvent>
- <bpmn:sequenceFlow id="SequenceFlow_152xb4z" sourceRef="Task_1e27uaw" targetRef="EndEvent_07ew0rf" />
+ <bpmn:sequenceFlow id="SequenceFlow_152xb4z" sourceRef="Task_1e27uaw" targetRef="ScriptTask_0pkuukn" />
<bpmn:scriptTask id="Task_0yl3rau" name="DoCustomDeleteE2ENS prepare" scriptFormat="groovy">
<bpmn:incoming>SequenceFlow_0x2e9we</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_00vpfm3</bpmn:outgoing>
@@ -57,6 +57,14 @@ ex.processJavaException(execution)]]></bpmn:script>
<bpmn:sequenceFlow id="SequenceFlow_0yro7o2" sourceRef="StartEvent_0zwedl6" targetRef="ScriptTask_0tdtqwh" />
<bpmn:sequenceFlow id="SequenceFlow_0p0ayci" sourceRef="ScriptTask_0tdtqwh" targetRef="EndEvent_10tfowz" />
</bpmn:subProcess>
+ <bpmn:scriptTask id="ScriptTask_0pkuukn" name="Send Sync Ack Response" scriptFormat="groovy">
+ <bpmn:incoming>SequenceFlow_152xb4z</bpmn:incoming>
+ <bpmn:outgoing>SequenceFlow_0jvtdhv</bpmn:outgoing>
+ <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
+def dsi = new DeleteVFCNSResource()
+dsi.sendSyncResponse(execution)]]></bpmn:script>
+ </bpmn:scriptTask>
+ <bpmn:sequenceFlow id="SequenceFlow_0jvtdhv" sourceRef="ScriptTask_0pkuukn" targetRef="EndEvent_07ew0rf" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteVFCNSResource">
@@ -68,23 +76,23 @@ ex.processJavaException(execution)]]></bpmn:script>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0x2e9we_di" bpmnElement="SequenceFlow_0x2e9we">
<di:waypoint xsi:type="dc:Point" x="366" y="354" />
- <di:waypoint xsi:type="dc:Point" x="530" y="354" />
+ <di:waypoint xsi:type="dc:Point" x="474" y="354" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="448" y="333" width="0" height="12" />
+ <dc:Bounds x="375" y="333" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_00vpfm3_di" bpmnElement="SequenceFlow_00vpfm3">
- <di:waypoint xsi:type="dc:Point" x="630" y="354" />
- <di:waypoint xsi:type="dc:Point" x="774" y="354" />
+ <di:waypoint xsi:type="dc:Point" x="574" y="354" />
+ <di:waypoint xsi:type="dc:Point" x="661" y="354" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="702" y="333" width="0" height="12" />
+ <dc:Bounds x="572.5" y="333" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1s4cyms_di" bpmnElement="SequenceFlow_1s4cyms">
- <di:waypoint xsi:type="dc:Point" x="874" y="354" />
- <di:waypoint xsi:type="dc:Point" x="1018" y="354" />
+ <di:waypoint xsi:type="dc:Point" x="761" y="354" />
+ <di:waypoint xsi:type="dc:Point" x="889" y="354" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="946" y="333" width="0" height="12" />
+ <dc:Bounds x="780" y="333" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_07ew0rf_di" bpmnElement="EndEvent_07ew0rf">
@@ -94,20 +102,20 @@ ex.processJavaException(execution)]]></bpmn:script>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_152xb4z_di" bpmnElement="SequenceFlow_152xb4z">
- <di:waypoint xsi:type="dc:Point" x="1118" y="354" />
- <di:waypoint xsi:type="dc:Point" x="1313" y="354" />
+ <di:waypoint xsi:type="dc:Point" x="989" y="354" />
+ <di:waypoint xsi:type="dc:Point" x="1113" y="354" />
<bpmndi:BPMNLabel>
- <dc:Bounds x="1215.5" y="333" width="0" height="12" />
+ <dc:Bounds x="1006" y="333" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ScriptTask_1ssr09e_di" bpmnElement="Task_0yl3rau">
- <dc:Bounds x="530" y="314" width="100" height="80" />
+ <dc:Bounds x="474" y="314" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_092ktxo_di" bpmnElement="Task_1e27uaw">
- <dc:Bounds x="1018" y="314" width="100" height="80" />
+ <dc:Bounds x="889" y="314" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="CallActivity_00p99pt_di" bpmnElement="Task_14gmbq4">
- <dc:Bounds x="774" y="314" width="100" height="80" />
+ <dc:Bounds x="661" y="314" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SubProcess_11qmm22_di" bpmnElement="SubProcess_11qmm22" isExpanded="true">
<dc:Bounds x="636" y="539" width="350" height="200" />
@@ -141,6 +149,16 @@ ex.processJavaException(execution)]]></bpmn:script>
<dc:Bounds x="852" y="603" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
+ <bpmndi:BPMNShape id="ScriptTask_0pkuukn_di" bpmnElement="ScriptTask_0pkuukn">
+ <dc:Bounds x="1113" y="314" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNEdge id="SequenceFlow_0jvtdhv_di" bpmnElement="SequenceFlow_0jvtdhv">
+ <di:waypoint xsi:type="dc:Point" x="1213" y="354" />
+ <di:waypoint xsi:type="dc:Point" x="1313" y="354" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="1263" y="333" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
<?xml version="1.0" encoding="UTF-8"?>
<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">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>org.onap.ccsdk.distribution</groupId>
		<artifactId>distribution-odl-neon</artifactId>
		<version>0.7.4-SNAPSHOT</version>
	</parent>

	<artifactId>distribution-odl-neon-docker</artifactId>
	<version>0.7.4-SNAPSHOT</version>
	<packaging>pom</packaging>

	<name>ccsdk-distribution :: opendaylight :: neon :: docker</name>
	<description>Creates OpenDaylight container</description>
	<organization>
		<name>ONAP</name>
	</organization>

	<properties>
		<image.name>onap/ccsdk-odl-neon-alpine-image</image.name>
		<odl.karaf.artifactId>onap-karaf</odl.karaf.artifactId>
	</properties>
	<build>
		<plugins>


			<plugin>
				<groupId>org.codehaus.groovy.maven</groupId>
				<artifactId>gmaven-plugin</artifactId>
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>execute</goal>
						</goals>
						<configuration>
							<source>${basedir}/../../../src/main/scripts/TagVersion.groovy</source>
						</configuration>
					</execution>
				</executions>
			</plugin>



			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<version>3.0.0</version>
				<executions>
					<execution>
						<id>get-odl-distribution</id>
						<phase>validate</phase>
						<goals>
							<goal>copy</goal>
						</goals>
						<configuration>
							<artifactItems>
								<artifactItem>
									<groupId>org.opendaylight.integration</groupId>
									<artifactId>${odl.karaf.artifactId}</artifactId>
									<version>${ccsdk.opendaylight.version}</version>
									<type>tar.gz</type>

									<overWrite>true</overWrite>
									<outputDirectory>${basedir}/target/docker-stage</outputDirectory>
								</artifactItem>
							</artifactItems>
							<overWriteReleases>false</overWriteReleases>
							<overWriteSnapshots>true</overWriteSnapshots>
							<overWriteIfNewer>true</overWriteIfNewer>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.6</version>
				<executions>
					<execution>
						<id>copy-dockerfile</id>
						<goals>
							<goal>copy-resources</goal>
						</goals><!-- here the phase you need -->
						<phase>validate</phase>
						<configuration>
							<outputDirectory>${basedir}/target/docker-stage</outputDirectory>
							<resources>
								<resource>
									<directory>src/main/docker</directory>
									<includes>
										<include>Dockerfile</include>
									</includes>
									<filtering>true</filtering>
								</resource>
								<resource>
									<directory>src/main/odlscripts</directory>
									<includes>
										<include>*</include>
									</includes>
									<filtering>false</filtering>
								</resource>
							</resources>
						</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.28.0</version>
						<inherited>false</inherited>
						<configuration>
							<images>
								<image>
									<name>${image.name}</name>
									<build>
										<cleanup>try</cleanup>
										<dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
										<dockerFile>Dockerfile</dockerFile>
										<tags>
											<tag>${project.docker.latestminortag.version}</tag>
											<tag>${project.docker.latestfulltag.version}</tag>
											<tag>${project.docker.latesttagtimestamp.version}</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>${docker.push.phase}</phase>
								<goals>
									<goal>build</goal>
									<goal>push</goal>
								</goals>
							</execution>
						</executions>
					</plugin>

				</plugins>
			</build>
		</profile>

	</profiles>
</project>