summaryrefslogtreecommitdiffstats
path: root/ueb-listener/src/test/resources
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-03 14:30:51 -0400
committerDan Timoney <dtimoney@att.com>2017-10-03 14:51:00 -0400
commitfa9d764ef796f450f5f031a8c2a43ee60ab8b829 (patch)
tree661a781f6e0d879c8ca6eb5f26bae676a7587206 /ueb-listener/src/test/resources
parent12d893efa353bc5bd5054cd59998a623f5d058d0 (diff)
Add ueb-listener unit test
Enhance ueb-listener unit test to verify TOSCA parse Change-Id: Iedc675ead3ef69e4fa7151c8c4c500990c0ee6a7 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ueb-listener/src/test/resources')
-rw-r--r--ueb-listener/src/test/resources/incoming/src_test_resources_csars_service-NfodService-csar.csarbin0 -> 38938 bytes
-rw-r--r--ueb-listener/src/test/resources/log4j.properties30
-rwxr-xr-xueb-listener/src/test/resources/ueb-listener.properties38
3 files changed, 49 insertions, 19 deletions
diff --git a/ueb-listener/src/test/resources/incoming/src_test_resources_csars_service-NfodService-csar.csar b/ueb-listener/src/test/resources/incoming/src_test_resources_csars_service-NfodService-csar.csar
new file mode 100644
index 000000000..329076a15
--- /dev/null
+++ b/ueb-listener/src/test/resources/incoming/src_test_resources_csars_service-NfodService-csar.csar
Binary files differ
diff --git a/ueb-listener/src/test/resources/log4j.properties b/ueb-listener/src/test/resources/log4j.properties
new file mode 100644
index 000000000..71849c3db
--- /dev/null
+++ b/ueb-listener/src/test/resources/log4j.properties
@@ -0,0 +1,30 @@
+###
+# ============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=========================================================
+###
+
+log4j.rootLogger=DEBUG,CONSOLE
+
+# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.Threshold=DEBUG
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=%p %d{yyyy-MM-dd HH:mm:ss.SSS Z} %c{1} - %m%n
+
+
diff --git a/ueb-listener/src/test/resources/ueb-listener.properties b/ueb-listener/src/test/resources/ueb-listener.properties
index 7855b2116..548cc4c45 100755
--- a/ueb-listener/src/test/resources/ueb-listener.properties
+++ b/ueb-listener/src/test/resources/ueb-listener.properties
@@ -1,19 +1,19 @@
-org.openecomp.sdnc.uebclient.asdc-address=localhost:1234
-org.openecomp.sdnc.uebclient.consumer-group=ccsdk1
-org.openecomp.sdnc.uebclient.consumer-id=localhost_ccsdk1
-org.openecomp.sdnc.uebclient.environment-name=UNITTEST
-org.openecomp.sdnc.uebclient.password=123456
-org.openecomp.sdnc.uebclient.user=test
-org.openecomp.sdnc.uebclient.sdnc-user=test
-org.openecomp.sdnc.uebclient.sdnc-passwd=test
-org.openecomp.sdnc.uebclient.asdc-api-base-url=http://localhost:8282/restconf/operations/
-org.openecomp.sdnc.uebclient.asdc-api-namespace=org:onap:ccsdk
-org.openecomp.sdnc.uebclient.spool.incoming=src/test/resources/incoming
-org.openecomp.sdnc.uebclient.spool.archive=src/test/resources/archive
-org.openecomp.sdnc.uebclient.polling-interval=30
-org.openecomp.sdnc.uebclient.polling-timeout=15
-org.openecomp.sdnc.uebclient.relevant-artifact-types=YANG_XML,VF_LICENSE,TOSCA_TEMPLATE,TOSCA_CSAR,UCPE_LAYER_2_CONFIGURATION
-org.openecomp.sdnc.uebclient.activate-server-tls-auth=false
-org.openecomp.sdnc.uebclient.keystore-path=
-org.openecomp.sdnc.uebclient.keystore-password=
-org.openecomp.sdnc.uebclient.xslt-path-list=src/main/resources/removeNs.xslt,src/main/resources/normalizeTagNames.xslt
+org.onap.ccsdk.sli.northbound.uebclient.asdc-address=localhost:1234
+org.onap.ccsdk.sli.northbound.uebclient.consumer-group=ccsdk1
+org.onap.ccsdk.sli.northbound.uebclient.consumer-id=localhost_ccsdk1
+org.onap.ccsdk.sli.northbound.uebclient.environment-name=UNITTEST
+org.onap.ccsdk.sli.northbound.uebclient.password=123456
+org.onap.ccsdk.sli.northbound.uebclient.user=test
+org.onap.ccsdk.sli.northbound.uebclient.sdnc-user=test
+org.onap.ccsdk.sli.northbound.uebclient.sdnc-passwd=test
+org.onap.ccsdk.sli.northbound.uebclient.asdc-api-base-url=http://localhost:8282/restconf/operations/
+org.onap.ccsdk.sli.northbound.uebclient.asdc-api-namespace=org:onap:ccsdk
+org.onap.ccsdk.sli.northbound.uebclient.spool.incoming=src/test/resources/incoming
+org.onap.ccsdk.sli.northbound.uebclient.spool.archive=src/test/resources/archive
+org.onap.ccsdk.sli.northbound.uebclient.polling-interval=30
+org.onap.ccsdk.sli.northbound.uebclient.polling-timeout=15
+org.onap.ccsdk.sli.northbound.uebclient.relevant-artifact-types=YANG_XML,VF_LICENSE,TOSCA_TEMPLATE,TOSCA_CSAR,UCPE_LAYER_2_CONFIGURATION
+org.onap.ccsdk.sli.northbound.uebclient.activate-server-tls-auth=false
+org.onap.ccsdk.sli.northbound.uebclient.keystore-path=
+org.onap.ccsdk.sli.northbound.uebclient.keystore-password=
+org.onap.ccsdk.sli.northbound.uebclient.xslt-path-list= \ No newline at end of file