swagger_aem 3.8.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +107 -34
- data/README.md +8 -12
- data/bin/byebug +16 -0
- data/bin/coderay +16 -0
- data/bin/htmldiff +16 -0
- data/bin/ldiff +16 -0
- data/bin/pry +16 -0
- data/bin/racc +16 -0
- data/bin/rake +16 -0
- data/bin/rspec +16 -0
- data/bin/rubocop +16 -0
- data/bin/ruby-parse +16 -0
- data/bin/ruby-rewrite +16 -0
- data/docs/BundleData.md +24 -23
- data/docs/BundleDataProp.md +10 -9
- data/docs/BundleInfo.md +12 -11
- data/docs/ConsoleApi.md +188 -79
- data/docs/CqApi.md +52 -16
- data/docs/CrxApi.md +192 -64
- data/docs/CustomApi.md +85 -32
- data/docs/GraniteApi.md +37 -20
- data/docs/InstallStatus.md +8 -7
- data/docs/InstallStatusStatus.md +10 -9
- data/docs/KeystoreChainItems.md +16 -15
- data/docs/KeystoreInfo.md +10 -9
- data/docs/KeystoreItems.md +16 -15
- data/docs/SamlConfigurationInfo.md +18 -17
- data/docs/SamlConfigurationProperties.md +54 -53
- data/docs/SamlConfigurationPropertyItemsArray.md +18 -17
- data/docs/SamlConfigurationPropertyItemsBoolean.md +18 -17
- data/docs/SamlConfigurationPropertyItemsLong.md +18 -17
- data/docs/SamlConfigurationPropertyItemsString.md +18 -17
- data/docs/SlingApi.md +1021 -496
- data/docs/TruststoreInfo.md +10 -9
- data/docs/TruststoreItems.md +20 -19
- data/git_push.sh +3 -4
- data/lib/swagger_aem/api/console_api.rb +33 -27
- data/lib/swagger_aem/api/cq_api.rb +11 -9
- data/lib/swagger_aem/api/crx_api.rb +42 -32
- data/lib/swagger_aem/api/custom_api.rb +15 -12
- data/lib/swagger_aem/api/granite_api.rb +11 -7
- data/lib/swagger_aem/api/sling_api.rb +342 -298
- data/lib/swagger_aem/api_client.rb +73 -64
- data/lib/swagger_aem/api_error.rb +3 -2
- data/lib/swagger_aem/api_model_base.rb +88 -0
- data/lib/swagger_aem/configuration.rb +75 -15
- data/lib/swagger_aem/models/bundle_data.rb +32 -91
- data/lib/swagger_aem/models/bundle_data_prop.rb +32 -91
- data/lib/swagger_aem/models/bundle_info.rb +32 -91
- data/lib/swagger_aem/models/install_status.rb +32 -91
- data/lib/swagger_aem/models/install_status_status.rb +32 -91
- data/lib/swagger_aem/models/keystore_chain_items.rb +32 -91
- data/lib/swagger_aem/models/keystore_info.rb +32 -91
- data/lib/swagger_aem/models/keystore_items.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_info.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_properties.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +32 -91
- data/lib/swagger_aem/models/truststore_info.rb +32 -91
- data/lib/swagger_aem/models/truststore_items.rb +32 -91
- data/lib/swagger_aem/version.rb +3 -3
- data/lib/swagger_aem.rb +3 -8
- data/spec/api/console_api_spec.rb +8 -8
- data/spec/api/cq_api_spec.rb +4 -4
- data/spec/api/crx_api_spec.rb +9 -9
- data/spec/api/custom_api_spec.rb +5 -5
- data/spec/api/granite_api_spec.rb +3 -3
- data/spec/api/sling_api_spec.rb +89 -87
- data/spec/models/bundle_data_prop_spec.rb +8 -6
- data/spec/models/bundle_data_spec.rb +15 -13
- data/spec/models/bundle_info_spec.rb +9 -7
- data/spec/models/install_status_spec.rb +7 -5
- data/spec/models/install_status_status_spec.rb +8 -6
- data/spec/models/keystore_chain_items_spec.rb +11 -9
- data/spec/models/keystore_info_spec.rb +8 -6
- data/spec/models/keystore_items_spec.rb +11 -9
- data/spec/models/saml_configuration_info_spec.rb +12 -10
- data/spec/models/saml_configuration_properties_spec.rb +30 -28
- data/spec/models/saml_configuration_property_items_array_spec.rb +12 -10
- data/spec/models/saml_configuration_property_items_boolean_spec.rb +12 -10
- data/spec/models/saml_configuration_property_items_long_spec.rb +12 -10
- data/spec/models/saml_configuration_property_items_string_spec.rb +12 -10
- data/spec/models/truststore_info_spec.rb +8 -6
- data/spec/models/truststore_items_spec.rb +13 -11
- data/spec/spec_helper.rb +2 -2
- data/swagger_aem.gemspec +4 -4
- metadata +15 -54
- data/docs/InlineObject.md +0 -17
- data/docs/InlineObject1.md +0 -17
- data/docs/InlineObject2.md +0 -17
- data/docs/InlineObject3.md +0 -17
- data/docs/InlineObject4.md +0 -21
- data/docs/InlineObject5.md +0 -19
- data/lib/swagger_aem/models/inline_object.rb +0 -206
- data/lib/swagger_aem/models/inline_object1.rb +0 -206
- data/lib/swagger_aem/models/inline_object2.rb +0 -206
- data/lib/swagger_aem/models/inline_object3.rb +0 -206
- data/lib/swagger_aem/models/inline_object4.rb +0 -224
- data/lib/swagger_aem/models/inline_object5.rb +0 -215
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/inline_object1_spec.rb +0 -41
- data/spec/models/inline_object2_spec.rb +0 -41
- data/spec/models/inline_object3_spec.rb +0 -41
- data/spec/models/inline_object4_spec.rb +0 -53
- data/spec/models/inline_object5_spec.rb +0 -47
- data/spec/models/inline_object_spec.rb +0 -41
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -45,7 +45,7 @@ module SwaggerAemClient
|
|
|
45
45
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_agent"
|
|
46
46
|
end
|
|
47
47
|
# resource path
|
|
48
|
-
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{
|
|
48
|
+
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{runmode}', CGI.escape(runmode.to_s)).sub('{name}', CGI.escape(name.to_s))
|
|
49
49
|
|
|
50
50
|
# query parameters
|
|
51
51
|
query_params = opts[:query_params] || {}
|
|
@@ -57,15 +57,16 @@ module SwaggerAemClient
|
|
|
57
57
|
form_params = opts[:form_params] || {}
|
|
58
58
|
|
|
59
59
|
# http body (model)
|
|
60
|
-
post_body = opts[:
|
|
60
|
+
post_body = opts[:debug_body]
|
|
61
61
|
|
|
62
62
|
# return_type
|
|
63
|
-
return_type = opts[:
|
|
63
|
+
return_type = opts[:debug_return_type]
|
|
64
64
|
|
|
65
65
|
# auth_names
|
|
66
|
-
auth_names = opts[:
|
|
66
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
67
67
|
|
|
68
68
|
new_options = opts.merge(
|
|
69
|
+
:operation => :"SlingApi.delete_agent",
|
|
69
70
|
:header_params => header_params,
|
|
70
71
|
:query_params => query_params,
|
|
71
72
|
:form_params => form_params,
|
|
@@ -107,7 +108,7 @@ module SwaggerAemClient
|
|
|
107
108
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_node"
|
|
108
109
|
end
|
|
109
110
|
# resource path
|
|
110
|
-
local_var_path = '/{path}/{name}'.sub('{
|
|
111
|
+
local_var_path = '/{path}/{name}'.sub('{path}', CGI.escape(path.to_s)).sub('{name}', CGI.escape(name.to_s))
|
|
111
112
|
|
|
112
113
|
# query parameters
|
|
113
114
|
query_params = opts[:query_params] || {}
|
|
@@ -119,15 +120,16 @@ module SwaggerAemClient
|
|
|
119
120
|
form_params = opts[:form_params] || {}
|
|
120
121
|
|
|
121
122
|
# http body (model)
|
|
122
|
-
post_body = opts[:
|
|
123
|
+
post_body = opts[:debug_body]
|
|
123
124
|
|
|
124
125
|
# return_type
|
|
125
|
-
return_type = opts[:
|
|
126
|
+
return_type = opts[:debug_return_type]
|
|
126
127
|
|
|
127
128
|
# auth_names
|
|
128
|
-
auth_names = opts[:
|
|
129
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
129
130
|
|
|
130
131
|
new_options = opts.merge(
|
|
132
|
+
:operation => :"SlingApi.delete_node",
|
|
131
133
|
:header_params => header_params,
|
|
132
134
|
:query_params => query_params,
|
|
133
135
|
:form_params => form_params,
|
|
@@ -169,7 +171,7 @@ module SwaggerAemClient
|
|
|
169
171
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_agent"
|
|
170
172
|
end
|
|
171
173
|
# resource path
|
|
172
|
-
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{
|
|
174
|
+
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{runmode}', CGI.escape(runmode.to_s)).sub('{name}', CGI.escape(name.to_s))
|
|
173
175
|
|
|
174
176
|
# query parameters
|
|
175
177
|
query_params = opts[:query_params] || {}
|
|
@@ -181,15 +183,16 @@ module SwaggerAemClient
|
|
|
181
183
|
form_params = opts[:form_params] || {}
|
|
182
184
|
|
|
183
185
|
# http body (model)
|
|
184
|
-
post_body = opts[:
|
|
186
|
+
post_body = opts[:debug_body]
|
|
185
187
|
|
|
186
188
|
# return_type
|
|
187
|
-
return_type = opts[:
|
|
189
|
+
return_type = opts[:debug_return_type]
|
|
188
190
|
|
|
189
191
|
# auth_names
|
|
190
|
-
auth_names = opts[:
|
|
192
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
191
193
|
|
|
192
194
|
new_options = opts.merge(
|
|
195
|
+
:operation => :"SlingApi.get_agent",
|
|
193
196
|
:header_params => header_params,
|
|
194
197
|
:query_params => query_params,
|
|
195
198
|
:form_params => form_params,
|
|
@@ -225,7 +228,7 @@ module SwaggerAemClient
|
|
|
225
228
|
fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agents"
|
|
226
229
|
end
|
|
227
230
|
# resource path
|
|
228
|
-
local_var_path = '/etc/replication/agents.{runmode}.-1.json'.sub('{
|
|
231
|
+
local_var_path = '/etc/replication/agents.{runmode}.-1.json'.sub('{runmode}', CGI.escape(runmode.to_s))
|
|
229
232
|
|
|
230
233
|
# query parameters
|
|
231
234
|
query_params = opts[:query_params] || {}
|
|
@@ -233,21 +236,22 @@ module SwaggerAemClient
|
|
|
233
236
|
# header parameters
|
|
234
237
|
header_params = opts[:header_params] || {}
|
|
235
238
|
# HTTP header 'Accept' (if needed)
|
|
236
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
239
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
237
240
|
|
|
238
241
|
# form parameters
|
|
239
242
|
form_params = opts[:form_params] || {}
|
|
240
243
|
|
|
241
244
|
# http body (model)
|
|
242
|
-
post_body = opts[:
|
|
245
|
+
post_body = opts[:debug_body]
|
|
243
246
|
|
|
244
247
|
# return_type
|
|
245
|
-
return_type = opts[:
|
|
248
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
246
249
|
|
|
247
250
|
# auth_names
|
|
248
|
-
auth_names = opts[:
|
|
251
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
249
252
|
|
|
250
253
|
new_options = opts.merge(
|
|
254
|
+
:operation => :"SlingApi.get_agents",
|
|
251
255
|
:header_params => header_params,
|
|
252
256
|
:query_params => query_params,
|
|
253
257
|
:form_params => form_params,
|
|
@@ -289,7 +293,7 @@ module SwaggerAemClient
|
|
|
289
293
|
fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.get_authorizable_keystore"
|
|
290
294
|
end
|
|
291
295
|
# resource path
|
|
292
|
-
local_var_path = '/{intermediatePath}/{authorizableId}.ks.json'.sub('{
|
|
296
|
+
local_var_path = '/{intermediatePath}/{authorizableId}.ks.json'.sub('{intermediatePath}', CGI.escape(intermediate_path.to_s)).sub('{authorizableId}', CGI.escape(authorizable_id.to_s))
|
|
293
297
|
|
|
294
298
|
# query parameters
|
|
295
299
|
query_params = opts[:query_params] || {}
|
|
@@ -297,21 +301,22 @@ module SwaggerAemClient
|
|
|
297
301
|
# header parameters
|
|
298
302
|
header_params = opts[:header_params] || {}
|
|
299
303
|
# HTTP header 'Accept' (if needed)
|
|
300
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
304
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain']) unless header_params['Accept']
|
|
301
305
|
|
|
302
306
|
# form parameters
|
|
303
307
|
form_params = opts[:form_params] || {}
|
|
304
308
|
|
|
305
309
|
# http body (model)
|
|
306
|
-
post_body = opts[:
|
|
310
|
+
post_body = opts[:debug_body]
|
|
307
311
|
|
|
308
312
|
# return_type
|
|
309
|
-
return_type = opts[:
|
|
313
|
+
return_type = opts[:debug_return_type] || 'KeystoreInfo'
|
|
310
314
|
|
|
311
315
|
# auth_names
|
|
312
|
-
auth_names = opts[:
|
|
316
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
313
317
|
|
|
314
318
|
new_options = opts.merge(
|
|
319
|
+
:operation => :"SlingApi.get_authorizable_keystore",
|
|
315
320
|
:header_params => header_params,
|
|
316
321
|
:query_params => query_params,
|
|
317
322
|
:form_params => form_params,
|
|
@@ -353,7 +358,7 @@ module SwaggerAemClient
|
|
|
353
358
|
fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.get_keystore"
|
|
354
359
|
end
|
|
355
360
|
# resource path
|
|
356
|
-
local_var_path = '/{intermediatePath}/{authorizableId}/keystore/store.p12'.sub('{
|
|
361
|
+
local_var_path = '/{intermediatePath}/{authorizableId}/keystore/store.p12'.sub('{intermediatePath}', CGI.escape(intermediate_path.to_s)).sub('{authorizableId}', CGI.escape(authorizable_id.to_s))
|
|
357
362
|
|
|
358
363
|
# query parameters
|
|
359
364
|
query_params = opts[:query_params] || {}
|
|
@@ -361,21 +366,22 @@ module SwaggerAemClient
|
|
|
361
366
|
# header parameters
|
|
362
367
|
header_params = opts[:header_params] || {}
|
|
363
368
|
# HTTP header 'Accept' (if needed)
|
|
364
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
|
369
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream']) unless header_params['Accept']
|
|
365
370
|
|
|
366
371
|
# form parameters
|
|
367
372
|
form_params = opts[:form_params] || {}
|
|
368
373
|
|
|
369
374
|
# http body (model)
|
|
370
|
-
post_body = opts[:
|
|
375
|
+
post_body = opts[:debug_body]
|
|
371
376
|
|
|
372
377
|
# return_type
|
|
373
|
-
return_type = opts[:
|
|
378
|
+
return_type = opts[:debug_return_type] || 'File'
|
|
374
379
|
|
|
375
380
|
# auth_names
|
|
376
|
-
auth_names = opts[:
|
|
381
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
377
382
|
|
|
378
383
|
new_options = opts.merge(
|
|
384
|
+
:operation => :"SlingApi.get_keystore",
|
|
379
385
|
:header_params => header_params,
|
|
380
386
|
:query_params => query_params,
|
|
381
387
|
:form_params => form_params,
|
|
@@ -417,7 +423,7 @@ module SwaggerAemClient
|
|
|
417
423
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_node"
|
|
418
424
|
end
|
|
419
425
|
# resource path
|
|
420
|
-
local_var_path = '/{path}/{name}'.sub('{
|
|
426
|
+
local_var_path = '/{path}/{name}'.sub('{path}', CGI.escape(path.to_s)).sub('{name}', CGI.escape(name.to_s))
|
|
421
427
|
|
|
422
428
|
# query parameters
|
|
423
429
|
query_params = opts[:query_params] || {}
|
|
@@ -429,15 +435,16 @@ module SwaggerAemClient
|
|
|
429
435
|
form_params = opts[:form_params] || {}
|
|
430
436
|
|
|
431
437
|
# http body (model)
|
|
432
|
-
post_body = opts[:
|
|
438
|
+
post_body = opts[:debug_body]
|
|
433
439
|
|
|
434
440
|
# return_type
|
|
435
|
-
return_type = opts[:
|
|
441
|
+
return_type = opts[:debug_return_type]
|
|
436
442
|
|
|
437
443
|
# auth_names
|
|
438
|
-
auth_names = opts[:
|
|
444
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
439
445
|
|
|
440
446
|
new_options = opts.merge(
|
|
447
|
+
:operation => :"SlingApi.get_node",
|
|
441
448
|
:header_params => header_params,
|
|
442
449
|
:query_params => query_params,
|
|
443
450
|
:form_params => form_params,
|
|
@@ -485,7 +492,7 @@ module SwaggerAemClient
|
|
|
485
492
|
fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package"
|
|
486
493
|
end
|
|
487
494
|
# resource path
|
|
488
|
-
local_var_path = '/etc/packages/{group}/{name}-{version}.zip'.sub('{
|
|
495
|
+
local_var_path = '/etc/packages/{group}/{name}-{version}.zip'.sub('{group}', CGI.escape(group.to_s)).sub('{name}', CGI.escape(name.to_s)).sub('{version}', CGI.escape(version.to_s))
|
|
489
496
|
|
|
490
497
|
# query parameters
|
|
491
498
|
query_params = opts[:query_params] || {}
|
|
@@ -493,21 +500,22 @@ module SwaggerAemClient
|
|
|
493
500
|
# header parameters
|
|
494
501
|
header_params = opts[:header_params] || {}
|
|
495
502
|
# HTTP header 'Accept' (if needed)
|
|
496
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
|
503
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream']) unless header_params['Accept']
|
|
497
504
|
|
|
498
505
|
# form parameters
|
|
499
506
|
form_params = opts[:form_params] || {}
|
|
500
507
|
|
|
501
508
|
# http body (model)
|
|
502
|
-
post_body = opts[:
|
|
509
|
+
post_body = opts[:debug_body]
|
|
503
510
|
|
|
504
511
|
# return_type
|
|
505
|
-
return_type = opts[:
|
|
512
|
+
return_type = opts[:debug_return_type] || 'File'
|
|
506
513
|
|
|
507
514
|
# auth_names
|
|
508
|
-
auth_names = opts[:
|
|
515
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
509
516
|
|
|
510
517
|
new_options = opts.merge(
|
|
518
|
+
:operation => :"SlingApi.get_package",
|
|
511
519
|
:header_params => header_params,
|
|
512
520
|
:query_params => query_params,
|
|
513
521
|
:form_params => form_params,
|
|
@@ -555,7 +563,7 @@ module SwaggerAemClient
|
|
|
555
563
|
fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package_filter"
|
|
556
564
|
end
|
|
557
565
|
# resource path
|
|
558
|
-
local_var_path = '/etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json'.sub('{
|
|
566
|
+
local_var_path = '/etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json'.sub('{group}', CGI.escape(group.to_s)).sub('{name}', CGI.escape(name.to_s)).sub('{version}', CGI.escape(version.to_s))
|
|
559
567
|
|
|
560
568
|
# query parameters
|
|
561
569
|
query_params = opts[:query_params] || {}
|
|
@@ -563,21 +571,22 @@ module SwaggerAemClient
|
|
|
563
571
|
# header parameters
|
|
564
572
|
header_params = opts[:header_params] || {}
|
|
565
573
|
# HTTP header 'Accept' (if needed)
|
|
566
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
574
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
567
575
|
|
|
568
576
|
# form parameters
|
|
569
577
|
form_params = opts[:form_params] || {}
|
|
570
578
|
|
|
571
579
|
# http body (model)
|
|
572
|
-
post_body = opts[:
|
|
580
|
+
post_body = opts[:debug_body]
|
|
573
581
|
|
|
574
582
|
# return_type
|
|
575
|
-
return_type = opts[:
|
|
583
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
576
584
|
|
|
577
585
|
# auth_names
|
|
578
|
-
auth_names = opts[:
|
|
586
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
579
587
|
|
|
580
588
|
new_options = opts.merge(
|
|
589
|
+
:operation => :"SlingApi.get_package_filter",
|
|
581
590
|
:header_params => header_params,
|
|
582
591
|
:query_params => query_params,
|
|
583
592
|
:form_params => form_params,
|
|
@@ -643,21 +652,22 @@ module SwaggerAemClient
|
|
|
643
652
|
# header parameters
|
|
644
653
|
header_params = opts[:header_params] || {}
|
|
645
654
|
# HTTP header 'Accept' (if needed)
|
|
646
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
655
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
647
656
|
|
|
648
657
|
# form parameters
|
|
649
658
|
form_params = opts[:form_params] || {}
|
|
650
659
|
|
|
651
660
|
# http body (model)
|
|
652
|
-
post_body = opts[:
|
|
661
|
+
post_body = opts[:debug_body]
|
|
653
662
|
|
|
654
663
|
# return_type
|
|
655
|
-
return_type = opts[:
|
|
664
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
656
665
|
|
|
657
666
|
# auth_names
|
|
658
|
-
auth_names = opts[:
|
|
667
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
659
668
|
|
|
660
669
|
new_options = opts.merge(
|
|
670
|
+
:operation => :"SlingApi.get_query",
|
|
661
671
|
:header_params => header_params,
|
|
662
672
|
:query_params => query_params,
|
|
663
673
|
:form_params => form_params,
|
|
@@ -695,21 +705,22 @@ module SwaggerAemClient
|
|
|
695
705
|
# header parameters
|
|
696
706
|
header_params = opts[:header_params] || {}
|
|
697
707
|
# HTTP header 'Accept' (if needed)
|
|
698
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
|
708
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream']) unless header_params['Accept']
|
|
699
709
|
|
|
700
710
|
# form parameters
|
|
701
711
|
form_params = opts[:form_params] || {}
|
|
702
712
|
|
|
703
713
|
# http body (model)
|
|
704
|
-
post_body = opts[:
|
|
714
|
+
post_body = opts[:debug_body]
|
|
705
715
|
|
|
706
716
|
# return_type
|
|
707
|
-
return_type = opts[:
|
|
717
|
+
return_type = opts[:debug_return_type] || 'File'
|
|
708
718
|
|
|
709
719
|
# auth_names
|
|
710
|
-
auth_names = opts[:
|
|
720
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
711
721
|
|
|
712
722
|
new_options = opts.merge(
|
|
723
|
+
:operation => :"SlingApi.get_truststore",
|
|
713
724
|
:header_params => header_params,
|
|
714
725
|
:query_params => query_params,
|
|
715
726
|
:form_params => form_params,
|
|
@@ -747,21 +758,22 @@ module SwaggerAemClient
|
|
|
747
758
|
# header parameters
|
|
748
759
|
header_params = opts[:header_params] || {}
|
|
749
760
|
# HTTP header 'Accept' (if needed)
|
|
750
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
761
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
751
762
|
|
|
752
763
|
# form parameters
|
|
753
764
|
form_params = opts[:form_params] || {}
|
|
754
765
|
|
|
755
766
|
# http body (model)
|
|
756
|
-
post_body = opts[:
|
|
767
|
+
post_body = opts[:debug_body]
|
|
757
768
|
|
|
758
769
|
# return_type
|
|
759
|
-
return_type = opts[:
|
|
770
|
+
return_type = opts[:debug_return_type] || 'TruststoreInfo'
|
|
760
771
|
|
|
761
772
|
# auth_names
|
|
762
|
-
auth_names = opts[:
|
|
773
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
763
774
|
|
|
764
775
|
new_options = opts.merge(
|
|
776
|
+
:operation => :"SlingApi.get_truststore_info",
|
|
765
777
|
:header_params => header_params,
|
|
766
778
|
:query_params => query_params,
|
|
767
779
|
:form_params => form_params,
|
|
@@ -780,56 +792,57 @@ module SwaggerAemClient
|
|
|
780
792
|
# @param runmode [String]
|
|
781
793
|
# @param name [String]
|
|
782
794
|
# @param [Hash] opts the optional parameters
|
|
783
|
-
# @option opts [Boolean] :
|
|
784
|
-
# @option opts [String] :
|
|
785
|
-
# @option opts [String] :
|
|
786
|
-
# @option opts [String] :
|
|
787
|
-
# @option opts [Boolean] :
|
|
788
|
-
# @option opts [
|
|
789
|
-
# @option opts [String] :
|
|
790
|
-
# @option opts [String] :
|
|
791
|
-
# @option opts [String] :
|
|
792
|
-
# @option opts [String] :
|
|
793
|
-
# @option opts [String] :
|
|
794
|
-
# @option opts [
|
|
795
|
-
# @option opts [Boolean] :
|
|
796
|
-
# @option opts [
|
|
797
|
-
# @option opts [
|
|
798
|
-
# @option opts [
|
|
799
|
-
# @option opts [
|
|
800
|
-
# @option opts [String] :
|
|
801
|
-
# @option opts [String] :
|
|
802
|
-
# @option opts [
|
|
803
|
-
# @option opts [
|
|
804
|
-
# @option opts [
|
|
805
|
-
# @option opts [
|
|
806
|
-
# @option opts [String] :
|
|
807
|
-
# @option opts [String] :
|
|
808
|
-
# @option opts [String] :
|
|
809
|
-
# @option opts [String] :
|
|
810
|
-
# @option opts [
|
|
811
|
-
# @option opts [
|
|
812
|
-
# @option opts [
|
|
813
|
-
# @option opts [
|
|
814
|
-
# @option opts [
|
|
815
|
-
# @option opts [
|
|
816
|
-
# @option opts [
|
|
817
|
-
# @option opts [
|
|
818
|
-
# @option opts [String] :
|
|
819
|
-
# @option opts [String] :
|
|
820
|
-
# @option opts [String] :
|
|
821
|
-
# @option opts [String] :
|
|
822
|
-
# @option opts [String] :
|
|
823
|
-
# @option opts [String] :
|
|
824
|
-
# @option opts [String] :
|
|
825
|
-
# @option opts [
|
|
826
|
-
# @option opts [Boolean] :
|
|
827
|
-
# @option opts [Boolean] :
|
|
828
|
-
# @option opts [Boolean] :
|
|
829
|
-
# @option opts [Boolean] :
|
|
830
|
-
# @option opts [
|
|
831
|
-
# @option opts [String] :
|
|
832
|
-
# @option opts [String] :
|
|
795
|
+
# @option opts [Boolean] :jcr_content_cq_distribute
|
|
796
|
+
# @option opts [String] :jcr_content_cq_distribute_type_hint
|
|
797
|
+
# @option opts [String] :jcr_content_cq_name
|
|
798
|
+
# @option opts [String] :jcr_content_cq_template
|
|
799
|
+
# @option opts [Boolean] :jcr_content_alias_update
|
|
800
|
+
# @option opts [Boolean] :jcr_content_enabled
|
|
801
|
+
# @option opts [String] :jcr_content_jcr_description
|
|
802
|
+
# @option opts [String] :jcr_content_jcr_last_modified
|
|
803
|
+
# @option opts [String] :jcr_content_jcr_last_modified_by
|
|
804
|
+
# @option opts [String] :jcr_content_jcr_mixin_types
|
|
805
|
+
# @option opts [String] :jcr_content_jcr_title
|
|
806
|
+
# @option opts [String] :jcr_content_log_level
|
|
807
|
+
# @option opts [Boolean] :jcr_content_no_status_update
|
|
808
|
+
# @option opts [Boolean] :jcr_content_no_versioning
|
|
809
|
+
# @option opts [Float] :jcr_content_protocol_connect_timeout
|
|
810
|
+
# @option opts [Boolean] :jcr_content_protocol_http_connection_closed
|
|
811
|
+
# @option opts [String] :jcr_content_protocol_http_expired
|
|
812
|
+
# @option opts [Array<String>] :jcr_content_protocol_http_headers
|
|
813
|
+
# @option opts [String] :jcr_content_protocol_http_headers_type_hint
|
|
814
|
+
# @option opts [String] :jcr_content_protocol_http_method
|
|
815
|
+
# @option opts [Boolean] :jcr_content_protocol_https_relaxed
|
|
816
|
+
# @option opts [String] :jcr_content_protocol_interface
|
|
817
|
+
# @option opts [Float] :jcr_content_protocol_socket_timeout
|
|
818
|
+
# @option opts [String] :jcr_content_protocol_version
|
|
819
|
+
# @option opts [String] :jcr_content_proxy_ntlm_domain
|
|
820
|
+
# @option opts [String] :jcr_content_proxy_ntlm_host
|
|
821
|
+
# @option opts [String] :jcr_content_proxy_host
|
|
822
|
+
# @option opts [String] :jcr_content_proxy_password
|
|
823
|
+
# @option opts [Float] :jcr_content_proxy_port
|
|
824
|
+
# @option opts [String] :jcr_content_proxy_user
|
|
825
|
+
# @option opts [Float] :jcr_content_queue_batch_max_size
|
|
826
|
+
# @option opts [String] :jcr_content_queue_batch_mode
|
|
827
|
+
# @option opts [Float] :jcr_content_queue_batch_wait_time
|
|
828
|
+
# @option opts [String] :jcr_content_retry_delay
|
|
829
|
+
# @option opts [Boolean] :jcr_content_reverse_replication
|
|
830
|
+
# @option opts [String] :jcr_content_serialization_type
|
|
831
|
+
# @option opts [String] :jcr_content_sling_resource_type
|
|
832
|
+
# @option opts [String] :jcr_content_ssl
|
|
833
|
+
# @option opts [String] :jcr_content_transport_ntlm_domain
|
|
834
|
+
# @option opts [String] :jcr_content_transport_ntlm_host
|
|
835
|
+
# @option opts [String] :jcr_content_transport_password
|
|
836
|
+
# @option opts [String] :jcr_content_transport_uri
|
|
837
|
+
# @option opts [String] :jcr_content_transport_user
|
|
838
|
+
# @option opts [Boolean] :jcr_content_trigger_distribute
|
|
839
|
+
# @option opts [Boolean] :jcr_content_trigger_modified
|
|
840
|
+
# @option opts [Boolean] :jcr_content_trigger_on_off_time
|
|
841
|
+
# @option opts [Boolean] :jcr_content_trigger_receive
|
|
842
|
+
# @option opts [Boolean] :jcr_content_trigger_specific
|
|
843
|
+
# @option opts [String] :jcr_content_user_id
|
|
844
|
+
# @option opts [String] :jcr_primary_type
|
|
845
|
+
# @option opts [String] :_operation
|
|
833
846
|
# @return [nil]
|
|
834
847
|
def post_agent(runmode, name, opts = {})
|
|
835
848
|
post_agent_with_http_info(runmode, name, opts)
|
|
@@ -839,56 +852,57 @@ module SwaggerAemClient
|
|
|
839
852
|
# @param runmode [String]
|
|
840
853
|
# @param name [String]
|
|
841
854
|
# @param [Hash] opts the optional parameters
|
|
842
|
-
# @option opts [Boolean] :
|
|
843
|
-
# @option opts [String] :
|
|
844
|
-
# @option opts [String] :
|
|
845
|
-
# @option opts [String] :
|
|
846
|
-
# @option opts [Boolean] :
|
|
847
|
-
# @option opts [
|
|
848
|
-
# @option opts [String] :
|
|
849
|
-
# @option opts [String] :
|
|
850
|
-
# @option opts [String] :
|
|
851
|
-
# @option opts [String] :
|
|
852
|
-
# @option opts [String] :
|
|
853
|
-
# @option opts [
|
|
854
|
-
# @option opts [Boolean] :
|
|
855
|
-
# @option opts [
|
|
856
|
-
# @option opts [
|
|
857
|
-
# @option opts [
|
|
858
|
-
# @option opts [
|
|
859
|
-
# @option opts [String] :
|
|
860
|
-
# @option opts [String] :
|
|
861
|
-
# @option opts [
|
|
862
|
-
# @option opts [
|
|
863
|
-
# @option opts [
|
|
864
|
-
# @option opts [
|
|
865
|
-
# @option opts [String] :
|
|
866
|
-
# @option opts [String] :
|
|
867
|
-
# @option opts [String] :
|
|
868
|
-
# @option opts [String] :
|
|
869
|
-
# @option opts [
|
|
870
|
-
# @option opts [
|
|
871
|
-
# @option opts [
|
|
872
|
-
# @option opts [
|
|
873
|
-
# @option opts [
|
|
874
|
-
# @option opts [
|
|
875
|
-
# @option opts [
|
|
876
|
-
# @option opts [
|
|
877
|
-
# @option opts [String] :
|
|
878
|
-
# @option opts [String] :
|
|
879
|
-
# @option opts [String] :
|
|
880
|
-
# @option opts [String] :
|
|
881
|
-
# @option opts [String] :
|
|
882
|
-
# @option opts [String] :
|
|
883
|
-
# @option opts [String] :
|
|
884
|
-
# @option opts [
|
|
885
|
-
# @option opts [Boolean] :
|
|
886
|
-
# @option opts [Boolean] :
|
|
887
|
-
# @option opts [Boolean] :
|
|
888
|
-
# @option opts [Boolean] :
|
|
889
|
-
# @option opts [
|
|
890
|
-
# @option opts [String] :
|
|
891
|
-
# @option opts [String] :
|
|
855
|
+
# @option opts [Boolean] :jcr_content_cq_distribute
|
|
856
|
+
# @option opts [String] :jcr_content_cq_distribute_type_hint
|
|
857
|
+
# @option opts [String] :jcr_content_cq_name
|
|
858
|
+
# @option opts [String] :jcr_content_cq_template
|
|
859
|
+
# @option opts [Boolean] :jcr_content_alias_update
|
|
860
|
+
# @option opts [Boolean] :jcr_content_enabled
|
|
861
|
+
# @option opts [String] :jcr_content_jcr_description
|
|
862
|
+
# @option opts [String] :jcr_content_jcr_last_modified
|
|
863
|
+
# @option opts [String] :jcr_content_jcr_last_modified_by
|
|
864
|
+
# @option opts [String] :jcr_content_jcr_mixin_types
|
|
865
|
+
# @option opts [String] :jcr_content_jcr_title
|
|
866
|
+
# @option opts [String] :jcr_content_log_level
|
|
867
|
+
# @option opts [Boolean] :jcr_content_no_status_update
|
|
868
|
+
# @option opts [Boolean] :jcr_content_no_versioning
|
|
869
|
+
# @option opts [Float] :jcr_content_protocol_connect_timeout
|
|
870
|
+
# @option opts [Boolean] :jcr_content_protocol_http_connection_closed
|
|
871
|
+
# @option opts [String] :jcr_content_protocol_http_expired
|
|
872
|
+
# @option opts [Array<String>] :jcr_content_protocol_http_headers
|
|
873
|
+
# @option opts [String] :jcr_content_protocol_http_headers_type_hint
|
|
874
|
+
# @option opts [String] :jcr_content_protocol_http_method
|
|
875
|
+
# @option opts [Boolean] :jcr_content_protocol_https_relaxed
|
|
876
|
+
# @option opts [String] :jcr_content_protocol_interface
|
|
877
|
+
# @option opts [Float] :jcr_content_protocol_socket_timeout
|
|
878
|
+
# @option opts [String] :jcr_content_protocol_version
|
|
879
|
+
# @option opts [String] :jcr_content_proxy_ntlm_domain
|
|
880
|
+
# @option opts [String] :jcr_content_proxy_ntlm_host
|
|
881
|
+
# @option opts [String] :jcr_content_proxy_host
|
|
882
|
+
# @option opts [String] :jcr_content_proxy_password
|
|
883
|
+
# @option opts [Float] :jcr_content_proxy_port
|
|
884
|
+
# @option opts [String] :jcr_content_proxy_user
|
|
885
|
+
# @option opts [Float] :jcr_content_queue_batch_max_size
|
|
886
|
+
# @option opts [String] :jcr_content_queue_batch_mode
|
|
887
|
+
# @option opts [Float] :jcr_content_queue_batch_wait_time
|
|
888
|
+
# @option opts [String] :jcr_content_retry_delay
|
|
889
|
+
# @option opts [Boolean] :jcr_content_reverse_replication
|
|
890
|
+
# @option opts [String] :jcr_content_serialization_type
|
|
891
|
+
# @option opts [String] :jcr_content_sling_resource_type
|
|
892
|
+
# @option opts [String] :jcr_content_ssl
|
|
893
|
+
# @option opts [String] :jcr_content_transport_ntlm_domain
|
|
894
|
+
# @option opts [String] :jcr_content_transport_ntlm_host
|
|
895
|
+
# @option opts [String] :jcr_content_transport_password
|
|
896
|
+
# @option opts [String] :jcr_content_transport_uri
|
|
897
|
+
# @option opts [String] :jcr_content_transport_user
|
|
898
|
+
# @option opts [Boolean] :jcr_content_trigger_distribute
|
|
899
|
+
# @option opts [Boolean] :jcr_content_trigger_modified
|
|
900
|
+
# @option opts [Boolean] :jcr_content_trigger_on_off_time
|
|
901
|
+
# @option opts [Boolean] :jcr_content_trigger_receive
|
|
902
|
+
# @option opts [Boolean] :jcr_content_trigger_specific
|
|
903
|
+
# @option opts [String] :jcr_content_user_id
|
|
904
|
+
# @option opts [String] :jcr_primary_type
|
|
905
|
+
# @option opts [String] :_operation
|
|
892
906
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
893
907
|
def post_agent_with_http_info(runmode, name, opts = {})
|
|
894
908
|
if @api_client.config.debugging
|
|
@@ -903,60 +917,61 @@ module SwaggerAemClient
|
|
|
903
917
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_agent"
|
|
904
918
|
end
|
|
905
919
|
# resource path
|
|
906
|
-
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{
|
|
920
|
+
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{runmode}', CGI.escape(runmode.to_s)).sub('{name}', CGI.escape(name.to_s))
|
|
907
921
|
|
|
908
922
|
# query parameters
|
|
909
923
|
query_params = opts[:query_params] || {}
|
|
910
|
-
query_params[:'jcr:content/cq:distribute'] = opts[:'
|
|
911
|
-
query_params[:'jcr:content/cq:distribute@TypeHint'] = opts[:'
|
|
912
|
-
query_params[:'jcr:content/cq:name'] = opts[:'
|
|
913
|
-
query_params[:'jcr:content/cq:template'] = opts[:'
|
|
914
|
-
query_params[:'jcr:content/
|
|
915
|
-
query_params[:'jcr:content/
|
|
916
|
-
query_params[:'jcr:content/jcr:
|
|
917
|
-
query_params[:'jcr:content/jcr:
|
|
918
|
-
query_params[:'jcr:content/jcr:
|
|
919
|
-
query_params[:'jcr:content/jcr:
|
|
920
|
-
query_params[:'jcr:content/
|
|
921
|
-
query_params[:'jcr:content/
|
|
922
|
-
query_params[:'jcr:content/
|
|
923
|
-
query_params[:'jcr:content/
|
|
924
|
-
query_params[:'jcr:content/
|
|
925
|
-
query_params[:'jcr:content/
|
|
926
|
-
query_params[:'jcr:content/
|
|
927
|
-
query_params[:'jcr:content/protocolHTTPHeaders
|
|
928
|
-
query_params[:'jcr:content/
|
|
929
|
-
query_params[:'jcr:content/
|
|
930
|
-
query_params[:'jcr:content/
|
|
931
|
-
query_params[:'jcr:content/
|
|
932
|
-
query_params[:'jcr:content/
|
|
933
|
-
query_params[:'jcr:content/
|
|
934
|
-
query_params[:'jcr:content/
|
|
935
|
-
query_params[:'jcr:content/
|
|
936
|
-
query_params[:'jcr:content/
|
|
937
|
-
query_params[:'jcr:content/
|
|
938
|
-
query_params[:'jcr:content/
|
|
939
|
-
query_params[:'jcr:content/
|
|
940
|
-
query_params[:'jcr:content/
|
|
941
|
-
query_params[:'jcr:content/
|
|
942
|
-
query_params[:'jcr:content/
|
|
943
|
-
query_params[:'jcr:content/
|
|
944
|
-
query_params[:'jcr:content/
|
|
945
|
-
query_params[:'jcr:content/
|
|
946
|
-
query_params[:'jcr:content/
|
|
947
|
-
query_params[:'jcr:content/
|
|
948
|
-
query_params[:'jcr:content/
|
|
949
|
-
query_params[:'jcr:content/
|
|
950
|
-
query_params[:'jcr:content/
|
|
951
|
-
query_params[:'jcr:content/
|
|
952
|
-
query_params[:'jcr:content/
|
|
953
|
-
query_params[:'jcr:content/
|
|
954
|
-
query_params[:'jcr:content/
|
|
955
|
-
query_params[:'jcr:content/
|
|
956
|
-
query_params[:'jcr:content/
|
|
957
|
-
query_params[:'jcr:content/
|
|
958
|
-
query_params[:'jcr:
|
|
959
|
-
query_params[:':
|
|
924
|
+
query_params[:'jcr:content/cq:distribute'] = opts[:'jcr_content_cq_distribute'] if !opts[:'jcr_content_cq_distribute'].nil?
|
|
925
|
+
query_params[:'jcr:content/cq:distribute@TypeHint'] = opts[:'jcr_content_cq_distribute_type_hint'] if !opts[:'jcr_content_cq_distribute_type_hint'].nil?
|
|
926
|
+
query_params[:'jcr:content/cq:name'] = opts[:'jcr_content_cq_name'] if !opts[:'jcr_content_cq_name'].nil?
|
|
927
|
+
query_params[:'jcr:content/cq:template'] = opts[:'jcr_content_cq_template'] if !opts[:'jcr_content_cq_template'].nil?
|
|
928
|
+
query_params[:'jcr:content/aliasUpdate'] = opts[:'jcr_content_alias_update'] if !opts[:'jcr_content_alias_update'].nil?
|
|
929
|
+
query_params[:'jcr:content/enabled'] = opts[:'jcr_content_enabled'] if !opts[:'jcr_content_enabled'].nil?
|
|
930
|
+
query_params[:'jcr:content/jcr:description'] = opts[:'jcr_content_jcr_description'] if !opts[:'jcr_content_jcr_description'].nil?
|
|
931
|
+
query_params[:'jcr:content/jcr:lastModified'] = opts[:'jcr_content_jcr_last_modified'] if !opts[:'jcr_content_jcr_last_modified'].nil?
|
|
932
|
+
query_params[:'jcr:content/jcr:lastModifiedBy'] = opts[:'jcr_content_jcr_last_modified_by'] if !opts[:'jcr_content_jcr_last_modified_by'].nil?
|
|
933
|
+
query_params[:'jcr:content/jcr:mixinTypes'] = opts[:'jcr_content_jcr_mixin_types'] if !opts[:'jcr_content_jcr_mixin_types'].nil?
|
|
934
|
+
query_params[:'jcr:content/jcr:title'] = opts[:'jcr_content_jcr_title'] if !opts[:'jcr_content_jcr_title'].nil?
|
|
935
|
+
query_params[:'jcr:content/logLevel'] = opts[:'jcr_content_log_level'] if !opts[:'jcr_content_log_level'].nil?
|
|
936
|
+
query_params[:'jcr:content/noStatusUpdate'] = opts[:'jcr_content_no_status_update'] if !opts[:'jcr_content_no_status_update'].nil?
|
|
937
|
+
query_params[:'jcr:content/noVersioning'] = opts[:'jcr_content_no_versioning'] if !opts[:'jcr_content_no_versioning'].nil?
|
|
938
|
+
query_params[:'jcr:content/protocolConnectTimeout'] = opts[:'jcr_content_protocol_connect_timeout'] if !opts[:'jcr_content_protocol_connect_timeout'].nil?
|
|
939
|
+
query_params[:'jcr:content/protocolHTTPConnectionClosed'] = opts[:'jcr_content_protocol_http_connection_closed'] if !opts[:'jcr_content_protocol_http_connection_closed'].nil?
|
|
940
|
+
query_params[:'jcr:content/protocolHTTPExpired'] = opts[:'jcr_content_protocol_http_expired'] if !opts[:'jcr_content_protocol_http_expired'].nil?
|
|
941
|
+
query_params[:'jcr:content/protocolHTTPHeaders'] = @api_client.build_collection_param(opts[:'jcr_content_protocol_http_headers'], :multi) if !opts[:'jcr_content_protocol_http_headers'].nil?
|
|
942
|
+
query_params[:'jcr:content/protocolHTTPHeaders@TypeHint'] = opts[:'jcr_content_protocol_http_headers_type_hint'] if !opts[:'jcr_content_protocol_http_headers_type_hint'].nil?
|
|
943
|
+
query_params[:'jcr:content/protocolHTTPMethod'] = opts[:'jcr_content_protocol_http_method'] if !opts[:'jcr_content_protocol_http_method'].nil?
|
|
944
|
+
query_params[:'jcr:content/protocolHTTPSRelaxed'] = opts[:'jcr_content_protocol_https_relaxed'] if !opts[:'jcr_content_protocol_https_relaxed'].nil?
|
|
945
|
+
query_params[:'jcr:content/protocolInterface'] = opts[:'jcr_content_protocol_interface'] if !opts[:'jcr_content_protocol_interface'].nil?
|
|
946
|
+
query_params[:'jcr:content/protocolSocketTimeout'] = opts[:'jcr_content_protocol_socket_timeout'] if !opts[:'jcr_content_protocol_socket_timeout'].nil?
|
|
947
|
+
query_params[:'jcr:content/protocolVersion'] = opts[:'jcr_content_protocol_version'] if !opts[:'jcr_content_protocol_version'].nil?
|
|
948
|
+
query_params[:'jcr:content/proxyNTLMDomain'] = opts[:'jcr_content_proxy_ntlm_domain'] if !opts[:'jcr_content_proxy_ntlm_domain'].nil?
|
|
949
|
+
query_params[:'jcr:content/proxyNTLMHost'] = opts[:'jcr_content_proxy_ntlm_host'] if !opts[:'jcr_content_proxy_ntlm_host'].nil?
|
|
950
|
+
query_params[:'jcr:content/proxyHost'] = opts[:'jcr_content_proxy_host'] if !opts[:'jcr_content_proxy_host'].nil?
|
|
951
|
+
query_params[:'jcr:content/proxyPassword'] = opts[:'jcr_content_proxy_password'] if !opts[:'jcr_content_proxy_password'].nil?
|
|
952
|
+
query_params[:'jcr:content/proxyPort'] = opts[:'jcr_content_proxy_port'] if !opts[:'jcr_content_proxy_port'].nil?
|
|
953
|
+
query_params[:'jcr:content/proxyUser'] = opts[:'jcr_content_proxy_user'] if !opts[:'jcr_content_proxy_user'].nil?
|
|
954
|
+
query_params[:'jcr:content/queueBatchMaxSize'] = opts[:'jcr_content_queue_batch_max_size'] if !opts[:'jcr_content_queue_batch_max_size'].nil?
|
|
955
|
+
query_params[:'jcr:content/queueBatchMode'] = opts[:'jcr_content_queue_batch_mode'] if !opts[:'jcr_content_queue_batch_mode'].nil?
|
|
956
|
+
query_params[:'jcr:content/queueBatchWaitTime'] = opts[:'jcr_content_queue_batch_wait_time'] if !opts[:'jcr_content_queue_batch_wait_time'].nil?
|
|
957
|
+
query_params[:'jcr:content/retryDelay'] = opts[:'jcr_content_retry_delay'] if !opts[:'jcr_content_retry_delay'].nil?
|
|
958
|
+
query_params[:'jcr:content/reverseReplication'] = opts[:'jcr_content_reverse_replication'] if !opts[:'jcr_content_reverse_replication'].nil?
|
|
959
|
+
query_params[:'jcr:content/serializationType'] = opts[:'jcr_content_serialization_type'] if !opts[:'jcr_content_serialization_type'].nil?
|
|
960
|
+
query_params[:'jcr:content/sling:resourceType'] = opts[:'jcr_content_sling_resource_type'] if !opts[:'jcr_content_sling_resource_type'].nil?
|
|
961
|
+
query_params[:'jcr:content/ssl'] = opts[:'jcr_content_ssl'] if !opts[:'jcr_content_ssl'].nil?
|
|
962
|
+
query_params[:'jcr:content/transportNTLMDomain'] = opts[:'jcr_content_transport_ntlm_domain'] if !opts[:'jcr_content_transport_ntlm_domain'].nil?
|
|
963
|
+
query_params[:'jcr:content/transportNTLMHost'] = opts[:'jcr_content_transport_ntlm_host'] if !opts[:'jcr_content_transport_ntlm_host'].nil?
|
|
964
|
+
query_params[:'jcr:content/transportPassword'] = opts[:'jcr_content_transport_password'] if !opts[:'jcr_content_transport_password'].nil?
|
|
965
|
+
query_params[:'jcr:content/transportUri'] = opts[:'jcr_content_transport_uri'] if !opts[:'jcr_content_transport_uri'].nil?
|
|
966
|
+
query_params[:'jcr:content/transportUser'] = opts[:'jcr_content_transport_user'] if !opts[:'jcr_content_transport_user'].nil?
|
|
967
|
+
query_params[:'jcr:content/triggerDistribute'] = opts[:'jcr_content_trigger_distribute'] if !opts[:'jcr_content_trigger_distribute'].nil?
|
|
968
|
+
query_params[:'jcr:content/triggerModified'] = opts[:'jcr_content_trigger_modified'] if !opts[:'jcr_content_trigger_modified'].nil?
|
|
969
|
+
query_params[:'jcr:content/triggerOnOffTime'] = opts[:'jcr_content_trigger_on_off_time'] if !opts[:'jcr_content_trigger_on_off_time'].nil?
|
|
970
|
+
query_params[:'jcr:content/triggerReceive'] = opts[:'jcr_content_trigger_receive'] if !opts[:'jcr_content_trigger_receive'].nil?
|
|
971
|
+
query_params[:'jcr:content/triggerSpecific'] = opts[:'jcr_content_trigger_specific'] if !opts[:'jcr_content_trigger_specific'].nil?
|
|
972
|
+
query_params[:'jcr:content/userId'] = opts[:'jcr_content_user_id'] if !opts[:'jcr_content_user_id'].nil?
|
|
973
|
+
query_params[:'jcr:primaryType'] = opts[:'jcr_primary_type'] if !opts[:'jcr_primary_type'].nil?
|
|
974
|
+
query_params[:':operation'] = opts[:'_operation'] if !opts[:'_operation'].nil?
|
|
960
975
|
|
|
961
976
|
# header parameters
|
|
962
977
|
header_params = opts[:header_params] || {}
|
|
@@ -965,15 +980,16 @@ module SwaggerAemClient
|
|
|
965
980
|
form_params = opts[:form_params] || {}
|
|
966
981
|
|
|
967
982
|
# http body (model)
|
|
968
|
-
post_body = opts[:
|
|
983
|
+
post_body = opts[:debug_body]
|
|
969
984
|
|
|
970
985
|
# return_type
|
|
971
|
-
return_type = opts[:
|
|
986
|
+
return_type = opts[:debug_return_type]
|
|
972
987
|
|
|
973
988
|
# auth_names
|
|
974
|
-
auth_names = opts[:
|
|
989
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
975
990
|
|
|
976
991
|
new_options = opts.merge(
|
|
992
|
+
:operation => :"SlingApi.post_agent",
|
|
977
993
|
:header_params => header_params,
|
|
978
994
|
:query_params => query_params,
|
|
979
995
|
:form_params => form_params,
|
|
@@ -992,7 +1008,7 @@ module SwaggerAemClient
|
|
|
992
1008
|
# @param intermediate_path [String]
|
|
993
1009
|
# @param authorizable_id [String]
|
|
994
1010
|
# @param [Hash] opts the optional parameters
|
|
995
|
-
# @option opts [String] :
|
|
1011
|
+
# @option opts [String] :_operation
|
|
996
1012
|
# @option opts [String] :current_password
|
|
997
1013
|
# @option opts [String] :new_password
|
|
998
1014
|
# @option opts [String] :re_password
|
|
@@ -1013,7 +1029,7 @@ module SwaggerAemClient
|
|
|
1013
1029
|
# @param intermediate_path [String]
|
|
1014
1030
|
# @param authorizable_id [String]
|
|
1015
1031
|
# @param [Hash] opts the optional parameters
|
|
1016
|
-
# @option opts [String] :
|
|
1032
|
+
# @option opts [String] :_operation
|
|
1017
1033
|
# @option opts [String] :current_password
|
|
1018
1034
|
# @option opts [String] :new_password
|
|
1019
1035
|
# @option opts [String] :re_password
|
|
@@ -1039,11 +1055,11 @@ module SwaggerAemClient
|
|
|
1039
1055
|
fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.post_authorizable_keystore"
|
|
1040
1056
|
end
|
|
1041
1057
|
# resource path
|
|
1042
|
-
local_var_path = '/{intermediatePath}/{authorizableId}.ks.html'.sub('{
|
|
1058
|
+
local_var_path = '/{intermediatePath}/{authorizableId}.ks.html'.sub('{intermediatePath}', CGI.escape(intermediate_path.to_s)).sub('{authorizableId}', CGI.escape(authorizable_id.to_s))
|
|
1043
1059
|
|
|
1044
1060
|
# query parameters
|
|
1045
1061
|
query_params = opts[:query_params] || {}
|
|
1046
|
-
query_params[:':operation'] = opts[:'
|
|
1062
|
+
query_params[:':operation'] = opts[:'_operation'] if !opts[:'_operation'].nil?
|
|
1047
1063
|
query_params[:'currentPassword'] = opts[:'current_password'] if !opts[:'current_password'].nil?
|
|
1048
1064
|
query_params[:'newPassword'] = opts[:'new_password'] if !opts[:'new_password'].nil?
|
|
1049
1065
|
query_params[:'rePassword'] = opts[:'re_password'] if !opts[:'re_password'].nil?
|
|
@@ -1056,9 +1072,12 @@ module SwaggerAemClient
|
|
|
1056
1072
|
# header parameters
|
|
1057
1073
|
header_params = opts[:header_params] || {}
|
|
1058
1074
|
# HTTP header 'Accept' (if needed)
|
|
1059
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
1075
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain']) unless header_params['Accept']
|
|
1060
1076
|
# HTTP header 'Content-Type'
|
|
1061
|
-
|
|
1077
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
|
1078
|
+
if !content_type.nil?
|
|
1079
|
+
header_params['Content-Type'] = content_type
|
|
1080
|
+
end
|
|
1062
1081
|
|
|
1063
1082
|
# form parameters
|
|
1064
1083
|
form_params = opts[:form_params] || {}
|
|
@@ -1067,15 +1086,16 @@ module SwaggerAemClient
|
|
|
1067
1086
|
form_params['keyStore'] = opts[:'key_store'] if !opts[:'key_store'].nil?
|
|
1068
1087
|
|
|
1069
1088
|
# http body (model)
|
|
1070
|
-
post_body = opts[:
|
|
1089
|
+
post_body = opts[:debug_body]
|
|
1071
1090
|
|
|
1072
1091
|
# return_type
|
|
1073
|
-
return_type = opts[:
|
|
1092
|
+
return_type = opts[:debug_return_type] || 'KeystoreInfo'
|
|
1074
1093
|
|
|
1075
1094
|
# auth_names
|
|
1076
|
-
auth_names = opts[:
|
|
1095
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1077
1096
|
|
|
1078
1097
|
new_options = opts.merge(
|
|
1098
|
+
:operation => :"SlingApi.post_authorizable_keystore",
|
|
1079
1099
|
:header_params => header_params,
|
|
1080
1100
|
:query_params => query_params,
|
|
1081
1101
|
:form_params => form_params,
|
|
@@ -1096,7 +1116,7 @@ module SwaggerAemClient
|
|
|
1096
1116
|
# @param [Hash] opts the optional parameters
|
|
1097
1117
|
# @option opts [String] :create_user
|
|
1098
1118
|
# @option opts [String] :create_group
|
|
1099
|
-
# @option opts [String] :
|
|
1119
|
+
# @option opts [String] :rep_password
|
|
1100
1120
|
# @option opts [String] :profile_given_name
|
|
1101
1121
|
# @return [String]
|
|
1102
1122
|
def post_authorizables(authorizable_id, intermediate_path, opts = {})
|
|
@@ -1109,7 +1129,7 @@ module SwaggerAemClient
|
|
|
1109
1129
|
# @param [Hash] opts the optional parameters
|
|
1110
1130
|
# @option opts [String] :create_user
|
|
1111
1131
|
# @option opts [String] :create_group
|
|
1112
|
-
# @option opts [String] :
|
|
1132
|
+
# @option opts [String] :rep_password
|
|
1113
1133
|
# @option opts [String] :profile_given_name
|
|
1114
1134
|
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
1115
1135
|
def post_authorizables_with_http_info(authorizable_id, intermediate_path, opts = {})
|
|
@@ -1133,27 +1153,28 @@ module SwaggerAemClient
|
|
|
1133
1153
|
query_params[:'intermediatePath'] = intermediate_path
|
|
1134
1154
|
query_params[:'createUser'] = opts[:'create_user'] if !opts[:'create_user'].nil?
|
|
1135
1155
|
query_params[:'createGroup'] = opts[:'create_group'] if !opts[:'create_group'].nil?
|
|
1136
|
-
query_params[:'rep:password'] = opts[:'
|
|
1156
|
+
query_params[:'rep:password'] = opts[:'rep_password'] if !opts[:'rep_password'].nil?
|
|
1137
1157
|
query_params[:'profile/givenName'] = opts[:'profile_given_name'] if !opts[:'profile_given_name'].nil?
|
|
1138
1158
|
|
|
1139
1159
|
# header parameters
|
|
1140
1160
|
header_params = opts[:header_params] || {}
|
|
1141
1161
|
# HTTP header 'Accept' (if needed)
|
|
1142
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/html'])
|
|
1162
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/html']) unless header_params['Accept']
|
|
1143
1163
|
|
|
1144
1164
|
# form parameters
|
|
1145
1165
|
form_params = opts[:form_params] || {}
|
|
1146
1166
|
|
|
1147
1167
|
# http body (model)
|
|
1148
|
-
post_body = opts[:
|
|
1168
|
+
post_body = opts[:debug_body]
|
|
1149
1169
|
|
|
1150
1170
|
# return_type
|
|
1151
|
-
return_type = opts[:
|
|
1171
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
1152
1172
|
|
|
1153
1173
|
# auth_names
|
|
1154
|
-
auth_names = opts[:
|
|
1174
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1155
1175
|
|
|
1156
1176
|
new_options = opts.merge(
|
|
1177
|
+
:operation => :"SlingApi.post_authorizables",
|
|
1157
1178
|
:header_params => header_params,
|
|
1158
1179
|
:query_params => query_params,
|
|
1159
1180
|
:form_params => form_params,
|
|
@@ -1339,15 +1360,16 @@ module SwaggerAemClient
|
|
|
1339
1360
|
form_params = opts[:form_params] || {}
|
|
1340
1361
|
|
|
1341
1362
|
# http body (model)
|
|
1342
|
-
post_body = opts[:
|
|
1363
|
+
post_body = opts[:debug_body]
|
|
1343
1364
|
|
|
1344
1365
|
# return_type
|
|
1345
|
-
return_type = opts[:
|
|
1366
|
+
return_type = opts[:debug_return_type]
|
|
1346
1367
|
|
|
1347
1368
|
# auth_names
|
|
1348
|
-
auth_names = opts[:
|
|
1369
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1349
1370
|
|
|
1350
1371
|
new_options = opts.merge(
|
|
1372
|
+
:operation => :"SlingApi.post_config_adobe_granite_saml_authentication_handler",
|
|
1351
1373
|
:header_params => header_params,
|
|
1352
1374
|
:query_params => query_params,
|
|
1353
1375
|
:form_params => form_params,
|
|
@@ -1449,15 +1471,16 @@ module SwaggerAemClient
|
|
|
1449
1471
|
form_params = opts[:form_params] || {}
|
|
1450
1472
|
|
|
1451
1473
|
# http body (model)
|
|
1452
|
-
post_body = opts[:
|
|
1474
|
+
post_body = opts[:debug_body]
|
|
1453
1475
|
|
|
1454
1476
|
# return_type
|
|
1455
|
-
return_type = opts[:
|
|
1477
|
+
return_type = opts[:debug_return_type]
|
|
1456
1478
|
|
|
1457
1479
|
# auth_names
|
|
1458
|
-
auth_names = opts[:
|
|
1480
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1459
1481
|
|
|
1460
1482
|
new_options = opts.merge(
|
|
1483
|
+
:operation => :"SlingApi.post_config_apache_felix_jetty_based_http_service",
|
|
1461
1484
|
:header_params => header_params,
|
|
1462
1485
|
:query_params => query_params,
|
|
1463
1486
|
:form_params => form_params,
|
|
@@ -1535,15 +1558,16 @@ module SwaggerAemClient
|
|
|
1535
1558
|
form_params = opts[:form_params] || {}
|
|
1536
1559
|
|
|
1537
1560
|
# http body (model)
|
|
1538
|
-
post_body = opts[:
|
|
1561
|
+
post_body = opts[:debug_body]
|
|
1539
1562
|
|
|
1540
1563
|
# return_type
|
|
1541
|
-
return_type = opts[:
|
|
1564
|
+
return_type = opts[:debug_return_type]
|
|
1542
1565
|
|
|
1543
1566
|
# auth_names
|
|
1544
|
-
auth_names = opts[:
|
|
1567
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1545
1568
|
|
|
1546
1569
|
new_options = opts.merge(
|
|
1570
|
+
:operation => :"SlingApi.post_config_apache_http_components_proxy_configuration",
|
|
1547
1571
|
:header_params => header_params,
|
|
1548
1572
|
:query_params => query_params,
|
|
1549
1573
|
:form_params => form_params,
|
|
@@ -1597,15 +1621,16 @@ module SwaggerAemClient
|
|
|
1597
1621
|
form_params = opts[:form_params] || {}
|
|
1598
1622
|
|
|
1599
1623
|
# http body (model)
|
|
1600
|
-
post_body = opts[:
|
|
1624
|
+
post_body = opts[:debug_body]
|
|
1601
1625
|
|
|
1602
1626
|
# return_type
|
|
1603
|
-
return_type = opts[:
|
|
1627
|
+
return_type = opts[:debug_return_type]
|
|
1604
1628
|
|
|
1605
1629
|
# auth_names
|
|
1606
|
-
auth_names = opts[:
|
|
1630
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1607
1631
|
|
|
1608
1632
|
new_options = opts.merge(
|
|
1633
|
+
:operation => :"SlingApi.post_config_apache_sling_dav_ex_servlet",
|
|
1609
1634
|
:header_params => header_params,
|
|
1610
1635
|
:query_params => query_params,
|
|
1611
1636
|
:form_params => form_params,
|
|
@@ -1671,15 +1696,16 @@ module SwaggerAemClient
|
|
|
1671
1696
|
form_params = opts[:form_params] || {}
|
|
1672
1697
|
|
|
1673
1698
|
# http body (model)
|
|
1674
|
-
post_body = opts[:
|
|
1699
|
+
post_body = opts[:debug_body]
|
|
1675
1700
|
|
|
1676
1701
|
# return_type
|
|
1677
|
-
return_type = opts[:
|
|
1702
|
+
return_type = opts[:debug_return_type]
|
|
1678
1703
|
|
|
1679
1704
|
# auth_names
|
|
1680
|
-
auth_names = opts[:
|
|
1705
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1681
1706
|
|
|
1682
1707
|
new_options = opts.merge(
|
|
1708
|
+
:operation => :"SlingApi.post_config_apache_sling_get_servlet",
|
|
1683
1709
|
:header_params => header_params,
|
|
1684
1710
|
:query_params => query_params,
|
|
1685
1711
|
:form_params => form_params,
|
|
@@ -1745,15 +1771,16 @@ module SwaggerAemClient
|
|
|
1745
1771
|
form_params = opts[:form_params] || {}
|
|
1746
1772
|
|
|
1747
1773
|
# http body (model)
|
|
1748
|
-
post_body = opts[:
|
|
1774
|
+
post_body = opts[:debug_body]
|
|
1749
1775
|
|
|
1750
1776
|
# return_type
|
|
1751
|
-
return_type = opts[:
|
|
1777
|
+
return_type = opts[:debug_return_type]
|
|
1752
1778
|
|
|
1753
1779
|
# auth_names
|
|
1754
|
-
auth_names = opts[:
|
|
1780
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1755
1781
|
|
|
1756
1782
|
new_options = opts.merge(
|
|
1783
|
+
:operation => :"SlingApi.post_config_apache_sling_referrer_filter",
|
|
1757
1784
|
:header_params => header_params,
|
|
1758
1785
|
:query_params => query_params,
|
|
1759
1786
|
:form_params => form_params,
|
|
@@ -1789,7 +1816,7 @@ module SwaggerAemClient
|
|
|
1789
1816
|
fail ArgumentError, "Missing the required parameter 'config_node_name' when calling SlingApi.post_config_property"
|
|
1790
1817
|
end
|
|
1791
1818
|
# resource path
|
|
1792
|
-
local_var_path = '/apps/system/config/{configNodeName}'.sub('{
|
|
1819
|
+
local_var_path = '/apps/system/config/{configNodeName}'.sub('{configNodeName}', CGI.escape(config_node_name.to_s))
|
|
1793
1820
|
|
|
1794
1821
|
# query parameters
|
|
1795
1822
|
query_params = opts[:query_params] || {}
|
|
@@ -1801,15 +1828,16 @@ module SwaggerAemClient
|
|
|
1801
1828
|
form_params = opts[:form_params] || {}
|
|
1802
1829
|
|
|
1803
1830
|
# http body (model)
|
|
1804
|
-
post_body = opts[:
|
|
1831
|
+
post_body = opts[:debug_body]
|
|
1805
1832
|
|
|
1806
1833
|
# return_type
|
|
1807
|
-
return_type = opts[:
|
|
1834
|
+
return_type = opts[:debug_return_type]
|
|
1808
1835
|
|
|
1809
1836
|
# auth_names
|
|
1810
|
-
auth_names = opts[:
|
|
1837
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1811
1838
|
|
|
1812
1839
|
new_options = opts.merge(
|
|
1840
|
+
:operation => :"SlingApi.post_config_property",
|
|
1813
1841
|
:header_params => header_params,
|
|
1814
1842
|
:query_params => query_params,
|
|
1815
1843
|
:form_params => form_params,
|
|
@@ -1828,7 +1856,7 @@ module SwaggerAemClient
|
|
|
1828
1856
|
# @param path [String]
|
|
1829
1857
|
# @param name [String]
|
|
1830
1858
|
# @param [Hash] opts the optional parameters
|
|
1831
|
-
# @option opts [String] :
|
|
1859
|
+
# @option opts [String] :_operation
|
|
1832
1860
|
# @option opts [String] :delete_authorizable
|
|
1833
1861
|
# @option opts [File] :file
|
|
1834
1862
|
# @return [nil]
|
|
@@ -1840,7 +1868,7 @@ module SwaggerAemClient
|
|
|
1840
1868
|
# @param path [String]
|
|
1841
1869
|
# @param name [String]
|
|
1842
1870
|
# @param [Hash] opts the optional parameters
|
|
1843
|
-
# @option opts [String] :
|
|
1871
|
+
# @option opts [String] :_operation
|
|
1844
1872
|
# @option opts [String] :delete_authorizable
|
|
1845
1873
|
# @option opts [File] :file
|
|
1846
1874
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -1857,32 +1885,36 @@ module SwaggerAemClient
|
|
|
1857
1885
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node"
|
|
1858
1886
|
end
|
|
1859
1887
|
# resource path
|
|
1860
|
-
local_var_path = '/{path}/{name}'.sub('{
|
|
1888
|
+
local_var_path = '/{path}/{name}'.sub('{path}', CGI.escape(path.to_s)).sub('{name}', CGI.escape(name.to_s))
|
|
1861
1889
|
|
|
1862
1890
|
# query parameters
|
|
1863
1891
|
query_params = opts[:query_params] || {}
|
|
1864
|
-
query_params[:':operation'] = opts[:'
|
|
1892
|
+
query_params[:':operation'] = opts[:'_operation'] if !opts[:'_operation'].nil?
|
|
1865
1893
|
query_params[:'deleteAuthorizable'] = opts[:'delete_authorizable'] if !opts[:'delete_authorizable'].nil?
|
|
1866
1894
|
|
|
1867
1895
|
# header parameters
|
|
1868
1896
|
header_params = opts[:header_params] || {}
|
|
1869
1897
|
# HTTP header 'Content-Type'
|
|
1870
|
-
|
|
1898
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
|
1899
|
+
if !content_type.nil?
|
|
1900
|
+
header_params['Content-Type'] = content_type
|
|
1901
|
+
end
|
|
1871
1902
|
|
|
1872
1903
|
# form parameters
|
|
1873
1904
|
form_params = opts[:form_params] || {}
|
|
1874
1905
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
1875
1906
|
|
|
1876
1907
|
# http body (model)
|
|
1877
|
-
post_body = opts[:
|
|
1908
|
+
post_body = opts[:debug_body]
|
|
1878
1909
|
|
|
1879
1910
|
# return_type
|
|
1880
|
-
return_type = opts[:
|
|
1911
|
+
return_type = opts[:debug_return_type]
|
|
1881
1912
|
|
|
1882
1913
|
# auth_names
|
|
1883
|
-
auth_names = opts[:
|
|
1914
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1884
1915
|
|
|
1885
1916
|
new_options = opts.merge(
|
|
1917
|
+
:operation => :"SlingApi.post_node",
|
|
1886
1918
|
:header_params => header_params,
|
|
1887
1919
|
:query_params => query_params,
|
|
1888
1920
|
:form_params => form_params,
|
|
@@ -1926,7 +1958,7 @@ module SwaggerAemClient
|
|
|
1926
1958
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node_rw"
|
|
1927
1959
|
end
|
|
1928
1960
|
# resource path
|
|
1929
|
-
local_var_path = '/{path}/{name}.rw.html'.sub('{
|
|
1961
|
+
local_var_path = '/{path}/{name}.rw.html'.sub('{path}', CGI.escape(path.to_s)).sub('{name}', CGI.escape(name.to_s))
|
|
1930
1962
|
|
|
1931
1963
|
# query parameters
|
|
1932
1964
|
query_params = opts[:query_params] || {}
|
|
@@ -1939,15 +1971,16 @@ module SwaggerAemClient
|
|
|
1939
1971
|
form_params = opts[:form_params] || {}
|
|
1940
1972
|
|
|
1941
1973
|
# http body (model)
|
|
1942
|
-
post_body = opts[:
|
|
1974
|
+
post_body = opts[:debug_body]
|
|
1943
1975
|
|
|
1944
1976
|
# return_type
|
|
1945
|
-
return_type = opts[:
|
|
1977
|
+
return_type = opts[:debug_return_type]
|
|
1946
1978
|
|
|
1947
1979
|
# auth_names
|
|
1948
|
-
auth_names = opts[:
|
|
1980
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
1949
1981
|
|
|
1950
1982
|
new_options = opts.merge(
|
|
1983
|
+
:operation => :"SlingApi.post_node_rw",
|
|
1951
1984
|
:header_params => header_params,
|
|
1952
1985
|
:query_params => query_params,
|
|
1953
1986
|
:form_params => form_params,
|
|
@@ -1964,21 +1997,21 @@ module SwaggerAemClient
|
|
|
1964
1997
|
end
|
|
1965
1998
|
|
|
1966
1999
|
# @param path [String]
|
|
1967
|
-
# @param
|
|
1968
|
-
# @param
|
|
2000
|
+
# @param jcr_primary_type [String]
|
|
2001
|
+
# @param _name [String]
|
|
1969
2002
|
# @param [Hash] opts the optional parameters
|
|
1970
2003
|
# @return [nil]
|
|
1971
|
-
def post_path(path,
|
|
1972
|
-
post_path_with_http_info(path,
|
|
2004
|
+
def post_path(path, jcr_primary_type, _name, opts = {})
|
|
2005
|
+
post_path_with_http_info(path, jcr_primary_type, _name, opts)
|
|
1973
2006
|
nil
|
|
1974
2007
|
end
|
|
1975
2008
|
|
|
1976
2009
|
# @param path [String]
|
|
1977
|
-
# @param
|
|
1978
|
-
# @param
|
|
2010
|
+
# @param jcr_primary_type [String]
|
|
2011
|
+
# @param _name [String]
|
|
1979
2012
|
# @param [Hash] opts the optional parameters
|
|
1980
2013
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1981
|
-
def post_path_with_http_info(path,
|
|
2014
|
+
def post_path_with_http_info(path, jcr_primary_type, _name, opts = {})
|
|
1982
2015
|
if @api_client.config.debugging
|
|
1983
2016
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_path ...'
|
|
1984
2017
|
end
|
|
@@ -1986,21 +2019,21 @@ module SwaggerAemClient
|
|
|
1986
2019
|
if @api_client.config.client_side_validation && path.nil?
|
|
1987
2020
|
fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_path"
|
|
1988
2021
|
end
|
|
1989
|
-
# verify the required parameter '
|
|
1990
|
-
if @api_client.config.client_side_validation &&
|
|
1991
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2022
|
+
# verify the required parameter 'jcr_primary_type' is set
|
|
2023
|
+
if @api_client.config.client_side_validation && jcr_primary_type.nil?
|
|
2024
|
+
fail ArgumentError, "Missing the required parameter 'jcr_primary_type' when calling SlingApi.post_path"
|
|
1992
2025
|
end
|
|
1993
|
-
# verify the required parameter '
|
|
1994
|
-
if @api_client.config.client_side_validation &&
|
|
1995
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2026
|
+
# verify the required parameter '_name' is set
|
|
2027
|
+
if @api_client.config.client_side_validation && _name.nil?
|
|
2028
|
+
fail ArgumentError, "Missing the required parameter '_name' when calling SlingApi.post_path"
|
|
1996
2029
|
end
|
|
1997
2030
|
# resource path
|
|
1998
|
-
local_var_path = '/{path}/'.sub('{
|
|
2031
|
+
local_var_path = '/{path}/'.sub('{path}', CGI.escape(path.to_s))
|
|
1999
2032
|
|
|
2000
2033
|
# query parameters
|
|
2001
2034
|
query_params = opts[:query_params] || {}
|
|
2002
|
-
query_params[:'jcr:primaryType'] =
|
|
2003
|
-
query_params[:':name'] =
|
|
2035
|
+
query_params[:'jcr:primaryType'] = jcr_primary_type
|
|
2036
|
+
query_params[:':name'] = _name
|
|
2004
2037
|
|
|
2005
2038
|
# header parameters
|
|
2006
2039
|
header_params = opts[:header_params] || {}
|
|
@@ -2009,15 +2042,16 @@ module SwaggerAemClient
|
|
|
2009
2042
|
form_params = opts[:form_params] || {}
|
|
2010
2043
|
|
|
2011
2044
|
# http body (model)
|
|
2012
|
-
post_body = opts[:
|
|
2045
|
+
post_body = opts[:debug_body]
|
|
2013
2046
|
|
|
2014
2047
|
# return_type
|
|
2015
|
-
return_type = opts[:
|
|
2048
|
+
return_type = opts[:debug_return_type]
|
|
2016
2049
|
|
|
2017
2050
|
# auth_names
|
|
2018
|
-
auth_names = opts[:
|
|
2051
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
2019
2052
|
|
|
2020
2053
|
new_options = opts.merge(
|
|
2054
|
+
:operation => :"SlingApi.post_path",
|
|
2021
2055
|
:header_params => header_params,
|
|
2022
2056
|
:query_params => query_params,
|
|
2023
2057
|
:form_params => form_params,
|
|
@@ -2083,21 +2117,22 @@ module SwaggerAemClient
|
|
|
2083
2117
|
# header parameters
|
|
2084
2118
|
header_params = opts[:header_params] || {}
|
|
2085
2119
|
# HTTP header 'Accept' (if needed)
|
|
2086
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2120
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2087
2121
|
|
|
2088
2122
|
# form parameters
|
|
2089
2123
|
form_params = opts[:form_params] || {}
|
|
2090
2124
|
|
|
2091
2125
|
# http body (model)
|
|
2092
|
-
post_body = opts[:
|
|
2126
|
+
post_body = opts[:debug_body]
|
|
2093
2127
|
|
|
2094
2128
|
# return_type
|
|
2095
|
-
return_type = opts[:
|
|
2129
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
2096
2130
|
|
|
2097
2131
|
# auth_names
|
|
2098
|
-
auth_names = opts[:
|
|
2132
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
2099
2133
|
|
|
2100
2134
|
new_options = opts.merge(
|
|
2135
|
+
:operation => :"SlingApi.post_query",
|
|
2101
2136
|
:header_params => header_params,
|
|
2102
2137
|
:query_params => query_params,
|
|
2103
2138
|
:form_params => form_params,
|
|
@@ -2167,15 +2202,16 @@ module SwaggerAemClient
|
|
|
2167
2202
|
form_params = opts[:form_params] || {}
|
|
2168
2203
|
|
|
2169
2204
|
# http body (model)
|
|
2170
|
-
post_body = opts[:
|
|
2205
|
+
post_body = opts[:debug_body]
|
|
2171
2206
|
|
|
2172
2207
|
# return_type
|
|
2173
|
-
return_type = opts[:
|
|
2208
|
+
return_type = opts[:debug_return_type]
|
|
2174
2209
|
|
|
2175
2210
|
# auth_names
|
|
2176
|
-
auth_names = opts[:
|
|
2211
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
2177
2212
|
|
|
2178
2213
|
new_options = opts.merge(
|
|
2214
|
+
:operation => :"SlingApi.post_tree_activation",
|
|
2179
2215
|
:header_params => header_params,
|
|
2180
2216
|
:query_params => query_params,
|
|
2181
2217
|
:form_params => form_params,
|
|
@@ -2192,7 +2228,7 @@ module SwaggerAemClient
|
|
|
2192
2228
|
end
|
|
2193
2229
|
|
|
2194
2230
|
# @param [Hash] opts the optional parameters
|
|
2195
|
-
# @option opts [String] :
|
|
2231
|
+
# @option opts [String] :_operation
|
|
2196
2232
|
# @option opts [String] :new_password
|
|
2197
2233
|
# @option opts [String] :re_password
|
|
2198
2234
|
# @option opts [String] :key_store_type
|
|
@@ -2205,7 +2241,7 @@ module SwaggerAemClient
|
|
|
2205
2241
|
end
|
|
2206
2242
|
|
|
2207
2243
|
# @param [Hash] opts the optional parameters
|
|
2208
|
-
# @option opts [String] :
|
|
2244
|
+
# @option opts [String] :_operation
|
|
2209
2245
|
# @option opts [String] :new_password
|
|
2210
2246
|
# @option opts [String] :re_password
|
|
2211
2247
|
# @option opts [String] :key_store_type
|
|
@@ -2221,7 +2257,7 @@ module SwaggerAemClient
|
|
|
2221
2257
|
|
|
2222
2258
|
# query parameters
|
|
2223
2259
|
query_params = opts[:query_params] || {}
|
|
2224
|
-
query_params[:':operation'] = opts[:'
|
|
2260
|
+
query_params[:':operation'] = opts[:'_operation'] if !opts[:'_operation'].nil?
|
|
2225
2261
|
query_params[:'newPassword'] = opts[:'new_password'] if !opts[:'new_password'].nil?
|
|
2226
2262
|
query_params[:'rePassword'] = opts[:'re_password'] if !opts[:'re_password'].nil?
|
|
2227
2263
|
query_params[:'keyStoreType'] = opts[:'key_store_type'] if !opts[:'key_store_type'].nil?
|
|
@@ -2230,24 +2266,28 @@ module SwaggerAemClient
|
|
|
2230
2266
|
# header parameters
|
|
2231
2267
|
header_params = opts[:header_params] || {}
|
|
2232
2268
|
# HTTP header 'Accept' (if needed)
|
|
2233
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
2269
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain']) unless header_params['Accept']
|
|
2234
2270
|
# HTTP header 'Content-Type'
|
|
2235
|
-
|
|
2271
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
|
2272
|
+
if !content_type.nil?
|
|
2273
|
+
header_params['Content-Type'] = content_type
|
|
2274
|
+
end
|
|
2236
2275
|
|
|
2237
2276
|
# form parameters
|
|
2238
2277
|
form_params = opts[:form_params] || {}
|
|
2239
2278
|
form_params['certificate'] = opts[:'certificate'] if !opts[:'certificate'].nil?
|
|
2240
2279
|
|
|
2241
2280
|
# http body (model)
|
|
2242
|
-
post_body = opts[:
|
|
2281
|
+
post_body = opts[:debug_body]
|
|
2243
2282
|
|
|
2244
2283
|
# return_type
|
|
2245
|
-
return_type = opts[:
|
|
2284
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
2246
2285
|
|
|
2247
2286
|
# auth_names
|
|
2248
|
-
auth_names = opts[:
|
|
2287
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
2249
2288
|
|
|
2250
2289
|
new_options = opts.merge(
|
|
2290
|
+
:operation => :"SlingApi.post_truststore",
|
|
2251
2291
|
:header_params => header_params,
|
|
2252
2292
|
:query_params => query_params,
|
|
2253
2293
|
:form_params => form_params,
|
|
@@ -2287,24 +2327,28 @@ module SwaggerAemClient
|
|
|
2287
2327
|
# header parameters
|
|
2288
2328
|
header_params = opts[:header_params] || {}
|
|
2289
2329
|
# HTTP header 'Accept' (if needed)
|
|
2290
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
2330
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain']) unless header_params['Accept']
|
|
2291
2331
|
# HTTP header 'Content-Type'
|
|
2292
|
-
|
|
2332
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
|
2333
|
+
if !content_type.nil?
|
|
2334
|
+
header_params['Content-Type'] = content_type
|
|
2335
|
+
end
|
|
2293
2336
|
|
|
2294
2337
|
# form parameters
|
|
2295
2338
|
form_params = opts[:form_params] || {}
|
|
2296
2339
|
form_params['truststore.p12'] = opts[:'truststore_p12'] if !opts[:'truststore_p12'].nil?
|
|
2297
2340
|
|
|
2298
2341
|
# http body (model)
|
|
2299
|
-
post_body = opts[:
|
|
2342
|
+
post_body = opts[:debug_body]
|
|
2300
2343
|
|
|
2301
2344
|
# return_type
|
|
2302
|
-
return_type = opts[:
|
|
2345
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
2303
2346
|
|
|
2304
2347
|
# auth_names
|
|
2305
|
-
auth_names = opts[:
|
|
2348
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
2306
2349
|
|
|
2307
2350
|
new_options = opts.merge(
|
|
2351
|
+
:operation => :"SlingApi.post_truststore_pkcs12",
|
|
2308
2352
|
:header_params => header_params,
|
|
2309
2353
|
:query_params => query_params,
|
|
2310
2354
|
:form_params => form_params,
|