From 5c186597021771a83f1a0faae5b9955123171c84 Mon Sep 17 00:00:00 2001 From: Brinda Santh Date: Wed, 20 Nov 2019 17:04:52 -0500 Subject: Bootstrap Rest and GRPC API CDS loads model types, dictionaries and CBA multiple times based on cluster size. This commits avoid auto loading, and provides an API to bootstrap, if necessity. Issue-ID: CCSDK-1950 Signed-off-by: Brinda Santh Change-Id: Ibe6266ebfd399efbaf0c5ccb1019c3a73b08ddac --- .../proto-definition/proto/BluePrintManagement.proto | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'components/model-catalog') diff --git a/components/model-catalog/proto-definition/proto/BluePrintManagement.proto b/components/model-catalog/proto-definition/proto/BluePrintManagement.proto index 8c6cadb4c..a363e8ade 100644 --- a/components/model-catalog/proto-definition/proto/BluePrintManagement.proto +++ b/components/model-catalog/proto-definition/proto/BluePrintManagement.proto @@ -26,6 +26,13 @@ message BluePrintRemoveInput { google.protobuf.Struct properties = 3; } +message BluePrintBootstrapInput { + org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1; + bool loadCBA = 2; + bool loadModelType = 3; + bool loadResourceDictionary = 4; +} + message BluePrintManagementOutput { org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1; // Optional file chunk sent back to the client for Enrich and Download this is mandatory. @@ -65,4 +72,5 @@ service BluePrintManagementService { rpc downloadBlueprint (BluePrintDownloadInput) returns (BluePrintManagementOutput); rpc uploadBlueprint (BluePrintUploadInput) returns (BluePrintManagementOutput); rpc removeBlueprint (BluePrintRemoveInput) returns (BluePrintManagementOutput); + rpc bootstrapBlueprint (BluePrintBootstrapInput) returns (BluePrintManagementOutput); } -- cgit 1.2.3-korg