swagger_aem 3.1.0 → 3.2.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 +3 -1
- data/Gemfile.lock +44 -43
- data/README.md +15 -7
- data/docs/ConsoleApi.md +43 -33
- data/docs/CqApi.md +12 -8
- data/docs/CrxApi.md +41 -27
- data/docs/CustomApi.md +19 -13
- data/docs/InlineObject.md +17 -0
- data/docs/InlineObject1.md +17 -0
- data/docs/InlineObject2.md +17 -0
- data/docs/InlineObject3.md +17 -0
- data/docs/InlineObject4.md +21 -0
- data/docs/InstallStatus.md +9 -0
- data/docs/InstallStatusStatus.md +11 -1
- data/docs/KeystoreChainItems.md +13 -0
- data/docs/KeystoreInfo.md +11 -1
- data/docs/KeystoreItems.md +13 -0
- data/docs/SamlConfigurationInfo.md +14 -0
- data/docs/SamlConfigurationProperties.md +32 -0
- data/docs/SamlConfigurationPropertyItemsArray.md +16 -2
- data/docs/SamlConfigurationPropertyItemsBoolean.md +17 -3
- data/docs/SamlConfigurationPropertyItemsLong.md +16 -2
- data/docs/SamlConfigurationPropertyItemsString.md +16 -2
- data/docs/SlingApi.md +320 -214
- data/docs/TruststoreInfo.md +11 -1
- data/docs/TruststoreItems.md +15 -0
- data/git_push.sh +10 -7
- data/lib/swagger_aem.rb +7 -2
- data/lib/swagger_aem/api/console_api.rb +118 -67
- data/lib/swagger_aem/api/cq_api.rb +43 -23
- data/lib/swagger_aem/api/crx_api.rb +154 -84
- data/lib/swagger_aem/api/custom_api.rb +60 -29
- data/lib/swagger_aem/api/sling_api.rb +850 -500
- data/lib/swagger_aem/api_client.rb +42 -43
- data/lib/swagger_aem/api_error.rb +21 -2
- data/lib/swagger_aem/configuration.rb +46 -7
- data/lib/swagger_aem/models/inline_object.rb +206 -0
- data/lib/swagger_aem/models/inline_object1.rb +206 -0
- data/lib/swagger_aem/models/inline_object2.rb +206 -0
- data/lib/swagger_aem/models/inline_object3.rb +206 -0
- data/lib/swagger_aem/models/inline_object4.rb +224 -0
- data/lib/swagger_aem/models/install_status.rb +35 -12
- data/lib/swagger_aem/models/install_status_status.rb +38 -15
- data/lib/swagger_aem/models/keystore_chain_items.rb +42 -19
- data/lib/swagger_aem/models/keystore_info.rb +37 -14
- data/lib/swagger_aem/models/keystore_items.rb +41 -18
- data/lib/swagger_aem/models/saml_configuration_info.rb +40 -17
- data/lib/swagger_aem/models/saml_configuration_properties.rb +81 -58
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +42 -19
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +43 -20
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +42 -19
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +42 -19
- data/lib/swagger_aem/models/truststore_info.rb +37 -14
- data/lib/swagger_aem/models/truststore_items.rb +46 -23
- data/lib/swagger_aem/version.rb +3 -3
- data/spec/models/inline_object1_spec.rb +41 -0
- data/spec/models/inline_object2_spec.rb +41 -0
- data/spec/models/inline_object3_spec.rb +41 -0
- data/spec/models/inline_object4_spec.rb +53 -0
- data/spec/models/inline_object_spec.rb +41 -0
- data/swagger_aem.gemspec +2 -8
- metadata +22 -122
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI
|
6
|
+
The version of the OpenAPI document: 3.2.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 3.
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require '
|
13
|
+
require 'cgi'
|
14
14
|
|
15
15
|
module SwaggerAemClient
|
16
16
|
class CustomApi
|
@@ -21,7 +21,7 @@ module SwaggerAemClient
|
|
21
21
|
end
|
22
22
|
# @param [Hash] opts the optional parameters
|
23
23
|
# @option opts [String] :tags
|
24
|
-
# @option opts [
|
24
|
+
# @option opts [Boolean] :combine_tags_or
|
25
25
|
# @return [String]
|
26
26
|
def get_aem_health_check(opts = {})
|
27
27
|
data, _status_code, _headers = get_aem_health_check_with_http_info(opts)
|
@@ -30,8 +30,8 @@ module SwaggerAemClient
|
|
30
30
|
|
31
31
|
# @param [Hash] opts the optional parameters
|
32
32
|
# @option opts [String] :tags
|
33
|
-
# @option opts [
|
34
|
-
# @return [Array<(String,
|
33
|
+
# @option opts [Boolean] :combine_tags_or
|
34
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
35
35
|
def get_aem_health_check_with_http_info(opts = {})
|
36
36
|
if @api_client.config.debugging
|
37
37
|
@api_client.config.logger.debug 'Calling API: CustomApi.get_aem_health_check ...'
|
@@ -40,33 +40,43 @@ module SwaggerAemClient
|
|
40
40
|
local_var_path = '/system/health'
|
41
41
|
|
42
42
|
# query parameters
|
43
|
-
query_params = {}
|
43
|
+
query_params = opts[:query_params] || {}
|
44
44
|
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
45
45
|
query_params[:'combineTagsOr'] = opts[:'combine_tags_or'] if !opts[:'combine_tags_or'].nil?
|
46
46
|
|
47
47
|
# header parameters
|
48
|
-
header_params = {}
|
48
|
+
header_params = opts[:header_params] || {}
|
49
49
|
# HTTP header 'Accept' (if needed)
|
50
50
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
51
|
|
52
52
|
# form parameters
|
53
|
-
form_params = {}
|
53
|
+
form_params = opts[:form_params] || {}
|
54
54
|
|
55
55
|
# http body (model)
|
56
|
-
post_body =
|
57
|
-
|
58
|
-
|
56
|
+
post_body = opts[:body]
|
57
|
+
|
58
|
+
# return_type
|
59
|
+
return_type = opts[:return_type] || 'String'
|
60
|
+
|
61
|
+
# auth_names
|
62
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
63
|
+
|
64
|
+
new_options = opts.merge(
|
59
65
|
:header_params => header_params,
|
60
66
|
:query_params => query_params,
|
61
67
|
:form_params => form_params,
|
62
68
|
:body => post_body,
|
63
69
|
:auth_names => auth_names,
|
64
|
-
:return_type =>
|
70
|
+
:return_type => return_type
|
71
|
+
)
|
72
|
+
|
73
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
65
74
|
if @api_client.config.debugging
|
66
75
|
@api_client.config.logger.debug "API called: CustomApi#get_aem_health_check\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
67
76
|
end
|
68
77
|
return data, status_code, headers
|
69
78
|
end
|
79
|
+
|
70
80
|
# @param [Hash] opts the optional parameters
|
71
81
|
# @option opts [Array<String>] :bundles_ignored
|
72
82
|
# @option opts [String] :bundles_ignored_type_hint
|
@@ -79,7 +89,7 @@ module SwaggerAemClient
|
|
79
89
|
# @param [Hash] opts the optional parameters
|
80
90
|
# @option opts [Array<String>] :bundles_ignored
|
81
91
|
# @option opts [String] :bundles_ignored_type_hint
|
82
|
-
# @return [Array<(nil,
|
92
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
83
93
|
def post_config_aem_health_check_servlet_with_http_info(opts = {})
|
84
94
|
if @api_client.config.debugging
|
85
95
|
@api_client.config.logger.debug 'Calling API: CustomApi.post_config_aem_health_check_servlet ...'
|
@@ -88,30 +98,41 @@ module SwaggerAemClient
|
|
88
98
|
local_var_path = '/apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck'
|
89
99
|
|
90
100
|
# query parameters
|
91
|
-
query_params = {}
|
101
|
+
query_params = opts[:query_params] || {}
|
92
102
|
query_params[:'bundles.ignored'] = @api_client.build_collection_param(opts[:'bundles_ignored'], :multi) if !opts[:'bundles_ignored'].nil?
|
93
103
|
query_params[:'bundles.ignored@TypeHint'] = opts[:'bundles_ignored_type_hint'] if !opts[:'bundles_ignored_type_hint'].nil?
|
94
104
|
|
95
105
|
# header parameters
|
96
|
-
header_params = {}
|
106
|
+
header_params = opts[:header_params] || {}
|
97
107
|
|
98
108
|
# form parameters
|
99
|
-
form_params = {}
|
109
|
+
form_params = opts[:form_params] || {}
|
100
110
|
|
101
111
|
# http body (model)
|
102
|
-
post_body =
|
103
|
-
|
104
|
-
|
112
|
+
post_body = opts[:body]
|
113
|
+
|
114
|
+
# return_type
|
115
|
+
return_type = opts[:return_type]
|
116
|
+
|
117
|
+
# auth_names
|
118
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
119
|
+
|
120
|
+
new_options = opts.merge(
|
105
121
|
:header_params => header_params,
|
106
122
|
:query_params => query_params,
|
107
123
|
:form_params => form_params,
|
108
124
|
:body => post_body,
|
109
|
-
:auth_names => auth_names
|
125
|
+
:auth_names => auth_names,
|
126
|
+
:return_type => return_type
|
127
|
+
)
|
128
|
+
|
129
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
110
130
|
if @api_client.config.debugging
|
111
131
|
@api_client.config.logger.debug "API called: CustomApi#post_config_aem_health_check_servlet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
112
132
|
end
|
113
133
|
return data, status_code, headers
|
114
134
|
end
|
135
|
+
|
115
136
|
# @param [Hash] opts the optional parameters
|
116
137
|
# @option opts [Array<String>] :pwdreset_authorizables
|
117
138
|
# @option opts [String] :pwdreset_authorizables_type_hint
|
@@ -124,7 +145,7 @@ module SwaggerAemClient
|
|
124
145
|
# @param [Hash] opts the optional parameters
|
125
146
|
# @option opts [Array<String>] :pwdreset_authorizables
|
126
147
|
# @option opts [String] :pwdreset_authorizables_type_hint
|
127
|
-
# @return [Array<(nil,
|
148
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
128
149
|
def post_config_aem_password_reset_with_http_info(opts = {})
|
129
150
|
if @api_client.config.debugging
|
130
151
|
@api_client.config.logger.debug 'Calling API: CustomApi.post_config_aem_password_reset ...'
|
@@ -133,25 +154,35 @@ module SwaggerAemClient
|
|
133
154
|
local_var_path = '/apps/system/config/com.shinesolutions.aem.passwordreset.Activator'
|
134
155
|
|
135
156
|
# query parameters
|
136
|
-
query_params = {}
|
157
|
+
query_params = opts[:query_params] || {}
|
137
158
|
query_params[:'pwdreset.authorizables'] = @api_client.build_collection_param(opts[:'pwdreset_authorizables'], :multi) if !opts[:'pwdreset_authorizables'].nil?
|
138
159
|
query_params[:'pwdreset.authorizables@TypeHint'] = opts[:'pwdreset_authorizables_type_hint'] if !opts[:'pwdreset_authorizables_type_hint'].nil?
|
139
160
|
|
140
161
|
# header parameters
|
141
|
-
header_params = {}
|
162
|
+
header_params = opts[:header_params] || {}
|
142
163
|
|
143
164
|
# form parameters
|
144
|
-
form_params = {}
|
165
|
+
form_params = opts[:form_params] || {}
|
145
166
|
|
146
167
|
# http body (model)
|
147
|
-
post_body =
|
148
|
-
|
149
|
-
|
168
|
+
post_body = opts[:body]
|
169
|
+
|
170
|
+
# return_type
|
171
|
+
return_type = opts[:return_type]
|
172
|
+
|
173
|
+
# auth_names
|
174
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
175
|
+
|
176
|
+
new_options = opts.merge(
|
150
177
|
:header_params => header_params,
|
151
178
|
:query_params => query_params,
|
152
179
|
:form_params => form_params,
|
153
180
|
:body => post_body,
|
154
|
-
:auth_names => auth_names
|
181
|
+
:auth_names => auth_names,
|
182
|
+
:return_type => return_type
|
183
|
+
)
|
184
|
+
|
185
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
155
186
|
if @api_client.config.debugging
|
156
187
|
@api_client.config.logger.debug "API called: CustomApi#post_config_aem_password_reset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
157
188
|
end
|
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI
|
6
|
+
The version of the OpenAPI document: 3.2.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 3.
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require '
|
13
|
+
require 'cgi'
|
14
14
|
|
15
15
|
module SwaggerAemClient
|
16
16
|
class SlingApi
|
@@ -19,8 +19,8 @@ module SwaggerAemClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# @param runmode
|
23
|
-
# @param name
|
22
|
+
# @param runmode [String]
|
23
|
+
# @param name [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @return [nil]
|
26
26
|
def delete_agent(runmode, name, opts = {})
|
@@ -28,10 +28,10 @@ module SwaggerAemClient
|
|
28
28
|
nil
|
29
29
|
end
|
30
30
|
|
31
|
-
# @param runmode
|
32
|
-
# @param name
|
31
|
+
# @param runmode [String]
|
32
|
+
# @param name [String]
|
33
33
|
# @param [Hash] opts the optional parameters
|
34
|
-
# @return [Array<(nil,
|
34
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
35
35
|
def delete_agent_with_http_info(runmode, name, opts = {})
|
36
36
|
if @api_client.config.debugging
|
37
37
|
@api_client.config.logger.debug 'Calling API: SlingApi.delete_agent ...'
|
@@ -45,33 +45,44 @@ 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('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
|
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
|
-
query_params = {}
|
51
|
+
query_params = opts[:query_params] || {}
|
52
52
|
|
53
53
|
# header parameters
|
54
|
-
header_params = {}
|
54
|
+
header_params = opts[:header_params] || {}
|
55
55
|
|
56
56
|
# form parameters
|
57
|
-
form_params = {}
|
57
|
+
form_params = opts[:form_params] || {}
|
58
58
|
|
59
59
|
# http body (model)
|
60
|
-
post_body =
|
61
|
-
|
62
|
-
|
60
|
+
post_body = opts[:body]
|
61
|
+
|
62
|
+
# return_type
|
63
|
+
return_type = opts[:return_type]
|
64
|
+
|
65
|
+
# auth_names
|
66
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
67
|
+
|
68
|
+
new_options = opts.merge(
|
63
69
|
:header_params => header_params,
|
64
70
|
:query_params => query_params,
|
65
71
|
:form_params => form_params,
|
66
72
|
:body => post_body,
|
67
|
-
:auth_names => auth_names
|
73
|
+
:auth_names => auth_names,
|
74
|
+
:return_type => return_type
|
75
|
+
)
|
76
|
+
|
77
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
68
78
|
if @api_client.config.debugging
|
69
79
|
@api_client.config.logger.debug "API called: SlingApi#delete_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
80
|
end
|
71
81
|
return data, status_code, headers
|
72
82
|
end
|
73
|
-
|
74
|
-
# @param
|
83
|
+
|
84
|
+
# @param path [String]
|
85
|
+
# @param name [String]
|
75
86
|
# @param [Hash] opts the optional parameters
|
76
87
|
# @return [nil]
|
77
88
|
def delete_node(path, name, opts = {})
|
@@ -79,10 +90,10 @@ module SwaggerAemClient
|
|
79
90
|
nil
|
80
91
|
end
|
81
92
|
|
82
|
-
# @param path
|
83
|
-
# @param name
|
93
|
+
# @param path [String]
|
94
|
+
# @param name [String]
|
84
95
|
# @param [Hash] opts the optional parameters
|
85
|
-
# @return [Array<(nil,
|
96
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
86
97
|
def delete_node_with_http_info(path, name, opts = {})
|
87
98
|
if @api_client.config.debugging
|
88
99
|
@api_client.config.logger.debug 'Calling API: SlingApi.delete_node ...'
|
@@ -96,33 +107,44 @@ module SwaggerAemClient
|
|
96
107
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_node"
|
97
108
|
end
|
98
109
|
# resource path
|
99
|
-
local_var_path = '/{path}/{name}'.sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
|
110
|
+
local_var_path = '/{path}/{name}'.sub('{' + 'path' + '}', CGI.escape(path.to_s)).sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
100
111
|
|
101
112
|
# query parameters
|
102
|
-
query_params = {}
|
113
|
+
query_params = opts[:query_params] || {}
|
103
114
|
|
104
115
|
# header parameters
|
105
|
-
header_params = {}
|
116
|
+
header_params = opts[:header_params] || {}
|
106
117
|
|
107
118
|
# form parameters
|
108
|
-
form_params = {}
|
119
|
+
form_params = opts[:form_params] || {}
|
109
120
|
|
110
121
|
# http body (model)
|
111
|
-
post_body =
|
112
|
-
|
113
|
-
|
122
|
+
post_body = opts[:body]
|
123
|
+
|
124
|
+
# return_type
|
125
|
+
return_type = opts[:return_type]
|
126
|
+
|
127
|
+
# auth_names
|
128
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
129
|
+
|
130
|
+
new_options = opts.merge(
|
114
131
|
:header_params => header_params,
|
115
132
|
:query_params => query_params,
|
116
133
|
:form_params => form_params,
|
117
134
|
:body => post_body,
|
118
|
-
:auth_names => auth_names
|
135
|
+
:auth_names => auth_names,
|
136
|
+
:return_type => return_type
|
137
|
+
)
|
138
|
+
|
139
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
119
140
|
if @api_client.config.debugging
|
120
141
|
@api_client.config.logger.debug "API called: SlingApi#delete_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
121
142
|
end
|
122
143
|
return data, status_code, headers
|
123
144
|
end
|
124
|
-
|
125
|
-
# @param
|
145
|
+
|
146
|
+
# @param runmode [String]
|
147
|
+
# @param name [String]
|
126
148
|
# @param [Hash] opts the optional parameters
|
127
149
|
# @return [nil]
|
128
150
|
def get_agent(runmode, name, opts = {})
|
@@ -130,10 +152,10 @@ module SwaggerAemClient
|
|
130
152
|
nil
|
131
153
|
end
|
132
154
|
|
133
|
-
# @param runmode
|
134
|
-
# @param name
|
155
|
+
# @param runmode [String]
|
156
|
+
# @param name [String]
|
135
157
|
# @param [Hash] opts the optional parameters
|
136
|
-
# @return [Array<(nil,
|
158
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
137
159
|
def get_agent_with_http_info(runmode, name, opts = {})
|
138
160
|
if @api_client.config.debugging
|
139
161
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_agent ...'
|
@@ -147,32 +169,43 @@ module SwaggerAemClient
|
|
147
169
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_agent"
|
148
170
|
end
|
149
171
|
# resource path
|
150
|
-
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
|
172
|
+
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{' + 'runmode' + '}', CGI.escape(runmode.to_s)).sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
151
173
|
|
152
174
|
# query parameters
|
153
|
-
query_params = {}
|
175
|
+
query_params = opts[:query_params] || {}
|
154
176
|
|
155
177
|
# header parameters
|
156
|
-
header_params = {}
|
178
|
+
header_params = opts[:header_params] || {}
|
157
179
|
|
158
180
|
# form parameters
|
159
|
-
form_params = {}
|
181
|
+
form_params = opts[:form_params] || {}
|
160
182
|
|
161
183
|
# http body (model)
|
162
|
-
post_body =
|
163
|
-
|
164
|
-
|
184
|
+
post_body = opts[:body]
|
185
|
+
|
186
|
+
# return_type
|
187
|
+
return_type = opts[:return_type]
|
188
|
+
|
189
|
+
# auth_names
|
190
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
191
|
+
|
192
|
+
new_options = opts.merge(
|
165
193
|
:header_params => header_params,
|
166
194
|
:query_params => query_params,
|
167
195
|
:form_params => form_params,
|
168
196
|
:body => post_body,
|
169
|
-
:auth_names => auth_names
|
197
|
+
:auth_names => auth_names,
|
198
|
+
:return_type => return_type
|
199
|
+
)
|
200
|
+
|
201
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
170
202
|
if @api_client.config.debugging
|
171
203
|
@api_client.config.logger.debug "API called: SlingApi#get_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
172
204
|
end
|
173
205
|
return data, status_code, headers
|
174
206
|
end
|
175
|
-
|
207
|
+
|
208
|
+
# @param runmode [String]
|
176
209
|
# @param [Hash] opts the optional parameters
|
177
210
|
# @return [String]
|
178
211
|
def get_agents(runmode, opts = {})
|
@@ -180,9 +213,9 @@ module SwaggerAemClient
|
|
180
213
|
data
|
181
214
|
end
|
182
215
|
|
183
|
-
# @param runmode
|
216
|
+
# @param runmode [String]
|
184
217
|
# @param [Hash] opts the optional parameters
|
185
|
-
# @return [Array<(String,
|
218
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
186
219
|
def get_agents_with_http_info(runmode, opts = {})
|
187
220
|
if @api_client.config.debugging
|
188
221
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_agents ...'
|
@@ -192,36 +225,46 @@ module SwaggerAemClient
|
|
192
225
|
fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agents"
|
193
226
|
end
|
194
227
|
# resource path
|
195
|
-
local_var_path = '/etc/replication/agents.{runmode}.-1.json'.sub('{' + 'runmode' + '}', runmode.to_s)
|
228
|
+
local_var_path = '/etc/replication/agents.{runmode}.-1.json'.sub('{' + 'runmode' + '}', CGI.escape(runmode.to_s))
|
196
229
|
|
197
230
|
# query parameters
|
198
|
-
query_params = {}
|
231
|
+
query_params = opts[:query_params] || {}
|
199
232
|
|
200
233
|
# header parameters
|
201
|
-
header_params = {}
|
234
|
+
header_params = opts[:header_params] || {}
|
202
235
|
# HTTP header 'Accept' (if needed)
|
203
236
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
204
237
|
|
205
238
|
# form parameters
|
206
|
-
form_params = {}
|
239
|
+
form_params = opts[:form_params] || {}
|
207
240
|
|
208
241
|
# http body (model)
|
209
|
-
post_body =
|
210
|
-
|
211
|
-
|
242
|
+
post_body = opts[:body]
|
243
|
+
|
244
|
+
# return_type
|
245
|
+
return_type = opts[:return_type] || 'String'
|
246
|
+
|
247
|
+
# auth_names
|
248
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
249
|
+
|
250
|
+
new_options = opts.merge(
|
212
251
|
:header_params => header_params,
|
213
252
|
:query_params => query_params,
|
214
253
|
:form_params => form_params,
|
215
254
|
:body => post_body,
|
216
255
|
:auth_names => auth_names,
|
217
|
-
:return_type =>
|
256
|
+
:return_type => return_type
|
257
|
+
)
|
258
|
+
|
259
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
218
260
|
if @api_client.config.debugging
|
219
261
|
@api_client.config.logger.debug "API called: SlingApi#get_agents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
220
262
|
end
|
221
263
|
return data, status_code, headers
|
222
264
|
end
|
223
|
-
|
224
|
-
# @param
|
265
|
+
|
266
|
+
# @param intermediate_path [String]
|
267
|
+
# @param authorizable_id [String]
|
225
268
|
# @param [Hash] opts the optional parameters
|
226
269
|
# @return [KeystoreInfo]
|
227
270
|
def get_authorizable_keystore(intermediate_path, authorizable_id, opts = {})
|
@@ -229,10 +272,10 @@ module SwaggerAemClient
|
|
229
272
|
data
|
230
273
|
end
|
231
274
|
|
232
|
-
# @param intermediate_path
|
233
|
-
# @param authorizable_id
|
275
|
+
# @param intermediate_path [String]
|
276
|
+
# @param authorizable_id [String]
|
234
277
|
# @param [Hash] opts the optional parameters
|
235
|
-
# @return [Array<(KeystoreInfo,
|
278
|
+
# @return [Array<(KeystoreInfo, Integer, Hash)>] KeystoreInfo data, response status code and response headers
|
236
279
|
def get_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts = {})
|
237
280
|
if @api_client.config.debugging
|
238
281
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_authorizable_keystore ...'
|
@@ -246,36 +289,46 @@ module SwaggerAemClient
|
|
246
289
|
fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.get_authorizable_keystore"
|
247
290
|
end
|
248
291
|
# resource path
|
249
|
-
local_var_path = '/{intermediatePath}/{authorizableId}.ks.json'.sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
|
292
|
+
local_var_path = '/{intermediatePath}/{authorizableId}.ks.json'.sub('{' + 'intermediatePath' + '}', CGI.escape(intermediate_path.to_s)).sub('{' + 'authorizableId' + '}', CGI.escape(authorizable_id.to_s))
|
250
293
|
|
251
294
|
# query parameters
|
252
|
-
query_params = {}
|
295
|
+
query_params = opts[:query_params] || {}
|
253
296
|
|
254
297
|
# header parameters
|
255
|
-
header_params = {}
|
298
|
+
header_params = opts[:header_params] || {}
|
256
299
|
# HTTP header 'Accept' (if needed)
|
257
300
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
258
301
|
|
259
302
|
# form parameters
|
260
|
-
form_params = {}
|
303
|
+
form_params = opts[:form_params] || {}
|
261
304
|
|
262
305
|
# http body (model)
|
263
|
-
post_body =
|
264
|
-
|
265
|
-
|
306
|
+
post_body = opts[:body]
|
307
|
+
|
308
|
+
# return_type
|
309
|
+
return_type = opts[:return_type] || 'KeystoreInfo'
|
310
|
+
|
311
|
+
# auth_names
|
312
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
313
|
+
|
314
|
+
new_options = opts.merge(
|
266
315
|
:header_params => header_params,
|
267
316
|
:query_params => query_params,
|
268
317
|
:form_params => form_params,
|
269
318
|
:body => post_body,
|
270
319
|
:auth_names => auth_names,
|
271
|
-
:return_type =>
|
320
|
+
:return_type => return_type
|
321
|
+
)
|
322
|
+
|
323
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
272
324
|
if @api_client.config.debugging
|
273
325
|
@api_client.config.logger.debug "API called: SlingApi#get_authorizable_keystore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
274
326
|
end
|
275
327
|
return data, status_code, headers
|
276
328
|
end
|
277
|
-
|
278
|
-
# @param
|
329
|
+
|
330
|
+
# @param intermediate_path [String]
|
331
|
+
# @param authorizable_id [String]
|
279
332
|
# @param [Hash] opts the optional parameters
|
280
333
|
# @return [File]
|
281
334
|
def get_keystore(intermediate_path, authorizable_id, opts = {})
|
@@ -283,10 +336,10 @@ module SwaggerAemClient
|
|
283
336
|
data
|
284
337
|
end
|
285
338
|
|
286
|
-
# @param intermediate_path
|
287
|
-
# @param authorizable_id
|
339
|
+
# @param intermediate_path [String]
|
340
|
+
# @param authorizable_id [String]
|
288
341
|
# @param [Hash] opts the optional parameters
|
289
|
-
# @return [Array<(File,
|
342
|
+
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
290
343
|
def get_keystore_with_http_info(intermediate_path, authorizable_id, opts = {})
|
291
344
|
if @api_client.config.debugging
|
292
345
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_keystore ...'
|
@@ -300,36 +353,46 @@ module SwaggerAemClient
|
|
300
353
|
fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.get_keystore"
|
301
354
|
end
|
302
355
|
# resource path
|
303
|
-
local_var_path = '/{intermediatePath}/{authorizableId}/keystore/store.p12'.sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
|
356
|
+
local_var_path = '/{intermediatePath}/{authorizableId}/keystore/store.p12'.sub('{' + 'intermediatePath' + '}', CGI.escape(intermediate_path.to_s)).sub('{' + 'authorizableId' + '}', CGI.escape(authorizable_id.to_s))
|
304
357
|
|
305
358
|
# query parameters
|
306
|
-
query_params = {}
|
359
|
+
query_params = opts[:query_params] || {}
|
307
360
|
|
308
361
|
# header parameters
|
309
|
-
header_params = {}
|
362
|
+
header_params = opts[:header_params] || {}
|
310
363
|
# HTTP header 'Accept' (if needed)
|
311
364
|
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
312
365
|
|
313
366
|
# form parameters
|
314
|
-
form_params = {}
|
367
|
+
form_params = opts[:form_params] || {}
|
315
368
|
|
316
369
|
# http body (model)
|
317
|
-
post_body =
|
318
|
-
|
319
|
-
|
370
|
+
post_body = opts[:body]
|
371
|
+
|
372
|
+
# return_type
|
373
|
+
return_type = opts[:return_type] || 'File'
|
374
|
+
|
375
|
+
# auth_names
|
376
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
377
|
+
|
378
|
+
new_options = opts.merge(
|
320
379
|
:header_params => header_params,
|
321
380
|
:query_params => query_params,
|
322
381
|
:form_params => form_params,
|
323
382
|
:body => post_body,
|
324
383
|
:auth_names => auth_names,
|
325
|
-
:return_type =>
|
384
|
+
:return_type => return_type
|
385
|
+
)
|
386
|
+
|
387
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
326
388
|
if @api_client.config.debugging
|
327
389
|
@api_client.config.logger.debug "API called: SlingApi#get_keystore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
328
390
|
end
|
329
391
|
return data, status_code, headers
|
330
392
|
end
|
331
|
-
|
332
|
-
# @param
|
393
|
+
|
394
|
+
# @param path [String]
|
395
|
+
# @param name [String]
|
333
396
|
# @param [Hash] opts the optional parameters
|
334
397
|
# @return [nil]
|
335
398
|
def get_node(path, name, opts = {})
|
@@ -337,10 +400,10 @@ module SwaggerAemClient
|
|
337
400
|
nil
|
338
401
|
end
|
339
402
|
|
340
|
-
# @param path
|
341
|
-
# @param name
|
403
|
+
# @param path [String]
|
404
|
+
# @param name [String]
|
342
405
|
# @param [Hash] opts the optional parameters
|
343
|
-
# @return [Array<(nil,
|
406
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
344
407
|
def get_node_with_http_info(path, name, opts = {})
|
345
408
|
if @api_client.config.debugging
|
346
409
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_node ...'
|
@@ -354,34 +417,45 @@ module SwaggerAemClient
|
|
354
417
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_node"
|
355
418
|
end
|
356
419
|
# resource path
|
357
|
-
local_var_path = '/{path}/{name}'.sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
|
420
|
+
local_var_path = '/{path}/{name}'.sub('{' + 'path' + '}', CGI.escape(path.to_s)).sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
358
421
|
|
359
422
|
# query parameters
|
360
|
-
query_params = {}
|
423
|
+
query_params = opts[:query_params] || {}
|
361
424
|
|
362
425
|
# header parameters
|
363
|
-
header_params = {}
|
426
|
+
header_params = opts[:header_params] || {}
|
364
427
|
|
365
428
|
# form parameters
|
366
|
-
form_params = {}
|
429
|
+
form_params = opts[:form_params] || {}
|
367
430
|
|
368
431
|
# http body (model)
|
369
|
-
post_body =
|
370
|
-
|
371
|
-
|
432
|
+
post_body = opts[:body]
|
433
|
+
|
434
|
+
# return_type
|
435
|
+
return_type = opts[:return_type]
|
436
|
+
|
437
|
+
# auth_names
|
438
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
439
|
+
|
440
|
+
new_options = opts.merge(
|
372
441
|
:header_params => header_params,
|
373
442
|
:query_params => query_params,
|
374
443
|
:form_params => form_params,
|
375
444
|
:body => post_body,
|
376
|
-
:auth_names => auth_names
|
445
|
+
:auth_names => auth_names,
|
446
|
+
:return_type => return_type
|
447
|
+
)
|
448
|
+
|
449
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
377
450
|
if @api_client.config.debugging
|
378
451
|
@api_client.config.logger.debug "API called: SlingApi#get_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
379
452
|
end
|
380
453
|
return data, status_code, headers
|
381
454
|
end
|
382
|
-
|
383
|
-
# @param
|
384
|
-
# @param
|
455
|
+
|
456
|
+
# @param group [String]
|
457
|
+
# @param name [String]
|
458
|
+
# @param version [String]
|
385
459
|
# @param [Hash] opts the optional parameters
|
386
460
|
# @return [File]
|
387
461
|
def get_package(group, name, version, opts = {})
|
@@ -389,11 +463,11 @@ module SwaggerAemClient
|
|
389
463
|
data
|
390
464
|
end
|
391
465
|
|
392
|
-
# @param group
|
393
|
-
# @param name
|
394
|
-
# @param version
|
466
|
+
# @param group [String]
|
467
|
+
# @param name [String]
|
468
|
+
# @param version [String]
|
395
469
|
# @param [Hash] opts the optional parameters
|
396
|
-
# @return [Array<(File,
|
470
|
+
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
397
471
|
def get_package_with_http_info(group, name, version, opts = {})
|
398
472
|
if @api_client.config.debugging
|
399
473
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_package ...'
|
@@ -411,37 +485,47 @@ module SwaggerAemClient
|
|
411
485
|
fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package"
|
412
486
|
end
|
413
487
|
# resource path
|
414
|
-
local_var_path = '/etc/packages/{group}/{name}-{version}.zip'.sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
|
488
|
+
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))
|
415
489
|
|
416
490
|
# query parameters
|
417
|
-
query_params = {}
|
491
|
+
query_params = opts[:query_params] || {}
|
418
492
|
|
419
493
|
# header parameters
|
420
|
-
header_params = {}
|
494
|
+
header_params = opts[:header_params] || {}
|
421
495
|
# HTTP header 'Accept' (if needed)
|
422
496
|
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
423
497
|
|
424
498
|
# form parameters
|
425
|
-
form_params = {}
|
499
|
+
form_params = opts[:form_params] || {}
|
426
500
|
|
427
501
|
# http body (model)
|
428
|
-
post_body =
|
429
|
-
|
430
|
-
|
502
|
+
post_body = opts[:body]
|
503
|
+
|
504
|
+
# return_type
|
505
|
+
return_type = opts[:return_type] || 'File'
|
506
|
+
|
507
|
+
# auth_names
|
508
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
509
|
+
|
510
|
+
new_options = opts.merge(
|
431
511
|
:header_params => header_params,
|
432
512
|
:query_params => query_params,
|
433
513
|
:form_params => form_params,
|
434
514
|
:body => post_body,
|
435
515
|
:auth_names => auth_names,
|
436
|
-
:return_type =>
|
516
|
+
:return_type => return_type
|
517
|
+
)
|
518
|
+
|
519
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
437
520
|
if @api_client.config.debugging
|
438
521
|
@api_client.config.logger.debug "API called: SlingApi#get_package\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
439
522
|
end
|
440
523
|
return data, status_code, headers
|
441
524
|
end
|
442
|
-
|
443
|
-
# @param
|
444
|
-
# @param
|
525
|
+
|
526
|
+
# @param group [String]
|
527
|
+
# @param name [String]
|
528
|
+
# @param version [String]
|
445
529
|
# @param [Hash] opts the optional parameters
|
446
530
|
# @return [String]
|
447
531
|
def get_package_filter(group, name, version, opts = {})
|
@@ -449,11 +533,11 @@ module SwaggerAemClient
|
|
449
533
|
data
|
450
534
|
end
|
451
535
|
|
452
|
-
# @param group
|
453
|
-
# @param name
|
454
|
-
# @param version
|
536
|
+
# @param group [String]
|
537
|
+
# @param name [String]
|
538
|
+
# @param version [String]
|
455
539
|
# @param [Hash] opts the optional parameters
|
456
|
-
# @return [Array<(String,
|
540
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
457
541
|
def get_package_filter_with_http_info(group, name, version, opts = {})
|
458
542
|
if @api_client.config.debugging
|
459
543
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_package_filter ...'
|
@@ -471,38 +555,48 @@ module SwaggerAemClient
|
|
471
555
|
fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package_filter"
|
472
556
|
end
|
473
557
|
# resource path
|
474
|
-
local_var_path = '/etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json'.sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
|
558
|
+
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))
|
475
559
|
|
476
560
|
# query parameters
|
477
|
-
query_params = {}
|
561
|
+
query_params = opts[:query_params] || {}
|
478
562
|
|
479
563
|
# header parameters
|
480
|
-
header_params = {}
|
564
|
+
header_params = opts[:header_params] || {}
|
481
565
|
# HTTP header 'Accept' (if needed)
|
482
566
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
483
567
|
|
484
568
|
# form parameters
|
485
|
-
form_params = {}
|
569
|
+
form_params = opts[:form_params] || {}
|
486
570
|
|
487
571
|
# http body (model)
|
488
|
-
post_body =
|
489
|
-
|
490
|
-
|
572
|
+
post_body = opts[:body]
|
573
|
+
|
574
|
+
# return_type
|
575
|
+
return_type = opts[:return_type] || 'String'
|
576
|
+
|
577
|
+
# auth_names
|
578
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
579
|
+
|
580
|
+
new_options = opts.merge(
|
491
581
|
:header_params => header_params,
|
492
582
|
:query_params => query_params,
|
493
583
|
:form_params => form_params,
|
494
584
|
:body => post_body,
|
495
585
|
:auth_names => auth_names,
|
496
|
-
:return_type =>
|
586
|
+
:return_type => return_type
|
587
|
+
)
|
588
|
+
|
589
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
497
590
|
if @api_client.config.debugging
|
498
591
|
@api_client.config.logger.debug "API called: SlingApi#get_package_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
499
592
|
end
|
500
593
|
return data, status_code, headers
|
501
594
|
end
|
502
|
-
|
503
|
-
# @param
|
504
|
-
# @param
|
505
|
-
# @param
|
595
|
+
|
596
|
+
# @param path [String]
|
597
|
+
# @param p_limit [Float]
|
598
|
+
# @param _1_property [String]
|
599
|
+
# @param _1_property_value [String]
|
506
600
|
# @param [Hash] opts the optional parameters
|
507
601
|
# @return [String]
|
508
602
|
def get_query(path, p_limit, _1_property, _1_property_value, opts = {})
|
@@ -510,12 +604,12 @@ module SwaggerAemClient
|
|
510
604
|
data
|
511
605
|
end
|
512
606
|
|
513
|
-
# @param path
|
514
|
-
# @param p_limit
|
515
|
-
# @param _1_property
|
516
|
-
# @param _1_property_value
|
607
|
+
# @param path [String]
|
608
|
+
# @param p_limit [Float]
|
609
|
+
# @param _1_property [String]
|
610
|
+
# @param _1_property_value [String]
|
517
611
|
# @param [Hash] opts the optional parameters
|
518
|
-
# @return [Array<(String,
|
612
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
519
613
|
def get_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {})
|
520
614
|
if @api_client.config.debugging
|
521
615
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_query ...'
|
@@ -540,35 +634,45 @@ module SwaggerAemClient
|
|
540
634
|
local_var_path = '/bin/querybuilder.json'
|
541
635
|
|
542
636
|
# query parameters
|
543
|
-
query_params = {}
|
637
|
+
query_params = opts[:query_params] || {}
|
544
638
|
query_params[:'path'] = path
|
545
639
|
query_params[:'p.limit'] = p_limit
|
546
640
|
query_params[:'1_property'] = _1_property
|
547
641
|
query_params[:'1_property.value'] = _1_property_value
|
548
642
|
|
549
643
|
# header parameters
|
550
|
-
header_params = {}
|
644
|
+
header_params = opts[:header_params] || {}
|
551
645
|
# HTTP header 'Accept' (if needed)
|
552
646
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
553
647
|
|
554
648
|
# form parameters
|
555
|
-
form_params = {}
|
649
|
+
form_params = opts[:form_params] || {}
|
556
650
|
|
557
651
|
# http body (model)
|
558
|
-
post_body =
|
559
|
-
|
560
|
-
|
652
|
+
post_body = opts[:body]
|
653
|
+
|
654
|
+
# return_type
|
655
|
+
return_type = opts[:return_type] || 'String'
|
656
|
+
|
657
|
+
# auth_names
|
658
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
659
|
+
|
660
|
+
new_options = opts.merge(
|
561
661
|
:header_params => header_params,
|
562
662
|
:query_params => query_params,
|
563
663
|
:form_params => form_params,
|
564
664
|
:body => post_body,
|
565
665
|
:auth_names => auth_names,
|
566
|
-
:return_type =>
|
666
|
+
:return_type => return_type
|
667
|
+
)
|
668
|
+
|
669
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
567
670
|
if @api_client.config.debugging
|
568
671
|
@api_client.config.logger.debug "API called: SlingApi#get_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
569
672
|
end
|
570
673
|
return data, status_code, headers
|
571
674
|
end
|
675
|
+
|
572
676
|
# @param [Hash] opts the optional parameters
|
573
677
|
# @return [File]
|
574
678
|
def get_truststore(opts = {})
|
@@ -577,7 +681,7 @@ module SwaggerAemClient
|
|
577
681
|
end
|
578
682
|
|
579
683
|
# @param [Hash] opts the optional parameters
|
580
|
-
# @return [Array<(File,
|
684
|
+
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
581
685
|
def get_truststore_with_http_info(opts = {})
|
582
686
|
if @api_client.config.debugging
|
583
687
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_truststore ...'
|
@@ -586,31 +690,41 @@ module SwaggerAemClient
|
|
586
690
|
local_var_path = '/etc/truststore/truststore.p12'
|
587
691
|
|
588
692
|
# query parameters
|
589
|
-
query_params = {}
|
693
|
+
query_params = opts[:query_params] || {}
|
590
694
|
|
591
695
|
# header parameters
|
592
|
-
header_params = {}
|
696
|
+
header_params = opts[:header_params] || {}
|
593
697
|
# HTTP header 'Accept' (if needed)
|
594
698
|
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
595
699
|
|
596
700
|
# form parameters
|
597
|
-
form_params = {}
|
701
|
+
form_params = opts[:form_params] || {}
|
598
702
|
|
599
703
|
# http body (model)
|
600
|
-
post_body =
|
601
|
-
|
602
|
-
|
704
|
+
post_body = opts[:body]
|
705
|
+
|
706
|
+
# return_type
|
707
|
+
return_type = opts[:return_type] || 'File'
|
708
|
+
|
709
|
+
# auth_names
|
710
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
711
|
+
|
712
|
+
new_options = opts.merge(
|
603
713
|
:header_params => header_params,
|
604
714
|
:query_params => query_params,
|
605
715
|
:form_params => form_params,
|
606
716
|
:body => post_body,
|
607
717
|
:auth_names => auth_names,
|
608
|
-
:return_type =>
|
718
|
+
:return_type => return_type
|
719
|
+
)
|
720
|
+
|
721
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
609
722
|
if @api_client.config.debugging
|
610
723
|
@api_client.config.logger.debug "API called: SlingApi#get_truststore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
611
724
|
end
|
612
725
|
return data, status_code, headers
|
613
726
|
end
|
727
|
+
|
614
728
|
# @param [Hash] opts the optional parameters
|
615
729
|
# @return [TruststoreInfo]
|
616
730
|
def get_truststore_info(opts = {})
|
@@ -619,7 +733,7 @@ module SwaggerAemClient
|
|
619
733
|
end
|
620
734
|
|
621
735
|
# @param [Hash] opts the optional parameters
|
622
|
-
# @return [Array<(TruststoreInfo,
|
736
|
+
# @return [Array<(TruststoreInfo, Integer, Hash)>] TruststoreInfo data, response status code and response headers
|
623
737
|
def get_truststore_info_with_http_info(opts = {})
|
624
738
|
if @api_client.config.debugging
|
625
739
|
@api_client.config.logger.debug 'Calling API: SlingApi.get_truststore_info ...'
|
@@ -628,82 +742,92 @@ module SwaggerAemClient
|
|
628
742
|
local_var_path = '/libs/granite/security/truststore.json'
|
629
743
|
|
630
744
|
# query parameters
|
631
|
-
query_params = {}
|
745
|
+
query_params = opts[:query_params] || {}
|
632
746
|
|
633
747
|
# header parameters
|
634
|
-
header_params = {}
|
748
|
+
header_params = opts[:header_params] || {}
|
635
749
|
# HTTP header 'Accept' (if needed)
|
636
750
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
637
751
|
|
638
752
|
# form parameters
|
639
|
-
form_params = {}
|
753
|
+
form_params = opts[:form_params] || {}
|
640
754
|
|
641
755
|
# http body (model)
|
642
|
-
post_body =
|
643
|
-
|
644
|
-
|
756
|
+
post_body = opts[:body]
|
757
|
+
|
758
|
+
# return_type
|
759
|
+
return_type = opts[:return_type] || 'TruststoreInfo'
|
760
|
+
|
761
|
+
# auth_names
|
762
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
763
|
+
|
764
|
+
new_options = opts.merge(
|
645
765
|
:header_params => header_params,
|
646
766
|
:query_params => query_params,
|
647
767
|
:form_params => form_params,
|
648
768
|
:body => post_body,
|
649
769
|
:auth_names => auth_names,
|
650
|
-
:return_type =>
|
770
|
+
:return_type => return_type
|
771
|
+
)
|
772
|
+
|
773
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
651
774
|
if @api_client.config.debugging
|
652
775
|
@api_client.config.logger.debug "API called: SlingApi#get_truststore_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
653
776
|
end
|
654
777
|
return data, status_code, headers
|
655
778
|
end
|
656
|
-
|
657
|
-
# @param
|
779
|
+
|
780
|
+
# @param runmode [String]
|
781
|
+
# @param name [String]
|
658
782
|
# @param [Hash] opts the optional parameters
|
659
|
-
# @option opts [
|
660
|
-
# @option opts [String] :
|
661
|
-
# @option opts [String] :
|
662
|
-
# @option opts [String] :
|
663
|
-
# @option opts [
|
664
|
-
# @option opts [String] :
|
665
|
-
# @option opts [String] :
|
666
|
-
# @option opts [String] :
|
667
|
-
# @option opts [String] :
|
668
|
-
# @option opts [String] :
|
669
|
-
# @option opts [String] :
|
670
|
-
# @option opts [
|
671
|
-
# @option opts [
|
672
|
-
# @option opts [Float] :
|
673
|
-
# @option opts [
|
674
|
-
# @option opts [String] :
|
675
|
-
# @option opts [Array<String>] :
|
676
|
-
# @option opts [String] :
|
677
|
-
# @option opts [String] :
|
678
|
-
# @option opts [
|
679
|
-
# @option opts [String] :
|
680
|
-
# @option opts [Float] :
|
681
|
-
# @option opts [String] :
|
682
|
-
# @option opts [String] :
|
683
|
-
# @option opts [String] :
|
684
|
-
# @option opts [String] :
|
685
|
-
# @option opts [String] :
|
686
|
-
# @option opts [Float] :
|
687
|
-
# @option opts [String] :
|
688
|
-
# @option opts [Float] :
|
689
|
-
# @option opts [String] :
|
690
|
-
# @option opts [Float] :
|
691
|
-
# @option opts [String] :
|
692
|
-
# @option opts [
|
693
|
-
# @option opts [String] :
|
694
|
-
# @option opts [String] :
|
695
|
-
# @option opts [String] :
|
696
|
-
# @option opts [String] :
|
697
|
-
# @option opts [String] :
|
698
|
-
# @option opts [String] :
|
699
|
-
# @option opts [String] :
|
700
|
-
# @option opts [String] :
|
701
|
-
# @option opts [
|
702
|
-
# @option opts [
|
703
|
-
# @option opts [
|
704
|
-
# @option opts [
|
705
|
-
# @option opts [
|
706
|
-
# @option opts [String] :
|
783
|
+
# @option opts [Boolean] :jcrcontent_cqdistribute
|
784
|
+
# @option opts [String] :jcrcontent_cqdistribute_type_hint
|
785
|
+
# @option opts [String] :jcrcontent_cqname
|
786
|
+
# @option opts [String] :jcrcontent_cqtemplate
|
787
|
+
# @option opts [Boolean] :jcrcontent_enabled
|
788
|
+
# @option opts [String] :jcrcontent_jcrdescription
|
789
|
+
# @option opts [String] :jcrcontent_jcrlast_modified
|
790
|
+
# @option opts [String] :jcrcontent_jcrlast_modified_by
|
791
|
+
# @option opts [String] :jcrcontent_jcrmixin_types
|
792
|
+
# @option opts [String] :jcrcontent_jcrtitle
|
793
|
+
# @option opts [String] :jcrcontent_log_level
|
794
|
+
# @option opts [Boolean] :jcrcontent_no_status_update
|
795
|
+
# @option opts [Boolean] :jcrcontent_no_versioning
|
796
|
+
# @option opts [Float] :jcrcontent_protocol_connect_timeout
|
797
|
+
# @option opts [Boolean] :jcrcontent_protocol_http_connection_closed
|
798
|
+
# @option opts [String] :jcrcontent_protocol_http_expired
|
799
|
+
# @option opts [Array<String>] :jcrcontent_protocol_http_headers
|
800
|
+
# @option opts [String] :jcrcontent_protocol_http_headers_type_hint
|
801
|
+
# @option opts [String] :jcrcontent_protocol_http_method
|
802
|
+
# @option opts [Boolean] :jcrcontent_protocol_https_relaxed
|
803
|
+
# @option opts [String] :jcrcontent_protocol_interface
|
804
|
+
# @option opts [Float] :jcrcontent_protocol_socket_timeout
|
805
|
+
# @option opts [String] :jcrcontent_protocol_version
|
806
|
+
# @option opts [String] :jcrcontent_proxy_ntlm_domain
|
807
|
+
# @option opts [String] :jcrcontent_proxy_ntlm_host
|
808
|
+
# @option opts [String] :jcrcontent_proxy_host
|
809
|
+
# @option opts [String] :jcrcontent_proxy_password
|
810
|
+
# @option opts [Float] :jcrcontent_proxy_port
|
811
|
+
# @option opts [String] :jcrcontent_proxy_user
|
812
|
+
# @option opts [Float] :jcrcontent_queue_batch_max_size
|
813
|
+
# @option opts [String] :jcrcontent_queue_batch_mode
|
814
|
+
# @option opts [Float] :jcrcontent_queue_batch_wait_time
|
815
|
+
# @option opts [String] :jcrcontent_retry_delay
|
816
|
+
# @option opts [Boolean] :jcrcontent_reverse_replication
|
817
|
+
# @option opts [String] :jcrcontent_serialization_type
|
818
|
+
# @option opts [String] :jcrcontent_slingresource_type
|
819
|
+
# @option opts [String] :jcrcontent_ssl
|
820
|
+
# @option opts [String] :jcrcontent_transport_ntlm_domain
|
821
|
+
# @option opts [String] :jcrcontent_transport_ntlm_host
|
822
|
+
# @option opts [String] :jcrcontent_transport_password
|
823
|
+
# @option opts [String] :jcrcontent_transport_uri
|
824
|
+
# @option opts [String] :jcrcontent_transport_user
|
825
|
+
# @option opts [Boolean] :jcrcontent_trigger_distribute
|
826
|
+
# @option opts [Boolean] :jcrcontent_trigger_modified
|
827
|
+
# @option opts [Boolean] :jcrcontent_trigger_on_off_time
|
828
|
+
# @option opts [Boolean] :jcrcontent_trigger_receive
|
829
|
+
# @option opts [Boolean] :jcrcontent_trigger_specific
|
830
|
+
# @option opts [String] :jcrcontent_user_id
|
707
831
|
# @option opts [String] :jcrprimary_type
|
708
832
|
# @option opts [String] :operation
|
709
833
|
# @return [nil]
|
@@ -712,60 +836,60 @@ module SwaggerAemClient
|
|
712
836
|
nil
|
713
837
|
end
|
714
838
|
|
715
|
-
# @param runmode
|
716
|
-
# @param name
|
839
|
+
# @param runmode [String]
|
840
|
+
# @param name [String]
|
717
841
|
# @param [Hash] opts the optional parameters
|
718
|
-
# @option opts [
|
719
|
-
# @option opts [String] :
|
720
|
-
# @option opts [String] :
|
721
|
-
# @option opts [String] :
|
722
|
-
# @option opts [
|
723
|
-
# @option opts [String] :
|
724
|
-
# @option opts [String] :
|
725
|
-
# @option opts [String] :
|
726
|
-
# @option opts [String] :
|
727
|
-
# @option opts [String] :
|
728
|
-
# @option opts [String] :
|
729
|
-
# @option opts [
|
730
|
-
# @option opts [
|
731
|
-
# @option opts [Float] :
|
732
|
-
# @option opts [
|
733
|
-
# @option opts [String] :
|
734
|
-
# @option opts [Array<String>] :
|
735
|
-
# @option opts [String] :
|
736
|
-
# @option opts [String] :
|
737
|
-
# @option opts [
|
738
|
-
# @option opts [String] :
|
739
|
-
# @option opts [Float] :
|
740
|
-
# @option opts [String] :
|
741
|
-
# @option opts [String] :
|
742
|
-
# @option opts [String] :
|
743
|
-
# @option opts [String] :
|
744
|
-
# @option opts [String] :
|
745
|
-
# @option opts [Float] :
|
746
|
-
# @option opts [String] :
|
747
|
-
# @option opts [Float] :
|
748
|
-
# @option opts [String] :
|
749
|
-
# @option opts [Float] :
|
750
|
-
# @option opts [String] :
|
751
|
-
# @option opts [
|
752
|
-
# @option opts [String] :
|
753
|
-
# @option opts [String] :
|
754
|
-
# @option opts [String] :
|
755
|
-
# @option opts [String] :
|
756
|
-
# @option opts [String] :
|
757
|
-
# @option opts [String] :
|
758
|
-
# @option opts [String] :
|
759
|
-
# @option opts [String] :
|
760
|
-
# @option opts [
|
761
|
-
# @option opts [
|
762
|
-
# @option opts [
|
763
|
-
# @option opts [
|
764
|
-
# @option opts [
|
765
|
-
# @option opts [String] :
|
842
|
+
# @option opts [Boolean] :jcrcontent_cqdistribute
|
843
|
+
# @option opts [String] :jcrcontent_cqdistribute_type_hint
|
844
|
+
# @option opts [String] :jcrcontent_cqname
|
845
|
+
# @option opts [String] :jcrcontent_cqtemplate
|
846
|
+
# @option opts [Boolean] :jcrcontent_enabled
|
847
|
+
# @option opts [String] :jcrcontent_jcrdescription
|
848
|
+
# @option opts [String] :jcrcontent_jcrlast_modified
|
849
|
+
# @option opts [String] :jcrcontent_jcrlast_modified_by
|
850
|
+
# @option opts [String] :jcrcontent_jcrmixin_types
|
851
|
+
# @option opts [String] :jcrcontent_jcrtitle
|
852
|
+
# @option opts [String] :jcrcontent_log_level
|
853
|
+
# @option opts [Boolean] :jcrcontent_no_status_update
|
854
|
+
# @option opts [Boolean] :jcrcontent_no_versioning
|
855
|
+
# @option opts [Float] :jcrcontent_protocol_connect_timeout
|
856
|
+
# @option opts [Boolean] :jcrcontent_protocol_http_connection_closed
|
857
|
+
# @option opts [String] :jcrcontent_protocol_http_expired
|
858
|
+
# @option opts [Array<String>] :jcrcontent_protocol_http_headers
|
859
|
+
# @option opts [String] :jcrcontent_protocol_http_headers_type_hint
|
860
|
+
# @option opts [String] :jcrcontent_protocol_http_method
|
861
|
+
# @option opts [Boolean] :jcrcontent_protocol_https_relaxed
|
862
|
+
# @option opts [String] :jcrcontent_protocol_interface
|
863
|
+
# @option opts [Float] :jcrcontent_protocol_socket_timeout
|
864
|
+
# @option opts [String] :jcrcontent_protocol_version
|
865
|
+
# @option opts [String] :jcrcontent_proxy_ntlm_domain
|
866
|
+
# @option opts [String] :jcrcontent_proxy_ntlm_host
|
867
|
+
# @option opts [String] :jcrcontent_proxy_host
|
868
|
+
# @option opts [String] :jcrcontent_proxy_password
|
869
|
+
# @option opts [Float] :jcrcontent_proxy_port
|
870
|
+
# @option opts [String] :jcrcontent_proxy_user
|
871
|
+
# @option opts [Float] :jcrcontent_queue_batch_max_size
|
872
|
+
# @option opts [String] :jcrcontent_queue_batch_mode
|
873
|
+
# @option opts [Float] :jcrcontent_queue_batch_wait_time
|
874
|
+
# @option opts [String] :jcrcontent_retry_delay
|
875
|
+
# @option opts [Boolean] :jcrcontent_reverse_replication
|
876
|
+
# @option opts [String] :jcrcontent_serialization_type
|
877
|
+
# @option opts [String] :jcrcontent_slingresource_type
|
878
|
+
# @option opts [String] :jcrcontent_ssl
|
879
|
+
# @option opts [String] :jcrcontent_transport_ntlm_domain
|
880
|
+
# @option opts [String] :jcrcontent_transport_ntlm_host
|
881
|
+
# @option opts [String] :jcrcontent_transport_password
|
882
|
+
# @option opts [String] :jcrcontent_transport_uri
|
883
|
+
# @option opts [String] :jcrcontent_transport_user
|
884
|
+
# @option opts [Boolean] :jcrcontent_trigger_distribute
|
885
|
+
# @option opts [Boolean] :jcrcontent_trigger_modified
|
886
|
+
# @option opts [Boolean] :jcrcontent_trigger_on_off_time
|
887
|
+
# @option opts [Boolean] :jcrcontent_trigger_receive
|
888
|
+
# @option opts [Boolean] :jcrcontent_trigger_specific
|
889
|
+
# @option opts [String] :jcrcontent_user_id
|
766
890
|
# @option opts [String] :jcrprimary_type
|
767
891
|
# @option opts [String] :operation
|
768
|
-
# @return [Array<(nil,
|
892
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
769
893
|
def post_agent_with_http_info(runmode, name, opts = {})
|
770
894
|
if @api_client.config.debugging
|
771
895
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_agent ...'
|
@@ -779,83 +903,94 @@ module SwaggerAemClient
|
|
779
903
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_agent"
|
780
904
|
end
|
781
905
|
# resource path
|
782
|
-
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
|
906
|
+
local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{' + 'runmode' + '}', CGI.escape(runmode.to_s)).sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
783
907
|
|
784
908
|
# query parameters
|
785
|
-
query_params = {}
|
786
|
-
query_params[:'jcr:content/cq:distribute'] = opts[:'
|
787
|
-
query_params[:'jcr:content/cq:distribute@TypeHint'] = opts[:'
|
788
|
-
query_params[:'jcr:content/cq:name'] = opts[:'
|
789
|
-
query_params[:'jcr:content/cq:template'] = opts[:'
|
790
|
-
query_params[:'jcr:content/enabled'] = opts[:'
|
791
|
-
query_params[:'jcr:content/jcr:description'] = opts[:'
|
792
|
-
query_params[:'jcr:content/jcr:lastModified'] = opts[:'
|
793
|
-
query_params[:'jcr:content/jcr:lastModifiedBy'] = opts[:'
|
794
|
-
query_params[:'jcr:content/jcr:mixinTypes'] = opts[:'
|
795
|
-
query_params[:'jcr:content/jcr:title'] = opts[:'
|
796
|
-
query_params[:'jcr:content/logLevel'] = opts[:'
|
797
|
-
query_params[:'jcr:content/noStatusUpdate'] = opts[:'
|
798
|
-
query_params[:'jcr:content/noVersioning'] = opts[:'
|
799
|
-
query_params[:'jcr:content/protocolConnectTimeout'] = opts[:'
|
800
|
-
query_params[:'jcr:content/protocolHTTPConnectionClosed'] = opts[:'
|
801
|
-
query_params[:'jcr:content/protocolHTTPExpired'] = opts[:'
|
802
|
-
query_params[:'jcr:content/protocolHTTPHeaders'] = @api_client.build_collection_param(opts[:'
|
803
|
-
query_params[:'jcr:content/protocolHTTPHeaders@TypeHint'] = opts[:'
|
804
|
-
query_params[:'jcr:content/protocolHTTPMethod'] = opts[:'
|
805
|
-
query_params[:'jcr:content/protocolHTTPSRelaxed'] = opts[:'
|
806
|
-
query_params[:'jcr:content/protocolInterface'] = opts[:'
|
807
|
-
query_params[:'jcr:content/protocolSocketTimeout'] = opts[:'
|
808
|
-
query_params[:'jcr:content/protocolVersion'] = opts[:'
|
809
|
-
query_params[:'jcr:content/proxyNTLMDomain'] = opts[:'
|
810
|
-
query_params[:'jcr:content/proxyNTLMHost'] = opts[:'
|
811
|
-
query_params[:'jcr:content/proxyHost'] = opts[:'
|
812
|
-
query_params[:'jcr:content/proxyPassword'] = opts[:'
|
813
|
-
query_params[:'jcr:content/proxyPort'] = opts[:'
|
814
|
-
query_params[:'jcr:content/proxyUser'] = opts[:'
|
815
|
-
query_params[:'jcr:content/queueBatchMaxSize'] = opts[:'
|
816
|
-
query_params[:'jcr:content/queueBatchMode'] = opts[:'
|
817
|
-
query_params[:'jcr:content/queueBatchWaitTime'] = opts[:'
|
818
|
-
query_params[:'jcr:content/retryDelay'] = opts[:'
|
819
|
-
query_params[:'jcr:content/reverseReplication'] = opts[:'
|
820
|
-
query_params[:'jcr:content/serializationType'] = opts[:'
|
821
|
-
query_params[:'jcr:content/sling:resourceType'] = opts[:'
|
822
|
-
query_params[:'jcr:content/ssl'] = opts[:'
|
823
|
-
query_params[:'jcr:content/transportNTLMDomain'] = opts[:'
|
824
|
-
query_params[:'jcr:content/transportNTLMHost'] = opts[:'
|
825
|
-
query_params[:'jcr:content/transportPassword'] = opts[:'
|
826
|
-
query_params[:'jcr:content/transportUri'] = opts[:'
|
827
|
-
query_params[:'jcr:content/transportUser'] = opts[:'
|
828
|
-
query_params[:'jcr:content/triggerDistribute'] = opts[:'
|
829
|
-
query_params[:'jcr:content/triggerModified'] = opts[:'
|
830
|
-
query_params[:'jcr:content/triggerOnOffTime'] = opts[:'
|
831
|
-
query_params[:'jcr:content/triggerReceive'] = opts[:'
|
832
|
-
query_params[:'jcr:content/triggerSpecific'] = opts[:'
|
833
|
-
query_params[:'jcr:content/userId'] = opts[:'
|
909
|
+
query_params = opts[:query_params] || {}
|
910
|
+
query_params[:'jcr:content/cq:distribute'] = opts[:'jcrcontent_cqdistribute'] if !opts[:'jcrcontent_cqdistribute'].nil?
|
911
|
+
query_params[:'jcr:content/cq:distribute@TypeHint'] = opts[:'jcrcontent_cqdistribute_type_hint'] if !opts[:'jcrcontent_cqdistribute_type_hint'].nil?
|
912
|
+
query_params[:'jcr:content/cq:name'] = opts[:'jcrcontent_cqname'] if !opts[:'jcrcontent_cqname'].nil?
|
913
|
+
query_params[:'jcr:content/cq:template'] = opts[:'jcrcontent_cqtemplate'] if !opts[:'jcrcontent_cqtemplate'].nil?
|
914
|
+
query_params[:'jcr:content/enabled'] = opts[:'jcrcontent_enabled'] if !opts[:'jcrcontent_enabled'].nil?
|
915
|
+
query_params[:'jcr:content/jcr:description'] = opts[:'jcrcontent_jcrdescription'] if !opts[:'jcrcontent_jcrdescription'].nil?
|
916
|
+
query_params[:'jcr:content/jcr:lastModified'] = opts[:'jcrcontent_jcrlast_modified'] if !opts[:'jcrcontent_jcrlast_modified'].nil?
|
917
|
+
query_params[:'jcr:content/jcr:lastModifiedBy'] = opts[:'jcrcontent_jcrlast_modified_by'] if !opts[:'jcrcontent_jcrlast_modified_by'].nil?
|
918
|
+
query_params[:'jcr:content/jcr:mixinTypes'] = opts[:'jcrcontent_jcrmixin_types'] if !opts[:'jcrcontent_jcrmixin_types'].nil?
|
919
|
+
query_params[:'jcr:content/jcr:title'] = opts[:'jcrcontent_jcrtitle'] if !opts[:'jcrcontent_jcrtitle'].nil?
|
920
|
+
query_params[:'jcr:content/logLevel'] = opts[:'jcrcontent_log_level'] if !opts[:'jcrcontent_log_level'].nil?
|
921
|
+
query_params[:'jcr:content/noStatusUpdate'] = opts[:'jcrcontent_no_status_update'] if !opts[:'jcrcontent_no_status_update'].nil?
|
922
|
+
query_params[:'jcr:content/noVersioning'] = opts[:'jcrcontent_no_versioning'] if !opts[:'jcrcontent_no_versioning'].nil?
|
923
|
+
query_params[:'jcr:content/protocolConnectTimeout'] = opts[:'jcrcontent_protocol_connect_timeout'] if !opts[:'jcrcontent_protocol_connect_timeout'].nil?
|
924
|
+
query_params[:'jcr:content/protocolHTTPConnectionClosed'] = opts[:'jcrcontent_protocol_http_connection_closed'] if !opts[:'jcrcontent_protocol_http_connection_closed'].nil?
|
925
|
+
query_params[:'jcr:content/protocolHTTPExpired'] = opts[:'jcrcontent_protocol_http_expired'] if !opts[:'jcrcontent_protocol_http_expired'].nil?
|
926
|
+
query_params[:'jcr:content/protocolHTTPHeaders'] = @api_client.build_collection_param(opts[:'jcrcontent_protocol_http_headers'], :multi) if !opts[:'jcrcontent_protocol_http_headers'].nil?
|
927
|
+
query_params[:'jcr:content/protocolHTTPHeaders@TypeHint'] = opts[:'jcrcontent_protocol_http_headers_type_hint'] if !opts[:'jcrcontent_protocol_http_headers_type_hint'].nil?
|
928
|
+
query_params[:'jcr:content/protocolHTTPMethod'] = opts[:'jcrcontent_protocol_http_method'] if !opts[:'jcrcontent_protocol_http_method'].nil?
|
929
|
+
query_params[:'jcr:content/protocolHTTPSRelaxed'] = opts[:'jcrcontent_protocol_https_relaxed'] if !opts[:'jcrcontent_protocol_https_relaxed'].nil?
|
930
|
+
query_params[:'jcr:content/protocolInterface'] = opts[:'jcrcontent_protocol_interface'] if !opts[:'jcrcontent_protocol_interface'].nil?
|
931
|
+
query_params[:'jcr:content/protocolSocketTimeout'] = opts[:'jcrcontent_protocol_socket_timeout'] if !opts[:'jcrcontent_protocol_socket_timeout'].nil?
|
932
|
+
query_params[:'jcr:content/protocolVersion'] = opts[:'jcrcontent_protocol_version'] if !opts[:'jcrcontent_protocol_version'].nil?
|
933
|
+
query_params[:'jcr:content/proxyNTLMDomain'] = opts[:'jcrcontent_proxy_ntlm_domain'] if !opts[:'jcrcontent_proxy_ntlm_domain'].nil?
|
934
|
+
query_params[:'jcr:content/proxyNTLMHost'] = opts[:'jcrcontent_proxy_ntlm_host'] if !opts[:'jcrcontent_proxy_ntlm_host'].nil?
|
935
|
+
query_params[:'jcr:content/proxyHost'] = opts[:'jcrcontent_proxy_host'] if !opts[:'jcrcontent_proxy_host'].nil?
|
936
|
+
query_params[:'jcr:content/proxyPassword'] = opts[:'jcrcontent_proxy_password'] if !opts[:'jcrcontent_proxy_password'].nil?
|
937
|
+
query_params[:'jcr:content/proxyPort'] = opts[:'jcrcontent_proxy_port'] if !opts[:'jcrcontent_proxy_port'].nil?
|
938
|
+
query_params[:'jcr:content/proxyUser'] = opts[:'jcrcontent_proxy_user'] if !opts[:'jcrcontent_proxy_user'].nil?
|
939
|
+
query_params[:'jcr:content/queueBatchMaxSize'] = opts[:'jcrcontent_queue_batch_max_size'] if !opts[:'jcrcontent_queue_batch_max_size'].nil?
|
940
|
+
query_params[:'jcr:content/queueBatchMode'] = opts[:'jcrcontent_queue_batch_mode'] if !opts[:'jcrcontent_queue_batch_mode'].nil?
|
941
|
+
query_params[:'jcr:content/queueBatchWaitTime'] = opts[:'jcrcontent_queue_batch_wait_time'] if !opts[:'jcrcontent_queue_batch_wait_time'].nil?
|
942
|
+
query_params[:'jcr:content/retryDelay'] = opts[:'jcrcontent_retry_delay'] if !opts[:'jcrcontent_retry_delay'].nil?
|
943
|
+
query_params[:'jcr:content/reverseReplication'] = opts[:'jcrcontent_reverse_replication'] if !opts[:'jcrcontent_reverse_replication'].nil?
|
944
|
+
query_params[:'jcr:content/serializationType'] = opts[:'jcrcontent_serialization_type'] if !opts[:'jcrcontent_serialization_type'].nil?
|
945
|
+
query_params[:'jcr:content/sling:resourceType'] = opts[:'jcrcontent_slingresource_type'] if !opts[:'jcrcontent_slingresource_type'].nil?
|
946
|
+
query_params[:'jcr:content/ssl'] = opts[:'jcrcontent_ssl'] if !opts[:'jcrcontent_ssl'].nil?
|
947
|
+
query_params[:'jcr:content/transportNTLMDomain'] = opts[:'jcrcontent_transport_ntlm_domain'] if !opts[:'jcrcontent_transport_ntlm_domain'].nil?
|
948
|
+
query_params[:'jcr:content/transportNTLMHost'] = opts[:'jcrcontent_transport_ntlm_host'] if !opts[:'jcrcontent_transport_ntlm_host'].nil?
|
949
|
+
query_params[:'jcr:content/transportPassword'] = opts[:'jcrcontent_transport_password'] if !opts[:'jcrcontent_transport_password'].nil?
|
950
|
+
query_params[:'jcr:content/transportUri'] = opts[:'jcrcontent_transport_uri'] if !opts[:'jcrcontent_transport_uri'].nil?
|
951
|
+
query_params[:'jcr:content/transportUser'] = opts[:'jcrcontent_transport_user'] if !opts[:'jcrcontent_transport_user'].nil?
|
952
|
+
query_params[:'jcr:content/triggerDistribute'] = opts[:'jcrcontent_trigger_distribute'] if !opts[:'jcrcontent_trigger_distribute'].nil?
|
953
|
+
query_params[:'jcr:content/triggerModified'] = opts[:'jcrcontent_trigger_modified'] if !opts[:'jcrcontent_trigger_modified'].nil?
|
954
|
+
query_params[:'jcr:content/triggerOnOffTime'] = opts[:'jcrcontent_trigger_on_off_time'] if !opts[:'jcrcontent_trigger_on_off_time'].nil?
|
955
|
+
query_params[:'jcr:content/triggerReceive'] = opts[:'jcrcontent_trigger_receive'] if !opts[:'jcrcontent_trigger_receive'].nil?
|
956
|
+
query_params[:'jcr:content/triggerSpecific'] = opts[:'jcrcontent_trigger_specific'] if !opts[:'jcrcontent_trigger_specific'].nil?
|
957
|
+
query_params[:'jcr:content/userId'] = opts[:'jcrcontent_user_id'] if !opts[:'jcrcontent_user_id'].nil?
|
834
958
|
query_params[:'jcr:primaryType'] = opts[:'jcrprimary_type'] if !opts[:'jcrprimary_type'].nil?
|
835
959
|
query_params[:':operation'] = opts[:'operation'] if !opts[:'operation'].nil?
|
836
960
|
|
837
961
|
# header parameters
|
838
|
-
header_params = {}
|
962
|
+
header_params = opts[:header_params] || {}
|
839
963
|
|
840
964
|
# form parameters
|
841
|
-
form_params = {}
|
965
|
+
form_params = opts[:form_params] || {}
|
842
966
|
|
843
967
|
# http body (model)
|
844
|
-
post_body =
|
845
|
-
|
846
|
-
|
968
|
+
post_body = opts[:body]
|
969
|
+
|
970
|
+
# return_type
|
971
|
+
return_type = opts[:return_type]
|
972
|
+
|
973
|
+
# auth_names
|
974
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
975
|
+
|
976
|
+
new_options = opts.merge(
|
847
977
|
:header_params => header_params,
|
848
978
|
:query_params => query_params,
|
849
979
|
:form_params => form_params,
|
850
980
|
:body => post_body,
|
851
|
-
:auth_names => auth_names
|
981
|
+
:auth_names => auth_names,
|
982
|
+
:return_type => return_type
|
983
|
+
)
|
984
|
+
|
985
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
852
986
|
if @api_client.config.debugging
|
853
987
|
@api_client.config.logger.debug "API called: SlingApi#post_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
854
988
|
end
|
855
989
|
return data, status_code, headers
|
856
990
|
end
|
857
|
-
|
858
|
-
# @param
|
991
|
+
|
992
|
+
# @param intermediate_path [String]
|
993
|
+
# @param authorizable_id [String]
|
859
994
|
# @param [Hash] opts the optional parameters
|
860
995
|
# @option opts [String] :operation
|
861
996
|
# @option opts [String] :current_password
|
@@ -875,8 +1010,8 @@ module SwaggerAemClient
|
|
875
1010
|
data
|
876
1011
|
end
|
877
1012
|
|
878
|
-
# @param intermediate_path
|
879
|
-
# @param authorizable_id
|
1013
|
+
# @param intermediate_path [String]
|
1014
|
+
# @param authorizable_id [String]
|
880
1015
|
# @param [Hash] opts the optional parameters
|
881
1016
|
# @option opts [String] :operation
|
882
1017
|
# @option opts [String] :current_password
|
@@ -890,7 +1025,7 @@ module SwaggerAemClient
|
|
890
1025
|
# @option opts [File] :cert_chain
|
891
1026
|
# @option opts [File] :pk
|
892
1027
|
# @option opts [File] :key_store
|
893
|
-
# @return [Array<(KeystoreInfo,
|
1028
|
+
# @return [Array<(KeystoreInfo, Integer, Hash)>] KeystoreInfo data, response status code and response headers
|
894
1029
|
def post_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts = {})
|
895
1030
|
if @api_client.config.debugging
|
896
1031
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_authorizable_keystore ...'
|
@@ -904,10 +1039,10 @@ module SwaggerAemClient
|
|
904
1039
|
fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.post_authorizable_keystore"
|
905
1040
|
end
|
906
1041
|
# resource path
|
907
|
-
local_var_path = '/{intermediatePath}/{authorizableId}.ks.html'.sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
|
1042
|
+
local_var_path = '/{intermediatePath}/{authorizableId}.ks.html'.sub('{' + 'intermediatePath' + '}', CGI.escape(intermediate_path.to_s)).sub('{' + 'authorizableId' + '}', CGI.escape(authorizable_id.to_s))
|
908
1043
|
|
909
1044
|
# query parameters
|
910
|
-
query_params = {}
|
1045
|
+
query_params = opts[:query_params] || {}
|
911
1046
|
query_params[:':operation'] = opts[:'operation'] if !opts[:'operation'].nil?
|
912
1047
|
query_params[:'currentPassword'] = opts[:'current_password'] if !opts[:'current_password'].nil?
|
913
1048
|
query_params[:'newPassword'] = opts[:'new_password'] if !opts[:'new_password'].nil?
|
@@ -919,54 +1054,64 @@ module SwaggerAemClient
|
|
919
1054
|
query_params[:'removeAlias'] = opts[:'remove_alias'] if !opts[:'remove_alias'].nil?
|
920
1055
|
|
921
1056
|
# header parameters
|
922
|
-
header_params = {}
|
1057
|
+
header_params = opts[:header_params] || {}
|
923
1058
|
# HTTP header 'Accept' (if needed)
|
924
1059
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
925
1060
|
# HTTP header 'Content-Type'
|
926
1061
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
927
1062
|
|
928
1063
|
# form parameters
|
929
|
-
form_params = {}
|
1064
|
+
form_params = opts[:form_params] || {}
|
930
1065
|
form_params['cert-chain'] = opts[:'cert_chain'] if !opts[:'cert_chain'].nil?
|
931
1066
|
form_params['pk'] = opts[:'pk'] if !opts[:'pk'].nil?
|
932
1067
|
form_params['keyStore'] = opts[:'key_store'] if !opts[:'key_store'].nil?
|
933
1068
|
|
934
1069
|
# http body (model)
|
935
|
-
post_body =
|
936
|
-
|
937
|
-
|
1070
|
+
post_body = opts[:body]
|
1071
|
+
|
1072
|
+
# return_type
|
1073
|
+
return_type = opts[:return_type] || 'KeystoreInfo'
|
1074
|
+
|
1075
|
+
# auth_names
|
1076
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1077
|
+
|
1078
|
+
new_options = opts.merge(
|
938
1079
|
:header_params => header_params,
|
939
1080
|
:query_params => query_params,
|
940
1081
|
:form_params => form_params,
|
941
1082
|
:body => post_body,
|
942
1083
|
:auth_names => auth_names,
|
943
|
-
:return_type =>
|
1084
|
+
:return_type => return_type
|
1085
|
+
)
|
1086
|
+
|
1087
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
944
1088
|
if @api_client.config.debugging
|
945
1089
|
@api_client.config.logger.debug "API called: SlingApi#post_authorizable_keystore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
946
1090
|
end
|
947
1091
|
return data, status_code, headers
|
948
1092
|
end
|
949
|
-
|
950
|
-
# @param
|
1093
|
+
|
1094
|
+
# @param authorizable_id [String]
|
1095
|
+
# @param intermediate_path [String]
|
951
1096
|
# @param [Hash] opts the optional parameters
|
952
1097
|
# @option opts [String] :create_user
|
953
1098
|
# @option opts [String] :create_group
|
954
1099
|
# @option opts [String] :reppassword
|
955
|
-
# @option opts [String] :
|
1100
|
+
# @option opts [String] :profile_given_name
|
956
1101
|
# @return [String]
|
957
1102
|
def post_authorizables(authorizable_id, intermediate_path, opts = {})
|
958
1103
|
data, _status_code, _headers = post_authorizables_with_http_info(authorizable_id, intermediate_path, opts)
|
959
1104
|
data
|
960
1105
|
end
|
961
1106
|
|
962
|
-
# @param authorizable_id
|
963
|
-
# @param intermediate_path
|
1107
|
+
# @param authorizable_id [String]
|
1108
|
+
# @param intermediate_path [String]
|
964
1109
|
# @param [Hash] opts the optional parameters
|
965
1110
|
# @option opts [String] :create_user
|
966
1111
|
# @option opts [String] :create_group
|
967
1112
|
# @option opts [String] :reppassword
|
968
|
-
# @option opts [String] :
|
969
|
-
# @return [Array<(String,
|
1113
|
+
# @option opts [String] :profile_given_name
|
1114
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
970
1115
|
def post_authorizables_with_http_info(authorizable_id, intermediate_path, opts = {})
|
971
1116
|
if @api_client.config.debugging
|
972
1117
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_authorizables ...'
|
@@ -983,45 +1128,55 @@ module SwaggerAemClient
|
|
983
1128
|
local_var_path = '/libs/granite/security/post/authorizables'
|
984
1129
|
|
985
1130
|
# query parameters
|
986
|
-
query_params = {}
|
1131
|
+
query_params = opts[:query_params] || {}
|
987
1132
|
query_params[:'authorizableId'] = authorizable_id
|
988
1133
|
query_params[:'intermediatePath'] = intermediate_path
|
989
1134
|
query_params[:'createUser'] = opts[:'create_user'] if !opts[:'create_user'].nil?
|
990
1135
|
query_params[:'createGroup'] = opts[:'create_group'] if !opts[:'create_group'].nil?
|
991
1136
|
query_params[:'rep:password'] = opts[:'reppassword'] if !opts[:'reppassword'].nil?
|
992
|
-
query_params[:'profile/givenName'] = opts[:'
|
1137
|
+
query_params[:'profile/givenName'] = opts[:'profile_given_name'] if !opts[:'profile_given_name'].nil?
|
993
1138
|
|
994
1139
|
# header parameters
|
995
|
-
header_params = {}
|
1140
|
+
header_params = opts[:header_params] || {}
|
996
1141
|
# HTTP header 'Accept' (if needed)
|
997
1142
|
header_params['Accept'] = @api_client.select_header_accept(['text/html'])
|
998
1143
|
|
999
1144
|
# form parameters
|
1000
|
-
form_params = {}
|
1145
|
+
form_params = opts[:form_params] || {}
|
1001
1146
|
|
1002
1147
|
# http body (model)
|
1003
|
-
post_body =
|
1004
|
-
|
1005
|
-
|
1148
|
+
post_body = opts[:body]
|
1149
|
+
|
1150
|
+
# return_type
|
1151
|
+
return_type = opts[:return_type] || 'String'
|
1152
|
+
|
1153
|
+
# auth_names
|
1154
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1155
|
+
|
1156
|
+
new_options = opts.merge(
|
1006
1157
|
:header_params => header_params,
|
1007
1158
|
:query_params => query_params,
|
1008
1159
|
:form_params => form_params,
|
1009
1160
|
:body => post_body,
|
1010
1161
|
:auth_names => auth_names,
|
1011
|
-
:return_type =>
|
1162
|
+
:return_type => return_type
|
1163
|
+
)
|
1164
|
+
|
1165
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1012
1166
|
if @api_client.config.debugging
|
1013
1167
|
@api_client.config.logger.debug "API called: SlingApi#post_authorizables\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1014
1168
|
end
|
1015
1169
|
return data, status_code, headers
|
1016
1170
|
end
|
1171
|
+
|
1017
1172
|
# @param [Hash] opts the optional parameters
|
1018
1173
|
# @option opts [String] :key_store_password
|
1019
1174
|
# @option opts [String] :key_store_password_type_hint
|
1020
1175
|
# @option opts [Integer] :service_ranking
|
1021
1176
|
# @option opts [String] :service_ranking_type_hint
|
1022
|
-
# @option opts [
|
1177
|
+
# @option opts [Boolean] :idp_http_redirect
|
1023
1178
|
# @option opts [String] :idp_http_redirect_type_hint
|
1024
|
-
# @option opts [
|
1179
|
+
# @option opts [Boolean] :create_user
|
1025
1180
|
# @option opts [String] :create_user_type_hint
|
1026
1181
|
# @option opts [String] :default_redirect_url
|
1027
1182
|
# @option opts [String] :default_redirect_url_type_hint
|
@@ -1031,7 +1186,7 @@ module SwaggerAemClient
|
|
1031
1186
|
# @option opts [String] :default_groups_type_hint
|
1032
1187
|
# @option opts [String] :idp_cert_alias
|
1033
1188
|
# @option opts [String] :idp_cert_alias_type_hint
|
1034
|
-
# @option opts [
|
1189
|
+
# @option opts [Boolean] :add_group_memberships
|
1035
1190
|
# @option opts [String] :add_group_memberships_type_hint
|
1036
1191
|
# @option opts [Array<String>] :path
|
1037
1192
|
# @option opts [String] :path_type_hint
|
@@ -1049,11 +1204,11 @@ module SwaggerAemClient
|
|
1049
1204
|
# @option opts [String] :service_provider_entity_id_type_hint
|
1050
1205
|
# @option opts [String] :assertion_consumer_service_url
|
1051
1206
|
# @option opts [String] :assertion_consumer_service_url_type_hint
|
1052
|
-
# @option opts [
|
1207
|
+
# @option opts [Boolean] :handle_logout
|
1053
1208
|
# @option opts [String] :handle_logout_type_hint
|
1054
1209
|
# @option opts [String] :sp_private_key_alias
|
1055
1210
|
# @option opts [String] :sp_private_key_alias_type_hint
|
1056
|
-
# @option opts [
|
1211
|
+
# @option opts [Boolean] :use_encryption
|
1057
1212
|
# @option opts [String] :use_encryption_type_hint
|
1058
1213
|
# @option opts [String] :name_id_format
|
1059
1214
|
# @option opts [String] :name_id_format_type_hint
|
@@ -1074,9 +1229,9 @@ module SwaggerAemClient
|
|
1074
1229
|
# @option opts [String] :key_store_password_type_hint
|
1075
1230
|
# @option opts [Integer] :service_ranking
|
1076
1231
|
# @option opts [String] :service_ranking_type_hint
|
1077
|
-
# @option opts [
|
1232
|
+
# @option opts [Boolean] :idp_http_redirect
|
1078
1233
|
# @option opts [String] :idp_http_redirect_type_hint
|
1079
|
-
# @option opts [
|
1234
|
+
# @option opts [Boolean] :create_user
|
1080
1235
|
# @option opts [String] :create_user_type_hint
|
1081
1236
|
# @option opts [String] :default_redirect_url
|
1082
1237
|
# @option opts [String] :default_redirect_url_type_hint
|
@@ -1086,7 +1241,7 @@ module SwaggerAemClient
|
|
1086
1241
|
# @option opts [String] :default_groups_type_hint
|
1087
1242
|
# @option opts [String] :idp_cert_alias
|
1088
1243
|
# @option opts [String] :idp_cert_alias_type_hint
|
1089
|
-
# @option opts [
|
1244
|
+
# @option opts [Boolean] :add_group_memberships
|
1090
1245
|
# @option opts [String] :add_group_memberships_type_hint
|
1091
1246
|
# @option opts [Array<String>] :path
|
1092
1247
|
# @option opts [String] :path_type_hint
|
@@ -1104,11 +1259,11 @@ module SwaggerAemClient
|
|
1104
1259
|
# @option opts [String] :service_provider_entity_id_type_hint
|
1105
1260
|
# @option opts [String] :assertion_consumer_service_url
|
1106
1261
|
# @option opts [String] :assertion_consumer_service_url_type_hint
|
1107
|
-
# @option opts [
|
1262
|
+
# @option opts [Boolean] :handle_logout
|
1108
1263
|
# @option opts [String] :handle_logout_type_hint
|
1109
1264
|
# @option opts [String] :sp_private_key_alias
|
1110
1265
|
# @option opts [String] :sp_private_key_alias_type_hint
|
1111
|
-
# @option opts [
|
1266
|
+
# @option opts [Boolean] :use_encryption
|
1112
1267
|
# @option opts [String] :use_encryption_type_hint
|
1113
1268
|
# @option opts [String] :name_id_format
|
1114
1269
|
# @option opts [String] :name_id_format_type_hint
|
@@ -1118,7 +1273,7 @@ module SwaggerAemClient
|
|
1118
1273
|
# @option opts [String] :signature_method_type_hint
|
1119
1274
|
# @option opts [String] :user_intermediate_path
|
1120
1275
|
# @option opts [String] :user_intermediate_path_type_hint
|
1121
|
-
# @return [Array<(nil,
|
1276
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1122
1277
|
def post_config_adobe_granite_saml_authentication_handler_with_http_info(opts = {})
|
1123
1278
|
if @api_client.config.debugging
|
1124
1279
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_config_adobe_granite_saml_authentication_handler ...'
|
@@ -1127,7 +1282,7 @@ module SwaggerAemClient
|
|
1127
1282
|
local_var_path = '/apps/system/config/com.adobe.granite.auth.saml.SamlAuthenticationHandler.config'
|
1128
1283
|
|
1129
1284
|
# query parameters
|
1130
|
-
query_params = {}
|
1285
|
+
query_params = opts[:query_params] || {}
|
1131
1286
|
query_params[:'keyStorePassword'] = opts[:'key_store_password'] if !opts[:'key_store_password'].nil?
|
1132
1287
|
query_params[:'keyStorePassword@TypeHint'] = opts[:'key_store_password_type_hint'] if !opts[:'key_store_password_type_hint'].nil?
|
1133
1288
|
query_params[:'service.ranking'] = opts[:'service_ranking'] if !opts[:'service_ranking'].nil?
|
@@ -1178,27 +1333,38 @@ module SwaggerAemClient
|
|
1178
1333
|
query_params[:'userIntermediatePath@TypeHint'] = opts[:'user_intermediate_path_type_hint'] if !opts[:'user_intermediate_path_type_hint'].nil?
|
1179
1334
|
|
1180
1335
|
# header parameters
|
1181
|
-
header_params = {}
|
1336
|
+
header_params = opts[:header_params] || {}
|
1182
1337
|
|
1183
1338
|
# form parameters
|
1184
|
-
form_params = {}
|
1339
|
+
form_params = opts[:form_params] || {}
|
1185
1340
|
|
1186
1341
|
# http body (model)
|
1187
|
-
post_body =
|
1188
|
-
|
1189
|
-
|
1342
|
+
post_body = opts[:body]
|
1343
|
+
|
1344
|
+
# return_type
|
1345
|
+
return_type = opts[:return_type]
|
1346
|
+
|
1347
|
+
# auth_names
|
1348
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1349
|
+
|
1350
|
+
new_options = opts.merge(
|
1190
1351
|
:header_params => header_params,
|
1191
1352
|
:query_params => query_params,
|
1192
1353
|
:form_params => form_params,
|
1193
1354
|
:body => post_body,
|
1194
|
-
:auth_names => auth_names
|
1355
|
+
:auth_names => auth_names,
|
1356
|
+
:return_type => return_type
|
1357
|
+
)
|
1358
|
+
|
1359
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1195
1360
|
if @api_client.config.debugging
|
1196
1361
|
@api_client.config.logger.debug "API called: SlingApi#post_config_adobe_granite_saml_authentication_handler\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1197
1362
|
end
|
1198
1363
|
return data, status_code, headers
|
1199
1364
|
end
|
1365
|
+
|
1200
1366
|
# @param [Hash] opts the optional parameters
|
1201
|
-
# @option opts [
|
1367
|
+
# @option opts [Boolean] :org_apache_felix_https_nio
|
1202
1368
|
# @option opts [String] :org_apache_felix_https_nio_type_hint
|
1203
1369
|
# @option opts [String] :org_apache_felix_https_keystore
|
1204
1370
|
# @option opts [String] :org_apache_felix_https_keystore_type_hint
|
@@ -1214,7 +1380,7 @@ module SwaggerAemClient
|
|
1214
1380
|
# @option opts [String] :org_apache_felix_https_truststore_password_type_hint
|
1215
1381
|
# @option opts [String] :org_apache_felix_https_clientcertificate
|
1216
1382
|
# @option opts [String] :org_apache_felix_https_clientcertificate_type_hint
|
1217
|
-
# @option opts [
|
1383
|
+
# @option opts [Boolean] :org_apache_felix_https_enable
|
1218
1384
|
# @option opts [String] :org_apache_felix_https_enable_type_hint
|
1219
1385
|
# @option opts [String] :org_osgi_service_http_port_secure
|
1220
1386
|
# @option opts [String] :org_osgi_service_http_port_secure_type_hint
|
@@ -1225,7 +1391,7 @@ module SwaggerAemClient
|
|
1225
1391
|
end
|
1226
1392
|
|
1227
1393
|
# @param [Hash] opts the optional parameters
|
1228
|
-
# @option opts [
|
1394
|
+
# @option opts [Boolean] :org_apache_felix_https_nio
|
1229
1395
|
# @option opts [String] :org_apache_felix_https_nio_type_hint
|
1230
1396
|
# @option opts [String] :org_apache_felix_https_keystore
|
1231
1397
|
# @option opts [String] :org_apache_felix_https_keystore_type_hint
|
@@ -1241,11 +1407,11 @@ module SwaggerAemClient
|
|
1241
1407
|
# @option opts [String] :org_apache_felix_https_truststore_password_type_hint
|
1242
1408
|
# @option opts [String] :org_apache_felix_https_clientcertificate
|
1243
1409
|
# @option opts [String] :org_apache_felix_https_clientcertificate_type_hint
|
1244
|
-
# @option opts [
|
1410
|
+
# @option opts [Boolean] :org_apache_felix_https_enable
|
1245
1411
|
# @option opts [String] :org_apache_felix_https_enable_type_hint
|
1246
1412
|
# @option opts [String] :org_osgi_service_http_port_secure
|
1247
1413
|
# @option opts [String] :org_osgi_service_http_port_secure_type_hint
|
1248
|
-
# @return [Array<(nil,
|
1414
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1249
1415
|
def post_config_apache_felix_jetty_based_http_service_with_http_info(opts = {})
|
1250
1416
|
if @api_client.config.debugging
|
1251
1417
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_felix_jetty_based_http_service ...'
|
@@ -1254,7 +1420,7 @@ module SwaggerAemClient
|
|
1254
1420
|
local_var_path = '/apps/system/config/org.apache.felix.http'
|
1255
1421
|
|
1256
1422
|
# query parameters
|
1257
|
-
query_params = {}
|
1423
|
+
query_params = opts[:query_params] || {}
|
1258
1424
|
query_params[:'org.apache.felix.https.nio'] = opts[:'org_apache_felix_https_nio'] if !opts[:'org_apache_felix_https_nio'].nil?
|
1259
1425
|
query_params[:'org.apache.felix.https.nio@TypeHint'] = opts[:'org_apache_felix_https_nio_type_hint'] if !opts[:'org_apache_felix_https_nio_type_hint'].nil?
|
1260
1426
|
query_params[:'org.apache.felix.https.keystore'] = opts[:'org_apache_felix_https_keystore'] if !opts[:'org_apache_felix_https_keystore'].nil?
|
@@ -1277,25 +1443,36 @@ module SwaggerAemClient
|
|
1277
1443
|
query_params[:'org.osgi.service.http.port.secure@TypeHint'] = opts[:'org_osgi_service_http_port_secure_type_hint'] if !opts[:'org_osgi_service_http_port_secure_type_hint'].nil?
|
1278
1444
|
|
1279
1445
|
# header parameters
|
1280
|
-
header_params = {}
|
1446
|
+
header_params = opts[:header_params] || {}
|
1281
1447
|
|
1282
1448
|
# form parameters
|
1283
|
-
form_params = {}
|
1449
|
+
form_params = opts[:form_params] || {}
|
1284
1450
|
|
1285
1451
|
# http body (model)
|
1286
|
-
post_body =
|
1287
|
-
|
1288
|
-
|
1452
|
+
post_body = opts[:body]
|
1453
|
+
|
1454
|
+
# return_type
|
1455
|
+
return_type = opts[:return_type]
|
1456
|
+
|
1457
|
+
# auth_names
|
1458
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1459
|
+
|
1460
|
+
new_options = opts.merge(
|
1289
1461
|
:header_params => header_params,
|
1290
1462
|
:query_params => query_params,
|
1291
1463
|
:form_params => form_params,
|
1292
1464
|
:body => post_body,
|
1293
|
-
:auth_names => auth_names
|
1465
|
+
:auth_names => auth_names,
|
1466
|
+
:return_type => return_type
|
1467
|
+
)
|
1468
|
+
|
1469
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1294
1470
|
if @api_client.config.debugging
|
1295
1471
|
@api_client.config.logger.debug "API called: SlingApi#post_config_apache_felix_jetty_based_http_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1296
1472
|
end
|
1297
1473
|
return data, status_code, headers
|
1298
1474
|
end
|
1475
|
+
|
1299
1476
|
# @param [Hash] opts the optional parameters
|
1300
1477
|
# @option opts [String] :proxy_host
|
1301
1478
|
# @option opts [String] :proxy_host_type_hint
|
@@ -1303,7 +1480,7 @@ module SwaggerAemClient
|
|
1303
1480
|
# @option opts [String] :proxy_port_type_hint
|
1304
1481
|
# @option opts [Array<String>] :proxy_exceptions
|
1305
1482
|
# @option opts [String] :proxy_exceptions_type_hint
|
1306
|
-
# @option opts [
|
1483
|
+
# @option opts [Boolean] :proxy_enabled
|
1307
1484
|
# @option opts [String] :proxy_enabled_type_hint
|
1308
1485
|
# @option opts [String] :proxy_user
|
1309
1486
|
# @option opts [String] :proxy_user_type_hint
|
@@ -1322,13 +1499,13 @@ module SwaggerAemClient
|
|
1322
1499
|
# @option opts [String] :proxy_port_type_hint
|
1323
1500
|
# @option opts [Array<String>] :proxy_exceptions
|
1324
1501
|
# @option opts [String] :proxy_exceptions_type_hint
|
1325
|
-
# @option opts [
|
1502
|
+
# @option opts [Boolean] :proxy_enabled
|
1326
1503
|
# @option opts [String] :proxy_enabled_type_hint
|
1327
1504
|
# @option opts [String] :proxy_user
|
1328
1505
|
# @option opts [String] :proxy_user_type_hint
|
1329
1506
|
# @option opts [String] :proxy_password
|
1330
1507
|
# @option opts [String] :proxy_password_type_hint
|
1331
|
-
# @return [Array<(nil,
|
1508
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1332
1509
|
def post_config_apache_http_components_proxy_configuration_with_http_info(opts = {})
|
1333
1510
|
if @api_client.config.debugging
|
1334
1511
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_http_components_proxy_configuration ...'
|
@@ -1337,7 +1514,7 @@ module SwaggerAemClient
|
|
1337
1514
|
local_var_path = '/apps/system/config/org.apache.http.proxyconfigurator.config'
|
1338
1515
|
|
1339
1516
|
# query parameters
|
1340
|
-
query_params = {}
|
1517
|
+
query_params = opts[:query_params] || {}
|
1341
1518
|
query_params[:'proxy.host'] = opts[:'proxy_host'] if !opts[:'proxy_host'].nil?
|
1342
1519
|
query_params[:'proxy.host@TypeHint'] = opts[:'proxy_host_type_hint'] if !opts[:'proxy_host_type_hint'].nil?
|
1343
1520
|
query_params[:'proxy.port'] = opts[:'proxy_port'] if !opts[:'proxy_port'].nil?
|
@@ -1352,29 +1529,40 @@ module SwaggerAemClient
|
|
1352
1529
|
query_params[:'proxy.password@TypeHint'] = opts[:'proxy_password_type_hint'] if !opts[:'proxy_password_type_hint'].nil?
|
1353
1530
|
|
1354
1531
|
# header parameters
|
1355
|
-
header_params = {}
|
1532
|
+
header_params = opts[:header_params] || {}
|
1356
1533
|
|
1357
1534
|
# form parameters
|
1358
|
-
form_params = {}
|
1535
|
+
form_params = opts[:form_params] || {}
|
1359
1536
|
|
1360
1537
|
# http body (model)
|
1361
|
-
post_body =
|
1362
|
-
|
1363
|
-
|
1538
|
+
post_body = opts[:body]
|
1539
|
+
|
1540
|
+
# return_type
|
1541
|
+
return_type = opts[:return_type]
|
1542
|
+
|
1543
|
+
# auth_names
|
1544
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1545
|
+
|
1546
|
+
new_options = opts.merge(
|
1364
1547
|
:header_params => header_params,
|
1365
1548
|
:query_params => query_params,
|
1366
1549
|
:form_params => form_params,
|
1367
1550
|
:body => post_body,
|
1368
|
-
:auth_names => auth_names
|
1551
|
+
:auth_names => auth_names,
|
1552
|
+
:return_type => return_type
|
1553
|
+
)
|
1554
|
+
|
1555
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1369
1556
|
if @api_client.config.debugging
|
1370
1557
|
@api_client.config.logger.debug "API called: SlingApi#post_config_apache_http_components_proxy_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1371
1558
|
end
|
1372
1559
|
return data, status_code, headers
|
1373
1560
|
end
|
1561
|
+
|
1374
1562
|
# @param [Hash] opts the optional parameters
|
1375
1563
|
# @option opts [String] :_alias
|
1376
1564
|
# @option opts [String] :alias_type_hint
|
1377
|
-
# @option opts [
|
1565
|
+
# @option opts [Boolean] :dav_create_absolute_uri
|
1378
1566
|
# @option opts [String] :dav_create_absolute_uri_type_hint
|
1379
1567
|
# @return [nil]
|
1380
1568
|
def post_config_apache_sling_dav_ex_servlet(opts = {})
|
@@ -1385,9 +1573,9 @@ module SwaggerAemClient
|
|
1385
1573
|
# @param [Hash] opts the optional parameters
|
1386
1574
|
# @option opts [String] :_alias
|
1387
1575
|
# @option opts [String] :alias_type_hint
|
1388
|
-
# @option opts [
|
1576
|
+
# @option opts [Boolean] :dav_create_absolute_uri
|
1389
1577
|
# @option opts [String] :dav_create_absolute_uri_type_hint
|
1390
|
-
# @return [Array<(nil,
|
1578
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1391
1579
|
def post_config_apache_sling_dav_ex_servlet_with_http_info(opts = {})
|
1392
1580
|
if @api_client.config.debugging
|
1393
1581
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_sling_dav_ex_servlet ...'
|
@@ -1396,40 +1584,51 @@ module SwaggerAemClient
|
|
1396
1584
|
local_var_path = '/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet'
|
1397
1585
|
|
1398
1586
|
# query parameters
|
1399
|
-
query_params = {}
|
1587
|
+
query_params = opts[:query_params] || {}
|
1400
1588
|
query_params[:'alias'] = opts[:'_alias'] if !opts[:'_alias'].nil?
|
1401
1589
|
query_params[:'alias@TypeHint'] = opts[:'alias_type_hint'] if !opts[:'alias_type_hint'].nil?
|
1402
1590
|
query_params[:'dav.create-absolute-uri'] = opts[:'dav_create_absolute_uri'] if !opts[:'dav_create_absolute_uri'].nil?
|
1403
1591
|
query_params[:'dav.create-absolute-uri@TypeHint'] = opts[:'dav_create_absolute_uri_type_hint'] if !opts[:'dav_create_absolute_uri_type_hint'].nil?
|
1404
1592
|
|
1405
1593
|
# header parameters
|
1406
|
-
header_params = {}
|
1594
|
+
header_params = opts[:header_params] || {}
|
1407
1595
|
|
1408
1596
|
# form parameters
|
1409
|
-
form_params = {}
|
1597
|
+
form_params = opts[:form_params] || {}
|
1410
1598
|
|
1411
1599
|
# http body (model)
|
1412
|
-
post_body =
|
1413
|
-
|
1414
|
-
|
1600
|
+
post_body = opts[:body]
|
1601
|
+
|
1602
|
+
# return_type
|
1603
|
+
return_type = opts[:return_type]
|
1604
|
+
|
1605
|
+
# auth_names
|
1606
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1607
|
+
|
1608
|
+
new_options = opts.merge(
|
1415
1609
|
:header_params => header_params,
|
1416
1610
|
:query_params => query_params,
|
1417
1611
|
:form_params => form_params,
|
1418
1612
|
:body => post_body,
|
1419
|
-
:auth_names => auth_names
|
1613
|
+
:auth_names => auth_names,
|
1614
|
+
:return_type => return_type
|
1615
|
+
)
|
1616
|
+
|
1617
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1420
1618
|
if @api_client.config.debugging
|
1421
1619
|
@api_client.config.logger.debug "API called: SlingApi#post_config_apache_sling_dav_ex_servlet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1422
1620
|
end
|
1423
1621
|
return data, status_code, headers
|
1424
1622
|
end
|
1623
|
+
|
1425
1624
|
# @param [Hash] opts the optional parameters
|
1426
1625
|
# @option opts [String] :json_maximumresults
|
1427
1626
|
# @option opts [String] :json_maximumresults_type_hint
|
1428
|
-
# @option opts [
|
1627
|
+
# @option opts [Boolean] :enable_html
|
1429
1628
|
# @option opts [String] :enable_html_type_hint
|
1430
|
-
# @option opts [
|
1629
|
+
# @option opts [Boolean] :enable_txt
|
1431
1630
|
# @option opts [String] :enable_txt_type_hint
|
1432
|
-
# @option opts [
|
1631
|
+
# @option opts [Boolean] :enable_xml
|
1433
1632
|
# @option opts [String] :enable_xml_type_hint
|
1434
1633
|
# @return [nil]
|
1435
1634
|
def post_config_apache_sling_get_servlet(opts = {})
|
@@ -1440,13 +1639,13 @@ module SwaggerAemClient
|
|
1440
1639
|
# @param [Hash] opts the optional parameters
|
1441
1640
|
# @option opts [String] :json_maximumresults
|
1442
1641
|
# @option opts [String] :json_maximumresults_type_hint
|
1443
|
-
# @option opts [
|
1642
|
+
# @option opts [Boolean] :enable_html
|
1444
1643
|
# @option opts [String] :enable_html_type_hint
|
1445
|
-
# @option opts [
|
1644
|
+
# @option opts [Boolean] :enable_txt
|
1446
1645
|
# @option opts [String] :enable_txt_type_hint
|
1447
|
-
# @option opts [
|
1646
|
+
# @option opts [Boolean] :enable_xml
|
1448
1647
|
# @option opts [String] :enable_xml_type_hint
|
1449
|
-
# @return [Array<(nil,
|
1648
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1450
1649
|
def post_config_apache_sling_get_servlet_with_http_info(opts = {})
|
1451
1650
|
if @api_client.config.debugging
|
1452
1651
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_sling_get_servlet ...'
|
@@ -1455,7 +1654,7 @@ module SwaggerAemClient
|
|
1455
1654
|
local_var_path = '/apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet'
|
1456
1655
|
|
1457
1656
|
# query parameters
|
1458
|
-
query_params = {}
|
1657
|
+
query_params = opts[:query_params] || {}
|
1459
1658
|
query_params[:'json.maximumresults'] = opts[:'json_maximumresults'] if !opts[:'json_maximumresults'].nil?
|
1460
1659
|
query_params[:'json.maximumresults@TypeHint'] = opts[:'json_maximumresults_type_hint'] if !opts[:'json_maximumresults_type_hint'].nil?
|
1461
1660
|
query_params[:'enable.html'] = opts[:'enable_html'] if !opts[:'enable_html'].nil?
|
@@ -1466,27 +1665,38 @@ module SwaggerAemClient
|
|
1466
1665
|
query_params[:'enable.xml@TypeHint'] = opts[:'enable_xml_type_hint'] if !opts[:'enable_xml_type_hint'].nil?
|
1467
1666
|
|
1468
1667
|
# header parameters
|
1469
|
-
header_params = {}
|
1668
|
+
header_params = opts[:header_params] || {}
|
1470
1669
|
|
1471
1670
|
# form parameters
|
1472
|
-
form_params = {}
|
1671
|
+
form_params = opts[:form_params] || {}
|
1473
1672
|
|
1474
1673
|
# http body (model)
|
1475
|
-
post_body =
|
1476
|
-
|
1477
|
-
|
1674
|
+
post_body = opts[:body]
|
1675
|
+
|
1676
|
+
# return_type
|
1677
|
+
return_type = opts[:return_type]
|
1678
|
+
|
1679
|
+
# auth_names
|
1680
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1681
|
+
|
1682
|
+
new_options = opts.merge(
|
1478
1683
|
:header_params => header_params,
|
1479
1684
|
:query_params => query_params,
|
1480
1685
|
:form_params => form_params,
|
1481
1686
|
:body => post_body,
|
1482
|
-
:auth_names => auth_names
|
1687
|
+
:auth_names => auth_names,
|
1688
|
+
:return_type => return_type
|
1689
|
+
)
|
1690
|
+
|
1691
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1483
1692
|
if @api_client.config.debugging
|
1484
1693
|
@api_client.config.logger.debug "API called: SlingApi#post_config_apache_sling_get_servlet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1485
1694
|
end
|
1486
1695
|
return data, status_code, headers
|
1487
1696
|
end
|
1697
|
+
|
1488
1698
|
# @param [Hash] opts the optional parameters
|
1489
|
-
# @option opts [
|
1699
|
+
# @option opts [Boolean] :allow_empty
|
1490
1700
|
# @option opts [String] :allow_empty_type_hint
|
1491
1701
|
# @option opts [String] :allow_hosts
|
1492
1702
|
# @option opts [String] :allow_hosts_type_hint
|
@@ -1501,7 +1711,7 @@ module SwaggerAemClient
|
|
1501
1711
|
end
|
1502
1712
|
|
1503
1713
|
# @param [Hash] opts the optional parameters
|
1504
|
-
# @option opts [
|
1714
|
+
# @option opts [Boolean] :allow_empty
|
1505
1715
|
# @option opts [String] :allow_empty_type_hint
|
1506
1716
|
# @option opts [String] :allow_hosts
|
1507
1717
|
# @option opts [String] :allow_hosts_type_hint
|
@@ -1509,7 +1719,7 @@ module SwaggerAemClient
|
|
1509
1719
|
# @option opts [String] :allow_hosts_regexp_type_hint
|
1510
1720
|
# @option opts [String] :filter_methods
|
1511
1721
|
# @option opts [String] :filter_methods_type_hint
|
1512
|
-
# @return [Array<(nil,
|
1722
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1513
1723
|
def post_config_apache_sling_referrer_filter_with_http_info(opts = {})
|
1514
1724
|
if @api_client.config.debugging
|
1515
1725
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_sling_referrer_filter ...'
|
@@ -1518,7 +1728,7 @@ module SwaggerAemClient
|
|
1518
1728
|
local_var_path = '/apps/system/config/org.apache.sling.security.impl.ReferrerFilter'
|
1519
1729
|
|
1520
1730
|
# query parameters
|
1521
|
-
query_params = {}
|
1731
|
+
query_params = opts[:query_params] || {}
|
1522
1732
|
query_params[:'allow.empty'] = opts[:'allow_empty'] if !opts[:'allow_empty'].nil?
|
1523
1733
|
query_params[:'allow.empty@TypeHint'] = opts[:'allow_empty_type_hint'] if !opts[:'allow_empty_type_hint'].nil?
|
1524
1734
|
query_params[:'allow.hosts'] = opts[:'allow_hosts'] if !opts[:'allow_hosts'].nil?
|
@@ -1529,27 +1739,94 @@ module SwaggerAemClient
|
|
1529
1739
|
query_params[:'filter.methods@TypeHint'] = opts[:'filter_methods_type_hint'] if !opts[:'filter_methods_type_hint'].nil?
|
1530
1740
|
|
1531
1741
|
# header parameters
|
1532
|
-
header_params = {}
|
1742
|
+
header_params = opts[:header_params] || {}
|
1533
1743
|
|
1534
1744
|
# form parameters
|
1535
|
-
form_params = {}
|
1745
|
+
form_params = opts[:form_params] || {}
|
1536
1746
|
|
1537
1747
|
# http body (model)
|
1538
|
-
post_body =
|
1539
|
-
|
1540
|
-
|
1748
|
+
post_body = opts[:body]
|
1749
|
+
|
1750
|
+
# return_type
|
1751
|
+
return_type = opts[:return_type]
|
1752
|
+
|
1753
|
+
# auth_names
|
1754
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1755
|
+
|
1756
|
+
new_options = opts.merge(
|
1541
1757
|
:header_params => header_params,
|
1542
1758
|
:query_params => query_params,
|
1543
1759
|
:form_params => form_params,
|
1544
1760
|
:body => post_body,
|
1545
|
-
:auth_names => auth_names
|
1761
|
+
:auth_names => auth_names,
|
1762
|
+
:return_type => return_type
|
1763
|
+
)
|
1764
|
+
|
1765
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1546
1766
|
if @api_client.config.debugging
|
1547
1767
|
@api_client.config.logger.debug "API called: SlingApi#post_config_apache_sling_referrer_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1548
1768
|
end
|
1549
1769
|
return data, status_code, headers
|
1550
1770
|
end
|
1551
|
-
|
1552
|
-
# @param
|
1771
|
+
|
1772
|
+
# @param config_node_name [String]
|
1773
|
+
# @param [Hash] opts the optional parameters
|
1774
|
+
# @return [nil]
|
1775
|
+
def post_config_property(config_node_name, opts = {})
|
1776
|
+
post_config_property_with_http_info(config_node_name, opts)
|
1777
|
+
nil
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
# @param config_node_name [String]
|
1781
|
+
# @param [Hash] opts the optional parameters
|
1782
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1783
|
+
def post_config_property_with_http_info(config_node_name, opts = {})
|
1784
|
+
if @api_client.config.debugging
|
1785
|
+
@api_client.config.logger.debug 'Calling API: SlingApi.post_config_property ...'
|
1786
|
+
end
|
1787
|
+
# verify the required parameter 'config_node_name' is set
|
1788
|
+
if @api_client.config.client_side_validation && config_node_name.nil?
|
1789
|
+
fail ArgumentError, "Missing the required parameter 'config_node_name' when calling SlingApi.post_config_property"
|
1790
|
+
end
|
1791
|
+
# resource path
|
1792
|
+
local_var_path = '/apps/system/config/{configNodeName}'.sub('{' + 'configNodeName' + '}', CGI.escape(config_node_name.to_s))
|
1793
|
+
|
1794
|
+
# query parameters
|
1795
|
+
query_params = opts[:query_params] || {}
|
1796
|
+
|
1797
|
+
# header parameters
|
1798
|
+
header_params = opts[:header_params] || {}
|
1799
|
+
|
1800
|
+
# form parameters
|
1801
|
+
form_params = opts[:form_params] || {}
|
1802
|
+
|
1803
|
+
# http body (model)
|
1804
|
+
post_body = opts[:body]
|
1805
|
+
|
1806
|
+
# return_type
|
1807
|
+
return_type = opts[:return_type]
|
1808
|
+
|
1809
|
+
# auth_names
|
1810
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1811
|
+
|
1812
|
+
new_options = opts.merge(
|
1813
|
+
:header_params => header_params,
|
1814
|
+
:query_params => query_params,
|
1815
|
+
:form_params => form_params,
|
1816
|
+
:body => post_body,
|
1817
|
+
:auth_names => auth_names,
|
1818
|
+
:return_type => return_type
|
1819
|
+
)
|
1820
|
+
|
1821
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1822
|
+
if @api_client.config.debugging
|
1823
|
+
@api_client.config.logger.debug "API called: SlingApi#post_config_property\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1824
|
+
end
|
1825
|
+
return data, status_code, headers
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
# @param path [String]
|
1829
|
+
# @param name [String]
|
1553
1830
|
# @param [Hash] opts the optional parameters
|
1554
1831
|
# @option opts [String] :operation
|
1555
1832
|
# @option opts [String] :delete_authorizable
|
@@ -1560,13 +1837,13 @@ module SwaggerAemClient
|
|
1560
1837
|
nil
|
1561
1838
|
end
|
1562
1839
|
|
1563
|
-
# @param path
|
1564
|
-
# @param name
|
1840
|
+
# @param path [String]
|
1841
|
+
# @param name [String]
|
1565
1842
|
# @param [Hash] opts the optional parameters
|
1566
1843
|
# @option opts [String] :operation
|
1567
1844
|
# @option opts [String] :delete_authorizable
|
1568
1845
|
# @option opts [File] :file
|
1569
|
-
# @return [Array<(nil,
|
1846
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1570
1847
|
def post_node_with_http_info(path, name, opts = {})
|
1571
1848
|
if @api_client.config.debugging
|
1572
1849
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_node ...'
|
@@ -1580,38 +1857,49 @@ module SwaggerAemClient
|
|
1580
1857
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node"
|
1581
1858
|
end
|
1582
1859
|
# resource path
|
1583
|
-
local_var_path = '/{path}/{name}'.sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
|
1860
|
+
local_var_path = '/{path}/{name}'.sub('{' + 'path' + '}', CGI.escape(path.to_s)).sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
1584
1861
|
|
1585
1862
|
# query parameters
|
1586
|
-
query_params = {}
|
1863
|
+
query_params = opts[:query_params] || {}
|
1587
1864
|
query_params[:':operation'] = opts[:'operation'] if !opts[:'operation'].nil?
|
1588
1865
|
query_params[:'deleteAuthorizable'] = opts[:'delete_authorizable'] if !opts[:'delete_authorizable'].nil?
|
1589
1866
|
|
1590
1867
|
# header parameters
|
1591
|
-
header_params = {}
|
1868
|
+
header_params = opts[:header_params] || {}
|
1592
1869
|
# HTTP header 'Content-Type'
|
1593
1870
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1594
1871
|
|
1595
1872
|
# form parameters
|
1596
|
-
form_params = {}
|
1873
|
+
form_params = opts[:form_params] || {}
|
1597
1874
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
1598
1875
|
|
1599
1876
|
# http body (model)
|
1600
|
-
post_body =
|
1601
|
-
|
1602
|
-
|
1877
|
+
post_body = opts[:body]
|
1878
|
+
|
1879
|
+
# return_type
|
1880
|
+
return_type = opts[:return_type]
|
1881
|
+
|
1882
|
+
# auth_names
|
1883
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1884
|
+
|
1885
|
+
new_options = opts.merge(
|
1603
1886
|
:header_params => header_params,
|
1604
1887
|
:query_params => query_params,
|
1605
1888
|
:form_params => form_params,
|
1606
1889
|
:body => post_body,
|
1607
|
-
:auth_names => auth_names
|
1890
|
+
:auth_names => auth_names,
|
1891
|
+
:return_type => return_type
|
1892
|
+
)
|
1893
|
+
|
1894
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1608
1895
|
if @api_client.config.debugging
|
1609
1896
|
@api_client.config.logger.debug "API called: SlingApi#post_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1610
1897
|
end
|
1611
1898
|
return data, status_code, headers
|
1612
1899
|
end
|
1613
|
-
|
1614
|
-
# @param
|
1900
|
+
|
1901
|
+
# @param path [String]
|
1902
|
+
# @param name [String]
|
1615
1903
|
# @param [Hash] opts the optional parameters
|
1616
1904
|
# @option opts [String] :add_members
|
1617
1905
|
# @return [nil]
|
@@ -1620,11 +1908,11 @@ module SwaggerAemClient
|
|
1620
1908
|
nil
|
1621
1909
|
end
|
1622
1910
|
|
1623
|
-
# @param path
|
1624
|
-
# @param name
|
1911
|
+
# @param path [String]
|
1912
|
+
# @param name [String]
|
1625
1913
|
# @param [Hash] opts the optional parameters
|
1626
1914
|
# @option opts [String] :add_members
|
1627
|
-
# @return [Array<(nil,
|
1915
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1628
1916
|
def post_node_rw_with_http_info(path, name, opts = {})
|
1629
1917
|
if @api_client.config.debugging
|
1630
1918
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_node_rw ...'
|
@@ -1638,35 +1926,46 @@ module SwaggerAemClient
|
|
1638
1926
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node_rw"
|
1639
1927
|
end
|
1640
1928
|
# resource path
|
1641
|
-
local_var_path = '/{path}/{name}.rw.html'.sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
|
1929
|
+
local_var_path = '/{path}/{name}.rw.html'.sub('{' + 'path' + '}', CGI.escape(path.to_s)).sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
1642
1930
|
|
1643
1931
|
# query parameters
|
1644
|
-
query_params = {}
|
1932
|
+
query_params = opts[:query_params] || {}
|
1645
1933
|
query_params[:'addMembers'] = opts[:'add_members'] if !opts[:'add_members'].nil?
|
1646
1934
|
|
1647
1935
|
# header parameters
|
1648
|
-
header_params = {}
|
1936
|
+
header_params = opts[:header_params] || {}
|
1649
1937
|
|
1650
1938
|
# form parameters
|
1651
|
-
form_params = {}
|
1939
|
+
form_params = opts[:form_params] || {}
|
1652
1940
|
|
1653
1941
|
# http body (model)
|
1654
|
-
post_body =
|
1655
|
-
|
1656
|
-
|
1942
|
+
post_body = opts[:body]
|
1943
|
+
|
1944
|
+
# return_type
|
1945
|
+
return_type = opts[:return_type]
|
1946
|
+
|
1947
|
+
# auth_names
|
1948
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
1949
|
+
|
1950
|
+
new_options = opts.merge(
|
1657
1951
|
:header_params => header_params,
|
1658
1952
|
:query_params => query_params,
|
1659
1953
|
:form_params => form_params,
|
1660
1954
|
:body => post_body,
|
1661
|
-
:auth_names => auth_names
|
1955
|
+
:auth_names => auth_names,
|
1956
|
+
:return_type => return_type
|
1957
|
+
)
|
1958
|
+
|
1959
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1662
1960
|
if @api_client.config.debugging
|
1663
1961
|
@api_client.config.logger.debug "API called: SlingApi#post_node_rw\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1664
1962
|
end
|
1665
1963
|
return data, status_code, headers
|
1666
1964
|
end
|
1667
|
-
|
1668
|
-
# @param
|
1669
|
-
# @param
|
1965
|
+
|
1966
|
+
# @param path [String]
|
1967
|
+
# @param jcrprimary_type [String]
|
1968
|
+
# @param name [String]
|
1670
1969
|
# @param [Hash] opts the optional parameters
|
1671
1970
|
# @return [nil]
|
1672
1971
|
def post_path(path, jcrprimary_type, name, opts = {})
|
@@ -1674,11 +1973,11 @@ module SwaggerAemClient
|
|
1674
1973
|
nil
|
1675
1974
|
end
|
1676
1975
|
|
1677
|
-
# @param path
|
1678
|
-
# @param jcrprimary_type
|
1679
|
-
# @param name
|
1976
|
+
# @param path [String]
|
1977
|
+
# @param jcrprimary_type [String]
|
1978
|
+
# @param name [String]
|
1680
1979
|
# @param [Hash] opts the optional parameters
|
1681
|
-
# @return [Array<(nil,
|
1980
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1682
1981
|
def post_path_with_http_info(path, jcrprimary_type, name, opts = {})
|
1683
1982
|
if @api_client.config.debugging
|
1684
1983
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_path ...'
|
@@ -1696,37 +1995,48 @@ module SwaggerAemClient
|
|
1696
1995
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_path"
|
1697
1996
|
end
|
1698
1997
|
# resource path
|
1699
|
-
local_var_path = '/{path}/'.sub('{' + 'path' + '}', path.to_s)
|
1998
|
+
local_var_path = '/{path}/'.sub('{' + 'path' + '}', CGI.escape(path.to_s))
|
1700
1999
|
|
1701
2000
|
# query parameters
|
1702
|
-
query_params = {}
|
2001
|
+
query_params = opts[:query_params] || {}
|
1703
2002
|
query_params[:'jcr:primaryType'] = jcrprimary_type
|
1704
2003
|
query_params[:':name'] = name
|
1705
2004
|
|
1706
2005
|
# header parameters
|
1707
|
-
header_params = {}
|
2006
|
+
header_params = opts[:header_params] || {}
|
1708
2007
|
|
1709
2008
|
# form parameters
|
1710
|
-
form_params = {}
|
2009
|
+
form_params = opts[:form_params] || {}
|
1711
2010
|
|
1712
2011
|
# http body (model)
|
1713
|
-
post_body =
|
1714
|
-
|
1715
|
-
|
2012
|
+
post_body = opts[:body]
|
2013
|
+
|
2014
|
+
# return_type
|
2015
|
+
return_type = opts[:return_type]
|
2016
|
+
|
2017
|
+
# auth_names
|
2018
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
2019
|
+
|
2020
|
+
new_options = opts.merge(
|
1716
2021
|
:header_params => header_params,
|
1717
2022
|
:query_params => query_params,
|
1718
2023
|
:form_params => form_params,
|
1719
2024
|
:body => post_body,
|
1720
|
-
:auth_names => auth_names
|
2025
|
+
:auth_names => auth_names,
|
2026
|
+
:return_type => return_type
|
2027
|
+
)
|
2028
|
+
|
2029
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1721
2030
|
if @api_client.config.debugging
|
1722
2031
|
@api_client.config.logger.debug "API called: SlingApi#post_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1723
2032
|
end
|
1724
2033
|
return data, status_code, headers
|
1725
2034
|
end
|
1726
|
-
|
1727
|
-
# @param
|
1728
|
-
# @param
|
1729
|
-
# @param
|
2035
|
+
|
2036
|
+
# @param path [String]
|
2037
|
+
# @param p_limit [Float]
|
2038
|
+
# @param _1_property [String]
|
2039
|
+
# @param _1_property_value [String]
|
1730
2040
|
# @param [Hash] opts the optional parameters
|
1731
2041
|
# @return [String]
|
1732
2042
|
def post_query(path, p_limit, _1_property, _1_property_value, opts = {})
|
@@ -1734,12 +2044,12 @@ module SwaggerAemClient
|
|
1734
2044
|
data
|
1735
2045
|
end
|
1736
2046
|
|
1737
|
-
# @param path
|
1738
|
-
# @param p_limit
|
1739
|
-
# @param _1_property
|
1740
|
-
# @param _1_property_value
|
2047
|
+
# @param path [String]
|
2048
|
+
# @param p_limit [Float]
|
2049
|
+
# @param _1_property [String]
|
2050
|
+
# @param _1_property_value [String]
|
1741
2051
|
# @param [Hash] opts the optional parameters
|
1742
|
-
# @return [Array<(String,
|
2052
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
1743
2053
|
def post_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {})
|
1744
2054
|
if @api_client.config.debugging
|
1745
2055
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_query ...'
|
@@ -1764,38 +2074,48 @@ module SwaggerAemClient
|
|
1764
2074
|
local_var_path = '/bin/querybuilder.json'
|
1765
2075
|
|
1766
2076
|
# query parameters
|
1767
|
-
query_params = {}
|
2077
|
+
query_params = opts[:query_params] || {}
|
1768
2078
|
query_params[:'path'] = path
|
1769
2079
|
query_params[:'p.limit'] = p_limit
|
1770
2080
|
query_params[:'1_property'] = _1_property
|
1771
2081
|
query_params[:'1_property.value'] = _1_property_value
|
1772
2082
|
|
1773
2083
|
# header parameters
|
1774
|
-
header_params = {}
|
2084
|
+
header_params = opts[:header_params] || {}
|
1775
2085
|
# HTTP header 'Accept' (if needed)
|
1776
2086
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1777
2087
|
|
1778
2088
|
# form parameters
|
1779
|
-
form_params = {}
|
2089
|
+
form_params = opts[:form_params] || {}
|
1780
2090
|
|
1781
2091
|
# http body (model)
|
1782
|
-
post_body =
|
1783
|
-
|
1784
|
-
|
2092
|
+
post_body = opts[:body]
|
2093
|
+
|
2094
|
+
# return_type
|
2095
|
+
return_type = opts[:return_type] || 'String'
|
2096
|
+
|
2097
|
+
# auth_names
|
2098
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
2099
|
+
|
2100
|
+
new_options = opts.merge(
|
1785
2101
|
:header_params => header_params,
|
1786
2102
|
:query_params => query_params,
|
1787
2103
|
:form_params => form_params,
|
1788
2104
|
:body => post_body,
|
1789
2105
|
:auth_names => auth_names,
|
1790
|
-
:return_type =>
|
2106
|
+
:return_type => return_type
|
2107
|
+
)
|
2108
|
+
|
2109
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1791
2110
|
if @api_client.config.debugging
|
1792
2111
|
@api_client.config.logger.debug "API called: SlingApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1793
2112
|
end
|
1794
2113
|
return data, status_code, headers
|
1795
2114
|
end
|
1796
|
-
|
1797
|
-
# @param
|
1798
|
-
# @param
|
2115
|
+
|
2116
|
+
# @param ignoredeactivated [Boolean]
|
2117
|
+
# @param onlymodified [Boolean]
|
2118
|
+
# @param path [String]
|
1799
2119
|
# @param [Hash] opts the optional parameters
|
1800
2120
|
# @return [nil]
|
1801
2121
|
def post_tree_activation(ignoredeactivated, onlymodified, path, opts = {})
|
@@ -1803,11 +2123,11 @@ module SwaggerAemClient
|
|
1803
2123
|
nil
|
1804
2124
|
end
|
1805
2125
|
|
1806
|
-
# @param ignoredeactivated
|
1807
|
-
# @param onlymodified
|
1808
|
-
# @param path
|
2126
|
+
# @param ignoredeactivated [Boolean]
|
2127
|
+
# @param onlymodified [Boolean]
|
2128
|
+
# @param path [String]
|
1809
2129
|
# @param [Hash] opts the optional parameters
|
1810
|
-
# @return [Array<(nil,
|
2130
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1811
2131
|
def post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts = {})
|
1812
2132
|
if @api_client.config.debugging
|
1813
2133
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_tree_activation ...'
|
@@ -1828,31 +2148,42 @@ module SwaggerAemClient
|
|
1828
2148
|
local_var_path = '/etc/replication/treeactivation.html'
|
1829
2149
|
|
1830
2150
|
# query parameters
|
1831
|
-
query_params = {}
|
2151
|
+
query_params = opts[:query_params] || {}
|
1832
2152
|
query_params[:'ignoredeactivated'] = ignoredeactivated
|
1833
2153
|
query_params[:'onlymodified'] = onlymodified
|
1834
2154
|
query_params[:'path'] = path
|
1835
2155
|
|
1836
2156
|
# header parameters
|
1837
|
-
header_params = {}
|
2157
|
+
header_params = opts[:header_params] || {}
|
1838
2158
|
|
1839
2159
|
# form parameters
|
1840
|
-
form_params = {}
|
2160
|
+
form_params = opts[:form_params] || {}
|
1841
2161
|
|
1842
2162
|
# http body (model)
|
1843
|
-
post_body =
|
1844
|
-
|
1845
|
-
|
2163
|
+
post_body = opts[:body]
|
2164
|
+
|
2165
|
+
# return_type
|
2166
|
+
return_type = opts[:return_type]
|
2167
|
+
|
2168
|
+
# auth_names
|
2169
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
2170
|
+
|
2171
|
+
new_options = opts.merge(
|
1846
2172
|
:header_params => header_params,
|
1847
2173
|
:query_params => query_params,
|
1848
2174
|
:form_params => form_params,
|
1849
2175
|
:body => post_body,
|
1850
|
-
:auth_names => auth_names
|
2176
|
+
:auth_names => auth_names,
|
2177
|
+
:return_type => return_type
|
2178
|
+
)
|
2179
|
+
|
2180
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1851
2181
|
if @api_client.config.debugging
|
1852
2182
|
@api_client.config.logger.debug "API called: SlingApi#post_tree_activation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1853
2183
|
end
|
1854
2184
|
return data, status_code, headers
|
1855
2185
|
end
|
2186
|
+
|
1856
2187
|
# @param [Hash] opts the optional parameters
|
1857
2188
|
# @option opts [String] :operation
|
1858
2189
|
# @option opts [String] :new_password
|
@@ -1873,7 +2204,7 @@ module SwaggerAemClient
|
|
1873
2204
|
# @option opts [String] :key_store_type
|
1874
2205
|
# @option opts [String] :remove_alias
|
1875
2206
|
# @option opts [File] :certificate
|
1876
|
-
# @return [Array<(String,
|
2207
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
1877
2208
|
def post_truststore_with_http_info(opts = {})
|
1878
2209
|
if @api_client.config.debugging
|
1879
2210
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_truststore ...'
|
@@ -1882,7 +2213,7 @@ module SwaggerAemClient
|
|
1882
2213
|
local_var_path = '/libs/granite/security/post/truststore'
|
1883
2214
|
|
1884
2215
|
# query parameters
|
1885
|
-
query_params = {}
|
2216
|
+
query_params = opts[:query_params] || {}
|
1886
2217
|
query_params[:':operation'] = opts[:'operation'] if !opts[:'operation'].nil?
|
1887
2218
|
query_params[:'newPassword'] = opts[:'new_password'] if !opts[:'new_password'].nil?
|
1888
2219
|
query_params[:'rePassword'] = opts[:'re_password'] if !opts[:'re_password'].nil?
|
@@ -1890,31 +2221,41 @@ module SwaggerAemClient
|
|
1890
2221
|
query_params[:'removeAlias'] = opts[:'remove_alias'] if !opts[:'remove_alias'].nil?
|
1891
2222
|
|
1892
2223
|
# header parameters
|
1893
|
-
header_params = {}
|
2224
|
+
header_params = opts[:header_params] || {}
|
1894
2225
|
# HTTP header 'Accept' (if needed)
|
1895
2226
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
1896
2227
|
# HTTP header 'Content-Type'
|
1897
2228
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1898
2229
|
|
1899
2230
|
# form parameters
|
1900
|
-
form_params = {}
|
2231
|
+
form_params = opts[:form_params] || {}
|
1901
2232
|
form_params['certificate'] = opts[:'certificate'] if !opts[:'certificate'].nil?
|
1902
2233
|
|
1903
2234
|
# http body (model)
|
1904
|
-
post_body =
|
1905
|
-
|
1906
|
-
|
2235
|
+
post_body = opts[:body]
|
2236
|
+
|
2237
|
+
# return_type
|
2238
|
+
return_type = opts[:return_type] || 'String'
|
2239
|
+
|
2240
|
+
# auth_names
|
2241
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
2242
|
+
|
2243
|
+
new_options = opts.merge(
|
1907
2244
|
:header_params => header_params,
|
1908
2245
|
:query_params => query_params,
|
1909
2246
|
:form_params => form_params,
|
1910
2247
|
:body => post_body,
|
1911
2248
|
:auth_names => auth_names,
|
1912
|
-
:return_type =>
|
2249
|
+
:return_type => return_type
|
2250
|
+
)
|
2251
|
+
|
2252
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1913
2253
|
if @api_client.config.debugging
|
1914
2254
|
@api_client.config.logger.debug "API called: SlingApi#post_truststore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1915
2255
|
end
|
1916
2256
|
return data, status_code, headers
|
1917
2257
|
end
|
2258
|
+
|
1918
2259
|
# @param [Hash] opts the optional parameters
|
1919
2260
|
# @option opts [File] :truststore_p12
|
1920
2261
|
# @return [String]
|
@@ -1925,7 +2266,7 @@ module SwaggerAemClient
|
|
1925
2266
|
|
1926
2267
|
# @param [Hash] opts the optional parameters
|
1927
2268
|
# @option opts [File] :truststore_p12
|
1928
|
-
# @return [Array<(String,
|
2269
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
1929
2270
|
def post_truststore_pkcs12_with_http_info(opts = {})
|
1930
2271
|
if @api_client.config.debugging
|
1931
2272
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_truststore_pkcs12 ...'
|
@@ -1934,29 +2275,38 @@ module SwaggerAemClient
|
|
1934
2275
|
local_var_path = '/etc/truststore'
|
1935
2276
|
|
1936
2277
|
# query parameters
|
1937
|
-
query_params = {}
|
2278
|
+
query_params = opts[:query_params] || {}
|
1938
2279
|
|
1939
2280
|
# header parameters
|
1940
|
-
header_params = {}
|
2281
|
+
header_params = opts[:header_params] || {}
|
1941
2282
|
# HTTP header 'Accept' (if needed)
|
1942
2283
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
1943
2284
|
# HTTP header 'Content-Type'
|
1944
2285
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1945
2286
|
|
1946
2287
|
# form parameters
|
1947
|
-
form_params = {}
|
2288
|
+
form_params = opts[:form_params] || {}
|
1948
2289
|
form_params['truststore.p12'] = opts[:'truststore_p12'] if !opts[:'truststore_p12'].nil?
|
1949
2290
|
|
1950
2291
|
# http body (model)
|
1951
|
-
post_body =
|
1952
|
-
|
1953
|
-
|
2292
|
+
post_body = opts[:body]
|
2293
|
+
|
2294
|
+
# return_type
|
2295
|
+
return_type = opts[:return_type] || 'String'
|
2296
|
+
|
2297
|
+
# auth_names
|
2298
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
2299
|
+
|
2300
|
+
new_options = opts.merge(
|
1954
2301
|
:header_params => header_params,
|
1955
2302
|
:query_params => query_params,
|
1956
2303
|
:form_params => form_params,
|
1957
2304
|
:body => post_body,
|
1958
2305
|
:auth_names => auth_names,
|
1959
|
-
:return_type =>
|
2306
|
+
:return_type => return_type
|
2307
|
+
)
|
2308
|
+
|
2309
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1960
2310
|
if @api_client.config.debugging
|
1961
2311
|
@api_client.config.logger.debug "API called: SlingApi#post_truststore_pkcs12\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1962
2312
|
end
|