swagger_aem 2.5.0 → 3.4.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.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +47 -46
  4. data/README.md +20 -9
  5. data/Rakefile +2 -0
  6. data/docs/ConsoleApi.md +107 -58
  7. data/docs/CqApi.md +14 -13
  8. data/docs/CrxApi.md +60 -60
  9. data/docs/CustomApi.md +27 -24
  10. data/docs/GraniteApi.md +75 -0
  11. data/docs/InlineObject.md +17 -0
  12. data/docs/InlineObject1.md +17 -0
  13. data/docs/InlineObject2.md +17 -0
  14. data/docs/InlineObject3.md +17 -0
  15. data/docs/InlineObject4.md +21 -0
  16. data/docs/InlineObject5.md +19 -0
  17. data/docs/InstallStatus.md +9 -0
  18. data/docs/InstallStatusStatus.md +11 -1
  19. data/docs/KeystoreChainItems.md +13 -0
  20. data/docs/KeystoreInfo.md +11 -1
  21. data/docs/KeystoreItems.md +13 -0
  22. data/docs/SamlConfigurationInfo.md +15 -1
  23. data/docs/SamlConfigurationProperties.md +56 -24
  24. data/docs/SamlConfigurationPropertyItemsArray.md +16 -2
  25. data/docs/SamlConfigurationPropertyItemsBoolean.md +17 -3
  26. data/docs/SamlConfigurationPropertyItemsLong.md +17 -3
  27. data/docs/SamlConfigurationPropertyItemsString.md +17 -3
  28. data/docs/SlingApi.md +482 -445
  29. data/docs/TruststoreInfo.md +11 -1
  30. data/docs/TruststoreItems.md +15 -0
  31. data/git_push.sh +11 -8
  32. data/lib/swagger_aem.rb +10 -3
  33. data/lib/swagger_aem/api/console_api.rb +160 -91
  34. data/lib/swagger_aem/api/cq_api.rb +49 -41
  35. data/lib/swagger_aem/api/crx_api.rb +170 -135
  36. data/lib/swagger_aem/api/custom_api.rb +68 -56
  37. data/lib/swagger_aem/api/granite_api.rb +124 -0
  38. data/lib/swagger_aem/api/sling_api.rb +900 -720
  39. data/lib/swagger_aem/api_client.rb +53 -54
  40. data/lib/swagger_aem/api_error.rb +22 -3
  41. data/lib/swagger_aem/configuration.rb +49 -10
  42. data/lib/swagger_aem/models/inline_object.rb +206 -0
  43. data/lib/swagger_aem/models/inline_object1.rb +206 -0
  44. data/lib/swagger_aem/models/inline_object2.rb +206 -0
  45. data/lib/swagger_aem/models/inline_object3.rb +206 -0
  46. data/lib/swagger_aem/models/inline_object4.rb +224 -0
  47. data/lib/swagger_aem/models/inline_object5.rb +215 -0
  48. data/lib/swagger_aem/models/install_status.rb +43 -25
  49. data/lib/swagger_aem/models/install_status_status.rb +46 -28
  50. data/lib/swagger_aem/models/keystore_chain_items.rb +50 -32
  51. data/lib/swagger_aem/models/keystore_info.rb +45 -27
  52. data/lib/swagger_aem/models/keystore_items.rb +49 -31
  53. data/lib/swagger_aem/models/saml_configuration_info.rb +49 -31
  54. data/lib/swagger_aem/models/saml_configuration_properties.rb +114 -168
  55. data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +50 -32
  56. data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +56 -38
  57. data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +56 -38
  58. data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +56 -38
  59. data/lib/swagger_aem/models/truststore_info.rb +45 -27
  60. data/lib/swagger_aem/models/truststore_items.rb +54 -36
  61. data/lib/swagger_aem/version.rb +4 -4
  62. data/spec/api/console_api_spec.rb +17 -16
  63. data/spec/api/cq_api_spec.rb +6 -10
  64. data/spec/api/crx_api_spec.rb +11 -25
  65. data/spec/api/custom_api_spec.rb +7 -13
  66. data/spec/api/granite_api_spec.rb +52 -0
  67. data/spec/api/sling_api_spec.rb +32 -88
  68. data/spec/api_client_spec.rb +37 -37
  69. data/spec/configuration_spec.rb +11 -11
  70. data/spec/models/inline_object1_spec.rb +41 -0
  71. data/spec/models/inline_object2_spec.rb +41 -0
  72. data/spec/models/inline_object3_spec.rb +41 -0
  73. data/spec/models/inline_object4_spec.rb +53 -0
  74. data/spec/models/inline_object5_spec.rb +47 -0
  75. data/spec/models/inline_object_spec.rb +41 -0
  76. data/spec/models/install_status_spec.rb +5 -6
  77. data/spec/models/install_status_status_spec.rb +6 -7
  78. data/spec/models/keystore_chain_items_spec.rb +9 -10
  79. data/spec/models/keystore_info_spec.rb +6 -7
  80. data/spec/models/keystore_items_spec.rb +9 -10
  81. data/spec/models/saml_configuration_info_spec.rb +10 -11
  82. data/spec/models/saml_configuration_properties_spec.rb +28 -29
  83. data/spec/models/saml_configuration_property_items_array_spec.rb +10 -11
  84. data/spec/models/saml_configuration_property_items_boolean_spec.rb +11 -12
  85. data/spec/models/saml_configuration_property_items_long_spec.rb +11 -12
  86. data/spec/models/saml_configuration_property_items_string_spec.rb +11 -12
  87. data/spec/models/truststore_info_spec.rb +6 -7
  88. data/spec/models/truststore_items_spec.rb +11 -12
  89. data/spec/spec_helper.rb +3 -3
  90. data/swagger_aem.gemspec +8 -14
  91. metadata +36 -128
@@ -8,12 +8,15 @@ Method | HTTP request | Description
8
8
  [**post_cq_actions**](CqApi.md#post_cq_actions) | **POST** /.cqactions.html |
9
9
 
10
10
 
11
- # **get_login_page**
11
+
12
+ ## get_login_page
13
+
12
14
  > String get_login_page
13
15
 
14
16
 
15
17
 
16
18
  ### Example
19
+
17
20
  ```ruby
18
21
  # load the gem
19
22
  require 'swagger_aem'
@@ -29,6 +32,7 @@ end
29
32
  ```
30
33
 
31
34
  ### Parameters
35
+
32
36
  This endpoint does not need any parameter.
33
37
 
34
38
  ### Return type
@@ -41,17 +45,18 @@ No authorization required
41
45
 
42
46
  ### HTTP request headers
43
47
 
44
- - **Content-Type**: Not defined
45
- - **Accept**: text/html
48
+ - **Content-Type**: Not defined
49
+ - **Accept**: text/html
46
50
 
47
51
 
52
+ ## post_cq_actions
48
53
 
49
- # **post_cq_actions**
50
54
  > post_cq_actions(authorizable_id, changelog)
51
55
 
52
56
 
53
57
 
54
58
  ### Example
59
+
55
60
  ```ruby
56
61
  # load the gem
57
62
  require 'swagger_aem'
@@ -63,11 +68,8 @@ SwaggerAemClient.configure do |config|
63
68
  end
64
69
 
65
70
  api_instance = SwaggerAemClient::CqApi.new
66
-
67
- authorizable_id = "authorizable_id_example" # String |
68
-
69
- changelog = "changelog_example" # String |
70
-
71
+ authorizable_id = 'authorizable_id_example' # String |
72
+ changelog = 'changelog_example' # String |
71
73
 
72
74
  begin
73
75
  api_instance.post_cq_actions(authorizable_id, changelog)
@@ -78,6 +80,7 @@ end
78
80
 
79
81
  ### Parameters
80
82
 
83
+
81
84
  Name | Type | Description | Notes
82
85
  ------------- | ------------- | ------------- | -------------
83
86
  **authorizable_id** | **String**| |
@@ -93,8 +96,6 @@ nil (empty response body)
93
96
 
94
97
  ### HTTP request headers
95
98
 
96
- - **Content-Type**: Not defined
97
- - **Accept**: text/plain
98
-
99
-
99
+ - **Content-Type**: Not defined
100
+ - **Accept**: Not defined
100
101
 
@@ -13,12 +13,15 @@ Method | HTTP request | Description
13
13
  [**post_set_password**](CrxApi.md#post_set_password) | **POST** /crx/explorer/ui/setpassword.jsp |
14
14
 
15
15
 
16
- # **get_crxde_status**
16
+
17
+ ## get_crxde_status
18
+
17
19
  > String get_crxde_status
18
20
 
19
21
 
20
22
 
21
23
  ### Example
24
+
22
25
  ```ruby
23
26
  # load the gem
24
27
  require 'swagger_aem'
@@ -40,6 +43,7 @@ end
40
43
  ```
41
44
 
42
45
  ### Parameters
46
+
43
47
  This endpoint does not need any parameter.
44
48
 
45
49
  ### Return type
@@ -52,17 +56,18 @@ This endpoint does not need any parameter.
52
56
 
53
57
  ### HTTP request headers
54
58
 
55
- - **Content-Type**: Not defined
56
- - **Accept**: plain/text
59
+ - **Content-Type**: Not defined
60
+ - **Accept**: plain/text
57
61
 
58
62
 
63
+ ## get_install_status
59
64
 
60
- # **get_install_status**
61
65
  > InstallStatus get_install_status
62
66
 
63
67
 
64
68
 
65
69
  ### Example
70
+
66
71
  ```ruby
67
72
  # load the gem
68
73
  require 'swagger_aem'
@@ -84,6 +89,7 @@ end
84
89
  ```
85
90
 
86
91
  ### Parameters
92
+
87
93
  This endpoint does not need any parameter.
88
94
 
89
95
  ### Return type
@@ -96,17 +102,18 @@ This endpoint does not need any parameter.
96
102
 
97
103
  ### HTTP request headers
98
104
 
99
- - **Content-Type**: Not defined
100
- - **Accept**: application/json
105
+ - **Content-Type**: Not defined
106
+ - **Accept**: application/json
101
107
 
102
108
 
109
+ ## get_package_manager_servlet
103
110
 
104
- # **get_package_manager_servlet**
105
111
  > get_package_manager_servlet
106
112
 
107
113
 
108
114
 
109
115
  ### Example
116
+
110
117
  ```ruby
111
118
  # load the gem
112
119
  require 'swagger_aem'
@@ -127,6 +134,7 @@ end
127
134
  ```
128
135
 
129
136
  ### Parameters
137
+
130
138
  This endpoint does not need any parameter.
131
139
 
132
140
  ### Return type
@@ -139,17 +147,18 @@ nil (empty response body)
139
147
 
140
148
  ### HTTP request headers
141
149
 
142
- - **Content-Type**: Not defined
143
- - **Accept**: text/html
150
+ - **Content-Type**: Not defined
151
+ - **Accept**: text/html
144
152
 
145
153
 
154
+ ## post_package_service
146
155
 
147
- # **post_package_service**
148
156
  > String post_package_service(cmd)
149
157
 
150
158
 
151
159
 
152
160
  ### Example
161
+
153
162
  ```ruby
154
163
  # load the gem
155
164
  require 'swagger_aem'
@@ -161,9 +170,7 @@ SwaggerAemClient.configure do |config|
161
170
  end
162
171
 
163
172
  api_instance = SwaggerAemClient::CrxApi.new
164
-
165
- cmd = "cmd_example" # String |
166
-
173
+ cmd = 'cmd_example' # String |
167
174
 
168
175
  begin
169
176
  result = api_instance.post_package_service(cmd)
@@ -175,6 +182,7 @@ end
175
182
 
176
183
  ### Parameters
177
184
 
185
+
178
186
  Name | Type | Description | Notes
179
187
  ------------- | ------------- | ------------- | -------------
180
188
  **cmd** | **String**| |
@@ -189,17 +197,18 @@ Name | Type | Description | Notes
189
197
 
190
198
  ### HTTP request headers
191
199
 
192
- - **Content-Type**: Not defined
193
- - **Accept**: text/xml
200
+ - **Content-Type**: Not defined
201
+ - **Accept**: text/xml
194
202
 
195
203
 
204
+ ## post_package_service_json
196
205
 
197
- # **post_package_service_json**
198
206
  > String post_package_service_json(path, cmd, opts)
199
207
 
200
208
 
201
209
 
202
210
  ### Example
211
+
203
212
  ```ruby
204
213
  # load the gem
205
214
  require 'swagger_aem'
@@ -211,19 +220,16 @@ SwaggerAemClient.configure do |config|
211
220
  end
212
221
 
213
222
  api_instance = SwaggerAemClient::CrxApi.new
214
-
215
- path = "path_example" # String |
216
-
217
- cmd = "cmd_example" # String |
218
-
219
- opts = {
220
- group_name: "group_name_example", # String |
221
- package_name: "package_name_example", # String |
222
- package_version: "package_version_example", # String |
223
- _charset_: "_charset__example", # String |
224
- force: true, # BOOLEAN |
225
- recursive: true, # BOOLEAN |
226
- package: File.new("/path/to/file.txt") # File |
223
+ path = 'path_example' # String |
224
+ cmd = 'cmd_example' # String |
225
+ opts = {
226
+ group_name: 'group_name_example', # String |
227
+ package_name: 'package_name_example', # String |
228
+ package_version: 'package_version_example', # String |
229
+ _charset_: '_charset__example', # String |
230
+ force: true, # Boolean |
231
+ recursive: true, # Boolean |
232
+ package: File.new('/path/to/file') # File |
227
233
  }
228
234
 
229
235
  begin
@@ -236,6 +242,7 @@ end
236
242
 
237
243
  ### Parameters
238
244
 
245
+
239
246
  Name | Type | Description | Notes
240
247
  ------------- | ------------- | ------------- | -------------
241
248
  **path** | **String**| |
@@ -244,8 +251,8 @@ Name | Type | Description | Notes
244
251
  **package_name** | **String**| | [optional]
245
252
  **package_version** | **String**| | [optional]
246
253
  **_charset_** | **String**| | [optional]
247
- **force** | **BOOLEAN**| | [optional]
248
- **recursive** | **BOOLEAN**| | [optional]
254
+ **force** | **Boolean**| | [optional]
255
+ **recursive** | **Boolean**| | [optional]
249
256
  **package** | **File**| | [optional]
250
257
 
251
258
  ### Return type
@@ -258,17 +265,18 @@ Name | Type | Description | Notes
258
265
 
259
266
  ### HTTP request headers
260
267
 
261
- - **Content-Type**: multipart/form-data
262
- - **Accept**: application/json
268
+ - **Content-Type**: multipart/form-data
269
+ - **Accept**: application/json
263
270
 
264
271
 
272
+ ## post_package_update
265
273
 
266
- # **post_package_update**
267
274
  > String post_package_update(group_name, package_name, version, path, opts)
268
275
 
269
276
 
270
277
 
271
278
  ### Example
279
+
272
280
  ```ruby
273
281
  # load the gem
274
282
  require 'swagger_aem'
@@ -280,18 +288,13 @@ SwaggerAemClient.configure do |config|
280
288
  end
281
289
 
282
290
  api_instance = SwaggerAemClient::CrxApi.new
283
-
284
- group_name = "group_name_example" # String |
285
-
286
- package_name = "package_name_example" # String |
287
-
288
- version = "version_example" # String |
289
-
290
- path = "path_example" # String |
291
-
292
- opts = {
293
- filter: "filter_example", # String |
294
- _charset_: "_charset__example" # String |
291
+ group_name = 'group_name_example' # String |
292
+ package_name = 'package_name_example' # String |
293
+ version = 'version_example' # String |
294
+ path = 'path_example' # String |
295
+ opts = {
296
+ filter: 'filter_example', # String |
297
+ _charset_: '_charset__example' # String |
295
298
  }
296
299
 
297
300
  begin
@@ -304,6 +307,7 @@ end
304
307
 
305
308
  ### Parameters
306
309
 
310
+
307
311
  Name | Type | Description | Notes
308
312
  ------------- | ------------- | ------------- | -------------
309
313
  **group_name** | **String**| |
@@ -323,17 +327,18 @@ Name | Type | Description | Notes
323
327
 
324
328
  ### HTTP request headers
325
329
 
326
- - **Content-Type**: Not defined
327
- - **Accept**: application/json
330
+ - **Content-Type**: Not defined
331
+ - **Accept**: application/json
328
332
 
329
333
 
334
+ ## post_set_password
330
335
 
331
- # **post_set_password**
332
336
  > String post_set_password(old, plain, verify)
333
337
 
334
338
 
335
339
 
336
340
  ### Example
341
+
337
342
  ```ruby
338
343
  # load the gem
339
344
  require 'swagger_aem'
@@ -345,13 +350,9 @@ SwaggerAemClient.configure do |config|
345
350
  end
346
351
 
347
352
  api_instance = SwaggerAemClient::CrxApi.new
348
-
349
- old = "old_example" # String |
350
-
351
- plain = "plain_example" # String |
352
-
353
- verify = "verify_example" # String |
354
-
353
+ old = 'old_example' # String |
354
+ plain = 'plain_example' # String |
355
+ verify = 'verify_example' # String |
355
356
 
356
357
  begin
357
358
  result = api_instance.post_set_password(old, plain, verify)
@@ -363,6 +364,7 @@ end
363
364
 
364
365
  ### Parameters
365
366
 
367
+
366
368
  Name | Type | Description | Notes
367
369
  ------------- | ------------- | ------------- | -------------
368
370
  **old** | **String**| |
@@ -379,8 +381,6 @@ Name | Type | Description | Notes
379
381
 
380
382
  ### HTTP request headers
381
383
 
382
- - **Content-Type**: Not defined
383
- - **Accept**: text/plain
384
-
385
-
384
+ - **Content-Type**: Not defined
385
+ - **Accept**: text/plain
386
386
 
@@ -9,12 +9,15 @@ Method | HTTP request | Description
9
9
  [**post_config_aem_password_reset**](CustomApi.md#post_config_aem_password_reset) | **POST** /apps/system/config/com.shinesolutions.aem.passwordreset.Activator |
10
10
 
11
11
 
12
- # **get_aem_health_check**
12
+
13
+ ## get_aem_health_check
14
+
13
15
  > String get_aem_health_check(opts)
14
16
 
15
17
 
16
18
 
17
19
  ### Example
20
+
18
21
  ```ruby
19
22
  # load the gem
20
23
  require 'swagger_aem'
@@ -26,10 +29,9 @@ SwaggerAemClient.configure do |config|
26
29
  end
27
30
 
28
31
  api_instance = SwaggerAemClient::CustomApi.new
29
-
30
- opts = {
31
- tags: "tags_example", # String |
32
- combine_tags_or: true # BOOLEAN |
32
+ opts = {
33
+ tags: 'tags_example', # String |
34
+ combine_tags_or: true # Boolean |
33
35
  }
34
36
 
35
37
  begin
@@ -42,10 +44,11 @@ end
42
44
 
43
45
  ### Parameters
44
46
 
47
+
45
48
  Name | Type | Description | Notes
46
49
  ------------- | ------------- | ------------- | -------------
47
50
  **tags** | **String**| | [optional]
48
- **combine_tags_or** | **BOOLEAN**| | [optional]
51
+ **combine_tags_or** | **Boolean**| | [optional]
49
52
 
50
53
  ### Return type
51
54
 
@@ -57,17 +60,18 @@ Name | Type | Description | Notes
57
60
 
58
61
  ### HTTP request headers
59
62
 
60
- - **Content-Type**: Not defined
61
- - **Accept**: application/json
63
+ - **Content-Type**: Not defined
64
+ - **Accept**: application/json
62
65
 
63
66
 
67
+ ## post_config_aem_health_check_servlet
64
68
 
65
- # **post_config_aem_health_check_servlet**
66
69
  > post_config_aem_health_check_servlet(opts)
67
70
 
68
71
 
69
72
 
70
73
  ### Example
74
+
71
75
  ```ruby
72
76
  # load the gem
73
77
  require 'swagger_aem'
@@ -79,10 +83,9 @@ SwaggerAemClient.configure do |config|
79
83
  end
80
84
 
81
85
  api_instance = SwaggerAemClient::CustomApi.new
82
-
83
- opts = {
84
- bundles_ignored: ["bundles_ignored_example"], # Array<String> |
85
- bundles_ignored_type_hint: "bundles_ignored_type_hint_example" # String |
86
+ opts = {
87
+ bundles_ignored: ['bundles_ignored_example'], # Array<String> |
88
+ bundles_ignored_type_hint: 'bundles_ignored_type_hint_example' # String |
86
89
  }
87
90
 
88
91
  begin
@@ -94,6 +97,7 @@ end
94
97
 
95
98
  ### Parameters
96
99
 
100
+
97
101
  Name | Type | Description | Notes
98
102
  ------------- | ------------- | ------------- | -------------
99
103
  **bundles_ignored** | [**Array&lt;String&gt;**](String.md)| | [optional]
@@ -109,17 +113,18 @@ nil (empty response body)
109
113
 
110
114
  ### HTTP request headers
111
115
 
112
- - **Content-Type**: Not defined
113
- - **Accept**: text/plain
116
+ - **Content-Type**: Not defined
117
+ - **Accept**: Not defined
114
118
 
115
119
 
120
+ ## post_config_aem_password_reset
116
121
 
117
- # **post_config_aem_password_reset**
118
122
  > post_config_aem_password_reset(opts)
119
123
 
120
124
 
121
125
 
122
126
  ### Example
127
+
123
128
  ```ruby
124
129
  # load the gem
125
130
  require 'swagger_aem'
@@ -131,10 +136,9 @@ SwaggerAemClient.configure do |config|
131
136
  end
132
137
 
133
138
  api_instance = SwaggerAemClient::CustomApi.new
134
-
135
- opts = {
136
- pwdreset_authorizables: ["pwdreset_authorizables_example"], # Array<String> |
137
- pwdreset_authorizables_type_hint: "pwdreset_authorizables_type_hint_example" # String |
139
+ opts = {
140
+ pwdreset_authorizables: ['pwdreset_authorizables_example'], # Array<String> |
141
+ pwdreset_authorizables_type_hint: 'pwdreset_authorizables_type_hint_example' # String |
138
142
  }
139
143
 
140
144
  begin
@@ -146,6 +150,7 @@ end
146
150
 
147
151
  ### Parameters
148
152
 
153
+
149
154
  Name | Type | Description | Notes
150
155
  ------------- | ------------- | ------------- | -------------
151
156
  **pwdreset_authorizables** | [**Array&lt;String&gt;**](String.md)| | [optional]
@@ -161,8 +166,6 @@ nil (empty response body)
161
166
 
162
167
  ### HTTP request headers
163
168
 
164
- - **Content-Type**: Not defined
165
- - **Accept**: text/plain
166
-
167
-
169
+ - **Content-Type**: Not defined
170
+ - **Accept**: Not defined
168
171