Bug fix in self-serve api
[sdnc/oam.git] / platform-logic / restconfapi-yang / src / main / yang / cds / execution-service.yang
1 module execution-service {
2     yang-version 1.1;
3     namespace "cds:workflow:rest";
4     prefix "cds";
5
6     revision "2019-05-21";
7
8     container process {
9         container commonHeader {
10             leaf originatorId {
11                 type string;
12             }
13             leaf requestId {
14                 type string;
15             }
16             leaf subRequestId {
17                 type string;
18             }
19         }
20         container actionIdentifiers {
21             leaf blueprintName {
22                 type string;
23             }
24             leaf blueprintVersion {
25                 type string;
26             }
27             leaf actionName {
28                 type string;
29             }
30             leaf mode {
31                 type string;
32             }
33         }
34         container payload {
35             leaf-list template-prefix {
36                 type string;
37             }
38             container resource-assignment-request {
39                 anyxml resource-assignment-properties;
40             }
41         }
42     }
43 }