aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshashikanth.vh@huawei.com <shashikanth.vh@huawei.com>2020-03-17 17:17:34 +0530
committershashikanth.vh@huawei.com <shashikanth.vh@huawei.com>2020-03-17 17:17:45 +0530
commit61b1cc76a92abf7a41caa7e552ce3eeae9b707ab (patch)
treeca8efeed64c175ea0954f449cec9e6201d86c7fe
parentbfa787aece3df94e698ae27c24e12edfc3257340 (diff)
Appc POC configscaleout usecase
Change-Id: I9e0c81b97be563c32677b89f813a902b44a02bc2 Issue-ID: APPC-1850 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
-rw-r--r--installation/appc/src/main/resources/ScaleOut.json30
-rw-r--r--installation/src/main/properties/cds-dg-service.properties27
2 files changed, 57 insertions, 0 deletions
diff --git a/installation/appc/src/main/resources/ScaleOut.json b/installation/appc/src/main/resources/ScaleOut.json
new file mode 100644
index 0000000..e0d9527
--- /dev/null
+++ b/installation/appc/src/main/resources/ScaleOut.json
@@ -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
index 0000000..cf49cdc
--- /dev/null
+++ b/installation/src/main/properties/cds-dg-service.properties
@@ -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