swagger_aem 3.2.0 → 3.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +38 -35
- data/README.md +11 -5
- 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/GraniteApi.md +75 -0
- data/docs/InlineObject5.md +19 -0
- 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 +4 -4
- data/lib/swagger_aem/api/custom_api.rb +2 -2
- data/lib/swagger_aem/api/granite_api.rb +124 -0
- data/lib/swagger_aem/api/sling_api.rb +2 -2
- 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 +215 -0
- 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 +7 -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 +52 -0
- 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 +47 -0
- 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 +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b0418a67abaeddb6e9b5d1a9e0a30ab505a0d2c
|
4
|
+
data.tar.gz: 79ccfbbcabec2067b077d6b1ae463bfa03701864
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63314f0b756977c2fa4c8ce3c0dffae54fed0e856a61c3db5e0cc8f83fc10373fa539b033ccab84e378d550da9bd5a034275b2109d94c12c9b795c02d9dbb117
|
7
|
+
data.tar.gz: 43f14b22a8679a17df15d33794583d1a002a4776b7907bf18176c0b46aa466cd20e57f0d57e1ff834631df1e2bb004a3a8a05309118a0f6f25f936cf8a1fd006
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,60 +1,63 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
swagger_aem (3.2
|
4
|
+
swagger_aem (3.6.2)
|
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.
|
12
|
-
byebug (11.1.
|
13
|
-
coderay (1.1.
|
14
|
-
diff-lcs (1.
|
15
|
-
ethon (0.
|
16
|
-
ffi (>= 1.
|
17
|
-
ffi (1.
|
18
|
-
|
19
|
-
json (2.3.0)
|
11
|
+
ast (2.4.2)
|
12
|
+
byebug (11.1.3)
|
13
|
+
coderay (1.1.3)
|
14
|
+
diff-lcs (1.4.4)
|
15
|
+
ethon (0.14.0)
|
16
|
+
ffi (>= 1.15.0)
|
17
|
+
ffi (1.15.4)
|
18
|
+
json (2.5.1)
|
20
19
|
method_source (1.0.0)
|
21
|
-
parallel (1.
|
22
|
-
parser (
|
23
|
-
ast (~> 2.4.
|
20
|
+
parallel (1.20.1)
|
21
|
+
parser (3.0.2.0)
|
22
|
+
ast (~> 2.4.1)
|
24
23
|
pry (0.13.1)
|
25
24
|
coderay (~> 1.1)
|
26
25
|
method_source (~> 1.0)
|
27
26
|
pry-byebug (3.9.0)
|
28
27
|
byebug (~> 11.0)
|
29
28
|
pry (~> 0.13.0)
|
30
|
-
psych (3.1.0)
|
31
29
|
rainbow (3.0.0)
|
32
|
-
rake (13.0.
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
rspec-
|
37
|
-
|
38
|
-
rspec-
|
39
|
-
rspec-
|
30
|
+
rake (13.0.6)
|
31
|
+
regexp_parser (2.1.1)
|
32
|
+
rexml (3.2.5)
|
33
|
+
rspec (3.10.0)
|
34
|
+
rspec-core (~> 3.10.0)
|
35
|
+
rspec-expectations (~> 3.10.0)
|
36
|
+
rspec-mocks (~> 3.10.0)
|
37
|
+
rspec-core (3.10.1)
|
38
|
+
rspec-support (~> 3.10.0)
|
39
|
+
rspec-expectations (3.10.1)
|
40
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
-
rspec-support (~> 3.
|
42
|
-
rspec-mocks (3.
|
41
|
+
rspec-support (~> 3.10.0)
|
42
|
+
rspec-mocks (3.10.2)
|
43
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
44
|
-
rspec-support (~> 3.
|
45
|
-
rspec-support (3.
|
46
|
-
rubocop (
|
47
|
-
jaro_winkler (~> 1.5.1)
|
44
|
+
rspec-support (~> 3.10.0)
|
45
|
+
rspec-support (3.10.2)
|
46
|
+
rubocop (1.12.1)
|
48
47
|
parallel (~> 1.10)
|
49
|
-
parser (>=
|
50
|
-
psych (>= 3.1.0)
|
48
|
+
parser (>= 3.0.0.0)
|
51
49
|
rainbow (>= 2.2.2, < 4.0)
|
50
|
+
regexp_parser (>= 1.8, < 3.0)
|
51
|
+
rexml
|
52
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
52
53
|
ruby-progressbar (~> 1.7)
|
53
|
-
unicode-display_width (>= 1.4.0, <
|
54
|
-
|
55
|
-
|
54
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
55
|
+
rubocop-ast (1.4.1)
|
56
|
+
parser (>= 2.7.1.5)
|
57
|
+
ruby-progressbar (1.11.0)
|
58
|
+
typhoeus (1.4.0)
|
56
59
|
ethon (>= 0.9.0)
|
57
|
-
unicode-display_width (1.
|
60
|
+
unicode-display_width (2.1.0)
|
58
61
|
|
59
62
|
PLATFORMS
|
60
63
|
ruby
|
@@ -63,7 +66,7 @@ DEPENDENCIES
|
|
63
66
|
pry-byebug
|
64
67
|
rake (~> 13.0.1)
|
65
68
|
rspec (~> 3.6, >= 3.6.0)
|
66
|
-
rubocop (~>
|
69
|
+
rubocop (~> 1.12.1)
|
67
70
|
swagger_aem!
|
68
71
|
|
69
72
|
BUNDLED WITH
|
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.0-pre.0
|
10
|
+
- Package version: 3.5.0-pre.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.5.0-pre.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.5.0-pre.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.5.0-pre.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} |
|
@@ -98,6 +99,7 @@ Class | Method | HTTP request | Description
|
|
98
99
|
*SwaggerAemClient::CustomApi* | [**get_aem_health_check**](docs/CustomApi.md#get_aem_health_check) | **GET** /system/health |
|
99
100
|
*SwaggerAemClient::CustomApi* | [**post_config_aem_health_check_servlet**](docs/CustomApi.md#post_config_aem_health_check_servlet) | **POST** /apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck |
|
100
101
|
*SwaggerAemClient::CustomApi* | [**post_config_aem_password_reset**](docs/CustomApi.md#post_config_aem_password_reset) | **POST** /apps/system/config/com.shinesolutions.aem.passwordreset.Activator |
|
102
|
+
*SwaggerAemClient::GraniteApi* | [**ssl_setup**](docs/GraniteApi.md#ssl_setup) | **POST** /libs/granite/security/post/sslSetup.html |
|
101
103
|
*SwaggerAemClient::SlingApi* | [**delete_agent**](docs/SlingApi.md#delete_agent) | **DELETE** /etc/replication/agents.{runmode}/{name} |
|
102
104
|
*SwaggerAemClient::SlingApi* | [**delete_node**](docs/SlingApi.md#delete_node) | **DELETE** /{path}/{name} |
|
103
105
|
*SwaggerAemClient::SlingApi* | [**get_agent**](docs/SlingApi.md#get_agent) | **GET** /etc/replication/agents.{runmode}/{name} |
|
@@ -131,11 +133,15 @@ Class | Method | HTTP request | Description
|
|
131
133
|
|
132
134
|
## Documentation for Models
|
133
135
|
|
136
|
+
- [SwaggerAemClient::BundleData](docs/BundleData.md)
|
137
|
+
- [SwaggerAemClient::BundleDataProp](docs/BundleDataProp.md)
|
138
|
+
- [SwaggerAemClient::BundleInfo](docs/BundleInfo.md)
|
134
139
|
- [SwaggerAemClient::InlineObject](docs/InlineObject.md)
|
135
140
|
- [SwaggerAemClient::InlineObject1](docs/InlineObject1.md)
|
136
141
|
- [SwaggerAemClient::InlineObject2](docs/InlineObject2.md)
|
137
142
|
- [SwaggerAemClient::InlineObject3](docs/InlineObject3.md)
|
138
143
|
- [SwaggerAemClient::InlineObject4](docs/InlineObject4.md)
|
144
|
+
- [SwaggerAemClient::InlineObject5](docs/InlineObject5.md)
|
139
145
|
- [SwaggerAemClient::InstallStatus](docs/InstallStatus.md)
|
140
146
|
- [SwaggerAemClient::InstallStatusStatus](docs/InstallStatusStatus.md)
|
141
147
|
- [SwaggerAemClient::KeystoreChainItems](docs/KeystoreChainItems.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/GraniteApi.md
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
# SwaggerAemClient::GraniteApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**ssl_setup**](GraniteApi.md#ssl_setup) | **POST** /libs/granite/security/post/sslSetup.html |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## ssl_setup
|
12
|
+
|
13
|
+
> String ssl_setup(keystore_password, keystore_password_confirm, truststore_password, truststore_password_confirm, https_hostname, https_port, opts)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
### Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'swagger_aem'
|
22
|
+
# setup authorization
|
23
|
+
SwaggerAemClient.configure do |config|
|
24
|
+
# Configure HTTP basic authorization: aemAuth
|
25
|
+
config.username = 'YOUR USERNAME'
|
26
|
+
config.password = 'YOUR PASSWORD'
|
27
|
+
end
|
28
|
+
|
29
|
+
api_instance = SwaggerAemClient::GraniteApi.new
|
30
|
+
keystore_password = 'keystore_password_example' # String |
|
31
|
+
keystore_password_confirm = 'keystore_password_confirm_example' # String |
|
32
|
+
truststore_password = 'truststore_password_example' # String |
|
33
|
+
truststore_password_confirm = 'truststore_password_confirm_example' # String |
|
34
|
+
https_hostname = 'https_hostname_example' # String |
|
35
|
+
https_port = 'https_port_example' # String |
|
36
|
+
opts = {
|
37
|
+
privatekey_file: File.new('/path/to/file'), # File |
|
38
|
+
certificate_file: File.new('/path/to/file') # File |
|
39
|
+
}
|
40
|
+
|
41
|
+
begin
|
42
|
+
result = api_instance.ssl_setup(keystore_password, keystore_password_confirm, truststore_password, truststore_password_confirm, https_hostname, https_port, opts)
|
43
|
+
p result
|
44
|
+
rescue SwaggerAemClient::ApiError => e
|
45
|
+
puts "Exception when calling GraniteApi->ssl_setup: #{e}"
|
46
|
+
end
|
47
|
+
```
|
48
|
+
|
49
|
+
### Parameters
|
50
|
+
|
51
|
+
|
52
|
+
Name | Type | Description | Notes
|
53
|
+
------------- | ------------- | ------------- | -------------
|
54
|
+
**keystore_password** | **String**| |
|
55
|
+
**keystore_password_confirm** | **String**| |
|
56
|
+
**truststore_password** | **String**| |
|
57
|
+
**truststore_password_confirm** | **String**| |
|
58
|
+
**https_hostname** | **String**| |
|
59
|
+
**https_port** | **String**| |
|
60
|
+
**privatekey_file** | **File**| | [optional]
|
61
|
+
**certificate_file** | **File**| | [optional]
|
62
|
+
|
63
|
+
### Return type
|
64
|
+
|
65
|
+
**String**
|
66
|
+
|
67
|
+
### Authorization
|
68
|
+
|
69
|
+
[aemAuth](../README.md#aemAuth)
|
70
|
+
|
71
|
+
### HTTP request headers
|
72
|
+
|
73
|
+
- **Content-Type**: multipart/form-data
|
74
|
+
- **Accept**: text/plain
|
75
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# SwaggerAemClient::InlineObject5
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**privatekey_file** | **File** | | [optional]
|
8
|
+
**certificate_file** | **File** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'SwaggerAemClient'
|
14
|
+
|
15
|
+
instance = SwaggerAemClient::InlineObject5.new(privatekey_file: null,
|
16
|
+
certificate_file: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -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.0-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.0-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,14 +3,14 @@
|
|
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.0-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
|
|
13
|
-
require '
|
13
|
+
require 'erb'
|
14
14
|
|
15
15
|
module SwaggerAemClient
|
16
16
|
class CrxApi
|
@@ -274,7 +274,7 @@ module SwaggerAemClient
|
|
274
274
|
fail ArgumentError, "Missing the required parameter 'cmd' when calling CrxApi.post_package_service_json"
|
275
275
|
end
|
276
276
|
# resource path
|
277
|
-
local_var_path = '/crx/packmgr/service/.json/{path}'.sub('{' + 'path' + '}',
|
277
|
+
local_var_path = '/crx/packmgr/service/.json/{path}'.sub('{' + 'path' + '}', ERB::Util.url_encode(path.to_s))
|
278
278
|
|
279
279
|
# query parameters
|
280
280
|
query_params = opts[:query_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.0-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
|
|