Commit includes ControlLoopPolicy API and bugfixes
[policy/engine.git] / ECOMP-ASDC / src / main / resources / definitions.yaml
1 Service:
2   type: Object
3   properties:
4     serviceUUID:
5       type: string
6       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
7     serviceInvariantUUID:
8       type: string
9       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
10     serviceName:
11       type: string
12     serviceVersion:
13       type: string
14 Resource:
15   type: Object
16   properties:
17     resourceUUID:
18       type: string
19       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
20     resourceInvariantUUID:
21       type: string
22       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
23     resourceName:
24       type: string
25     resourceVersion:
26       type: string
27     resourceType:
28       type: string
29       valid_values:
30         - VF
31         - VFC
32         - CP
33         - VL
34 ServiceInstance:
35   type: Object
36   properties:
37     personaModelUUID:
38       type: string
39       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
40     serviceUUID:
41       type: string
42       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
43     serviceInstanceUUID:
44       type: string
45       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
46     widgetModelUUID:
47       type: string
48       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
49     widgetModelVersion:
50       type: string
51     serviceName:
52       type: string
53     serviceInstanceName:
54       type: string
55 ResourceInstance:
56   type: object
57   properties:
58     resourceInstanceName:
59       type: string
60     resourceName:
61       type: string
62     resourceInvariantUUID:
63       type: string
64       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
65     resourceVersion:
66       type: string
67     resourceType:
68       type: string
69       valid_values:
70         - VF
71         - VFC
72         - CP
73         - VL
74     resourceUUID:
75       type: string
76       pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"