From 3a3e9fcdd1141928473b5f793e224204eafe8f1b Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Fri, 9 Oct 2020 20:59:32 +0200 Subject: vFW CDS CNF CBA with native k8s profile upload vFW CDS CNF CBA with native k8s profile upload Change-Id: Ic3357982af534ea261d4d617e050dc33bc339645 Issue-ID: INT-1658 Signed-off-by: Lukasz Rajewski --- heat/vFW_CNF_CDS/templates/cba-dev/deploy.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 heat/vFW_CNF_CDS/templates/cba-dev/deploy.sh (limited to 'heat/vFW_CNF_CDS/templates/cba-dev/deploy.sh') diff --git a/heat/vFW_CNF_CDS/templates/cba-dev/deploy.sh b/heat/vFW_CNF_CDS/templates/cba-dev/deploy.sh new file mode 100755 index 00000000..8ddbe493 --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/cba-dev/deploy.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# ============LICENSE_START======================================================= +# Copyright (C) 2020 Orange +# ================================================================================ +# 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========================================================= + +curl --location --request POST 'http://127.0.0.1:8081/api/v1/blueprint-model/publish' \ +--header 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \ +--form 'file=@cba.zip' | jq -- cgit 1.2.3-korg