swagger_aem 3.2.0 → 3.3.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.lock +8 -8
- data/README.md +7 -5
- data/docs/GraniteApi.md +75 -0
- data/docs/InlineObject5.md +19 -0
- data/lib/swagger_aem.rb +3 -1
- data/lib/swagger_aem/api/console_api.rb +1 -1
- data/lib/swagger_aem/api/cq_api.rb +1 -1
- data/lib/swagger_aem/api/crx_api.rb +1 -1
- data/lib/swagger_aem/api/custom_api.rb +1 -1
- data/lib/swagger_aem/api/granite_api.rb +124 -0
- data/lib/swagger_aem/api/sling_api.rb +1 -1
- data/lib/swagger_aem/api_client.rb +1 -1
- data/lib/swagger_aem/api_error.rb +1 -1
- data/lib/swagger_aem/configuration.rb +1 -1
- data/lib/swagger_aem/models/inline_object.rb +1 -1
- data/lib/swagger_aem/models/inline_object1.rb +1 -1
- data/lib/swagger_aem/models/inline_object2.rb +1 -1
- data/lib/swagger_aem/models/inline_object3.rb +1 -1
- data/lib/swagger_aem/models/inline_object4.rb +1 -1
- data/lib/swagger_aem/models/inline_object5.rb +215 -0
- data/lib/swagger_aem/models/install_status.rb +1 -1
- data/lib/swagger_aem/models/install_status_status.rb +1 -1
- data/lib/swagger_aem/models/keystore_chain_items.rb +1 -1
- data/lib/swagger_aem/models/keystore_info.rb +1 -1
- data/lib/swagger_aem/models/keystore_items.rb +1 -1
- data/lib/swagger_aem/models/saml_configuration_info.rb +1 -1
- data/lib/swagger_aem/models/saml_configuration_properties.rb +1 -1
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +1 -1
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +1 -1
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +1 -1
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +1 -1
- data/lib/swagger_aem/models/truststore_info.rb +1 -1
- data/lib/swagger_aem/models/truststore_items.rb +1 -1
- data/lib/swagger_aem/version.rb +2 -2
- data/spec/api/granite_api_spec.rb +52 -0
- data/spec/models/inline_object5_spec.rb +47 -0
- data/swagger_aem.gemspec +1 -1
- metadata +10 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec46ca83892ea8fd0b9a3baa1255ace22330a9ae
|
|
4
|
+
data.tar.gz: 57e1ed5f9624470e1a3c4b5a4a197ce0a6dd624c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75dd43c649aad804ed4539ffc08eef19c919280ce2d7ea2d9ab7f10a5f6087e4b18a2e1b51553e25ebf3993f9c361dfdaa7c6a4ee91773c0f22612fe0858bd47
|
|
7
|
+
data.tar.gz: 99588451792f84bc9b1b5ccd499ebc730b90edef563a4cbb2480fb580f8301600dca203d49f4878a5cc72544e5d84a32c730f805e1d21b4b5be18c4e49a2851e
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
swagger_aem (3.
|
|
4
|
+
swagger_aem (3.3.0)
|
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
|
6
6
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ GEM
|
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
11
|
ast (2.4.0)
|
|
12
|
-
byebug (11.1.
|
|
12
|
+
byebug (11.1.3)
|
|
13
13
|
coderay (1.1.2)
|
|
14
14
|
diff-lcs (1.3)
|
|
15
15
|
ethon (0.12.0)
|
|
@@ -19,7 +19,7 @@ GEM
|
|
|
19
19
|
json (2.3.0)
|
|
20
20
|
method_source (1.0.0)
|
|
21
21
|
parallel (1.19.1)
|
|
22
|
-
parser (2.7.1.
|
|
22
|
+
parser (2.7.1.2)
|
|
23
23
|
ast (~> 2.4.0)
|
|
24
24
|
pry (0.13.1)
|
|
25
25
|
coderay (~> 1.1)
|
|
@@ -34,15 +34,15 @@ GEM
|
|
|
34
34
|
rspec-core (~> 3.9.0)
|
|
35
35
|
rspec-expectations (~> 3.9.0)
|
|
36
36
|
rspec-mocks (~> 3.9.0)
|
|
37
|
-
rspec-core (3.9.
|
|
38
|
-
rspec-support (~> 3.9.
|
|
39
|
-
rspec-expectations (3.9.
|
|
37
|
+
rspec-core (3.9.2)
|
|
38
|
+
rspec-support (~> 3.9.3)
|
|
39
|
+
rspec-expectations (3.9.2)
|
|
40
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
41
41
|
rspec-support (~> 3.9.0)
|
|
42
42
|
rspec-mocks (3.9.1)
|
|
43
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
44
44
|
rspec-support (~> 3.9.0)
|
|
45
|
-
rspec-support (3.9.
|
|
45
|
+
rspec-support (3.9.3)
|
|
46
46
|
rubocop (0.66.0)
|
|
47
47
|
jaro_winkler (~> 1.5.1)
|
|
48
48
|
parallel (~> 1.10)
|
|
@@ -52,7 +52,7 @@ GEM
|
|
|
52
52
|
ruby-progressbar (~> 1.7)
|
|
53
53
|
unicode-display_width (>= 1.4.0, < 1.6)
|
|
54
54
|
ruby-progressbar (1.10.1)
|
|
55
|
-
typhoeus (1.
|
|
55
|
+
typhoeus (1.4.0)
|
|
56
56
|
ethon (>= 0.9.0)
|
|
57
57
|
unicode-display_width (1.5.0)
|
|
58
58
|
|
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.3.0
|
|
10
|
+
- Package version: 3.3.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.3.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.3.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.3.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -98,6 +98,7 @@ Class | Method | HTTP request | Description
|
|
|
98
98
|
*SwaggerAemClient::CustomApi* | [**get_aem_health_check**](docs/CustomApi.md#get_aem_health_check) | **GET** /system/health |
|
|
99
99
|
*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
100
|
*SwaggerAemClient::CustomApi* | [**post_config_aem_password_reset**](docs/CustomApi.md#post_config_aem_password_reset) | **POST** /apps/system/config/com.shinesolutions.aem.passwordreset.Activator |
|
|
101
|
+
*SwaggerAemClient::GraniteApi* | [**ssl_setup**](docs/GraniteApi.md#ssl_setup) | **POST** /libs/granite/security/post/sslSetup.html |
|
|
101
102
|
*SwaggerAemClient::SlingApi* | [**delete_agent**](docs/SlingApi.md#delete_agent) | **DELETE** /etc/replication/agents.{runmode}/{name} |
|
|
102
103
|
*SwaggerAemClient::SlingApi* | [**delete_node**](docs/SlingApi.md#delete_node) | **DELETE** /{path}/{name} |
|
|
103
104
|
*SwaggerAemClient::SlingApi* | [**get_agent**](docs/SlingApi.md#get_agent) | **GET** /etc/replication/agents.{runmode}/{name} |
|
|
@@ -136,6 +137,7 @@ Class | Method | HTTP request | Description
|
|
|
136
137
|
- [SwaggerAemClient::InlineObject2](docs/InlineObject2.md)
|
|
137
138
|
- [SwaggerAemClient::InlineObject3](docs/InlineObject3.md)
|
|
138
139
|
- [SwaggerAemClient::InlineObject4](docs/InlineObject4.md)
|
|
140
|
+
- [SwaggerAemClient::InlineObject5](docs/InlineObject5.md)
|
|
139
141
|
- [SwaggerAemClient::InstallStatus](docs/InstallStatus.md)
|
|
140
142
|
- [SwaggerAemClient::InstallStatusStatus](docs/InstallStatusStatus.md)
|
|
141
143
|
- [SwaggerAemClient::KeystoreChainItems](docs/KeystoreChainItems.md)
|
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
|
+
|
data/lib/swagger_aem.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -22,6 +22,7 @@ require 'swagger_aem/models/inline_object1'
|
|
|
22
22
|
require 'swagger_aem/models/inline_object2'
|
|
23
23
|
require 'swagger_aem/models/inline_object3'
|
|
24
24
|
require 'swagger_aem/models/inline_object4'
|
|
25
|
+
require 'swagger_aem/models/inline_object5'
|
|
25
26
|
require 'swagger_aem/models/install_status'
|
|
26
27
|
require 'swagger_aem/models/install_status_status'
|
|
27
28
|
require 'swagger_aem/models/keystore_chain_items'
|
|
@@ -41,6 +42,7 @@ require 'swagger_aem/api/console_api'
|
|
|
41
42
|
require 'swagger_aem/api/cq_api'
|
|
42
43
|
require 'swagger_aem/api/crx_api'
|
|
43
44
|
require 'swagger_aem/api/custom_api'
|
|
45
|
+
require 'swagger_aem/api/granite_api'
|
|
44
46
|
require 'swagger_aem/api/sling_api'
|
|
45
47
|
|
|
46
48
|
module SwaggerAemClient
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Adobe Experience Manager (AEM) API
|
|
3
|
+
|
|
4
|
+
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
|
+
Contact: opensource@shinesolutions.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module SwaggerAemClient
|
|
16
|
+
class GraniteApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# @param keystore_password [String]
|
|
23
|
+
# @param keystore_password_confirm [String]
|
|
24
|
+
# @param truststore_password [String]
|
|
25
|
+
# @param truststore_password_confirm [String]
|
|
26
|
+
# @param https_hostname [String]
|
|
27
|
+
# @param https_port [String]
|
|
28
|
+
# @param [Hash] opts the optional parameters
|
|
29
|
+
# @option opts [File] :privatekey_file
|
|
30
|
+
# @option opts [File] :certificate_file
|
|
31
|
+
# @return [String]
|
|
32
|
+
def ssl_setup(keystore_password, keystore_password_confirm, truststore_password, truststore_password_confirm, https_hostname, https_port, opts = {})
|
|
33
|
+
data, _status_code, _headers = ssl_setup_with_http_info(keystore_password, keystore_password_confirm, truststore_password, truststore_password_confirm, https_hostname, https_port, opts)
|
|
34
|
+
data
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# @param keystore_password [String]
|
|
38
|
+
# @param keystore_password_confirm [String]
|
|
39
|
+
# @param truststore_password [String]
|
|
40
|
+
# @param truststore_password_confirm [String]
|
|
41
|
+
# @param https_hostname [String]
|
|
42
|
+
# @param https_port [String]
|
|
43
|
+
# @param [Hash] opts the optional parameters
|
|
44
|
+
# @option opts [File] :privatekey_file
|
|
45
|
+
# @option opts [File] :certificate_file
|
|
46
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
47
|
+
def ssl_setup_with_http_info(keystore_password, keystore_password_confirm, truststore_password, truststore_password_confirm, https_hostname, https_port, opts = {})
|
|
48
|
+
if @api_client.config.debugging
|
|
49
|
+
@api_client.config.logger.debug 'Calling API: GraniteApi.ssl_setup ...'
|
|
50
|
+
end
|
|
51
|
+
# verify the required parameter 'keystore_password' is set
|
|
52
|
+
if @api_client.config.client_side_validation && keystore_password.nil?
|
|
53
|
+
fail ArgumentError, "Missing the required parameter 'keystore_password' when calling GraniteApi.ssl_setup"
|
|
54
|
+
end
|
|
55
|
+
# verify the required parameter 'keystore_password_confirm' is set
|
|
56
|
+
if @api_client.config.client_side_validation && keystore_password_confirm.nil?
|
|
57
|
+
fail ArgumentError, "Missing the required parameter 'keystore_password_confirm' when calling GraniteApi.ssl_setup"
|
|
58
|
+
end
|
|
59
|
+
# verify the required parameter 'truststore_password' is set
|
|
60
|
+
if @api_client.config.client_side_validation && truststore_password.nil?
|
|
61
|
+
fail ArgumentError, "Missing the required parameter 'truststore_password' when calling GraniteApi.ssl_setup"
|
|
62
|
+
end
|
|
63
|
+
# verify the required parameter 'truststore_password_confirm' is set
|
|
64
|
+
if @api_client.config.client_side_validation && truststore_password_confirm.nil?
|
|
65
|
+
fail ArgumentError, "Missing the required parameter 'truststore_password_confirm' when calling GraniteApi.ssl_setup"
|
|
66
|
+
end
|
|
67
|
+
# verify the required parameter 'https_hostname' is set
|
|
68
|
+
if @api_client.config.client_side_validation && https_hostname.nil?
|
|
69
|
+
fail ArgumentError, "Missing the required parameter 'https_hostname' when calling GraniteApi.ssl_setup"
|
|
70
|
+
end
|
|
71
|
+
# verify the required parameter 'https_port' is set
|
|
72
|
+
if @api_client.config.client_side_validation && https_port.nil?
|
|
73
|
+
fail ArgumentError, "Missing the required parameter 'https_port' when calling GraniteApi.ssl_setup"
|
|
74
|
+
end
|
|
75
|
+
# resource path
|
|
76
|
+
local_var_path = '/libs/granite/security/post/sslSetup.html'
|
|
77
|
+
|
|
78
|
+
# query parameters
|
|
79
|
+
query_params = opts[:query_params] || {}
|
|
80
|
+
query_params[:'keystorePassword'] = keystore_password
|
|
81
|
+
query_params[:'keystorePasswordConfirm'] = keystore_password_confirm
|
|
82
|
+
query_params[:'truststorePassword'] = truststore_password
|
|
83
|
+
query_params[:'truststorePasswordConfirm'] = truststore_password_confirm
|
|
84
|
+
query_params[:'httpsHostname'] = https_hostname
|
|
85
|
+
query_params[:'httpsPort'] = https_port
|
|
86
|
+
|
|
87
|
+
# header parameters
|
|
88
|
+
header_params = opts[:header_params] || {}
|
|
89
|
+
# HTTP header 'Accept' (if needed)
|
|
90
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
91
|
+
# HTTP header 'Content-Type'
|
|
92
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
|
93
|
+
|
|
94
|
+
# form parameters
|
|
95
|
+
form_params = opts[:form_params] || {}
|
|
96
|
+
form_params['privatekeyFile'] = opts[:'privatekey_file'] if !opts[:'privatekey_file'].nil?
|
|
97
|
+
form_params['certificateFile'] = opts[:'certificate_file'] if !opts[:'certificate_file'].nil?
|
|
98
|
+
|
|
99
|
+
# http body (model)
|
|
100
|
+
post_body = opts[:body]
|
|
101
|
+
|
|
102
|
+
# return_type
|
|
103
|
+
return_type = opts[:return_type] || 'String'
|
|
104
|
+
|
|
105
|
+
# auth_names
|
|
106
|
+
auth_names = opts[:auth_names] || ['aemAuth']
|
|
107
|
+
|
|
108
|
+
new_options = opts.merge(
|
|
109
|
+
:header_params => header_params,
|
|
110
|
+
:query_params => query_params,
|
|
111
|
+
:form_params => form_params,
|
|
112
|
+
:body => post_body,
|
|
113
|
+
:auth_names => auth_names,
|
|
114
|
+
:return_type => return_type
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
118
|
+
if @api_client.config.debugging
|
|
119
|
+
@api_client.config.logger.debug "API called: GraniteApi#ssl_setup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
120
|
+
end
|
|
121
|
+
return data, status_code, headers
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
end
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Adobe Experience Manager (AEM) API
|
|
3
|
+
|
|
4
|
+
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
|
+
Contact: opensource@shinesolutions.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
|
|
15
|
+
module SwaggerAemClient
|
|
16
|
+
class InlineObject5
|
|
17
|
+
attr_accessor :privatekey_file
|
|
18
|
+
|
|
19
|
+
attr_accessor :certificate_file
|
|
20
|
+
|
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
|
+
def self.attribute_map
|
|
23
|
+
{
|
|
24
|
+
:'privatekey_file' => :'privatekeyFile',
|
|
25
|
+
:'certificate_file' => :'certificateFile'
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Attribute type mapping.
|
|
30
|
+
def self.openapi_types
|
|
31
|
+
{
|
|
32
|
+
:'privatekey_file' => :'File',
|
|
33
|
+
:'certificate_file' => :'File'
|
|
34
|
+
}
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# List of attributes with nullable: true
|
|
38
|
+
def self.openapi_nullable
|
|
39
|
+
Set.new([
|
|
40
|
+
])
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Initializes the object
|
|
44
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
45
|
+
def initialize(attributes = {})
|
|
46
|
+
if (!attributes.is_a?(Hash))
|
|
47
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SwaggerAemClient::InlineObject5` initialize method"
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
51
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
52
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
53
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggerAemClient::InlineObject5`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
54
|
+
end
|
|
55
|
+
h[k.to_sym] = v
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if attributes.key?(:'privatekey_file')
|
|
59
|
+
self.privatekey_file = attributes[:'privatekey_file']
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
if attributes.key?(:'certificate_file')
|
|
63
|
+
self.certificate_file = attributes[:'certificate_file']
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
68
|
+
# @return Array for valid properties with the reasons
|
|
69
|
+
def list_invalid_properties
|
|
70
|
+
invalid_properties = Array.new
|
|
71
|
+
invalid_properties
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Check to see if the all the properties in the model are valid
|
|
75
|
+
# @return true if the model is valid
|
|
76
|
+
def valid?
|
|
77
|
+
true
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Checks equality by comparing each attribute.
|
|
81
|
+
# @param [Object] Object to be compared
|
|
82
|
+
def ==(o)
|
|
83
|
+
return true if self.equal?(o)
|
|
84
|
+
self.class == o.class &&
|
|
85
|
+
privatekey_file == o.privatekey_file &&
|
|
86
|
+
certificate_file == o.certificate_file
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# @see the `==` method
|
|
90
|
+
# @param [Object] Object to be compared
|
|
91
|
+
def eql?(o)
|
|
92
|
+
self == o
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Calculates hash code according to all attributes.
|
|
96
|
+
# @return [Integer] Hash code
|
|
97
|
+
def hash
|
|
98
|
+
[privatekey_file, certificate_file].hash
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Builds the object from hash
|
|
102
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
103
|
+
# @return [Object] Returns the model itself
|
|
104
|
+
def self.build_from_hash(attributes)
|
|
105
|
+
new.build_from_hash(attributes)
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Builds the object from hash
|
|
109
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
110
|
+
# @return [Object] Returns the model itself
|
|
111
|
+
def build_from_hash(attributes)
|
|
112
|
+
return nil unless attributes.is_a?(Hash)
|
|
113
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
114
|
+
if type =~ /\AArray<(.*)>/i
|
|
115
|
+
# check to ensure the input is an array given that the attribute
|
|
116
|
+
# is documented as an array but the input is not
|
|
117
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
118
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
119
|
+
end
|
|
120
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
121
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
122
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
self
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Deserializes the data based on type
|
|
129
|
+
# @param string type Data type
|
|
130
|
+
# @param string value Value to be deserialized
|
|
131
|
+
# @return [Object] Deserialized data
|
|
132
|
+
def _deserialize(type, value)
|
|
133
|
+
case type.to_sym
|
|
134
|
+
when :DateTime
|
|
135
|
+
DateTime.parse(value)
|
|
136
|
+
when :Date
|
|
137
|
+
Date.parse(value)
|
|
138
|
+
when :String
|
|
139
|
+
value.to_s
|
|
140
|
+
when :Integer
|
|
141
|
+
value.to_i
|
|
142
|
+
when :Float
|
|
143
|
+
value.to_f
|
|
144
|
+
when :Boolean
|
|
145
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
146
|
+
true
|
|
147
|
+
else
|
|
148
|
+
false
|
|
149
|
+
end
|
|
150
|
+
when :Object
|
|
151
|
+
# generic object (usually a Hash), return directly
|
|
152
|
+
value
|
|
153
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
154
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
155
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
156
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
157
|
+
k_type = Regexp.last_match[:k_type]
|
|
158
|
+
v_type = Regexp.last_match[:v_type]
|
|
159
|
+
{}.tap do |hash|
|
|
160
|
+
value.each do |k, v|
|
|
161
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
else # model
|
|
165
|
+
SwaggerAemClient.const_get(type).build_from_hash(value)
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Returns the string representation of the object
|
|
170
|
+
# @return [String] String presentation of the object
|
|
171
|
+
def to_s
|
|
172
|
+
to_hash.to_s
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
176
|
+
# @return [Hash] Returns the object in the form of hash
|
|
177
|
+
def to_body
|
|
178
|
+
to_hash
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# Returns the object in the form of hash
|
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
|
183
|
+
def to_hash
|
|
184
|
+
hash = {}
|
|
185
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
186
|
+
value = self.send(attr)
|
|
187
|
+
if value.nil?
|
|
188
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
189
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
hash[param] = _to_hash(value)
|
|
193
|
+
end
|
|
194
|
+
hash
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# Outputs non-array value in the form of hash
|
|
198
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
199
|
+
# @param [Object] value Any valid value
|
|
200
|
+
# @return [Hash] Returns the value in the form of hash
|
|
201
|
+
def _to_hash(value)
|
|
202
|
+
if value.is_a?(Array)
|
|
203
|
+
value.compact.map { |v| _to_hash(v) }
|
|
204
|
+
elsif value.is_a?(Hash)
|
|
205
|
+
{}.tap do |hash|
|
|
206
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
207
|
+
end
|
|
208
|
+
elsif value.respond_to? :to_hash
|
|
209
|
+
value.to_hash
|
|
210
|
+
else
|
|
211
|
+
value
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
end
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
data/lib/swagger_aem/version.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module SwaggerAemClient
|
|
14
|
-
VERSION = '3.
|
|
14
|
+
VERSION = '3.3.0'
|
|
15
15
|
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Adobe Experience Manager (AEM) API
|
|
3
|
+
|
|
4
|
+
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
|
+
Contact: opensource@shinesolutions.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for SwaggerAemClient::GraniteApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'GraniteApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = SwaggerAemClient::GraniteApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of GraniteApi' do
|
|
30
|
+
it 'should create an instance of GraniteApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(SwaggerAemClient::GraniteApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for ssl_setup
|
|
36
|
+
# @param keystore_password
|
|
37
|
+
# @param keystore_password_confirm
|
|
38
|
+
# @param truststore_password
|
|
39
|
+
# @param truststore_password_confirm
|
|
40
|
+
# @param https_hostname
|
|
41
|
+
# @param https_port
|
|
42
|
+
# @param [Hash] opts the optional parameters
|
|
43
|
+
# @option opts [File] :privatekey_file
|
|
44
|
+
# @option opts [File] :certificate_file
|
|
45
|
+
# @return [String]
|
|
46
|
+
describe 'ssl_setup test' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Adobe Experience Manager (AEM) API
|
|
3
|
+
|
|
4
|
+
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
|
+
Contact: opensource@shinesolutions.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SwaggerAemClient::InlineObject5
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'InlineObject5' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = SwaggerAemClient::InlineObject5.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of InlineObject5' do
|
|
31
|
+
it 'should create an instance of InlineObject5' do
|
|
32
|
+
expect(@instance).to be_instance_of(SwaggerAemClient::InlineObject5)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "privatekey_file"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "certificate_file"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|
data/swagger_aem.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 3.
|
|
8
|
+
The version of the OpenAPI document: 3.3.0
|
|
9
9
|
Contact: opensource@shinesolutions.com
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
11
|
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: swagger_aem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shine Solutions
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -86,11 +86,13 @@ files:
|
|
|
86
86
|
- docs/CqApi.md
|
|
87
87
|
- docs/CrxApi.md
|
|
88
88
|
- docs/CustomApi.md
|
|
89
|
+
- docs/GraniteApi.md
|
|
89
90
|
- docs/InlineObject.md
|
|
90
91
|
- docs/InlineObject1.md
|
|
91
92
|
- docs/InlineObject2.md
|
|
92
93
|
- docs/InlineObject3.md
|
|
93
94
|
- docs/InlineObject4.md
|
|
95
|
+
- docs/InlineObject5.md
|
|
94
96
|
- docs/InstallStatus.md
|
|
95
97
|
- docs/InstallStatusStatus.md
|
|
96
98
|
- docs/KeystoreChainItems.md
|
|
@@ -111,6 +113,7 @@ files:
|
|
|
111
113
|
- lib/swagger_aem/api/cq_api.rb
|
|
112
114
|
- lib/swagger_aem/api/crx_api.rb
|
|
113
115
|
- lib/swagger_aem/api/custom_api.rb
|
|
116
|
+
- lib/swagger_aem/api/granite_api.rb
|
|
114
117
|
- lib/swagger_aem/api/sling_api.rb
|
|
115
118
|
- lib/swagger_aem/api_client.rb
|
|
116
119
|
- lib/swagger_aem/api_error.rb
|
|
@@ -120,6 +123,7 @@ files:
|
|
|
120
123
|
- lib/swagger_aem/models/inline_object2.rb
|
|
121
124
|
- lib/swagger_aem/models/inline_object3.rb
|
|
122
125
|
- lib/swagger_aem/models/inline_object4.rb
|
|
126
|
+
- lib/swagger_aem/models/inline_object5.rb
|
|
123
127
|
- lib/swagger_aem/models/install_status.rb
|
|
124
128
|
- lib/swagger_aem/models/install_status_status.rb
|
|
125
129
|
- lib/swagger_aem/models/keystore_chain_items.rb
|
|
@@ -138,6 +142,7 @@ files:
|
|
|
138
142
|
- spec/api/cq_api_spec.rb
|
|
139
143
|
- spec/api/crx_api_spec.rb
|
|
140
144
|
- spec/api/custom_api_spec.rb
|
|
145
|
+
- spec/api/granite_api_spec.rb
|
|
141
146
|
- spec/api/sling_api_spec.rb
|
|
142
147
|
- spec/api_client_spec.rb
|
|
143
148
|
- spec/configuration_spec.rb
|
|
@@ -145,6 +150,7 @@ files:
|
|
|
145
150
|
- spec/models/inline_object2_spec.rb
|
|
146
151
|
- spec/models/inline_object3_spec.rb
|
|
147
152
|
- spec/models/inline_object4_spec.rb
|
|
153
|
+
- spec/models/inline_object5_spec.rb
|
|
148
154
|
- spec/models/inline_object_spec.rb
|
|
149
155
|
- spec/models/install_status_spec.rb
|
|
150
156
|
- spec/models/install_status_status_spec.rb
|
|
@@ -188,6 +194,7 @@ summary: Adobe Experience Manager (AEM) API Ruby Gem
|
|
|
188
194
|
test_files:
|
|
189
195
|
- spec/api/crx_api_spec.rb
|
|
190
196
|
- spec/api/cq_api_spec.rb
|
|
197
|
+
- spec/api/granite_api_spec.rb
|
|
191
198
|
- spec/api/sling_api_spec.rb
|
|
192
199
|
- spec/api/console_api_spec.rb
|
|
193
200
|
- spec/api/custom_api_spec.rb
|
|
@@ -195,6 +202,7 @@ test_files:
|
|
|
195
202
|
- spec/configuration_spec.rb
|
|
196
203
|
- spec/models/inline_object4_spec.rb
|
|
197
204
|
- spec/models/install_status_status_spec.rb
|
|
205
|
+
- spec/models/inline_object5_spec.rb
|
|
198
206
|
- spec/models/saml_configuration_property_items_long_spec.rb
|
|
199
207
|
- spec/models/inline_object_spec.rb
|
|
200
208
|
- spec/models/truststore_items_spec.rb
|