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
179
180
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
} // End of group pkgmgt
YannGarcia
committed
} // End of module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates