Newer
Older
YannGarcia
committed
module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates {
// JSON
import from JSON all;
// LibMec_ApplicationPackageLifecycleAndOperationGrantingAPI
YannGarcia
committed
import from ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues all;
import from ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits all;
YannGarcia
committed
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
103
104
105
106
107
108
109
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
group granting {
template (value) GrantRequest m_grant_request(
in String p_app_instance_id := PX_APP_INSTANCE_ID,
in String p_appLcmOpOccId := PX_APP_LCM_OP_OCC_ID,
in String p_appDId := PX_APP_ID,
in OperationType p_operation := PX_APP_OPERATION,
in template (value) GrantRequest_Link p_links
) := {
appInstanceId := p_app_instance_id,
appLcmOpOccId := p_appLcmOpOccId,
appDId := p_appDId,
operation := p_operation,
addResources := omit,
tempResources := omit,
updateResources := omit,
additionalParams := omit,
links := p_links
} // End of template m_grant_request
template (present) GrantRequest mw_grant_request(
template (present) String p_app_instance_id := ?,
template (present) String p_appLcmOpOccId := ?,
template (present) String p_appDId := ?,
template (present) OperationType p_operation := ?,
template (present) GrantRequest_Link p_links := ?
) := {
appInstanceId := p_app_instance_id,
appLcmOpOccId := p_appLcmOpOccId,
appDId := p_appDId,
operation := p_operation,
addResources := *,
tempResources := *,
updateResources := *,
additionalParams := *,
links := p_links
} // End of template mw_grant_request
template (present) Grant mw_grant(
template (present) String p_id := ?,
template (present) String p_app_instance_id := PX_APP_INSTANCE_ID,
template (present) String p_appLcmOpOccId := ?,
template (present) Grant_Link p_links := ?
) := {
id := p_id,
appInstanceId := p_app_instance_id,
appLcmOpOccId := p_appLcmOpOccId,
vimConnections := *,
zones := *,
zoneGroups := *,
addResources := *,
tempResources := *,
removeResources := *,
updateResources := *,
vimAssets := *,
extVirtualLinks := *,
additionalParams := *,
links := p_links
} // End of template mw_grant
template (value) GrantRequest_Link m_grant_request_link(
in template (value) LinkType p_appLcmOpOcc,
in template (value) LinkType p_appInstance
) := {
appLcmOpOcc := p_appLcmOpOcc,
appInstance := p_appInstance
} // End of template m_grant_request_link
template (present) GrantRequest_Link mw_grant_request_link(
template (present) LinkType p_appLcmOpOcc := ?,
template (present) LinkType p_appInstance := ?
) := {
appLcmOpOcc := p_appLcmOpOcc,
appInstance := p_appInstance
} // End of template mw_grant_request_link
template (value) LinkType m_link_type(
in template (value) JSON.AnyURI p_href
) := {
href := p_href
} // End of template m_link_type
template (present) LinkType mw_link_type(
template (present) JSON.AnyURI p_href := ?
) := {
href := p_href
} // End of template mw_link_type
} // End of group granting
group pkgmgt {
template (value) CreateAppPkg m_create_package_management(
in String p_appPkgName,
in String p_appPkgVersion,
in template (value) Checksum p_checksum,
in AnyURI p_appPkgPath
) := {
appPkgName := p_appPkgName,
appPkgVersion := p_appPkgVersion,
appProvider := omit,
checksum := p_checksum,
userDefinedData := omit,
appPkgPath := p_appPkgPath
} // End of template m_create_package_management
template (present) CreateAppPkg mw_create_package_management(
template (present) String p_appPkgName := ?,
template (present) String p_appPkgVersion := ?,
template (present) Checksum p_checksum := ?,
template (present) AnyURI p_appPkgPath := ?
) := {
appPkgName := p_appPkgName,
appPkgVersion := p_appPkgVersion,
appProvider := *,
checksum := p_checksum,
userDefinedData := *,
appPkgPath := p_appPkgPath
} // End of template mw_create_package_management
template (present) AppPkgInfo mw_app_pkg_info(
template (present) JSON.String p_id:= ?,
template (present) JSON.String p_appDId:= ?,
template (present) JSON.String p_appName:= ?,
template (present) JSON.String p_appSoftwareVersion:= ?,
template (present) JSON.String p_appDVersion:= ?,
template (present) Checksum p_checksum:= ?,
template (present) AppPkgSWImageInfo p_softwareImages:= ?,
template (present) OnboardingState p_onboardingState:= ?,
template (present) AppPkgInfo_OperationalState p_operationalState:= ?,
template (present) UsageState p_usageState:= ?,
template (present) AppPkgInfo_MecInfo p_mecInfo:= ?,
template (present) AppPkgInfo_Links p_links := ?
) := {
id := p_id,
appDId := p_appDId,
appProvider := *,
appName := p_appName,
appSoftwareVersion := p_appSoftwareVersion,
appDVersion := p_appDVersion,
checksum := p_checksum,
signingCertificate := *,
softwareImages := p_softwareImages,
additionalArtifacts := *,
onboardingState := p_onboardingState,
operationalState := p_operationalState,
usageState := p_usageState,
mecInfo := p_mecInfo,
userDefinedData := *,
onboardingFailureDetails := *,
links := p_links
} // End of template mw_app_pkg_info
template (value) Checksum m_checksum(
in JSON.String p_algorithm := "SHA256",
in JSON.String p_hash
) := {
algorithm := p_algorithm,
hash := p_hash
} // End of template m_checksum
template (present) Checksum mw_checksum(
template (present) JSON.String p_algorithm := ?,
template (present) JSON.String p_hash := ?
) := {
algorithm := p_algorithm,
hash := p_hash
} // End of template mw_checksum
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
template (value) AppPkgInfoModifications m_app_pkg_info_modification(
in AppPkgInfo_OperationalState p_operationalState
) := {
operationalState := p_operationalState
} // End of template m_app_pkg_info_modification
template (present) AppPkgInfoModifications mw_app_pkg_info_modification(
template (present) AppPkgInfo_OperationalState p_operationalState := ?
) := {
operationalState := p_operationalState
} // End of template mw_app_pkg_info_modification
template (omit) AppPkgSubscription m_app_pkg_info_subscription(
in template (value) JSON.AnyURI p_callbackUri,
in template (value) AppPkgSubscriptionType p_subscriptionType := "AppPackageOnBoardingSubscription",
in template (omit) AppPkgFilter p_appPkgFilter := omit
) := {
callbackUri := p_callbackUri,
subscriptionType := p_subscriptionType,
appPkgFilter := p_appPkgFilter
} // End of template m_app_pkg_info_subscription
template (value) AppPkgSubscriptionInfo m_app_pkg_subscription_info(
in template (value) JSON.String p_id,
in template (value) AppPkgSubscriptionType p_subscriptionType := "AppPackageOnBoardingSubscription",
in template (value) JSON.AnyURI p_callbackUri,
in template (value) AppPkgSubscriptionInfo_Link p_links
):= {
id := p_id,
subscriptionType := p_subscriptionType,
callbackUri := p_callbackUri,
links := p_links
} // End of template m_app_pkg_subscription_info
template (present) AppPkgSubscriptionInfo mw_app_pkg_subscription_info(
template (present) JSON.String p_id := ?,
template (present) AppPkgSubscriptionType p_subscriptionType := "AppPackageOnBoardingSubscription",
template (present) JSON.AnyURI p_callbackUri := ?,
template (present) AppPkgSubscriptionInfo_Link p_links := ?
):= {
id := p_id,
subscriptionType := p_subscriptionType,
callbackUri := p_callbackUri,
links := p_links
} // End of template mw_app_pkg_subscription_info
template (present) AppPkgNotification mw_app_pkg_notification(
template (present) JSON.String p_id := ?,
template (present) JSON.String p_notificationType := ?,
template (present) JSON.String p_subscriptionId := ?,
template (present) TimeStamp p_timeStamp := ?,
template (present) JSON.String p_appPkgId := ?,
template (present) JSON.String p_appDId := ?,
template (present) AppPkgInfo_OperationalState p_operationalState := ?,
template (present) AppPkgNotification_Link p_links := ?
) := {
id := p_id,
notificationType := p_notificationType,
subscriptionId := p_subscriptionId,
timeStamp := p_timeStamp,
appPkgId := p_appPkgId,
appDId := p_appDId,
operationalState := p_operationalState,
links := p_links
} // End of template mw_app_pkg_notification
template (value) AppPkgSubscriptionInfo_Link m_app_pkg_link(
in JSON.AnyURI p_href
) := {
self_ := { href := p_href }
} // End of template m_app_pkg_link
template (present) AppPkgSubscriptionInfo_Link mw_app_pkg_link(
template (present) JSON.AnyURI p_href := ?
) := {
self_ := { href := p_href }
} // End of template mw_app_pkg_link
YannGarcia
committed
} // End of module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates