aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/ISBCTemplateSuccess.properties
blob: 8e0000bc6f159dd3ed5e6421d1487d6e074abda2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
###
# ============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=========================================================
###

input.input.action-identifiers.vnf-id=isbc
input.input.action-identifiers.service-instance-id=Instance1234
input.input.common-header.request-id=12345
input.input.common-header.originator-id=MSO
input.input.api-ver=2.11
input.input.action=Configure
input.input.payload=tcfile://payload_parameters_config.json


#GetConfigParams
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22

org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig


org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.DOWNLOAD-CONFIG-DG=DownloadIsbcConfig

#Configure
org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.config-template.file-content=tcfile://vdbe_template.xml
org.openecomp.appc.data.services.node.ConfigResourceNode.saveTemplateConfig.outCome=success


org.openecomp.appc.config.generator.node.ConfigResourceNode
#DownloadISBCConfig
org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFileReference.outCome=success
org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.outCome=success

configfilereference-success.TARGET-FILE-PATH=SuccessFile
configfilereference-failure.TARGET-FILE-PATH=FailureFile
configfilereference-log.TARGET-FILE-PATH=FailureLogFile

#CheckConfigStatus
org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.outCome=success

#SetStatus



#GetDeviceRunningConfig
config-template.outCome=SUCCESS
org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.GetCliRunningConfig.outCome=success
input.cliOutput=DEVICERUNNINGCONFIG


#SaveRunningConfig
org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.outCome=success
org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.tmp.uploadconfigmax.uploadconfigid=100

org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.outCome=success
org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.output.payload={ \\"upload-config-id\\" : [100] }


#GetAaiInfo
APPC.GetAaiInfo.outCome=success

#ProcessParameterDefinition
APPC.ProcessParameterDefinition.outCome=success


#UpdateAAIInfo

tmp.aai-data-vm.outCome=SUCCESS
tmp.aai-data-vm.vserver-id=vserverid
tmp.aai-data-vm.tenant-id=tenantid
tmp.aai-data-vm.cloud-region-id=cloudregionid


tmp.aai-data-vm.relationship-list.relationship_length=2
tmp.aai-data-vm.relationship-list.relationship[0].related-to=vserver
tmp.aai-data-vm.relationship-list.relationship[1].related-to=vf-module

tmp.aai-data-vm.relationship-list.relationship[0].relationship-data_length=2
tmp.aai-data-vm.relationship-list.relationship[1].relationship-data_length=2

tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[0].relationship-key=vnfc
tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[1].relationship-key=generic-vnf



tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[0].relationship-key=vnfc
tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-key=vf-module.vf-module-id

tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-value=100

tmp.aai-data-vnfc.outCome=NOT_FOUND
tmp.vnfc-sys-controller.outCome=SUCCESS

assertEquals.error-code=400
assertEquals.error-message=SUCCESS - request has been processed successfully
assertEquals.output.status.code=400
assertEquals.output.status.message=SUCCESS - request has been processed successfully
#assertEquals.output.payload={ \\"upload-config-id\\" : [100] }