diff options
author | Chaturvedi, Anand (ac204h) <ac204h@att.com> | 2017-08-31 19:07:53 -0400 |
---|---|---|
committer | Skip Wonnell <skip@att.com> | 2017-09-01 15:03:06 +0000 |
commit | 48f77d60c3a7a9fcfb6f13b6da1fa48b7dd4ff34 (patch) | |
tree | 836b254a38a37d5a61e7e5411ed7cf2ea713e6c8 /appc-config/appc-config-generator/provider/src/test/resources | |
parent | 58a7196916567cfd46f8fd984ac924ea480ac0f3 (diff) |
[JunitCases]for config audit and config generator.
Issue-ID: APPC-168
Change-Id: Ie6f5e13b63f3162530d71c60cf352a8bfcddf4ff
Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
Diffstat (limited to 'appc-config/appc-config-generator/provider/src/test/resources')
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========================================================= + */ |