From 61b1cc76a92abf7a41caa7e552ce3eeae9b707ab Mon Sep 17 00:00:00 2001 From: "shashikanth.vh@huawei.com" Date: Tue, 17 Mar 2020 17:17:34 +0530 Subject: [PATCH] Appc POC configscaleout usecase Change-Id: I9e0c81b97be563c32677b89f813a902b44a02bc2 Issue-ID: APPC-1850 Signed-off-by: shashikanth.vh --- installation/appc/src/main/resources/ScaleOut.json | 30 ++++++++++++++++++++++ .../src/main/properties/cds-dg-service.properties | 27 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 installation/appc/src/main/resources/ScaleOut.json create mode 100644 installation/src/main/properties/cds-dg-service.properties 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 -- 2.16.6