aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorBrinda Santh <brindasanth@in.ibm.com>2019-09-17 15:56:20 -0400
committerBrinda Santh <brindasanth@in.ibm.com>2019-09-17 15:56:20 -0400
commit5ef6d930f1ade3a80a983762bd7c7b0ecc96cde9 (patch)
treee4e64c20c32a923b5f310eec8176e7063d2c0cef /components/model-catalog
parent24f39fda67bec6f622c25effcd2a1626efae772a (diff)
Add cba GRPC remove options.
Change-Id: Iaba18e145f11fc608f5b6efa8bdfb46c623d7ccf Issue-ID: CCSDK-1682 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Diffstat (limited to 'components/model-catalog')
-rw-r--r--components/model-catalog/proto-definition/proto/BluePrintManagement.proto10
1 files changed, 8 insertions, 2 deletions
diff --git a/components/model-catalog/proto-definition/proto/BluePrintManagement.proto b/components/model-catalog/proto-definition/proto/BluePrintManagement.proto
index 2e0693c28..8c6cadb4c 100644
--- a/components/model-catalog/proto-definition/proto/BluePrintManagement.proto
+++ b/components/model-catalog/proto-definition/proto/BluePrintManagement.proto
@@ -21,8 +21,9 @@ message BluePrintDownloadInput {
message BluePrintRemoveInput {
org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1;
- string blueprintName = 2;
- string blueprintVersion = 3;
+ org.onap.ccsdk.cds.controllerblueprints.common.api.ActionIdentifiers actionIdentifiers = 2;
+ // Extra optional dynamic properties used to remove.
+ google.protobuf.Struct properties = 3;
}
message BluePrintManagementOutput {
@@ -55,6 +56,11 @@ enum UploadAction {
PUBLISH = 3;
}
+enum RemoveAction {
+ // Delete CBA from database, deploy path and clean cache.
+ DEFAULT = 0;
+}
+
service BluePrintManagementService {
rpc downloadBlueprint (BluePrintDownloadInput) returns (BluePrintManagementOutput);
rpc uploadBlueprint (BluePrintUploadInput) returns (BluePrintManagementOutput);