swagger_aem 2.5.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +7 -7
- data/Rakefile +2 -0
- data/docs/ConsoleApi.md +26 -32
- data/docs/CqApi.md +3 -6
- data/docs/CrxApi.md +19 -33
- data/docs/CustomApi.md +10 -13
- data/docs/SamlConfigurationInfo.md +1 -1
- data/docs/SamlConfigurationProperties.md +24 -24
- data/docs/SlingApi.md +211 -280
- data/git_push.sh +3 -3
- data/lib/swagger_aem.rb +3 -3
- data/lib/swagger_aem/api/console_api.rb +16 -40
- data/lib/swagger_aem/api/cq_api.rb +10 -22
- data/lib/swagger_aem/api/crx_api.rb +26 -61
- data/lib/swagger_aem/api/custom_api.rb +13 -32
- data/lib/swagger_aem/api/sling_api.rb +94 -264
- data/lib/swagger_aem/api_client.rb +14 -14
- data/lib/swagger_aem/api_error.rb +3 -3
- data/lib/swagger_aem/configuration.rb +5 -5
- data/lib/swagger_aem/models/install_status.rb +11 -16
- data/lib/swagger_aem/models/install_status_status.rb +11 -16
- data/lib/swagger_aem/models/keystore_chain_items.rb +11 -16
- data/lib/swagger_aem/models/keystore_info.rb +11 -16
- data/lib/swagger_aem/models/keystore_items.rb +11 -16
- data/lib/swagger_aem/models/saml_configuration_info.rb +12 -17
- data/lib/swagger_aem/models/saml_configuration_properties.rb +59 -136
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +11 -16
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +11 -16
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +11 -16
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +11 -16
- data/lib/swagger_aem/models/truststore_info.rb +11 -16
- data/lib/swagger_aem/models/truststore_items.rb +11 -16
- data/lib/swagger_aem/version.rb +4 -4
- data/spec/api/console_api_spec.rb +8 -16
- data/spec/api/cq_api_spec.rb +6 -10
- data/spec/api/crx_api_spec.rb +11 -25
- data/spec/api/custom_api_spec.rb +7 -13
- data/spec/api/sling_api_spec.rb +32 -88
- data/spec/api_client_spec.rb +37 -37
- data/spec/configuration_spec.rb +11 -11
- data/spec/models/install_status_spec.rb +5 -6
- data/spec/models/install_status_status_spec.rb +6 -7
- data/spec/models/keystore_chain_items_spec.rb +9 -10
- data/spec/models/keystore_info_spec.rb +6 -7
- data/spec/models/keystore_items_spec.rb +9 -10
- data/spec/models/saml_configuration_info_spec.rb +10 -11
- data/spec/models/saml_configuration_properties_spec.rb +28 -29
- data/spec/models/saml_configuration_property_items_array_spec.rb +10 -11
- data/spec/models/saml_configuration_property_items_boolean_spec.rb +10 -11
- data/spec/models/saml_configuration_property_items_long_spec.rb +10 -11
- data/spec/models/saml_configuration_property_items_string_spec.rb +10 -11
- data/spec/models/truststore_info_spec.rb +6 -7
- data/spec/models/truststore_items_spec.rb +11 -12
- data/spec/spec_helper.rb +3 -3
- data/swagger_aem.gemspec +6 -6
- metadata +3 -3
data/git_push.sh
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
#!/bin/sh
|
2
2
|
#
|
3
|
-
# Generated by: https://
|
3
|
+
# Generated by: https://openapi-generator.tech
|
4
4
|
#
|
5
5
|
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
6
6
|
#
|
7
|
-
# Usage example: /bin/sh ./git_push.sh wing328
|
7
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
|
8
8
|
|
9
9
|
git_user_id=$1
|
10
10
|
git_repo_id=$2
|
@@ -39,7 +39,7 @@ git_remote=`git remote`
|
|
39
39
|
if [ "$git_remote" = "" ]; then # git remote not defined
|
40
40
|
|
41
41
|
if [ "$GIT_TOKEN" = "" ]; then
|
42
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git
|
42
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
43
43
|
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
|
44
44
|
else
|
45
45
|
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
|
data/lib/swagger_aem.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version:
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version:
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module SwaggerAemClient
|
16
16
|
class ConsoleApi
|
@@ -19,26 +19,21 @@ module SwaggerAemClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
|
-
#
|
24
|
-
#
|
25
22
|
# @param [Hash] opts the optional parameters
|
26
23
|
# @return [Array<String>]
|
27
24
|
def get_aem_product_info(opts = {})
|
28
25
|
data, _status_code, _headers = get_aem_product_info_with_http_info(opts)
|
29
|
-
|
26
|
+
data
|
30
27
|
end
|
31
28
|
|
32
|
-
#
|
33
|
-
#
|
34
29
|
# @param [Hash] opts the optional parameters
|
35
30
|
# @return [Array<(Array<String>, Fixnum, Hash)>] Array<String> data, response status code and response headers
|
36
31
|
def get_aem_product_info_with_http_info(opts = {})
|
37
32
|
if @api_client.config.debugging
|
38
|
-
@api_client.config.logger.debug
|
33
|
+
@api_client.config.logger.debug 'Calling API: ConsoleApi.get_aem_product_info ...'
|
39
34
|
end
|
40
35
|
# resource path
|
41
|
-
local_var_path =
|
36
|
+
local_var_path = '/system/console/status-productinfo.json'
|
42
37
|
|
43
38
|
# query parameters
|
44
39
|
query_params = {}
|
@@ -66,27 +61,22 @@ module SwaggerAemClient
|
|
66
61
|
end
|
67
62
|
return data, status_code, headers
|
68
63
|
end
|
69
|
-
|
70
|
-
#
|
71
|
-
#
|
72
64
|
# @param name
|
73
65
|
# @param action
|
74
66
|
# @param [Hash] opts the optional parameters
|
75
67
|
# @return [nil]
|
76
68
|
def post_bundle(name, action, opts = {})
|
77
69
|
post_bundle_with_http_info(name, action, opts)
|
78
|
-
|
70
|
+
nil
|
79
71
|
end
|
80
72
|
|
81
|
-
#
|
82
|
-
#
|
83
73
|
# @param name
|
84
74
|
# @param action
|
85
75
|
# @param [Hash] opts the optional parameters
|
86
76
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
87
77
|
def post_bundle_with_http_info(name, action, opts = {})
|
88
78
|
if @api_client.config.debugging
|
89
|
-
@api_client.config.logger.debug
|
79
|
+
@api_client.config.logger.debug 'Calling API: ConsoleApi.post_bundle ...'
|
90
80
|
end
|
91
81
|
# verify the required parameter 'name' is set
|
92
82
|
if @api_client.config.client_side_validation && name.nil?
|
@@ -97,7 +87,7 @@ module SwaggerAemClient
|
|
97
87
|
fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_bundle"
|
98
88
|
end
|
99
89
|
# resource path
|
100
|
-
local_var_path =
|
90
|
+
local_var_path = '/system/console/bundles/{name}'.sub('{' + 'name' + '}', name.to_s)
|
101
91
|
|
102
92
|
# query parameters
|
103
93
|
query_params = {}
|
@@ -105,8 +95,6 @@ module SwaggerAemClient
|
|
105
95
|
|
106
96
|
# header parameters
|
107
97
|
header_params = {}
|
108
|
-
# HTTP header 'Accept' (if needed)
|
109
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
110
98
|
|
111
99
|
# form parameters
|
112
100
|
form_params = {}
|
@@ -125,40 +113,33 @@ module SwaggerAemClient
|
|
125
113
|
end
|
126
114
|
return data, status_code, headers
|
127
115
|
end
|
128
|
-
|
129
|
-
#
|
130
|
-
#
|
131
116
|
# @param action
|
132
117
|
# @param [Hash] opts the optional parameters
|
133
118
|
# @return [nil]
|
134
119
|
def post_jmx_repository(action, opts = {})
|
135
120
|
post_jmx_repository_with_http_info(action, opts)
|
136
|
-
|
121
|
+
nil
|
137
122
|
end
|
138
123
|
|
139
|
-
#
|
140
|
-
#
|
141
124
|
# @param action
|
142
125
|
# @param [Hash] opts the optional parameters
|
143
126
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
144
127
|
def post_jmx_repository_with_http_info(action, opts = {})
|
145
128
|
if @api_client.config.debugging
|
146
|
-
@api_client.config.logger.debug
|
129
|
+
@api_client.config.logger.debug 'Calling API: ConsoleApi.post_jmx_repository ...'
|
147
130
|
end
|
148
131
|
# verify the required parameter 'action' is set
|
149
132
|
if @api_client.config.client_side_validation && action.nil?
|
150
133
|
fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_jmx_repository"
|
151
134
|
end
|
152
135
|
# resource path
|
153
|
-
local_var_path =
|
136
|
+
local_var_path = '/system/console/jmx/com.adobe.granite:type=Repository/op/{action}'.sub('{' + 'action' + '}', action.to_s)
|
154
137
|
|
155
138
|
# query parameters
|
156
139
|
query_params = {}
|
157
140
|
|
158
141
|
# header parameters
|
159
142
|
header_params = {}
|
160
|
-
# HTTP header 'Accept' (if needed)
|
161
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
162
143
|
|
163
144
|
# form parameters
|
164
145
|
form_params = {}
|
@@ -177,9 +158,6 @@ module SwaggerAemClient
|
|
177
158
|
end
|
178
159
|
return data, status_code, headers
|
179
160
|
end
|
180
|
-
|
181
|
-
#
|
182
|
-
#
|
183
161
|
# @param [Hash] opts the optional parameters
|
184
162
|
# @option opts [BOOLEAN] :post
|
185
163
|
# @option opts [BOOLEAN] :apply
|
@@ -214,11 +192,9 @@ module SwaggerAemClient
|
|
214
192
|
# @return [SamlConfigurationInfo]
|
215
193
|
def post_saml_configuration(opts = {})
|
216
194
|
data, _status_code, _headers = post_saml_configuration_with_http_info(opts)
|
217
|
-
|
195
|
+
data
|
218
196
|
end
|
219
197
|
|
220
|
-
#
|
221
|
-
#
|
222
198
|
# @param [Hash] opts the optional parameters
|
223
199
|
# @option opts [BOOLEAN] :post
|
224
200
|
# @option opts [BOOLEAN] :apply
|
@@ -253,10 +229,10 @@ module SwaggerAemClient
|
|
253
229
|
# @return [Array<(SamlConfigurationInfo, Fixnum, Hash)>] SamlConfigurationInfo data, response status code and response headers
|
254
230
|
def post_saml_configuration_with_http_info(opts = {})
|
255
231
|
if @api_client.config.debugging
|
256
|
-
@api_client.config.logger.debug
|
232
|
+
@api_client.config.logger.debug 'Calling API: ConsoleApi.post_saml_configuration ...'
|
257
233
|
end
|
258
234
|
# resource path
|
259
|
-
local_var_path =
|
235
|
+
local_var_path = '/system/console/configMgr/com.adobe.granite.auth.saml.SamlAuthenticationHandler'
|
260
236
|
|
261
237
|
# query parameters
|
262
238
|
query_params = {}
|
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version:
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module SwaggerAemClient
|
16
16
|
class CqApi
|
@@ -19,26 +19,21 @@ module SwaggerAemClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
|
-
#
|
24
|
-
#
|
25
22
|
# @param [Hash] opts the optional parameters
|
26
23
|
# @return [String]
|
27
24
|
def get_login_page(opts = {})
|
28
25
|
data, _status_code, _headers = get_login_page_with_http_info(opts)
|
29
|
-
|
26
|
+
data
|
30
27
|
end
|
31
28
|
|
32
|
-
#
|
33
|
-
#
|
34
29
|
# @param [Hash] opts the optional parameters
|
35
30
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
36
31
|
def get_login_page_with_http_info(opts = {})
|
37
32
|
if @api_client.config.debugging
|
38
|
-
@api_client.config.logger.debug
|
33
|
+
@api_client.config.logger.debug 'Calling API: CqApi.get_login_page ...'
|
39
34
|
end
|
40
35
|
# resource path
|
41
|
-
local_var_path =
|
36
|
+
local_var_path = '/libs/granite/core/content/login.html'
|
42
37
|
|
43
38
|
# query parameters
|
44
39
|
query_params = {}
|
@@ -66,27 +61,22 @@ module SwaggerAemClient
|
|
66
61
|
end
|
67
62
|
return data, status_code, headers
|
68
63
|
end
|
69
|
-
|
70
|
-
#
|
71
|
-
#
|
72
64
|
# @param authorizable_id
|
73
65
|
# @param changelog
|
74
66
|
# @param [Hash] opts the optional parameters
|
75
67
|
# @return [nil]
|
76
68
|
def post_cq_actions(authorizable_id, changelog, opts = {})
|
77
69
|
post_cq_actions_with_http_info(authorizable_id, changelog, opts)
|
78
|
-
|
70
|
+
nil
|
79
71
|
end
|
80
72
|
|
81
|
-
#
|
82
|
-
#
|
83
73
|
# @param authorizable_id
|
84
74
|
# @param changelog
|
85
75
|
# @param [Hash] opts the optional parameters
|
86
76
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
87
77
|
def post_cq_actions_with_http_info(authorizable_id, changelog, opts = {})
|
88
78
|
if @api_client.config.debugging
|
89
|
-
@api_client.config.logger.debug
|
79
|
+
@api_client.config.logger.debug 'Calling API: CqApi.post_cq_actions ...'
|
90
80
|
end
|
91
81
|
# verify the required parameter 'authorizable_id' is set
|
92
82
|
if @api_client.config.client_side_validation && authorizable_id.nil?
|
@@ -97,7 +87,7 @@ module SwaggerAemClient
|
|
97
87
|
fail ArgumentError, "Missing the required parameter 'changelog' when calling CqApi.post_cq_actions"
|
98
88
|
end
|
99
89
|
# resource path
|
100
|
-
local_var_path =
|
90
|
+
local_var_path = '/.cqactions.html'
|
101
91
|
|
102
92
|
# query parameters
|
103
93
|
query_params = {}
|
@@ -106,8 +96,6 @@ module SwaggerAemClient
|
|
106
96
|
|
107
97
|
# header parameters
|
108
98
|
header_params = {}
|
109
|
-
# HTTP header 'Accept' (if needed)
|
110
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
111
99
|
|
112
100
|
# form parameters
|
113
101
|
form_params = {}
|
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version:
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module SwaggerAemClient
|
16
16
|
class CrxApi
|
@@ -19,26 +19,21 @@ module SwaggerAemClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
|
-
#
|
24
|
-
#
|
25
22
|
# @param [Hash] opts the optional parameters
|
26
23
|
# @return [String]
|
27
24
|
def get_crxde_status(opts = {})
|
28
25
|
data, _status_code, _headers = get_crxde_status_with_http_info(opts)
|
29
|
-
|
26
|
+
data
|
30
27
|
end
|
31
28
|
|
32
|
-
#
|
33
|
-
#
|
34
29
|
# @param [Hash] opts the optional parameters
|
35
30
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
36
31
|
def get_crxde_status_with_http_info(opts = {})
|
37
32
|
if @api_client.config.debugging
|
38
|
-
@api_client.config.logger.debug
|
33
|
+
@api_client.config.logger.debug 'Calling API: CrxApi.get_crxde_status ...'
|
39
34
|
end
|
40
35
|
# resource path
|
41
|
-
local_var_path =
|
36
|
+
local_var_path = '/crx/server/crx.default/jcr:root/.1.json'
|
42
37
|
|
43
38
|
# query parameters
|
44
39
|
query_params = {}
|
@@ -66,26 +61,21 @@ module SwaggerAemClient
|
|
66
61
|
end
|
67
62
|
return data, status_code, headers
|
68
63
|
end
|
69
|
-
|
70
|
-
#
|
71
|
-
#
|
72
64
|
# @param [Hash] opts the optional parameters
|
73
65
|
# @return [InstallStatus]
|
74
66
|
def get_install_status(opts = {})
|
75
67
|
data, _status_code, _headers = get_install_status_with_http_info(opts)
|
76
|
-
|
68
|
+
data
|
77
69
|
end
|
78
70
|
|
79
|
-
#
|
80
|
-
#
|
81
71
|
# @param [Hash] opts the optional parameters
|
82
72
|
# @return [Array<(InstallStatus, Fixnum, Hash)>] InstallStatus data, response status code and response headers
|
83
73
|
def get_install_status_with_http_info(opts = {})
|
84
74
|
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug
|
75
|
+
@api_client.config.logger.debug 'Calling API: CrxApi.get_install_status ...'
|
86
76
|
end
|
87
77
|
# resource path
|
88
|
-
local_var_path =
|
78
|
+
local_var_path = '/crx/packmgr/installstatus.jsp'
|
89
79
|
|
90
80
|
# query parameters
|
91
81
|
query_params = {}
|
@@ -113,26 +103,21 @@ module SwaggerAemClient
|
|
113
103
|
end
|
114
104
|
return data, status_code, headers
|
115
105
|
end
|
116
|
-
|
117
|
-
#
|
118
|
-
#
|
119
106
|
# @param [Hash] opts the optional parameters
|
120
107
|
# @return [nil]
|
121
108
|
def get_package_manager_servlet(opts = {})
|
122
109
|
get_package_manager_servlet_with_http_info(opts)
|
123
|
-
|
110
|
+
nil
|
124
111
|
end
|
125
112
|
|
126
|
-
#
|
127
|
-
#
|
128
113
|
# @param [Hash] opts the optional parameters
|
129
114
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
130
115
|
def get_package_manager_servlet_with_http_info(opts = {})
|
131
116
|
if @api_client.config.debugging
|
132
|
-
@api_client.config.logger.debug
|
117
|
+
@api_client.config.logger.debug 'Calling API: CrxApi.get_package_manager_servlet ...'
|
133
118
|
end
|
134
119
|
# resource path
|
135
|
-
local_var_path =
|
120
|
+
local_var_path = '/crx/packmgr/service/script.html'
|
136
121
|
|
137
122
|
# query parameters
|
138
123
|
query_params = {}
|
@@ -159,32 +144,27 @@ module SwaggerAemClient
|
|
159
144
|
end
|
160
145
|
return data, status_code, headers
|
161
146
|
end
|
162
|
-
|
163
|
-
#
|
164
|
-
#
|
165
147
|
# @param cmd
|
166
148
|
# @param [Hash] opts the optional parameters
|
167
149
|
# @return [String]
|
168
150
|
def post_package_service(cmd, opts = {})
|
169
151
|
data, _status_code, _headers = post_package_service_with_http_info(cmd, opts)
|
170
|
-
|
152
|
+
data
|
171
153
|
end
|
172
154
|
|
173
|
-
#
|
174
|
-
#
|
175
155
|
# @param cmd
|
176
156
|
# @param [Hash] opts the optional parameters
|
177
157
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
178
158
|
def post_package_service_with_http_info(cmd, opts = {})
|
179
159
|
if @api_client.config.debugging
|
180
|
-
@api_client.config.logger.debug
|
160
|
+
@api_client.config.logger.debug 'Calling API: CrxApi.post_package_service ...'
|
181
161
|
end
|
182
162
|
# verify the required parameter 'cmd' is set
|
183
163
|
if @api_client.config.client_side_validation && cmd.nil?
|
184
164
|
fail ArgumentError, "Missing the required parameter 'cmd' when calling CrxApi.post_package_service"
|
185
165
|
end
|
186
166
|
# resource path
|
187
|
-
local_var_path =
|
167
|
+
local_var_path = '/crx/packmgr/service.jsp'
|
188
168
|
|
189
169
|
# query parameters
|
190
170
|
query_params = {}
|
@@ -213,9 +193,6 @@ module SwaggerAemClient
|
|
213
193
|
end
|
214
194
|
return data, status_code, headers
|
215
195
|
end
|
216
|
-
|
217
|
-
#
|
218
|
-
#
|
219
196
|
# @param path
|
220
197
|
# @param cmd
|
221
198
|
# @param [Hash] opts the optional parameters
|
@@ -229,11 +206,9 @@ module SwaggerAemClient
|
|
229
206
|
# @return [String]
|
230
207
|
def post_package_service_json(path, cmd, opts = {})
|
231
208
|
data, _status_code, _headers = post_package_service_json_with_http_info(path, cmd, opts)
|
232
|
-
|
209
|
+
data
|
233
210
|
end
|
234
211
|
|
235
|
-
#
|
236
|
-
#
|
237
212
|
# @param path
|
238
213
|
# @param cmd
|
239
214
|
# @param [Hash] opts the optional parameters
|
@@ -247,7 +222,7 @@ module SwaggerAemClient
|
|
247
222
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
248
223
|
def post_package_service_json_with_http_info(path, cmd, opts = {})
|
249
224
|
if @api_client.config.debugging
|
250
|
-
@api_client.config.logger.debug
|
225
|
+
@api_client.config.logger.debug 'Calling API: CrxApi.post_package_service_json ...'
|
251
226
|
end
|
252
227
|
# verify the required parameter 'path' is set
|
253
228
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -258,7 +233,7 @@ module SwaggerAemClient
|
|
258
233
|
fail ArgumentError, "Missing the required parameter 'cmd' when calling CrxApi.post_package_service_json"
|
259
234
|
end
|
260
235
|
# resource path
|
261
|
-
local_var_path =
|
236
|
+
local_var_path = '/crx/packmgr/service/.json/{path}'.sub('{' + 'path' + '}', path.to_s)
|
262
237
|
|
263
238
|
# query parameters
|
264
239
|
query_params = {}
|
@@ -279,7 +254,7 @@ module SwaggerAemClient
|
|
279
254
|
|
280
255
|
# form parameters
|
281
256
|
form_params = {}
|
282
|
-
form_params[
|
257
|
+
form_params['package'] = opts[:'package'] if !opts[:'package'].nil?
|
283
258
|
|
284
259
|
# http body (model)
|
285
260
|
post_body = nil
|
@@ -296,9 +271,6 @@ module SwaggerAemClient
|
|
296
271
|
end
|
297
272
|
return data, status_code, headers
|
298
273
|
end
|
299
|
-
|
300
|
-
#
|
301
|
-
#
|
302
274
|
# @param group_name
|
303
275
|
# @param package_name
|
304
276
|
# @param version
|
@@ -309,11 +281,9 @@ module SwaggerAemClient
|
|
309
281
|
# @return [String]
|
310
282
|
def post_package_update(group_name, package_name, version, path, opts = {})
|
311
283
|
data, _status_code, _headers = post_package_update_with_http_info(group_name, package_name, version, path, opts)
|
312
|
-
|
284
|
+
data
|
313
285
|
end
|
314
286
|
|
315
|
-
#
|
316
|
-
#
|
317
287
|
# @param group_name
|
318
288
|
# @param package_name
|
319
289
|
# @param version
|
@@ -324,7 +294,7 @@ module SwaggerAemClient
|
|
324
294
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
325
295
|
def post_package_update_with_http_info(group_name, package_name, version, path, opts = {})
|
326
296
|
if @api_client.config.debugging
|
327
|
-
@api_client.config.logger.debug
|
297
|
+
@api_client.config.logger.debug 'Calling API: CrxApi.post_package_update ...'
|
328
298
|
end
|
329
299
|
# verify the required parameter 'group_name' is set
|
330
300
|
if @api_client.config.client_side_validation && group_name.nil?
|
@@ -343,7 +313,7 @@ module SwaggerAemClient
|
|
343
313
|
fail ArgumentError, "Missing the required parameter 'path' when calling CrxApi.post_package_update"
|
344
314
|
end
|
345
315
|
# resource path
|
346
|
-
local_var_path =
|
316
|
+
local_var_path = '/crx/packmgr/update.jsp'
|
347
317
|
|
348
318
|
# query parameters
|
349
319
|
query_params = {}
|
@@ -377,9 +347,6 @@ module SwaggerAemClient
|
|
377
347
|
end
|
378
348
|
return data, status_code, headers
|
379
349
|
end
|
380
|
-
|
381
|
-
#
|
382
|
-
#
|
383
350
|
# @param old
|
384
351
|
# @param plain
|
385
352
|
# @param verify
|
@@ -387,11 +354,9 @@ module SwaggerAemClient
|
|
387
354
|
# @return [String]
|
388
355
|
def post_set_password(old, plain, verify, opts = {})
|
389
356
|
data, _status_code, _headers = post_set_password_with_http_info(old, plain, verify, opts)
|
390
|
-
|
357
|
+
data
|
391
358
|
end
|
392
359
|
|
393
|
-
#
|
394
|
-
#
|
395
360
|
# @param old
|
396
361
|
# @param plain
|
397
362
|
# @param verify
|
@@ -399,7 +364,7 @@ module SwaggerAemClient
|
|
399
364
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
400
365
|
def post_set_password_with_http_info(old, plain, verify, opts = {})
|
401
366
|
if @api_client.config.debugging
|
402
|
-
@api_client.config.logger.debug
|
367
|
+
@api_client.config.logger.debug 'Calling API: CrxApi.post_set_password ...'
|
403
368
|
end
|
404
369
|
# verify the required parameter 'old' is set
|
405
370
|
if @api_client.config.client_side_validation && old.nil?
|
@@ -414,7 +379,7 @@ module SwaggerAemClient
|
|
414
379
|
fail ArgumentError, "Missing the required parameter 'verify' when calling CrxApi.post_set_password"
|
415
380
|
end
|
416
381
|
# resource path
|
417
|
-
local_var_path =
|
382
|
+
local_var_path = '/crx/explorer/ui/setpassword.jsp'
|
418
383
|
|
419
384
|
# query parameters
|
420
385
|
query_params = {}
|