swagger_aem 3.2.0 → 3.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +38 -35
  4. data/README.md +11 -5
  5. data/docs/BundleData.md +33 -0
  6. data/docs/BundleDataProp.md +19 -0
  7. data/docs/BundleInfo.md +21 -0
  8. data/docs/ConsoleApi.md +51 -0
  9. data/docs/GraniteApi.md +75 -0
  10. data/docs/InlineObject5.md +19 -0
  11. data/lib/swagger_aem/api/console_api.rb +60 -2
  12. data/lib/swagger_aem/api/cq_api.rb +2 -2
  13. data/lib/swagger_aem/api/crx_api.rb +4 -4
  14. data/lib/swagger_aem/api/custom_api.rb +2 -2
  15. data/lib/swagger_aem/api/granite_api.rb +124 -0
  16. data/lib/swagger_aem/api/sling_api.rb +2 -2
  17. data/lib/swagger_aem/api_client.rb +2 -2
  18. data/lib/swagger_aem/api_error.rb +2 -2
  19. data/lib/swagger_aem/configuration.rb +2 -2
  20. data/lib/swagger_aem/models/bundle_data.rb +288 -0
  21. data/lib/swagger_aem/models/bundle_data_prop.rb +217 -0
  22. data/lib/swagger_aem/models/bundle_info.rb +229 -0
  23. data/lib/swagger_aem/models/inline_object.rb +2 -2
  24. data/lib/swagger_aem/models/inline_object1.rb +2 -2
  25. data/lib/swagger_aem/models/inline_object2.rb +2 -2
  26. data/lib/swagger_aem/models/inline_object3.rb +2 -2
  27. data/lib/swagger_aem/models/inline_object4.rb +2 -2
  28. data/lib/swagger_aem/models/inline_object5.rb +215 -0
  29. data/lib/swagger_aem/models/install_status.rb +2 -2
  30. data/lib/swagger_aem/models/install_status_status.rb +2 -2
  31. data/lib/swagger_aem/models/keystore_chain_items.rb +2 -2
  32. data/lib/swagger_aem/models/keystore_info.rb +2 -2
  33. data/lib/swagger_aem/models/keystore_items.rb +2 -2
  34. data/lib/swagger_aem/models/saml_configuration_info.rb +2 -2
  35. data/lib/swagger_aem/models/saml_configuration_properties.rb +2 -2
  36. data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +2 -2
  37. data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +2 -2
  38. data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +2 -2
  39. data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +2 -2
  40. data/lib/swagger_aem/models/truststore_info.rb +2 -2
  41. data/lib/swagger_aem/models/truststore_items.rb +2 -2
  42. data/lib/swagger_aem/version.rb +3 -3
  43. data/lib/swagger_aem.rb +7 -2
  44. data/spec/api/console_api_spec.rb +22 -12
  45. data/spec/api/cq_api_spec.rb +4 -4
  46. data/spec/api/crx_api_spec.rb +6 -6
  47. data/spec/api/custom_api_spec.rb +5 -5
  48. data/spec/api/granite_api_spec.rb +52 -0
  49. data/spec/api/sling_api_spec.rb +76 -66
  50. data/spec/api_client_spec.rb +3 -3
  51. data/spec/configuration_spec.rb +2 -2
  52. data/spec/models/bundle_data_prop_spec.rb +40 -0
  53. data/spec/models/bundle_data_spec.rb +82 -0
  54. data/spec/models/bundle_info_spec.rb +46 -0
  55. data/spec/models/inline_object1_spec.rb +2 -2
  56. data/spec/models/inline_object2_spec.rb +2 -2
  57. data/spec/models/inline_object3_spec.rb +2 -2
  58. data/spec/models/inline_object4_spec.rb +2 -2
  59. data/spec/models/inline_object5_spec.rb +47 -0
  60. data/spec/models/inline_object_spec.rb +2 -2
  61. data/spec/models/install_status_spec.rb +5 -12
  62. data/spec/models/install_status_status_spec.rb +5 -12
  63. data/spec/models/keystore_chain_items_spec.rb +5 -12
  64. data/spec/models/keystore_info_spec.rb +5 -12
  65. data/spec/models/keystore_items_spec.rb +5 -12
  66. data/spec/models/saml_configuration_info_spec.rb +5 -12
  67. data/spec/models/saml_configuration_properties_spec.rb +5 -12
  68. data/spec/models/saml_configuration_property_items_array_spec.rb +5 -12
  69. data/spec/models/saml_configuration_property_items_boolean_spec.rb +5 -12
  70. data/spec/models/saml_configuration_property_items_long_spec.rb +5 -12
  71. data/spec/models/saml_configuration_property_items_string_spec.rb +5 -12
  72. data/spec/models/truststore_info_spec.rb +5 -12
  73. data/spec/models/truststore_items_spec.rb +5 -12
  74. data/spec/spec_helper.rb +2 -2
  75. data/swagger_aem.gemspec +2 -2
  76. metadata +22 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50cf59c756f132a6b2596af97f8c2a8e137b19b9
4
- data.tar.gz: f66719e9c848cfa3d0cfb4bade836b3c6149b2ff
3
+ metadata.gz: 2b0418a67abaeddb6e9b5d1a9e0a30ab505a0d2c
4
+ data.tar.gz: 79ccfbbcabec2067b077d6b1ae463bfa03701864
5
5
  SHA512:
6
- metadata.gz: 1e9a6321085148e9879c34cfe1e676ef555eea7053e36b80ae167e12ddbe6361e2f99519017d03971916f23da104e9f2b9e8e36f0a8aa6b887ea69ecee231343
7
- data.tar.gz: ccf2de0f2d12ca02d064a97d3eca26799731c349498ba2150a68f3161870a905bbb0c22322e2d3bf592f861c932c23cebb7400fca630cc1dc986d63bfd1408a5
6
+ metadata.gz: 63314f0b756977c2fa4c8ce3c0dffae54fed0e856a61c3db5e0cc8f83fc10373fa539b033ccab84e378d550da9bd5a034275b2109d94c12c9b795c02d9dbb117
7
+ data.tar.gz: 43f14b22a8679a17df15d33794583d1a002a4776b7907bf18176c0b46aa466cd20e57f0d57e1ff834631df1e2bb004a3a8a05309118a0f6f25f936cf8a1fd006
data/Gemfile CHANGED
@@ -5,5 +5,5 @@ gemspec
5
5
  group :development, :test do
6
6
  gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
- gem 'rubocop', '~> 0.66.0'
8
+ gem 'rubocop', '~> 1.12.1'
9
9
  end
data/Gemfile.lock CHANGED
@@ -1,60 +1,63 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swagger_aem (3.2.0)
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.0)
12
- byebug (11.1.1)
13
- coderay (1.1.2)
14
- diff-lcs (1.3)
15
- ethon (0.12.0)
16
- ffi (>= 1.3.0)
17
- ffi (1.12.2)
18
- jaro_winkler (1.5.4)
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.19.1)
22
- parser (2.7.1.1)
23
- ast (~> 2.4.0)
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.1)
33
- rspec (3.9.0)
34
- rspec-core (~> 3.9.0)
35
- rspec-expectations (~> 3.9.0)
36
- rspec-mocks (~> 3.9.0)
37
- rspec-core (3.9.1)
38
- rspec-support (~> 3.9.1)
39
- rspec-expectations (3.9.1)
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.9.0)
42
- rspec-mocks (3.9.1)
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.9.0)
45
- rspec-support (3.9.2)
46
- rubocop (0.66.0)
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 (>= 2.5, != 2.5.1.1)
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, < 1.6)
54
- ruby-progressbar (1.10.1)
55
- typhoeus (1.3.1)
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.5.0)
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 (~> 0.66.0)
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.2.0
10
- - Package version: 3.2.0
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.2.0.gem
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.2.0.gem` to install the development dependencies)
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.2.0'
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&#x3D;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)
@@ -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&lt;BundleDataProp&gt;**](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
+
@@ -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&lt;Integer&gt;** | | [optional]
9
+ **data** | [**Array&lt;BundleData&gt;**](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&#x3D;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
@@ -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.2.0
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-SNAPSHOT
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.2.0
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-SNAPSHOT
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.2.0
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-SNAPSHOT
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
- require 'cgi'
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' + '}', CGI.escape(path.to_s))
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.2.0
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-SNAPSHOT
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12