ruby_aem 3.8.0 → 3.11.1
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/conf/gem.yaml +1 -1
- data/conf/spec.yaml +72 -62
- data/lib/ruby_aem/client.rb +1 -1
- data/lib/ruby_aem/error.rb +1 -1
- data/lib/ruby_aem/handlers/file.rb +1 -1
- data/lib/ruby_aem/handlers/html.rb +1 -1
- data/lib/ruby_aem/handlers/json.rb +1 -1
- data/lib/ruby_aem/handlers/simple.rb +1 -1
- data/lib/ruby_aem/handlers/xml.rb +1 -1
- data/lib/ruby_aem/resources/aem.rb +1 -1
- data/lib/ruby_aem/resources/aem_configmgr.rb +1 -1
- data/lib/ruby_aem/resources/authorizable_keystore.rb +3 -1
- data/lib/ruby_aem/resources/bundle.rb +8 -1
- data/lib/ruby_aem/resources/certificate.rb +1 -1
- data/lib/ruby_aem/resources/certificate_chain.rb +3 -1
- data/lib/ruby_aem/resources/config_property.rb +1 -1
- data/lib/ruby_aem/resources/flush_agent.rb +1 -1
- data/lib/ruby_aem/resources/group.rb +1 -1
- data/lib/ruby_aem/resources/node.rb +1 -1
- data/lib/ruby_aem/resources/outbox_replication_agent.rb +1 -1
- data/lib/ruby_aem/resources/package.rb +1 -1
- data/lib/ruby_aem/resources/path.rb +1 -1
- data/lib/ruby_aem/resources/replication_agent.rb +1 -1
- data/lib/ruby_aem/resources/repository.rb +1 -1
- data/lib/ruby_aem/resources/reverse_replication_agent.rb +1 -1
- data/lib/ruby_aem/resources/saml.rb +1 -1
- data/lib/ruby_aem/resources/ssl.rb +1 -1
- data/lib/ruby_aem/resources/truststore.rb +1 -1
- data/lib/ruby_aem/resources/user.rb +1 -1
- data/lib/ruby_aem/response.rb +1 -1
- data/lib/ruby_aem/result.rb +1 -1
- data/lib/ruby_aem/swagger.rb +1 -1
- data/lib/ruby_aem.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f8e6da1797711c987b5bca88390a88626bddc20
|
|
4
|
+
data.tar.gz: 65e8624e50c3557d0195d549291ccc2e1d14d1cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e8135f981cabb68a153ea6aa0ee21301e999acb3dd0546341df65ddacc1be750bc1a9a20da1cafd6fb70165b7c26440046ddada9c246d393b4a59ca55c56d2d
|
|
7
|
+
data.tar.gz: 4f73f9747d422ad3377e92428dd1ceb770a27fe084ef0950c9834e7e85d22a1f096032c4a8e8f08fb72991319785e9127b3fb365510e321f329d98cc64a27a15
|
data/conf/gem.yaml
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version: 3.
|
|
1
|
+
version: 3.11.1
|
data/conf/spec.yaml
CHANGED
|
@@ -228,6 +228,16 @@ bundle:
|
|
|
228
228
|
200:
|
|
229
229
|
handler: simple
|
|
230
230
|
message: 'Bundle %{name} stopped'
|
|
231
|
+
info:
|
|
232
|
+
api: console
|
|
233
|
+
operation: getBundleInfo
|
|
234
|
+
params:
|
|
235
|
+
required:
|
|
236
|
+
name: '%{name}'
|
|
237
|
+
responses:
|
|
238
|
+
200:
|
|
239
|
+
handler: simple_body
|
|
240
|
+
message: 'Retrieved bundle %{name} info'
|
|
231
241
|
aemconfigmgr:
|
|
232
242
|
actions:
|
|
233
243
|
get:
|
|
@@ -339,27 +349,27 @@ flushagent:
|
|
|
339
349
|
name: '%{name}'
|
|
340
350
|
optional:
|
|
341
351
|
jcrprimary_type: cq:Page
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
352
|
+
jcrcontent_cqname: '%{name}'
|
|
353
|
+
jcrcontent_jcrtitle: '%{title}'
|
|
354
|
+
jcrcontent_jcrdescription: '%{description}'
|
|
355
|
+
jcrcontent_slingresource_type: cq/replication/components/agent
|
|
356
|
+
jcrcontent_transport_uri: '%{dest_base_url}/dispatcher/invalidate.cache'
|
|
357
|
+
jcrcontent_log_level: '%{log_level}'
|
|
358
|
+
jcrcontent_no_versioning: true
|
|
359
|
+
jcrcontent_protocol_http_headers:
|
|
350
360
|
- 'CQ-Action:{action}'
|
|
351
361
|
- 'CQ-Handle:{path}'
|
|
352
362
|
- 'CQ-Path:{path}'
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
+
jcrcontent_protocol_http_headers_type_hint: String[]
|
|
364
|
+
jcrcontent_protocol_http_method: GET
|
|
365
|
+
jcrcontent_retry_delay: '%{retry_delay}'
|
|
366
|
+
jcrcontent_serialization_type: flush
|
|
367
|
+
jcrcontent_jcrmixin_types: cq:ReplicationStatus
|
|
368
|
+
jcrcontent_trigger_receive: true
|
|
369
|
+
jcrcontent_trigger_specific: true
|
|
370
|
+
jcrcontent_cqtemplate: /libs/cq/replication/templates/agent
|
|
371
|
+
jcrcontent_enabled: true
|
|
372
|
+
jcrcontent_ssl: '%{ssl}'
|
|
363
373
|
responses:
|
|
364
374
|
200:
|
|
365
375
|
handler: simple
|
|
@@ -417,8 +427,8 @@ group:
|
|
|
417
427
|
authorizable_id: '%{name}'
|
|
418
428
|
intermediate_path: '%{path}'
|
|
419
429
|
optional:
|
|
420
|
-
create_group: ''
|
|
421
|
-
|
|
430
|
+
create_group: 'true'
|
|
431
|
+
profile_given_name: '%{name}'
|
|
422
432
|
responses:
|
|
423
433
|
201:
|
|
424
434
|
handler: html_authorizable_id
|
|
@@ -447,7 +457,7 @@ group:
|
|
|
447
457
|
path: '%{path}'
|
|
448
458
|
name: '%{authorizable_id}'
|
|
449
459
|
optional:
|
|
450
|
-
delete_authorizable: ''
|
|
460
|
+
delete_authorizable: '%{name}'
|
|
451
461
|
responses:
|
|
452
462
|
200:
|
|
453
463
|
handler: simple
|
|
@@ -960,18 +970,18 @@ replicationagent:
|
|
|
960
970
|
name: '%{name}'
|
|
961
971
|
optional:
|
|
962
972
|
jcrprimary_type: cq:Page
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
973
|
+
jcrcontent_cqname: '%{name}'
|
|
974
|
+
jcrcontent_jcrtitle: '%{title}'
|
|
975
|
+
jcrcontent_jcrdescription: '%{description}'
|
|
976
|
+
jcrcontent_slingresource_type: cq/replication/components/agent
|
|
977
|
+
jcrcontent_serialization_type: durbo
|
|
978
|
+
jcrcontent_transport_uri: '%{dest_base_url}/bin/receive?sling:authRequestLogin=1'
|
|
979
|
+
jcrcontent_transport_user: '%{transport_user}'
|
|
980
|
+
jcrcontent_transport_password: '%{transport_password}'
|
|
981
|
+
jcrcontent_log_level: '%{log_level}'
|
|
982
|
+
jcrcontent_retry_delay: '%{retry_delay}'
|
|
983
|
+
jcrcontent_cqtemplate: /libs/cq/replication/templates/agent
|
|
984
|
+
jcrcontent_enabled: true
|
|
975
985
|
responses:
|
|
976
986
|
200:
|
|
977
987
|
handler: simple
|
|
@@ -1030,19 +1040,19 @@ outboxreplicationagent:
|
|
|
1030
1040
|
name: '%{name}'
|
|
1031
1041
|
optional:
|
|
1032
1042
|
jcrprimary_type: cq:Page
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1043
|
+
jcrcontent_cqname: '%{name}'
|
|
1044
|
+
jcrcontent_jcrtitle: '%{title}'
|
|
1045
|
+
jcrcontent_jcrdescription: '%{description}'
|
|
1046
|
+
jcrcontent_slingresource_type: cq/replication/components/agent
|
|
1047
|
+
jcrcontent_transport_uri: repo://var/replication/outbox
|
|
1048
|
+
jcrcontent_no_versioning: true
|
|
1049
|
+
jcrcontent_log_level: '%{log_level}'
|
|
1050
|
+
jcrcontent_cqtemplate: /libs/cq/replication/templates/agent
|
|
1051
|
+
jcrcontent_enabled: true
|
|
1052
|
+
jcrcontent_trigger_distribute: true
|
|
1053
|
+
jcrcontent_trigger_modified: false
|
|
1054
|
+
jcrcontent_trigger_specific: true
|
|
1055
|
+
jcrcontent_user_id: '%{user_id}'
|
|
1046
1056
|
responses:
|
|
1047
1057
|
200:
|
|
1048
1058
|
handler: simple
|
|
@@ -1101,19 +1111,19 @@ reversereplicationagent:
|
|
|
1101
1111
|
name: '%{name}'
|
|
1102
1112
|
optional:
|
|
1103
1113
|
jcrprimary_type: cq:Page
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1114
|
+
jcrcontent_cqname: '%{name}'
|
|
1115
|
+
jcrcontent_jcrtitle: '%{title}'
|
|
1116
|
+
jcrcontent_jcrdescription: '%{description}'
|
|
1117
|
+
jcrcontent_slingresource_type: cq/replication/components/agent
|
|
1118
|
+
jcrcontent_serialization_type: durbo
|
|
1119
|
+
jcrcontent_transport_uri: '%{dest_base_url}/bin/receive?sling:authRequestLogin=1'
|
|
1120
|
+
jcrcontent_transport_user: '%{transport_user}'
|
|
1121
|
+
jcrcontent_transport_password: '%{transport_password}'
|
|
1122
|
+
jcrcontent_log_level: '%{log_level}'
|
|
1123
|
+
jcrcontent_retry_delay: '%{retry_delay}'
|
|
1124
|
+
jcrcontent_cqtemplate: /libs/cq/replication/templates/agent
|
|
1125
|
+
jcrcontent_enabled: true
|
|
1126
|
+
jcrcontent_reverse_replication: true
|
|
1117
1127
|
responses:
|
|
1118
1128
|
200:
|
|
1119
1129
|
handler: simple
|
|
@@ -1292,7 +1302,7 @@ truststore:
|
|
|
1292
1302
|
operation: postNode
|
|
1293
1303
|
params:
|
|
1294
1304
|
required:
|
|
1295
|
-
path:
|
|
1305
|
+
path: etc/truststore
|
|
1296
1306
|
name: truststore.p12
|
|
1297
1307
|
optional:
|
|
1298
1308
|
operation: delete
|
|
@@ -1341,7 +1351,7 @@ user:
|
|
|
1341
1351
|
authorizable_id: '%{name}'
|
|
1342
1352
|
intermediate_path: '%{path}'
|
|
1343
1353
|
optional:
|
|
1344
|
-
create_user: ''
|
|
1354
|
+
create_user: 'true'
|
|
1345
1355
|
reppassword: '%{password}'
|
|
1346
1356
|
responses:
|
|
1347
1357
|
201:
|
|
@@ -1371,7 +1381,7 @@ user:
|
|
|
1371
1381
|
path: '%{path}'
|
|
1372
1382
|
name: '%{authorizable_id}'
|
|
1373
1383
|
optional:
|
|
1374
|
-
delete_authorizable: ''
|
|
1384
|
+
delete_authorizable: '%{name}'
|
|
1375
1385
|
responses:
|
|
1376
1386
|
200:
|
|
1377
1387
|
handler: simple
|
data/lib/ruby_aem/client.rb
CHANGED
data/lib/ruby_aem/error.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2016-
|
|
1
|
+
# Copyright 2016-2021 Shine Solutions Group
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
@@ -33,6 +33,8 @@ module RubyAem
|
|
|
33
33
|
intermediate_path: intermediate_path,
|
|
34
34
|
authorizable_id: authorizable_id
|
|
35
35
|
}
|
|
36
|
+
|
|
37
|
+
@call_params[:intermediate_path] = RubyAem::Swagger.path(@call_params[:intermediate_path])
|
|
36
38
|
end
|
|
37
39
|
|
|
38
40
|
# Create AEM Authorizable Keystore.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2016-
|
|
1
|
+
# Copyright 2016-2021 Shine Solutions Group
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
@@ -41,6 +41,13 @@ module RubyAem
|
|
|
41
41
|
def stop
|
|
42
42
|
@client.call(self.class, __callee__.to_s, @call_params)
|
|
43
43
|
end
|
|
44
|
+
|
|
45
|
+
# Retrieve bundle info.
|
|
46
|
+
#
|
|
47
|
+
# @return RubyAem::Result
|
|
48
|
+
def info
|
|
49
|
+
@client.call(self.class, __callee__.to_s, @call_params)
|
|
50
|
+
end
|
|
44
51
|
end
|
|
45
52
|
end
|
|
46
53
|
end
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2016-2018 Shine Solutions
|
|
1
|
+
# Copyright 2016-2018-2021 Shine Solutions Group
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
@@ -38,6 +38,8 @@ module RubyAem
|
|
|
38
38
|
keystore_intermediate_path: keystore_intermediate_path,
|
|
39
39
|
keystore_authorizable_id: keystore_authorizable_id
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
@call_params[:keystore_intermediate_path] = RubyAem::Swagger.path(@call_params[:keystore_intermediate_path])
|
|
41
43
|
end
|
|
42
44
|
|
|
43
45
|
# Create is an alias to import.
|
data/lib/ruby_aem/response.rb
CHANGED
data/lib/ruby_aem/result.rb
CHANGED
data/lib/ruby_aem/swagger.rb
CHANGED
data/lib/ruby_aem.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_aem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shine Solutions
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2021-09-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: retries
|
|
@@ -31,14 +31,14 @@ dependencies:
|
|
|
31
31
|
requirements:
|
|
32
32
|
- - '='
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
|
-
version: 3.
|
|
34
|
+
version: 3.4.0
|
|
35
35
|
type: :runtime
|
|
36
36
|
prerelease: false
|
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
38
|
requirements:
|
|
39
39
|
- - '='
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: 3.
|
|
41
|
+
version: 3.4.0
|
|
42
42
|
- !ruby/object:Gem::Dependency
|
|
43
43
|
name: swagger_aem_osgi
|
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|