aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/proto-definition/proto/BluePrintManagement.proto
blob: 658cbbbdc642e8888e5cf0a9a2ee5b6578bb3536 (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
syntax = "proto3";
import "BluePrintCommon.proto";
option java_multiple_files = true;
package org.onap.ccsdk.apps.controllerblueprints.management.api;

message BluePrintManagementInput {
  org.onap.ccsdk.apps.controllerblueprints.common.api.CommonHeader commonHeader = 1;
  string blueprintName = 2;
  string blueprintVersion = 3;
  FileChunk fileChunk = 4;
}

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

message FileChunk {
  bytes chunk = 1;
}

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