swagger_aem 3.3.0 → 3.7.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 +5 -5
- data/Gemfile.lock +32 -30
- data/README.md +10 -6
- data/docs/BundleData.md +33 -0
- data/docs/BundleDataProp.md +19 -0
- data/docs/BundleInfo.md +21 -0
- data/docs/ConsoleApi.md +51 -0
- data/docs/SlingApi.md +5 -3
- data/lib/swagger_aem/api/console_api.rb +60 -2
- data/lib/swagger_aem/api/cq_api.rb +2 -2
- data/lib/swagger_aem/api/crx_api.rb +2 -2
- data/lib/swagger_aem/api/custom_api.rb +2 -2
- data/lib/swagger_aem/api/granite_api.rb +2 -2
- data/lib/swagger_aem/api/sling_api.rb +13 -6
- data/lib/swagger_aem/api_client.rb +2 -2
- data/lib/swagger_aem/api_error.rb +2 -2
- data/lib/swagger_aem/configuration.rb +2 -2
- data/lib/swagger_aem/models/bundle_data.rb +288 -0
- data/lib/swagger_aem/models/bundle_data_prop.rb +217 -0
- data/lib/swagger_aem/models/bundle_info.rb +229 -0
- data/lib/swagger_aem/models/inline_object.rb +2 -2
- data/lib/swagger_aem/models/inline_object1.rb +2 -2
- data/lib/swagger_aem/models/inline_object2.rb +2 -2
- data/lib/swagger_aem/models/inline_object3.rb +2 -2
- data/lib/swagger_aem/models/inline_object4.rb +2 -2
- data/lib/swagger_aem/models/inline_object5.rb +2 -2
- data/lib/swagger_aem/models/install_status.rb +2 -2
- data/lib/swagger_aem/models/install_status_status.rb +2 -2
- data/lib/swagger_aem/models/keystore_chain_items.rb +2 -2
- data/lib/swagger_aem/models/keystore_info.rb +2 -2
- data/lib/swagger_aem/models/keystore_items.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_info.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_properties.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +2 -2
- data/lib/swagger_aem/models/truststore_info.rb +2 -2
- data/lib/swagger_aem/models/truststore_items.rb +2 -2
- data/lib/swagger_aem/version.rb +3 -3
- data/lib/swagger_aem.rb +5 -2
- data/spec/api/console_api_spec.rb +22 -12
- data/spec/api/cq_api_spec.rb +4 -4
- data/spec/api/crx_api_spec.rb +6 -6
- data/spec/api/custom_api_spec.rb +5 -5
- data/spec/api/granite_api_spec.rb +2 -2
- data/spec/api/sling_api_spec.rb +76 -66
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/bundle_data_prop_spec.rb +40 -0
- data/spec/models/bundle_data_spec.rb +82 -0
- data/spec/models/bundle_info_spec.rb +46 -0
- data/spec/models/inline_object1_spec.rb +2 -2
- data/spec/models/inline_object2_spec.rb +2 -2
- data/spec/models/inline_object3_spec.rb +2 -2
- data/spec/models/inline_object4_spec.rb +2 -2
- data/spec/models/inline_object5_spec.rb +2 -2
- data/spec/models/inline_object_spec.rb +2 -2
- data/spec/models/install_status_spec.rb +5 -12
- data/spec/models/install_status_status_spec.rb +5 -12
- data/spec/models/keystore_chain_items_spec.rb +5 -12
- data/spec/models/keystore_info_spec.rb +5 -12
- data/spec/models/keystore_items_spec.rb +5 -12
- data/spec/models/saml_configuration_info_spec.rb +5 -12
- data/spec/models/saml_configuration_properties_spec.rb +5 -12
- data/spec/models/saml_configuration_property_items_array_spec.rb +5 -12
- data/spec/models/saml_configuration_property_items_boolean_spec.rb +5 -12
- data/spec/models/saml_configuration_property_items_long_spec.rb +5 -12
- data/spec/models/saml_configuration_property_items_string_spec.rb +5 -12
- data/spec/models/truststore_info_spec.rb +5 -12
- data/spec/models/truststore_items_spec.rb +5 -12
- data/spec/spec_helper.rb +2 -2
- data/swagger_aem.gemspec +2 -2
- metadata +18 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1c31ee58ccb164fbf654347861cd5e5fc6e839634829e5cf39ca95a24691decd
|
4
|
+
data.tar.gz: 19793def07696ceb631c304f0c1e9d235ff7ae2830b3a26c873b0abae551f009
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f6679d80db30a3f01bf5536fc5607af2af4dad53fafb1a21fc627c1c7764b276f73e56e87a66a1096aaae2ffb92a8ad5c247e299e6f5f29bd1788519a9c60d7
|
7
|
+
data.tar.gz: 220e3baa3d676ebecc018aa01303a4f6bfe24b6da1dbf42a259876b68b35e8e8458362b913b8763ead44a2cdad0aa7d7c0402af5de7c2d7303ef893b32ef77ca
|
data/Gemfile.lock
CHANGED
@@ -1,48 +1,49 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
swagger_aem (3.
|
4
|
+
swagger_aem (3.7.0)
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
6
6
|
typhoeus (~> 1.0, >= 1.0.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
ast (2.4.
|
11
|
+
ast (2.4.2)
|
12
12
|
byebug (11.1.3)
|
13
|
-
coderay (1.1.
|
14
|
-
diff-lcs (1.
|
15
|
-
ethon (0.
|
16
|
-
ffi (>= 1.
|
17
|
-
ffi (1.
|
13
|
+
coderay (1.1.3)
|
14
|
+
diff-lcs (1.5.0)
|
15
|
+
ethon (0.15.0)
|
16
|
+
ffi (>= 1.15.0)
|
17
|
+
ffi (1.15.5)
|
18
18
|
jaro_winkler (1.5.4)
|
19
|
-
json (2.
|
19
|
+
json (2.6.2)
|
20
20
|
method_source (1.0.0)
|
21
|
-
parallel (1.
|
22
|
-
parser (
|
23
|
-
ast (~> 2.4.
|
24
|
-
pry (0.
|
21
|
+
parallel (1.22.1)
|
22
|
+
parser (3.1.2.1)
|
23
|
+
ast (~> 2.4.1)
|
24
|
+
pry (0.14.1)
|
25
25
|
coderay (~> 1.1)
|
26
26
|
method_source (~> 1.0)
|
27
|
-
pry-byebug (3.
|
27
|
+
pry-byebug (3.10.1)
|
28
28
|
byebug (~> 11.0)
|
29
|
-
pry (
|
30
|
-
psych (
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
rspec-
|
36
|
-
rspec-
|
37
|
-
|
38
|
-
|
39
|
-
|
29
|
+
pry (>= 0.13, < 0.15)
|
30
|
+
psych (4.0.4)
|
31
|
+
stringio
|
32
|
+
rainbow (3.1.1)
|
33
|
+
rake (13.0.6)
|
34
|
+
rspec (3.11.0)
|
35
|
+
rspec-core (~> 3.11.0)
|
36
|
+
rspec-expectations (~> 3.11.0)
|
37
|
+
rspec-mocks (~> 3.11.0)
|
38
|
+
rspec-core (3.11.0)
|
39
|
+
rspec-support (~> 3.11.0)
|
40
|
+
rspec-expectations (3.11.0)
|
40
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
-
rspec-support (~> 3.
|
42
|
-
rspec-mocks (3.
|
42
|
+
rspec-support (~> 3.11.0)
|
43
|
+
rspec-mocks (3.11.1)
|
43
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
44
|
-
rspec-support (~> 3.
|
45
|
-
rspec-support (3.
|
45
|
+
rspec-support (~> 3.11.0)
|
46
|
+
rspec-support (3.11.0)
|
46
47
|
rubocop (0.66.0)
|
47
48
|
jaro_winkler (~> 1.5.1)
|
48
49
|
parallel (~> 1.10)
|
@@ -51,7 +52,8 @@ GEM
|
|
51
52
|
rainbow (>= 2.2.2, < 4.0)
|
52
53
|
ruby-progressbar (~> 1.7)
|
53
54
|
unicode-display_width (>= 1.4.0, < 1.6)
|
54
|
-
ruby-progressbar (1.
|
55
|
+
ruby-progressbar (1.11.0)
|
56
|
+
stringio (3.0.2)
|
55
57
|
typhoeus (1.4.0)
|
56
58
|
ethon (>= 0.9.0)
|
57
59
|
unicode-display_width (1.5.0)
|
@@ -67,4 +69,4 @@ DEPENDENCIES
|
|
67
69
|
swagger_aem!
|
68
70
|
|
69
71
|
BUNDLED WITH
|
70
|
-
1.
|
72
|
+
2.1.4
|
data/README.md
CHANGED
@@ -6,8 +6,8 @@ Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
|
-
- API version: 3.
|
10
|
-
- Package version: 3.
|
9
|
+
- API version: 3.5.2-pre.0
|
10
|
+
- Package version: 3.7.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://shinesolutions.com](http://shinesolutions.com)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build swagger_aem.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./swagger_aem-3.
|
27
|
+
gem install ./swagger_aem-3.7.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./swagger_aem-3.
|
30
|
+
(for development, run `gem install --dev ./swagger_aem-3.7.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'swagger_aem', '~> 3.
|
36
|
+
gem 'swagger_aem', '~> 3.7.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -82,6 +82,7 @@ All URIs are relative to *http://localhost*
|
|
82
82
|
Class | Method | HTTP request | Description
|
83
83
|
------------ | ------------- | ------------- | -------------
|
84
84
|
*SwaggerAemClient::ConsoleApi* | [**get_aem_product_info**](docs/ConsoleApi.md#get_aem_product_info) | **GET** /system/console/status-productinfo.json |
|
85
|
+
*SwaggerAemClient::ConsoleApi* | [**get_bundle_info**](docs/ConsoleApi.md#get_bundle_info) | **GET** /system/console/bundles/{name}.json |
|
85
86
|
*SwaggerAemClient::ConsoleApi* | [**get_config_mgr**](docs/ConsoleApi.md#get_config_mgr) | **GET** /system/console/configMgr |
|
86
87
|
*SwaggerAemClient::ConsoleApi* | [**post_bundle**](docs/ConsoleApi.md#post_bundle) | **POST** /system/console/bundles/{name} |
|
87
88
|
*SwaggerAemClient::ConsoleApi* | [**post_jmx_repository**](docs/ConsoleApi.md#post_jmx_repository) | **POST** /system/console/jmx/com.adobe.granite:type=Repository/op/{action} |
|
@@ -125,13 +126,16 @@ Class | Method | HTTP request | Description
|
|
125
126
|
*SwaggerAemClient::SlingApi* | [**post_node_rw**](docs/SlingApi.md#post_node_rw) | **POST** /{path}/{name}.rw.html |
|
126
127
|
*SwaggerAemClient::SlingApi* | [**post_path**](docs/SlingApi.md#post_path) | **POST** /{path}/ |
|
127
128
|
*SwaggerAemClient::SlingApi* | [**post_query**](docs/SlingApi.md#post_query) | **POST** /bin/querybuilder.json |
|
128
|
-
*SwaggerAemClient::SlingApi* | [**post_tree_activation**](docs/SlingApi.md#post_tree_activation) | **POST** /
|
129
|
+
*SwaggerAemClient::SlingApi* | [**post_tree_activation**](docs/SlingApi.md#post_tree_activation) | **POST** /libs/replication/treeactivation.html |
|
129
130
|
*SwaggerAemClient::SlingApi* | [**post_truststore**](docs/SlingApi.md#post_truststore) | **POST** /libs/granite/security/post/truststore |
|
130
131
|
*SwaggerAemClient::SlingApi* | [**post_truststore_pkcs12**](docs/SlingApi.md#post_truststore_pkcs12) | **POST** /etc/truststore |
|
131
132
|
|
132
133
|
|
133
134
|
## Documentation for Models
|
134
135
|
|
136
|
+
- [SwaggerAemClient::BundleData](docs/BundleData.md)
|
137
|
+
- [SwaggerAemClient::BundleDataProp](docs/BundleDataProp.md)
|
138
|
+
- [SwaggerAemClient::BundleInfo](docs/BundleInfo.md)
|
135
139
|
- [SwaggerAemClient::InlineObject](docs/InlineObject.md)
|
136
140
|
- [SwaggerAemClient::InlineObject1](docs/InlineObject1.md)
|
137
141
|
- [SwaggerAemClient::InlineObject2](docs/InlineObject2.md)
|
data/docs/BundleData.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# SwaggerAemClient::BundleData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **Integer** | Bundle ID | [optional]
|
8
|
+
**name** | **String** | Bundle name | [optional]
|
9
|
+
**fragment** | **Boolean** | Is bundle a fragment | [optional]
|
10
|
+
**state_raw** | **Integer** | Numeric raw bundle state value | [optional]
|
11
|
+
**state** | **String** | Bundle state value | [optional]
|
12
|
+
**version** | **String** | Bundle version | [optional]
|
13
|
+
**symbolic_name** | **String** | Bundle symbolic name | [optional]
|
14
|
+
**category** | **String** | Bundle category | [optional]
|
15
|
+
**props** | [**Array<BundleDataProp>**](BundleDataProp.md) | | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'SwaggerAemClient'
|
21
|
+
|
22
|
+
instance = SwaggerAemClient::BundleData.new(id: null,
|
23
|
+
name: null,
|
24
|
+
fragment: null,
|
25
|
+
state_raw: null,
|
26
|
+
state: null,
|
27
|
+
version: null,
|
28
|
+
symbolic_name: null,
|
29
|
+
category: null,
|
30
|
+
props: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# SwaggerAemClient::BundleDataProp
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | Bundle data key | [optional]
|
8
|
+
**value** | **String** | Bundle data value | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'SwaggerAemClient'
|
14
|
+
|
15
|
+
instance = SwaggerAemClient::BundleDataProp.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/BundleInfo.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# SwaggerAemClient::BundleInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**status** | **String** | Status description of all bundles | [optional]
|
8
|
+
**s** | **Array<Integer>** | | [optional]
|
9
|
+
**data** | [**Array<BundleData>**](BundleData.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'SwaggerAemClient'
|
15
|
+
|
16
|
+
instance = SwaggerAemClient::BundleInfo.new(status: null,
|
17
|
+
s: null,
|
18
|
+
data: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/ConsoleApi.md
CHANGED
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**get_aem_product_info**](ConsoleApi.md#get_aem_product_info) | **GET** /system/console/status-productinfo.json |
|
8
|
+
[**get_bundle_info**](ConsoleApi.md#get_bundle_info) | **GET** /system/console/bundles/{name}.json |
|
8
9
|
[**get_config_mgr**](ConsoleApi.md#get_config_mgr) | **GET** /system/console/configMgr |
|
9
10
|
[**post_bundle**](ConsoleApi.md#post_bundle) | **POST** /system/console/bundles/{name} |
|
10
11
|
[**post_jmx_repository**](ConsoleApi.md#post_jmx_repository) | **POST** /system/console/jmx/com.adobe.granite:type=Repository/op/{action} |
|
@@ -58,6 +59,56 @@ This endpoint does not need any parameter.
|
|
58
59
|
- **Accept**: application/json
|
59
60
|
|
60
61
|
|
62
|
+
## get_bundle_info
|
63
|
+
|
64
|
+
> BundleInfo get_bundle_info(name)
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
### Example
|
69
|
+
|
70
|
+
```ruby
|
71
|
+
# load the gem
|
72
|
+
require 'swagger_aem'
|
73
|
+
# setup authorization
|
74
|
+
SwaggerAemClient.configure do |config|
|
75
|
+
# Configure HTTP basic authorization: aemAuth
|
76
|
+
config.username = 'YOUR USERNAME'
|
77
|
+
config.password = 'YOUR PASSWORD'
|
78
|
+
end
|
79
|
+
|
80
|
+
api_instance = SwaggerAemClient::ConsoleApi.new
|
81
|
+
name = 'name_example' # String |
|
82
|
+
|
83
|
+
begin
|
84
|
+
result = api_instance.get_bundle_info(name)
|
85
|
+
p result
|
86
|
+
rescue SwaggerAemClient::ApiError => e
|
87
|
+
puts "Exception when calling ConsoleApi->get_bundle_info: #{e}"
|
88
|
+
end
|
89
|
+
```
|
90
|
+
|
91
|
+
### Parameters
|
92
|
+
|
93
|
+
|
94
|
+
Name | Type | Description | Notes
|
95
|
+
------------- | ------------- | ------------- | -------------
|
96
|
+
**name** | **String**| |
|
97
|
+
|
98
|
+
### Return type
|
99
|
+
|
100
|
+
[**BundleInfo**](BundleInfo.md)
|
101
|
+
|
102
|
+
### Authorization
|
103
|
+
|
104
|
+
[aemAuth](../README.md#aemAuth)
|
105
|
+
|
106
|
+
### HTTP request headers
|
107
|
+
|
108
|
+
- **Content-Type**: Not defined
|
109
|
+
- **Accept**: application/json
|
110
|
+
|
111
|
+
|
61
112
|
## get_config_mgr
|
62
113
|
|
63
114
|
> String get_config_mgr
|
data/docs/SlingApi.md
CHANGED
@@ -30,7 +30,7 @@ Method | HTTP request | Description
|
|
30
30
|
[**post_node_rw**](SlingApi.md#post_node_rw) | **POST** /{path}/{name}.rw.html |
|
31
31
|
[**post_path**](SlingApi.md#post_path) | **POST** /{path}/ |
|
32
32
|
[**post_query**](SlingApi.md#post_query) | **POST** /bin/querybuilder.json |
|
33
|
-
[**post_tree_activation**](SlingApi.md#post_tree_activation) | **POST** /
|
33
|
+
[**post_tree_activation**](SlingApi.md#post_tree_activation) | **POST** /libs/replication/treeactivation.html |
|
34
34
|
[**post_truststore**](SlingApi.md#post_truststore) | **POST** /libs/granite/security/post/truststore |
|
35
35
|
[**post_truststore_pkcs12**](SlingApi.md#post_truststore_pkcs12) | **POST** /etc/truststore |
|
36
36
|
|
@@ -1711,7 +1711,7 @@ Name | Type | Description | Notes
|
|
1711
1711
|
|
1712
1712
|
## post_tree_activation
|
1713
1713
|
|
1714
|
-
> post_tree_activation(ignoredeactivated, onlymodified, path)
|
1714
|
+
> post_tree_activation(ignoredeactivated, onlymodified, path, cmd)
|
1715
1715
|
|
1716
1716
|
|
1717
1717
|
|
@@ -1731,9 +1731,10 @@ api_instance = SwaggerAemClient::SlingApi.new
|
|
1731
1731
|
ignoredeactivated = true # Boolean |
|
1732
1732
|
onlymodified = true # Boolean |
|
1733
1733
|
path = 'path_example' # String |
|
1734
|
+
cmd = 'activate' # String |
|
1734
1735
|
|
1735
1736
|
begin
|
1736
|
-
api_instance.post_tree_activation(ignoredeactivated, onlymodified, path)
|
1737
|
+
api_instance.post_tree_activation(ignoredeactivated, onlymodified, path, cmd)
|
1737
1738
|
rescue SwaggerAemClient::ApiError => e
|
1738
1739
|
puts "Exception when calling SlingApi->post_tree_activation: #{e}"
|
1739
1740
|
end
|
@@ -1747,6 +1748,7 @@ Name | Type | Description | Notes
|
|
1747
1748
|
**ignoredeactivated** | **Boolean**| |
|
1748
1749
|
**onlymodified** | **Boolean**| |
|
1749
1750
|
**path** | **String**| |
|
1751
|
+
**cmd** | **String**| | [default to 'activate']
|
1750
1752
|
|
1751
1753
|
### Return type
|
1752
1754
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -71,6 +71,64 @@ module SwaggerAemClient
|
|
71
71
|
return data, status_code, headers
|
72
72
|
end
|
73
73
|
|
74
|
+
# @param name [String]
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [BundleInfo]
|
77
|
+
def get_bundle_info(name, opts = {})
|
78
|
+
data, _status_code, _headers = get_bundle_info_with_http_info(name, opts)
|
79
|
+
data
|
80
|
+
end
|
81
|
+
|
82
|
+
# @param name [String]
|
83
|
+
# @param [Hash] opts the optional parameters
|
84
|
+
# @return [Array<(BundleInfo, Integer, Hash)>] BundleInfo data, response status code and response headers
|
85
|
+
def get_bundle_info_with_http_info(name, opts = {})
|
86
|
+
if @api_client.config.debugging
|
87
|
+
@api_client.config.logger.debug 'Calling API: ConsoleApi.get_bundle_info ...'
|
88
|
+
end
|
89
|
+
# verify the required parameter 'name' is set
|
90
|
+
if @api_client.config.client_side_validation && name.nil?
|
91
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling ConsoleApi.get_bundle_info"
|
92
|
+
end
|
93
|
+
# resource path
|
94
|
+
local_var_path = '/system/console/bundles/{name}.json'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
95
|
+
|
96
|
+
# query parameters
|
97
|
+
query_params = opts[:query_params] || {}
|
98
|
+
|
99
|
+
# header parameters
|
100
|
+
header_params = opts[:header_params] || {}
|
101
|
+
# HTTP header 'Accept' (if needed)
|
102
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
103
|
+
|
104
|
+
# form parameters
|
105
|
+
form_params = opts[:form_params] || {}
|
106
|
+
|
107
|
+
# http body (model)
|
108
|
+
post_body = opts[:body]
|
109
|
+
|
110
|
+
# return_type
|
111
|
+
return_type = opts[:return_type] || 'BundleInfo'
|
112
|
+
|
113
|
+
# auth_names
|
114
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
115
|
+
|
116
|
+
new_options = opts.merge(
|
117
|
+
:header_params => header_params,
|
118
|
+
:query_params => query_params,
|
119
|
+
:form_params => form_params,
|
120
|
+
:body => post_body,
|
121
|
+
:auth_names => auth_names,
|
122
|
+
:return_type => return_type
|
123
|
+
)
|
124
|
+
|
125
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
126
|
+
if @api_client.config.debugging
|
127
|
+
@api_client.config.logger.debug "API called: ConsoleApi#get_bundle_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
128
|
+
end
|
129
|
+
return data, status_code, headers
|
130
|
+
end
|
131
|
+
|
74
132
|
# @param [Hash] opts the optional parameters
|
75
133
|
# @return [String]
|
76
134
|
def get_config_mgr(opts = {})
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -2116,19 +2116,21 @@ module SwaggerAemClient
|
|
2116
2116
|
# @param ignoredeactivated [Boolean]
|
2117
2117
|
# @param onlymodified [Boolean]
|
2118
2118
|
# @param path [String]
|
2119
|
+
# @param cmd [String]
|
2119
2120
|
# @param [Hash] opts the optional parameters
|
2120
2121
|
# @return [nil]
|
2121
|
-
def post_tree_activation(ignoredeactivated, onlymodified, path, opts = {})
|
2122
|
-
post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts)
|
2122
|
+
def post_tree_activation(ignoredeactivated, onlymodified, path, cmd, opts = {})
|
2123
|
+
post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, cmd, opts)
|
2123
2124
|
nil
|
2124
2125
|
end
|
2125
2126
|
|
2126
2127
|
# @param ignoredeactivated [Boolean]
|
2127
2128
|
# @param onlymodified [Boolean]
|
2128
2129
|
# @param path [String]
|
2130
|
+
# @param cmd [String]
|
2129
2131
|
# @param [Hash] opts the optional parameters
|
2130
2132
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2131
|
-
def post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts = {})
|
2133
|
+
def post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, cmd, opts = {})
|
2132
2134
|
if @api_client.config.debugging
|
2133
2135
|
@api_client.config.logger.debug 'Calling API: SlingApi.post_tree_activation ...'
|
2134
2136
|
end
|
@@ -2144,14 +2146,19 @@ module SwaggerAemClient
|
|
2144
2146
|
if @api_client.config.client_side_validation && path.nil?
|
2145
2147
|
fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_tree_activation"
|
2146
2148
|
end
|
2149
|
+
# verify the required parameter 'cmd' is set
|
2150
|
+
if @api_client.config.client_side_validation && cmd.nil?
|
2151
|
+
fail ArgumentError, "Missing the required parameter 'cmd' when calling SlingApi.post_tree_activation"
|
2152
|
+
end
|
2147
2153
|
# resource path
|
2148
|
-
local_var_path = '/
|
2154
|
+
local_var_path = '/libs/replication/treeactivation.html'
|
2149
2155
|
|
2150
2156
|
# query parameters
|
2151
2157
|
query_params = opts[:query_params] || {}
|
2152
2158
|
query_params[:'ignoredeactivated'] = ignoredeactivated
|
2153
2159
|
query_params[:'onlymodified'] = onlymodified
|
2154
2160
|
query_params[:'path'] = path
|
2161
|
+
query_params[:'cmd'] = cmd
|
2155
2162
|
|
2156
2163
|
# header parameters
|
2157
2164
|
header_params = opts[:header_params] || {}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|