syntax = "proto3";
import "google/protobuf/struct.proto";
-import "BluePrintCommon.proto";
+import "BlueprintCommon.proto";
option java_multiple_files = true;
package org.onap.ccsdk.cds.controllerblueprints.management.api;
-message BluePrintUploadInput {
+message BlueprintUploadInput {
org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1;
FileChunk fileChunk = 2;
org.onap.ccsdk.cds.controllerblueprints.common.api.ActionIdentifiers actionIdentifiers = 3;
google.protobuf.Struct properties = 4;
}
-message BluePrintDownloadInput {
+message BlueprintDownloadInput {
org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1;
org.onap.ccsdk.cds.controllerblueprints.common.api.ActionIdentifiers actionIdentifiers = 2;
// Extra optional dynamic properties used to download.
google.protobuf.Struct properties = 3;
}
-message BluePrintRemoveInput {
+message BlueprintRemoveInput {
org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1;
org.onap.ccsdk.cds.controllerblueprints.common.api.ActionIdentifiers actionIdentifiers = 2;
// Extra optional dynamic properties used to remove.
google.protobuf.Struct properties = 3;
}
-message BluePrintBootstrapInput {
+message BlueprintBootstrapInput {
org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1;
bool loadCBA = 2;
bool loadModelType = 3;
bool loadResourceDictionary = 4;
}
-message BluePrintManagementOutput {
+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.
FileChunk fileChunk = 2;
message FileChunk {
bytes chunk = 1;
}
-// Values used in BluePrintDownloadInput/actionIdentifiers/action
+// Values used in BlueprintDownloadInput/actionIdentifiers/action
enum DownloadAction {
// Default is SEARCH the cba and download the cba
SEARCH = 0;
DEFAULT = 0;
}
-service BluePrintManagementService {
- rpc downloadBlueprint (BluePrintDownloadInput) returns (BluePrintManagementOutput);
- rpc uploadBlueprint (BluePrintUploadInput) returns (BluePrintManagementOutput);
- rpc removeBlueprint (BluePrintRemoveInput) returns (BluePrintManagementOutput);
- rpc bootstrapBlueprint (BluePrintBootstrapInput) returns (BluePrintManagementOutput);
+service BlueprintManagementService {
+ rpc downloadBlueprint (BlueprintDownloadInput) returns (BlueprintManagementOutput);
+ rpc uploadBlueprint (BlueprintUploadInput) returns (BlueprintManagementOutput);
+ rpc removeBlueprint (BlueprintRemoveInput) returns (BlueprintManagementOutput);
+ rpc bootstrapBlueprint (BlueprintBootstrapInput) returns (BlueprintManagementOutput);
}