summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/proto-definition/proto/BluePrintManagement.proto
blob: 3349443d4a930f6770d376e4822629a3785714fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
syntax = "proto3";
import "BluePrintCommon.proto";
option java_multiple_files = true;
package org.onap.ccsdk.cds.controllerblueprints.management.api;

message BluePrintUploadInput {
  org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1;
  FileChunk fileChunk = 2;
}

message BluePrintRemoveInput {
  org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1;
  string blueprintName = 2;
  string blueprintVersion = 3;
}

message BluePrintManagementOutput {
  org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1;
  org.onap.ccsdk.cds.controllerblueprints.common.api.Status status = 3;
}

message FileChunk {
  bytes chunk = 1;
}

service BluePrintManagementService {
  rpc uploadBlueprint (BluePrintUploadInput) returns (BluePrintManagementOutput);
  rpc removeBlueprint (BluePrintRemoveInput) returns (BluePrintManagementOutput);
}