From 3cd5e19b313f5835335d04f1f002ff858fcf174f Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Tue, 29 Aug 2017 16:06:22 -0400 Subject: Prune code migrated from sdnc/core to ccsdk Remove code from sdnc/core which has been refactored to the CCSDK sli/core project as part of the ONAP Amsterdam release. Added README.md files for each former sdnc/core component redirecting the reader to the correct CCSDK repo. Change-Id: Ifb1f7752fa5e6e08e4393fb34e68dc1a84f35678 Issue-ID: SDNC-59 Signed-off-by: Dan Timoney --- .../test/resources/EvcActivateSvcLogic_v100.xml | 70 ----- .../src/test/resources/EvcPortSvcLogic_v100.xml | 263 ----------------- .../test/resources/ReleasePortSvcLogic_v101.xml | 89 ------ .../src/test/resources/bad_neutron_logic_v11.xml | 61 ---- sli/common/src/test/resources/expression.tests | 19 -- sli/common/src/test/resources/mergetest.xml | 54 ---- .../src/test/resources/neutron_logic_v10.xml | 56 ---- sli/common/src/test/resources/nonsense.xml | 24 -- sli/common/src/test/resources/parser-bad.tests | 3 - sli/common/src/test/resources/parser-good.tests | 2 - .../src/test/resources/simplelogger.properties | 24 -- sli/common/src/test/resources/svclogic.properties | 26 -- sli/common/src/test/resources/svclogic.sh | 32 -- sli/common/src/test/resources/svclogic.xsd | 323 --------------------- 14 files changed, 1046 deletions(-) delete mode 100644 sli/common/src/test/resources/EvcActivateSvcLogic_v100.xml delete mode 100644 sli/common/src/test/resources/EvcPortSvcLogic_v100.xml delete mode 100644 sli/common/src/test/resources/ReleasePortSvcLogic_v101.xml delete mode 100644 sli/common/src/test/resources/bad_neutron_logic_v11.xml delete mode 100644 sli/common/src/test/resources/expression.tests delete mode 100644 sli/common/src/test/resources/mergetest.xml delete mode 100644 sli/common/src/test/resources/neutron_logic_v10.xml delete mode 100644 sli/common/src/test/resources/nonsense.xml delete mode 100644 sli/common/src/test/resources/parser-bad.tests delete mode 100644 sli/common/src/test/resources/parser-good.tests delete mode 100644 sli/common/src/test/resources/simplelogger.properties delete mode 100644 sli/common/src/test/resources/svclogic.properties delete mode 100644 sli/common/src/test/resources/svclogic.sh delete mode 100644 sli/common/src/test/resources/svclogic.xsd (limited to 'sli/common/src/test/resources') diff --git a/sli/common/src/test/resources/EvcActivateSvcLogic_v100.xml b/sli/common/src/test/resources/EvcActivateSvcLogic_v100.xml deleted file mode 100644 index 097078a..0000000 --- a/sli/common/src/test/resources/EvcActivateSvcLogic_v100.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sli/common/src/test/resources/EvcPortSvcLogic_v100.xml b/sli/common/src/test/resources/EvcPortSvcLogic_v100.xml deleted file mode 100644 index 0808442..0000000 --- a/sli/common/src/test/resources/EvcPortSvcLogic_v100.xml +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sli/common/src/test/resources/ReleasePortSvcLogic_v101.xml b/sli/common/src/test/resources/ReleasePortSvcLogic_v101.xml deleted file mode 100644 index 5a835b7..0000000 --- a/sli/common/src/test/resources/ReleasePortSvcLogic_v101.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sli/common/src/test/resources/bad_neutron_logic_v11.xml b/sli/common/src/test/resources/bad_neutron_logic_v11.xml deleted file mode 100644 index 4e1e8d9..0000000 --- a/sli/common/src/test/resources/bad_neutron_logic_v11.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sli/common/src/test/resources/expression.tests b/sli/common/src/test/resources/expression.tests deleted file mode 100644 index c352e9b..0000000 --- a/sli/common/src/test/resources/expression.tests +++ /dev/null @@ -1,19 +0,0 @@ -$uni-circuit-id -$asePort -length($uni-circuit-id) > 0 -$asePort.uni-circuit-id -$uni-cir-units * 1000 * 100 / 100 -$uni-cir-units / 1000 -$uni-cir-units - 100 -$uni-cir-units + 100 -(value * 3 - $arg1 > 0) and (length($uni-circuit-id) == 0) -'pg-'+$network.name -$network.segment[0].provider-physical-network -length($network_segment[0].provider-physical-network) >= 5 -substr($network_segment[0].provider-physical-network,0,5) == 'dvspg' -length($network_segment[0].provider-physical-network) >= 5 and substr($network_segment[0].provider-physical-network,0,5) == 'dvspg' -(length($network_segment[0].provider-physical-network) >= 5) and (substr($network_segment[0].provider-physical-network,0,5) == 'dvspg') -4-2-2 -1+1 -1 -1+2*3-4 diff --git a/sli/common/src/test/resources/mergetest.xml b/sli/common/src/test/resources/mergetest.xml deleted file mode 100644 index 12e083c..0000000 --- a/sli/common/src/test/resources/mergetest.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - Y - - Y - 11.11.11.11 - 2.2.2.2 - 100 - 1.1.1.1 - N - - 4.4.4.4 - - - 3.3.3.3 - - - 8.8.8.8 - - 10.10.10.10 - - - 9.9.9.9 - - - - 7.7.7.7 - - 6.6.6.6 - - - 5.5.5.5 - - - - diff --git a/sli/common/src/test/resources/neutron_logic_v10.xml b/sli/common/src/test/resources/neutron_logic_v10.xml deleted file mode 100644 index 9cd3312..0000000 --- a/sli/common/src/test/resources/neutron_logic_v10.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sli/common/src/test/resources/nonsense.xml b/sli/common/src/test/resources/nonsense.xml deleted file mode 100644 index 6122082..0000000 --- a/sli/common/src/test/resources/nonsense.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - -Hello world - diff --git a/sli/common/src/test/resources/parser-bad.tests b/sli/common/src/test/resources/parser-bad.tests deleted file mode 100644 index 82913af..0000000 --- a/sli/common/src/test/resources/parser-bad.tests +++ /dev/null @@ -1,3 +0,0 @@ -bad_neutron_logic_v11.xml -EvcActivateSvcLogic_v100.xml -nonsense.xml \ No newline at end of file diff --git a/sli/common/src/test/resources/parser-good.tests b/sli/common/src/test/resources/parser-good.tests deleted file mode 100644 index 0654312..0000000 --- a/sli/common/src/test/resources/parser-good.tests +++ /dev/null @@ -1,2 +0,0 @@ -ReleasePortSvcLogic_v101.xml -neutron_logic_v10.xml diff --git a/sli/common/src/test/resources/simplelogger.properties b/sli/common/src/test/resources/simplelogger.properties deleted file mode 100644 index 6f70984..0000000 --- a/sli/common/src/test/resources/simplelogger.properties +++ /dev/null @@ -1,24 +0,0 @@ -### -# ============LICENSE_START======================================================= -# openECOMP : SDN-C -# ================================================================================ -# 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========================================================= -### - -org.slf4j.simpleLogger.defaultLogLevel=info -org.slf4j.simplelogger.log.org.openecomp.sdnc.sli.SvcLogicContext=debug -org.slf4j.simplelogger.log.SvcLogicContext=debug diff --git a/sli/common/src/test/resources/svclogic.properties b/sli/common/src/test/resources/svclogic.properties deleted file mode 100644 index fa33146..0000000 --- a/sli/common/src/test/resources/svclogic.properties +++ /dev/null @@ -1,26 +0,0 @@ -### -# ============LICENSE_START======================================================= -# openECOMP : SDN-C -# ================================================================================ -# 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========================================================= -### - -org.openecomp.sdnc.sli.dbtype = jdbc -org.openecomp.sdnc.sli.jdbc.url = jdbc:mysql://localhost:3306/sdnctl -org.openecomp.sdnc.sli.jdbc.database = sdnctl -org.openecomp.sdnc.sli.jdbc.user = sdnctl -org.openecomp.sdnc.sli.jdbc.password = gamma diff --git a/sli/common/src/test/resources/svclogic.sh b/sli/common/src/test/resources/svclogic.sh deleted file mode 100644 index 09f0637..0000000 --- a/sli/common/src/test/resources/svclogic.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -### -# ============LICENSE_START======================================================= -# openECOMP : SDN-C -# ================================================================================ -# 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========================================================= -### - -MYSQL_JDBC_DRIVER=${MYSQL_JDBC_DRIVER:-/home/ubuntu/mysql-connector-java-5.1.38.1.jar} -SLI_COMMON_TARGETDIR=${SLI_COMMON_TARGETDIR:-/home/ubuntu/opendaylight/plugins} -#SLI_COMMON_TARGETDIR=${SLI_COMMON_TARGETDIR:-/home/ubuntu/git/sdnctl/sli/common/target} -SLI_VERSION=${SLI_VERSION:-1.1.0-SNAPSHOT} -SLI_COMMON_JAR=${SLI_COMMON_JAR:=${SLI_COMMON_TARGETDIR}/sli-common-${SLI_VERSION}.jar} - -echo SLI_COMMON_JAR is $SLI_COMMON_JAR - -java -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER}:${SLI_COMMON_JAR} org.openecomp.sdnc.sli.SvcLogicParser $* diff --git a/sli/common/src/test/resources/svclogic.xsd b/sli/common/src/test/resources/svclogic.xsd deleted file mode 100644 index 0743089..0000000 --- a/sli/common/src/test/resources/svclogic.xsd +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit 1.2.3-korg