Newer
Older
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
module AppLCM_TypesAndValues {
// JSON
import from JSON all;
// LibCommon
import from LibCommon_BasicTypesAndValues all;
type enumerated InstantiationState {
NOT_INSTANTIATED,
INSTANTIATED
}
type enumerated TerminationType {
FORCEFUL,
GRACEFUL
}
type enumerated TerminationTypeWithError {
FORCE,
GRACE
}
type enumerated OperationType {
STARTED,
STOPPED
}
type enumerated OperationTypeWithError {
START,
STOP
}
type enumerated SubscriptionType {
AppInstanceStateChangeSubscription,
AppLcmOpOccStateChangeSubscription
}
type enumerated NotificationType {
AppInstNotification,
AppLcmOpOccNotification
}
type record CreateAppInstanceRequest {
String appDId
}
type record CreateAppInstanceRequestWithError {
String appDIdWithError
}
type record of AppInstanceInfo AppInstanceInfoList;
type record AppInstanceInfo {
String appInstanceId,
String appDId,
InstantiationState instantiationState
}
type record of SelectedMECHostInfo SelectedMECHostInfoList
type record SelectedMECHostInfo {
}
type record InstantiateAppRequest {
String appInstanceId,
SelectedMECHostInfoList selectedMECHostInfo
}
type record InstantiateAppRequestWithError {
String appId,
SelectedMECHostInfoList selectedMECHostInfo
}
type record TerminateAppRequest {
TerminationType terminationType
}
type record TerminateAppRequestWithError {
TerminationTypeWithError terminationTypeWithError
}
type record OperateAppRequest {
OperationType changeStateTo
}
type record OperateAppRequestWithError {
OperationTypeWithError changeStateToWithError
}
type record of AppInstanceLcmOpOcc AppInstanceLcmOpOccList;
type record AppInstanceLcmOpOcc {
String appLcmOpOccId
}
type record SubscriptionRequest {
SubscriptionType subscriptionType,
AnyURI callbackUri
SubscriptionType subscriptionType,
AnyURI callbackUriWithError
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
}
type record of SubscriptionInfo SubscriptionInfoList;
type record SubscriptionInfo {
String subscriptionId,
SubscriptionType subscriptionType,
AnyURI callbackUri
}
type record Notification {
String notificationId,
NotificationType notificationType,
String subscriptionId
}
/**
* @desc Problem Details for HTTP APIs
* @member type_ A URI reference according to IETF RFC 3986 that identifies the problem type
* @member title A short, human-readable summary of the problem type
* @member status The HTTP status code for this occurrence of the problem
* @member detail A human-readable explanation specific to this occurrence of the problem
* @member instance A URI reference that identifies the specific occurrence of the problem
* @see IETF RFC 7807 Clause 3. The Problem Details JSON Object
*/
type record ProblemDetails {
JSON.String type_,
JSON.String title,
UInt32 status,
JSON.String detail,
JSON.String instance
} with {
variant (type_) "name as 'type'";
}
} with {
encode "JSON"
}