From 025301d08b061482c1f046d562bf017c8cbcfe8d Mon Sep 17 00:00:00 2001 From: ChrisC Date: Tue, 31 Jan 2017 11:40:03 +0100 Subject: Initial OpenECOMP MSO commit Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC --- .../src/test/resources/BaseTaskTest.bpmn | 79 ++++++++++++++++++++++ .../MSOCoreBPMN/src/test/resources/camunda.cfg.xml | 77 +++++++++++++++++++++ .../src/test/resources/logback-test.xml | 48 +++++++++++++ .../src/test/resources/mso.bpmn.properties | 22 ++++++ .../src/test/resources/mso.bpmn.urn.properties | 21 ++++++ bpmn/MSOCoreBPMN/src/test/resources/request.json | 28 ++++++++ 6 files changed, 275 insertions(+) create mode 100644 bpmn/MSOCoreBPMN/src/test/resources/BaseTaskTest.bpmn create mode 100644 bpmn/MSOCoreBPMN/src/test/resources/camunda.cfg.xml create mode 100644 bpmn/MSOCoreBPMN/src/test/resources/logback-test.xml create mode 100644 bpmn/MSOCoreBPMN/src/test/resources/mso.bpmn.properties create mode 100644 bpmn/MSOCoreBPMN/src/test/resources/mso.bpmn.urn.properties create mode 100644 bpmn/MSOCoreBPMN/src/test/resources/request.json (limited to 'bpmn/MSOCoreBPMN/src/test/resources') diff --git a/bpmn/MSOCoreBPMN/src/test/resources/BaseTaskTest.bpmn b/bpmn/MSOCoreBPMN/src/test/resources/BaseTaskTest.bpmn new file mode 100644 index 0000000000..d94a0c5b21 --- /dev/null +++ b/bpmn/MSOCoreBPMN/src/test/resources/BaseTaskTest.bpmn @@ -0,0 +1,79 @@ + + + + + SequenceFlow_1 + + + + + Hello World + + + ${firstName} + + + ${undefinedVariable} + + + 42 + + + ${age} + + + ${undefinedVariable} + + + 123456789 + + + ${lastVisit} + + + ${undefinedVariable} + + + goodVariable + + + bad Variable + + + SequenceFlow_1 + SequenceFlow_2 + + + + + SequenceFlow_2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bpmn/MSOCoreBPMN/src/test/resources/camunda.cfg.xml b/bpmn/MSOCoreBPMN/src/test/resources/camunda.cfg.xml new file mode 100644 index 0000000000..4858ea0c0e --- /dev/null +++ b/bpmn/MSOCoreBPMN/src/test/resources/camunda.cfg.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/MSOCoreBPMN/src/test/resources/logback-test.xml b/bpmn/MSOCoreBPMN/src/test/resources/logback-test.xml new file mode 100644 index 0000000000..92876fcb19 --- /dev/null +++ b/bpmn/MSOCoreBPMN/src/test/resources/logback-test.xml @@ -0,0 +1,48 @@ + + + + + + + + %d{MM/dd-HH:mm:ss.SSS}|%X{RequestId}|%X{ServiceInstanceId}|%thread|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}||%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}||%X{Timer}|%msg%n + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/MSOCoreBPMN/src/test/resources/mso.bpmn.properties b/bpmn/MSOCoreBPMN/src/test/resources/mso.bpmn.properties new file mode 100644 index 0000000000..d329dbb207 --- /dev/null +++ b/bpmn/MSOCoreBPMN/src/test/resources/mso.bpmn.properties @@ -0,0 +1,22 @@ +### +# ============LICENSE_START======================================================= +# ECOMP MSO +# ================================================================================ +# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. +# ================================================================================ +# 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. +# ============LICENSE_END========================================================= +### + +URNMapping.FileSystemLoading.Enabled=true +testKey=testValue diff --git a/bpmn/MSOCoreBPMN/src/test/resources/mso.bpmn.urn.properties b/bpmn/MSOCoreBPMN/src/test/resources/mso.bpmn.urn.properties new file mode 100644 index 0000000000..7fa587311a --- /dev/null +++ b/bpmn/MSOCoreBPMN/src/test/resources/mso.bpmn.urn.properties @@ -0,0 +1,21 @@ +### +# ============LICENSE_START======================================================= +# ECOMP MSO +# ================================================================================ +# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. +# ================================================================================ +# 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. +# ============LICENSE_END========================================================= +### + +log.debug.TestTask=true diff --git a/bpmn/MSOCoreBPMN/src/test/resources/request.json b/bpmn/MSOCoreBPMN/src/test/resources/request.json new file mode 100644 index 0000000000..bdca336a0b --- /dev/null +++ b/bpmn/MSOCoreBPMN/src/test/resources/request.json @@ -0,0 +1,28 @@ +{ + "variables": { + "bpmnRequest": { + "value": "\n \n d00eb185-b1d7-429e-aca3-42a61b459535\n Layer3ServiceActivateRequest\n OMX\n http://localhost:8080/simulada/CSI/SendManagedNetworkStatusNotification\n 19630501\n 1\n \n \n SDN-ETHERNET-INTERNET\n AA01|VLXM|003717||SW_INTERNET\n TEST_4306301\n \n \n \n \n 10\n Mbps\n ds\n \n \n none\n \n primary\n \n \n 1\n 32.10.30.116\n 32\n \n \n \n \n 1\n 2507:0CB4:85A5:0030:0000:0000:0000:0010\n 48\n \n \n \n Y\n Y\n Y\n Y\n \n \n Y\n N\n \n \n Y\n Y\n \n \n \n \n \n\n", + "type": "String" + }, + "host": { + "value": "localhost", + "type": "String" + }, + "att-mso-schema-version": { + "value": "v1", + "type": "String" + }, + "att-mso-request-id": { + "value": "d00eb185-b1d7-429e-aca3-42a61b459535", + "type": "String" + }, + "att-mso-service-instance-id": { + "value": "AA01|VLXM|003717||SW_INTERNET", + "type": "String" + }, + "att-mso-service-request-timeout": { + "value": "180", + "type": "String" + } + } +} -- cgit