aboutsummaryrefslogtreecommitdiffstats
path: root/appc-config/appc-config-generator/provider/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'appc-config/appc-config-generator/provider/src/test/resources')
-rw-r--r--appc-config/appc-config-generator/provider/src/test/resources/convert/payload_cli_config.json26
-rw-r--r--appc-config/appc-config-generator/provider/src/test/resources/pattern/errorlog.txt6
-rw-r--r--appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml38
3 files changed, 51 insertions, 19 deletions
diff --git a/appc-config/appc-config-generator/provider/src/test/resources/convert/payload_cli_config.json b/appc-config/appc-config-generator/provider/src/test/resources/convert/payload_cli_config.json
index a82eaf0f1..4617e0a33 100644
--- a/appc-config/appc-config-generator/provider/src/test/resources/convert/payload_cli_config.json
+++ b/appc-config/appc-config-generator/provider/src/test/resources/convert/payload_cli_config.json
@@ -17,3 +17,29 @@
* limitations under the License.
* ============LICENSE_END=========================================================
*/
+{
+ "request-parameters": {
+ "vnf-type": "test",
+ "vnf-host-ip-address": "000.00.00.0",
+ "service-instance-id": "test",
+ "site-location": "Middletown",
+ "vnf-name": "test",
+ "vm": [
+ {
+ "vm-name": "test",
+ "vnfc": [
+ {
+ "vnfc-name": "test",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "00.0.0.0",
+ "group-notation": "test"
+ }
+ ]
+ },
+
+ ]
+ },
+
+}
+ \ No newline at end of file
diff --git a/appc-config/appc-config-generator/provider/src/test/resources/pattern/errorlog.txt b/appc-config/appc-config-generator/provider/src/test/resources/pattern/errorlog.txt
index e69de29bb..7c85e7658 100644
--- a/appc-config/appc-config-generator/provider/src/test/resources/pattern/errorlog.txt
+++ b/appc-config/appc-config-generator/provider/src/test/resources/pattern/errorlog.txt
@@ -0,0 +1,6 @@
+errorlog
+
+2017-08-20T17:40:23.100361+00:00 host-000-00-000-00 client[0000]: Request on IBG1mgmt to 000.00.00.0 port 22
+2017-08-20T17:40:23.102973+00:00 host-000-00-000-00 [0000]: DHCPACK from 000.00.00.0 (xid=0x2803c728)
+2017-08-20T17:40:25.191027+00:00 host-000-00-000-00 cleint-enter-hooks: daemon.notice Ignoring update of
+2017-08-20T17:40:25.199832+00:00 host-000-00-000-00 client[00000]: bound to 000.00.00.0 -- renewal in 231 seconds \ No newline at end of file
diff --git a/appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml b/appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml
index 787796704..8be67ba9e 100644
--- a/appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml
+++ b/appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml
@@ -1,19 +1,19 @@
-<!--
- ============LICENSE_START=======================================================
- ONAP : APP-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=========================================================
- -->
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APP-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=========================================================
+ */