Migrate ccsdk/apps to ccsdk/cds
[ccsdk/cds.git] / components / model-catalog / proto-definition / proto / BluePrintCommon.proto
1 syntax = "proto3";
2 option java_multiple_files = true;
3 package org.onap.ccsdk.cds.controllerblueprints.common.api;
4
5 message CommonHeader {
6   string timestamp = 1;
7   string originatorId = 23;
8   string requestId = 3;
9   string subRequestId = 4;
10   Flag flag = 5;
11 }
12
13 message Flag {
14   bool isForce = 1;
15   int32 ttl = 2;
16 }
17
18 message ActionIdentifiers {
19   string blueprintName = 1;
20   string blueprintVersion = 2;
21   string actionName = 3;
22   string mode = 4;
23 }
24
25 message Status {
26   int32 code = 1;
27   string errorMessage = 2;
28   string message = 3;
29   EventType eventType = 4;
30   string timestamp = 5;
31 }
32
33 enum EventType {
34   EVENT_COMPONENT_FAILURE = 0;
35   EVENT_COMPONENT_PROCESSING = 1;
36   EVENT_COMPONENT_NOTIFICATION = 2;
37   EVENT_COMPONENT_EXECUTED = 3;
38 }