Platform Hardening for DG - Part 8
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / test / resources / properties / APPC / CommonConfiguration / ISBCTemplateSuccess.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ONAP : APPC
4 # ================================================================================
5 # Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Copyright (C) 2017 Amdocs
8 # =============================================================================
9 # Licensed under the Apache License, Version 2.0 (the "License");
10 # you may not use this file except in compliance with the License.
11 # You may obtain a copy of the License at
12
13 #      http://www.apache.org/licenses/LICENSE-2.0
14
15 # Unless required by applicable law or agreed to in writing, software
16 # distributed under the License is distributed on an "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 # See the License for the specific language governing permissions and
19 # limitations under the License.
20
21 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 # ============LICENSE_END=========================================================
23 ###
24
25 input.input.action-identifiers.vnf-id=isbc
26 input.input.action-identifiers.service-instance-id=Instance1234
27 input.input.common-header.request-id=12345
28 input.input.common-header.originator-id=MSO
29 input.input.api-ver=2.11
30 input.input.action=Configure
31 input.input.payload=tcfile://payload_parameters_config.json
32
33
34 #GetConfigParams
35 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
36 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
37 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
38 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=
39 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = 
40 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
41
42 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
43 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
44 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
45 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
46 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
47
48
49 org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.DOWNLOAD-CONFIG-DG=DownloadIsbcConfig
50
51 #Configure
52 org.onap.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
53 org.onap.appc.data.services.node.ConfigResourceNode.getTemplate.config-template.file-content=tcfile://vdbe_template.xml
54 org.onap.appc.data.services.node.ConfigResourceNode.saveTemplateConfig.outCome=success
55
56
57 org.onap.appc.config.generator.node.ConfigResourceNode
58 #DownloadISBCConfig
59 org.onap.appc.data.services.node.ConfigResourceNode.getConfigFileReference.outCome=success
60 org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.outCome=success
61
62 configfilereference-success.TARGET-FILE-PATH=SuccessFile
63 configfilereference-failure.TARGET-FILE-PATH=FailureFile
64 configfilereference-log.TARGET-FILE-PATH=FailureLogFile
65
66 #CheckConfigStatus
67 org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.outCome=success
68
69 #SetStatus
70
71
72
73 #GetDeviceRunningConfig
74 config-template.outCome=SUCCESS
75 org.onap.appc.ccadaptor.ConfigComponentAdaptor.GetCliRunningConfig.outCome=success
76 input.cliOutput=DEVICERUNNINGCONFIG
77
78
79 #SaveRunningConfig
80 org.onap.appc.data.services.node.ConfigResourceNode.updateUploadConfig.outCome=success
81 org.onap.appc.data.services.node.ConfigResourceNode.updateUploadConfig.tmp.uploadconfigmax.uploadconfigid=100
82
83 org.onap.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.outCome=success
84 org.onap.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.output.payload={ \\"upload-config-id\\" : [100] }
85
86
87 #GetAaiInfo
88 APPC.GetAaiInfo.outCome=success
89
90 #ProcessParameterDefinition
91 APPC.ProcessParameterDefinition.outCome=success
92
93
94 #UpdateAAIInfo
95
96 tmp.aai-data-vm.outCome=SUCCESS
97 tmp.aai-data-vm.vserver-id=vserverid
98 tmp.aai-data-vm.tenant-id=tenantid
99 tmp.aai-data-vm.cloud-region-id=cloudregionid
100
101
102 tmp.aai-data-vm.relationship-list.relationship_length=2
103 tmp.aai-data-vm.relationship-list.relationship[0].related-to=vserver
104 tmp.aai-data-vm.relationship-list.relationship[1].related-to=vf-module
105
106 tmp.aai-data-vm.relationship-list.relationship[0].relationship-data_length=2
107 tmp.aai-data-vm.relationship-list.relationship[1].relationship-data_length=2
108
109 tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[0].relationship-key=vnfc
110 tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[1].relationship-key=generic-vnf
111
112
113
114 tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[0].relationship-key=vnfc
115 tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-key=vf-module.vf-module-id
116
117 tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-value=100
118
119 tmp.aai-data-vnfc.outCome=NOT_FOUND
120 tmp.vnfc-sys-controller.outCome=SUCCESS
121
122 assertEquals.error-code=400
123 assertEquals.error-message=SUCCESS - request has been processed successfully
124 assertEquals.output.status.code=400
125 assertEquals.output.status.message=SUCCESS - request has been processed successfully
126 #assertEquals.output.payload={ \\"upload-config-id\\" : [100] }