Appc POC configscaleout usecase 79/103879/1
authorshashikanth.vh@huawei.com <shashikanth.vh@huawei.com>
Tue, 17 Mar 2020 11:47:34 +0000 (17:17 +0530)
committershashikanth.vh@huawei.com <shashikanth.vh@huawei.com>
Tue, 17 Mar 2020 11:47:45 +0000 (17:17 +0530)
Change-Id: I9e0c81b97be563c32677b89f813a902b44a02bc2
Issue-ID: APPC-1850
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
installation/appc/src/main/resources/ScaleOut.json [new file with mode: 0644]
installation/src/main/properties/cds-dg-service.properties [new file with mode: 0644]

diff --git a/installation/appc/src/main/resources/ScaleOut.json b/installation/appc/src/main/resources/ScaleOut.json
new file mode 100644 (file)
index 0000000..e0d9527
--- /dev/null
@@ -0,0 +1,30 @@
+{
+ "actionIdentifiers": {
+   "actionName": ${action-name},
+   "blueprintName": "appc_CDS",
+   "blueprintVersion": "1.0.0",
+   "mode": "sync"
+ },
+ "commonHeader": {
+   "flags": {
+     "force": true,
+     "ttl": 3600
+   },
+   "originatorId": "appc",
+   "requestId": ${request-id},
+   "subRequestId": ${sub-request-id},
+   "timestamp": ${time-stamp}
+ },
+ "payload": {
+   "ConfigScaleOut-request": {
+     "ConfigScaleOut-properties": {
+       "service-instance-id": ${service-instance-id},
+       "vnf-id":${vnf-id},
+       "vf-module-id": ${vf-module-id}
+     },
+     "resolution-key": ${resolution-key}
+   }
+ }
+}
+
+
diff --git a/installation/src/main/properties/cds-dg-service.properties b/installation/src/main/properties/cds-dg-service.properties
new file mode 100644 (file)
index 0000000..cf49cdc
--- /dev/null
@@ -0,0 +1,27 @@
+###
+# ============LICENSE_START=======================================================
+# APPC
+# ================================================================================
+# Copyright (C) 2020 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=========================================================
+###
+
+
+restapi.templateDir=/opt/onap/appc/restapi/templates                                                                                                                                    
+cds.url=http://cds-blueprints-processor-http:8080/api                                                                                                      
+cds.user=ccsdkapps                                                                                                                                                                      
+cds.pwd=ccsdkapps                                                                                                                                                                     
+# Templates                                                                                                                                                                             
+restapi.cd.templatefile=configScaleOut.json