swagger_aem 2.5.0 → 3.0.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 +6 -6
- data/README.md +7 -7
- data/Rakefile +2 -0
- data/docs/ConsoleApi.md +26 -32
- data/docs/CqApi.md +3 -6
- data/docs/CrxApi.md +19 -33
- data/docs/CustomApi.md +10 -13
- data/docs/SamlConfigurationInfo.md +1 -1
- data/docs/SamlConfigurationProperties.md +24 -24
- data/docs/SlingApi.md +211 -280
- data/git_push.sh +3 -3
- data/lib/swagger_aem.rb +3 -3
- data/lib/swagger_aem/api/console_api.rb +16 -40
- data/lib/swagger_aem/api/cq_api.rb +10 -22
- data/lib/swagger_aem/api/crx_api.rb +26 -61
- data/lib/swagger_aem/api/custom_api.rb +13 -32
- data/lib/swagger_aem/api/sling_api.rb +94 -264
- data/lib/swagger_aem/api_client.rb +14 -14
- data/lib/swagger_aem/api_error.rb +3 -3
- data/lib/swagger_aem/configuration.rb +5 -5
- data/lib/swagger_aem/models/install_status.rb +11 -16
- data/lib/swagger_aem/models/install_status_status.rb +11 -16
- data/lib/swagger_aem/models/keystore_chain_items.rb +11 -16
- data/lib/swagger_aem/models/keystore_info.rb +11 -16
- data/lib/swagger_aem/models/keystore_items.rb +11 -16
- data/lib/swagger_aem/models/saml_configuration_info.rb +12 -17
- data/lib/swagger_aem/models/saml_configuration_properties.rb +59 -136
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +11 -16
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +11 -16
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +11 -16
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +11 -16
- data/lib/swagger_aem/models/truststore_info.rb +11 -16
- data/lib/swagger_aem/models/truststore_items.rb +11 -16
- data/lib/swagger_aem/version.rb +4 -4
- data/spec/api/console_api_spec.rb +8 -16
- data/spec/api/cq_api_spec.rb +6 -10
- data/spec/api/crx_api_spec.rb +11 -25
- data/spec/api/custom_api_spec.rb +7 -13
- data/spec/api/sling_api_spec.rb +32 -88
- data/spec/api_client_spec.rb +37 -37
- data/spec/configuration_spec.rb +11 -11
- data/spec/models/install_status_spec.rb +5 -6
- data/spec/models/install_status_status_spec.rb +6 -7
- data/spec/models/keystore_chain_items_spec.rb +9 -10
- data/spec/models/keystore_info_spec.rb +6 -7
- data/spec/models/keystore_items_spec.rb +9 -10
- data/spec/models/saml_configuration_info_spec.rb +10 -11
- data/spec/models/saml_configuration_properties_spec.rb +28 -29
- data/spec/models/saml_configuration_property_items_array_spec.rb +10 -11
- data/spec/models/saml_configuration_property_items_boolean_spec.rb +10 -11
- data/spec/models/saml_configuration_property_items_long_spec.rb +10 -11
- data/spec/models/saml_configuration_property_items_string_spec.rb +10 -11
- data/spec/models/truststore_info_spec.rb +6 -7
- data/spec/models/truststore_items_spec.rb +11 -12
- data/spec/spec_helper.rb +3 -3
- data/swagger_aem.gemspec +6 -6
- metadata +3 -3
@@ -3,17 +3,16 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version:
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module SwaggerAemClient
|
16
|
-
|
17
16
|
class TruststoreItems
|
18
17
|
# Truststore alias name
|
19
18
|
attr_accessor :_alias
|
@@ -35,7 +34,6 @@ module SwaggerAemClient
|
|
35
34
|
# 18165099476682912368
|
36
35
|
attr_accessor :serial_number
|
37
36
|
|
38
|
-
|
39
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
38
|
def self.attribute_map
|
41
39
|
{
|
@@ -50,7 +48,7 @@ module SwaggerAemClient
|
|
50
48
|
end
|
51
49
|
|
52
50
|
# Attribute type mapping.
|
53
|
-
def self.
|
51
|
+
def self.openapi_types
|
54
52
|
{
|
55
53
|
:'_alias' => :'String',
|
56
54
|
:'entry_type' => :'String',
|
@@ -68,7 +66,7 @@ module SwaggerAemClient
|
|
68
66
|
return unless attributes.is_a?(Hash)
|
69
67
|
|
70
68
|
# convert string to symbol for hash key
|
71
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
69
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
72
70
|
|
73
71
|
if attributes.has_key?(:'alias')
|
74
72
|
self._alias = attributes[:'alias']
|
@@ -97,20 +95,19 @@ module SwaggerAemClient
|
|
97
95
|
if attributes.has_key?(:'serialNumber')
|
98
96
|
self.serial_number = attributes[:'serialNumber']
|
99
97
|
end
|
100
|
-
|
101
98
|
end
|
102
99
|
|
103
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
104
|
-
# @return Array for valid
|
101
|
+
# @return Array for valid properties with the reasons
|
105
102
|
def list_invalid_properties
|
106
103
|
invalid_properties = Array.new
|
107
|
-
|
104
|
+
invalid_properties
|
108
105
|
end
|
109
106
|
|
110
107
|
# Check to see if the all the properties in the model are valid
|
111
108
|
# @return true if the model is valid
|
112
109
|
def valid?
|
113
|
-
|
110
|
+
true
|
114
111
|
end
|
115
112
|
|
116
113
|
# Checks equality by comparing each attribute.
|
@@ -144,12 +141,12 @@ module SwaggerAemClient
|
|
144
141
|
# @return [Object] Returns the model itself
|
145
142
|
def build_from_hash(attributes)
|
146
143
|
return nil unless attributes.is_a?(Hash)
|
147
|
-
self.class.
|
144
|
+
self.class.openapi_types.each_pair do |key, type|
|
148
145
|
if type =~ /\AArray<(.*)>/i
|
149
146
|
# check to ensure the input is an array given that the the attribute
|
150
147
|
# is documented as an array but the input is not
|
151
148
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
152
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
149
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
153
150
|
end
|
154
151
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
155
152
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -231,7 +228,7 @@ module SwaggerAemClient
|
|
231
228
|
# @return [Hash] Returns the value in the form of hash
|
232
229
|
def _to_hash(value)
|
233
230
|
if value.is_a?(Array)
|
234
|
-
value.compact.map{ |v| _to_hash(v) }
|
231
|
+
value.compact.map { |v| _to_hash(v) }
|
235
232
|
elsif value.is_a?(Hash)
|
236
233
|
{}.tap do |hash|
|
237
234
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -242,7 +239,5 @@ module SwaggerAemClient
|
|
242
239
|
value
|
243
240
|
end
|
244
241
|
end
|
245
|
-
|
246
242
|
end
|
247
|
-
|
248
243
|
end
|
data/lib/swagger_aem/version.rb
CHANGED
@@ -3,13 +3,13 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version:
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module SwaggerAemClient
|
14
|
-
VERSION =
|
14
|
+
VERSION = '3.0.0'
|
15
15
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.5.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
|
16
16
|
# Unit tests for SwaggerAemClient::ConsoleApi
|
17
|
-
# Automatically generated by
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'ConsoleApi' do
|
20
20
|
before do
|
@@ -33,44 +33,36 @@ describe 'ConsoleApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for get_aem_product_info
|
36
|
-
#
|
37
|
-
#
|
38
36
|
# @param [Hash] opts the optional parameters
|
39
37
|
# @return [Array<String>]
|
40
38
|
describe 'get_aem_product_info test' do
|
41
|
-
it
|
39
|
+
it 'should work' do
|
42
40
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
41
|
end
|
44
42
|
end
|
45
43
|
|
46
44
|
# unit tests for post_bundle
|
47
|
-
#
|
48
|
-
#
|
49
45
|
# @param name
|
50
46
|
# @param action
|
51
47
|
# @param [Hash] opts the optional parameters
|
52
48
|
# @return [nil]
|
53
49
|
describe 'post_bundle test' do
|
54
|
-
it
|
50
|
+
it 'should work' do
|
55
51
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
52
|
end
|
57
53
|
end
|
58
54
|
|
59
55
|
# unit tests for post_jmx_repository
|
60
|
-
#
|
61
|
-
#
|
62
56
|
# @param action
|
63
57
|
# @param [Hash] opts the optional parameters
|
64
58
|
# @return [nil]
|
65
59
|
describe 'post_jmx_repository test' do
|
66
|
-
it
|
60
|
+
it 'should work' do
|
67
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
62
|
end
|
69
63
|
end
|
70
64
|
|
71
65
|
# unit tests for post_saml_configuration
|
72
|
-
#
|
73
|
-
#
|
74
66
|
# @param [Hash] opts the optional parameters
|
75
67
|
# @option opts [BOOLEAN] :post
|
76
68
|
# @option opts [BOOLEAN] :apply
|
@@ -104,7 +96,7 @@ describe 'ConsoleApi' do
|
|
104
96
|
# @option opts [Array<String>] :propertylist
|
105
97
|
# @return [SamlConfigurationInfo]
|
106
98
|
describe 'post_saml_configuration test' do
|
107
|
-
it
|
99
|
+
it 'should work' do
|
108
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
101
|
end
|
110
102
|
end
|
data/spec/api/cq_api_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.5.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
|
16
16
|
# Unit tests for SwaggerAemClient::CqApi
|
17
|
-
# Automatically generated by
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'CqApi' do
|
20
20
|
before do
|
@@ -33,25 +33,21 @@ describe 'CqApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for get_login_page
|
36
|
-
#
|
37
|
-
#
|
38
36
|
# @param [Hash] opts the optional parameters
|
39
37
|
# @return [String]
|
40
38
|
describe 'get_login_page test' do
|
41
|
-
it
|
39
|
+
it 'should work' do
|
42
40
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
41
|
end
|
44
42
|
end
|
45
43
|
|
46
44
|
# unit tests for post_cq_actions
|
47
|
-
#
|
48
|
-
#
|
49
45
|
# @param authorizable_id
|
50
46
|
# @param changelog
|
51
47
|
# @param [Hash] opts the optional parameters
|
52
48
|
# @return [nil]
|
53
49
|
describe 'post_cq_actions test' do
|
54
|
-
it
|
50
|
+
it 'should work' do
|
55
51
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
52
|
end
|
57
53
|
end
|
data/spec/api/crx_api_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.5.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
|
16
16
|
# Unit tests for SwaggerAemClient::CrxApi
|
17
|
-
# Automatically generated by
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'CrxApi' do
|
20
20
|
before do
|
@@ -33,53 +33,43 @@ describe 'CrxApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for get_crxde_status
|
36
|
-
#
|
37
|
-
#
|
38
36
|
# @param [Hash] opts the optional parameters
|
39
37
|
# @return [String]
|
40
38
|
describe 'get_crxde_status test' do
|
41
|
-
it
|
39
|
+
it 'should work' do
|
42
40
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
41
|
end
|
44
42
|
end
|
45
43
|
|
46
44
|
# unit tests for get_install_status
|
47
|
-
#
|
48
|
-
#
|
49
45
|
# @param [Hash] opts the optional parameters
|
50
46
|
# @return [InstallStatus]
|
51
47
|
describe 'get_install_status test' do
|
52
|
-
it
|
48
|
+
it 'should work' do
|
53
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
50
|
end
|
55
51
|
end
|
56
52
|
|
57
53
|
# unit tests for get_package_manager_servlet
|
58
|
-
#
|
59
|
-
#
|
60
54
|
# @param [Hash] opts the optional parameters
|
61
55
|
# @return [nil]
|
62
56
|
describe 'get_package_manager_servlet test' do
|
63
|
-
it
|
57
|
+
it 'should work' do
|
64
58
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
59
|
end
|
66
60
|
end
|
67
61
|
|
68
62
|
# unit tests for post_package_service
|
69
|
-
#
|
70
|
-
#
|
71
63
|
# @param cmd
|
72
64
|
# @param [Hash] opts the optional parameters
|
73
65
|
# @return [String]
|
74
66
|
describe 'post_package_service test' do
|
75
|
-
it
|
67
|
+
it 'should work' do
|
76
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
69
|
end
|
78
70
|
end
|
79
71
|
|
80
72
|
# unit tests for post_package_service_json
|
81
|
-
#
|
82
|
-
#
|
83
73
|
# @param path
|
84
74
|
# @param cmd
|
85
75
|
# @param [Hash] opts the optional parameters
|
@@ -92,14 +82,12 @@ describe 'CrxApi' do
|
|
92
82
|
# @option opts [File] :package
|
93
83
|
# @return [String]
|
94
84
|
describe 'post_package_service_json test' do
|
95
|
-
it
|
85
|
+
it 'should work' do
|
96
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
87
|
end
|
98
88
|
end
|
99
89
|
|
100
90
|
# unit tests for post_package_update
|
101
|
-
#
|
102
|
-
#
|
103
91
|
# @param group_name
|
104
92
|
# @param package_name
|
105
93
|
# @param version
|
@@ -109,21 +97,19 @@ describe 'CrxApi' do
|
|
109
97
|
# @option opts [String] :_charset_
|
110
98
|
# @return [String]
|
111
99
|
describe 'post_package_update test' do
|
112
|
-
it
|
100
|
+
it 'should work' do
|
113
101
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
102
|
end
|
115
103
|
end
|
116
104
|
|
117
105
|
# unit tests for post_set_password
|
118
|
-
#
|
119
|
-
#
|
120
106
|
# @param old
|
121
107
|
# @param plain
|
122
108
|
# @param verify
|
123
109
|
# @param [Hash] opts the optional parameters
|
124
110
|
# @return [String]
|
125
111
|
describe 'post_set_password test' do
|
126
|
-
it
|
112
|
+
it 'should work' do
|
127
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
114
|
end
|
129
115
|
end
|
data/spec/api/custom_api_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.5.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
|
16
16
|
# Unit tests for SwaggerAemClient::CustomApi
|
17
|
-
# Automatically generated by
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'CustomApi' do
|
20
20
|
before do
|
@@ -33,40 +33,34 @@ describe 'CustomApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for get_aem_health_check
|
36
|
-
#
|
37
|
-
#
|
38
36
|
# @param [Hash] opts the optional parameters
|
39
37
|
# @option opts [String] :tags
|
40
38
|
# @option opts [BOOLEAN] :combine_tags_or
|
41
39
|
# @return [String]
|
42
40
|
describe 'get_aem_health_check test' do
|
43
|
-
it
|
41
|
+
it 'should work' do
|
44
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
43
|
end
|
46
44
|
end
|
47
45
|
|
48
46
|
# unit tests for post_config_aem_health_check_servlet
|
49
|
-
#
|
50
|
-
#
|
51
47
|
# @param [Hash] opts the optional parameters
|
52
48
|
# @option opts [Array<String>] :bundles_ignored
|
53
49
|
# @option opts [String] :bundles_ignored_type_hint
|
54
50
|
# @return [nil]
|
55
51
|
describe 'post_config_aem_health_check_servlet test' do
|
56
|
-
it
|
52
|
+
it 'should work' do
|
57
53
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
54
|
end
|
59
55
|
end
|
60
56
|
|
61
57
|
# unit tests for post_config_aem_password_reset
|
62
|
-
#
|
63
|
-
#
|
64
58
|
# @param [Hash] opts the optional parameters
|
65
59
|
# @option opts [Array<String>] :pwdreset_authorizables
|
66
60
|
# @option opts [String] :pwdreset_authorizables_type_hint
|
67
61
|
# @return [nil]
|
68
62
|
describe 'post_config_aem_password_reset test' do
|
69
|
-
it
|
63
|
+
it 'should work' do
|
70
64
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
65
|
end
|
72
66
|
end
|
data/spec/api/sling_api_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.5.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
|
16
16
|
# Unit tests for SwaggerAemClient::SlingApi
|
17
|
-
# Automatically generated by
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'SlingApi' do
|
20
20
|
before do
|
@@ -33,126 +33,106 @@ describe 'SlingApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for delete_agent
|
36
|
-
#
|
37
|
-
#
|
38
36
|
# @param runmode
|
39
37
|
# @param name
|
40
38
|
# @param [Hash] opts the optional parameters
|
41
39
|
# @return [nil]
|
42
40
|
describe 'delete_agent test' do
|
43
|
-
it
|
41
|
+
it 'should work' do
|
44
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
43
|
end
|
46
44
|
end
|
47
45
|
|
48
46
|
# unit tests for delete_node
|
49
|
-
#
|
50
|
-
#
|
51
47
|
# @param path
|
52
48
|
# @param name
|
53
49
|
# @param [Hash] opts the optional parameters
|
54
50
|
# @return [nil]
|
55
51
|
describe 'delete_node test' do
|
56
|
-
it
|
52
|
+
it 'should work' do
|
57
53
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
54
|
end
|
59
55
|
end
|
60
56
|
|
61
57
|
# unit tests for get_agent
|
62
|
-
#
|
63
|
-
#
|
64
58
|
# @param runmode
|
65
59
|
# @param name
|
66
60
|
# @param [Hash] opts the optional parameters
|
67
61
|
# @return [nil]
|
68
62
|
describe 'get_agent test' do
|
69
|
-
it
|
63
|
+
it 'should work' do
|
70
64
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
65
|
end
|
72
66
|
end
|
73
67
|
|
74
68
|
# unit tests for get_agents
|
75
|
-
#
|
76
|
-
#
|
77
69
|
# @param runmode
|
78
70
|
# @param [Hash] opts the optional parameters
|
79
71
|
# @return [String]
|
80
72
|
describe 'get_agents test' do
|
81
|
-
it
|
73
|
+
it 'should work' do
|
82
74
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
75
|
end
|
84
76
|
end
|
85
77
|
|
86
78
|
# unit tests for get_authorizable_keystore
|
87
|
-
#
|
88
|
-
#
|
89
79
|
# @param intermediate_path
|
90
80
|
# @param authorizable_id
|
91
81
|
# @param [Hash] opts the optional parameters
|
92
82
|
# @return [KeystoreInfo]
|
93
83
|
describe 'get_authorizable_keystore test' do
|
94
|
-
it
|
84
|
+
it 'should work' do
|
95
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
86
|
end
|
97
87
|
end
|
98
88
|
|
99
89
|
# unit tests for get_keystore
|
100
|
-
#
|
101
|
-
#
|
102
90
|
# @param intermediate_path
|
103
91
|
# @param authorizable_id
|
104
92
|
# @param [Hash] opts the optional parameters
|
105
93
|
# @return [File]
|
106
94
|
describe 'get_keystore test' do
|
107
|
-
it
|
95
|
+
it 'should work' do
|
108
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
97
|
end
|
110
98
|
end
|
111
99
|
|
112
100
|
# unit tests for get_node
|
113
|
-
#
|
114
|
-
#
|
115
101
|
# @param path
|
116
102
|
# @param name
|
117
103
|
# @param [Hash] opts the optional parameters
|
118
104
|
# @return [nil]
|
119
105
|
describe 'get_node test' do
|
120
|
-
it
|
106
|
+
it 'should work' do
|
121
107
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
108
|
end
|
123
109
|
end
|
124
110
|
|
125
111
|
# unit tests for get_package
|
126
|
-
#
|
127
|
-
#
|
128
112
|
# @param group
|
129
113
|
# @param name
|
130
114
|
# @param version
|
131
115
|
# @param [Hash] opts the optional parameters
|
132
116
|
# @return [File]
|
133
117
|
describe 'get_package test' do
|
134
|
-
it
|
118
|
+
it 'should work' do
|
135
119
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
136
120
|
end
|
137
121
|
end
|
138
122
|
|
139
123
|
# unit tests for get_package_filter
|
140
|
-
#
|
141
|
-
#
|
142
124
|
# @param group
|
143
125
|
# @param name
|
144
126
|
# @param version
|
145
127
|
# @param [Hash] opts the optional parameters
|
146
128
|
# @return [String]
|
147
129
|
describe 'get_package_filter test' do
|
148
|
-
it
|
130
|
+
it 'should work' do
|
149
131
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
150
132
|
end
|
151
133
|
end
|
152
134
|
|
153
135
|
# unit tests for get_query
|
154
|
-
#
|
155
|
-
#
|
156
136
|
# @param path
|
157
137
|
# @param p_limit
|
158
138
|
# @param _1_property
|
@@ -160,36 +140,30 @@ describe 'SlingApi' do
|
|
160
140
|
# @param [Hash] opts the optional parameters
|
161
141
|
# @return [String]
|
162
142
|
describe 'get_query test' do
|
163
|
-
it
|
143
|
+
it 'should work' do
|
164
144
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
165
145
|
end
|
166
146
|
end
|
167
147
|
|
168
148
|
# unit tests for get_truststore
|
169
|
-
#
|
170
|
-
#
|
171
149
|
# @param [Hash] opts the optional parameters
|
172
150
|
# @return [File]
|
173
151
|
describe 'get_truststore test' do
|
174
|
-
it
|
152
|
+
it 'should work' do
|
175
153
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
176
154
|
end
|
177
155
|
end
|
178
156
|
|
179
157
|
# unit tests for get_truststore_info
|
180
|
-
#
|
181
|
-
#
|
182
158
|
# @param [Hash] opts the optional parameters
|
183
159
|
# @return [TruststoreInfo]
|
184
160
|
describe 'get_truststore_info test' do
|
185
|
-
it
|
161
|
+
it 'should work' do
|
186
162
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
187
163
|
end
|
188
164
|
end
|
189
165
|
|
190
166
|
# unit tests for post_agent
|
191
|
-
#
|
192
|
-
#
|
193
167
|
# @param runmode
|
194
168
|
# @param name
|
195
169
|
# @param [Hash] opts the optional parameters
|
@@ -245,14 +219,12 @@ describe 'SlingApi' do
|
|
245
219
|
# @option opts [String] :operation
|
246
220
|
# @return [nil]
|
247
221
|
describe 'post_agent test' do
|
248
|
-
it
|
222
|
+
it 'should work' do
|
249
223
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
250
224
|
end
|
251
225
|
end
|
252
226
|
|
253
227
|
# unit tests for post_authorizable_keystore
|
254
|
-
#
|
255
|
-
#
|
256
228
|
# @param intermediate_path
|
257
229
|
# @param authorizable_id
|
258
230
|
# @param [Hash] opts the optional parameters
|
@@ -270,14 +242,12 @@ describe 'SlingApi' do
|
|
270
242
|
# @option opts [File] :key_store
|
271
243
|
# @return [KeystoreInfo]
|
272
244
|
describe 'post_authorizable_keystore test' do
|
273
|
-
it
|
245
|
+
it 'should work' do
|
274
246
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
275
247
|
end
|
276
248
|
end
|
277
249
|
|
278
250
|
# unit tests for post_authorizables
|
279
|
-
#
|
280
|
-
#
|
281
251
|
# @param authorizable_id
|
282
252
|
# @param intermediate_path
|
283
253
|
# @param [Hash] opts the optional parameters
|
@@ -287,14 +257,12 @@ describe 'SlingApi' do
|
|
287
257
|
# @option opts [String] :profilegiven_name
|
288
258
|
# @return [String]
|
289
259
|
describe 'post_authorizables test' do
|
290
|
-
it
|
260
|
+
it 'should work' do
|
291
261
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
292
262
|
end
|
293
263
|
end
|
294
264
|
|
295
265
|
# unit tests for post_config_adobe_granite_saml_authentication_handler
|
296
|
-
#
|
297
|
-
#
|
298
266
|
# @param [Hash] opts the optional parameters
|
299
267
|
# @option opts [String] :key_store_password
|
300
268
|
# @option opts [String] :key_store_password_type_hint
|
@@ -346,14 +314,12 @@ describe 'SlingApi' do
|
|
346
314
|
# @option opts [String] :user_intermediate_path_type_hint
|
347
315
|
# @return [nil]
|
348
316
|
describe 'post_config_adobe_granite_saml_authentication_handler test' do
|
349
|
-
it
|
317
|
+
it 'should work' do
|
350
318
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
351
319
|
end
|
352
320
|
end
|
353
321
|
|
354
322
|
# unit tests for post_config_apache_felix_jetty_based_http_service
|
355
|
-
#
|
356
|
-
#
|
357
323
|
# @param [Hash] opts the optional parameters
|
358
324
|
# @option opts [BOOLEAN] :org_apache_felix_https_nio
|
359
325
|
# @option opts [String] :org_apache_felix_https_nio_type_hint
|
@@ -377,14 +343,12 @@ describe 'SlingApi' do
|
|
377
343
|
# @option opts [String] :org_osgi_service_http_port_secure_type_hint
|
378
344
|
# @return [nil]
|
379
345
|
describe 'post_config_apache_felix_jetty_based_http_service test' do
|
380
|
-
it
|
346
|
+
it 'should work' do
|
381
347
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
382
348
|
end
|
383
349
|
end
|
384
350
|
|
385
351
|
# unit tests for post_config_apache_http_components_proxy_configuration
|
386
|
-
#
|
387
|
-
#
|
388
352
|
# @param [Hash] opts the optional parameters
|
389
353
|
# @option opts [String] :proxy_host
|
390
354
|
# @option opts [String] :proxy_host_type_hint
|
@@ -400,14 +364,12 @@ describe 'SlingApi' do
|
|
400
364
|
# @option opts [String] :proxy_password_type_hint
|
401
365
|
# @return [nil]
|
402
366
|
describe 'post_config_apache_http_components_proxy_configuration test' do
|
403
|
-
it
|
367
|
+
it 'should work' do
|
404
368
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
405
369
|
end
|
406
370
|
end
|
407
371
|
|
408
372
|
# unit tests for post_config_apache_sling_dav_ex_servlet
|
409
|
-
#
|
410
|
-
#
|
411
373
|
# @param [Hash] opts the optional parameters
|
412
374
|
# @option opts [String] :_alias
|
413
375
|
# @option opts [String] :alias_type_hint
|
@@ -415,14 +377,12 @@ describe 'SlingApi' do
|
|
415
377
|
# @option opts [String] :dav_create_absolute_uri_type_hint
|
416
378
|
# @return [nil]
|
417
379
|
describe 'post_config_apache_sling_dav_ex_servlet test' do
|
418
|
-
it
|
380
|
+
it 'should work' do
|
419
381
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
420
382
|
end
|
421
383
|
end
|
422
384
|
|
423
385
|
# unit tests for post_config_apache_sling_get_servlet
|
424
|
-
#
|
425
|
-
#
|
426
386
|
# @param [Hash] opts the optional parameters
|
427
387
|
# @option opts [String] :json_maximumresults
|
428
388
|
# @option opts [String] :json_maximumresults_type_hint
|
@@ -434,14 +394,12 @@ describe 'SlingApi' do
|
|
434
394
|
# @option opts [String] :enable_xml_type_hint
|
435
395
|
# @return [nil]
|
436
396
|
describe 'post_config_apache_sling_get_servlet test' do
|
437
|
-
it
|
397
|
+
it 'should work' do
|
438
398
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
439
399
|
end
|
440
400
|
end
|
441
401
|
|
442
402
|
# unit tests for post_config_apache_sling_referrer_filter
|
443
|
-
#
|
444
|
-
#
|
445
403
|
# @param [Hash] opts the optional parameters
|
446
404
|
# @option opts [BOOLEAN] :allow_empty
|
447
405
|
# @option opts [String] :allow_empty_type_hint
|
@@ -453,14 +411,12 @@ describe 'SlingApi' do
|
|
453
411
|
# @option opts [String] :filter_methods_type_hint
|
454
412
|
# @return [nil]
|
455
413
|
describe 'post_config_apache_sling_referrer_filter test' do
|
456
|
-
it
|
414
|
+
it 'should work' do
|
457
415
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
458
416
|
end
|
459
417
|
end
|
460
418
|
|
461
419
|
# unit tests for post_node
|
462
|
-
#
|
463
|
-
#
|
464
420
|
# @param path
|
465
421
|
# @param name
|
466
422
|
# @param [Hash] opts the optional parameters
|
@@ -469,42 +425,36 @@ describe 'SlingApi' do
|
|
469
425
|
# @option opts [File] :file
|
470
426
|
# @return [nil]
|
471
427
|
describe 'post_node test' do
|
472
|
-
it
|
428
|
+
it 'should work' do
|
473
429
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
474
430
|
end
|
475
431
|
end
|
476
432
|
|
477
433
|
# unit tests for post_node_rw
|
478
|
-
#
|
479
|
-
#
|
480
434
|
# @param path
|
481
435
|
# @param name
|
482
436
|
# @param [Hash] opts the optional parameters
|
483
437
|
# @option opts [String] :add_members
|
484
438
|
# @return [nil]
|
485
439
|
describe 'post_node_rw test' do
|
486
|
-
it
|
440
|
+
it 'should work' do
|
487
441
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
488
442
|
end
|
489
443
|
end
|
490
444
|
|
491
445
|
# unit tests for post_path
|
492
|
-
#
|
493
|
-
#
|
494
446
|
# @param path
|
495
447
|
# @param jcrprimary_type
|
496
448
|
# @param name
|
497
449
|
# @param [Hash] opts the optional parameters
|
498
450
|
# @return [nil]
|
499
451
|
describe 'post_path test' do
|
500
|
-
it
|
452
|
+
it 'should work' do
|
501
453
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
502
454
|
end
|
503
455
|
end
|
504
456
|
|
505
457
|
# unit tests for post_query
|
506
|
-
#
|
507
|
-
#
|
508
458
|
# @param path
|
509
459
|
# @param p_limit
|
510
460
|
# @param _1_property
|
@@ -512,28 +462,24 @@ describe 'SlingApi' do
|
|
512
462
|
# @param [Hash] opts the optional parameters
|
513
463
|
# @return [String]
|
514
464
|
describe 'post_query test' do
|
515
|
-
it
|
465
|
+
it 'should work' do
|
516
466
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
517
467
|
end
|
518
468
|
end
|
519
469
|
|
520
470
|
# unit tests for post_tree_activation
|
521
|
-
#
|
522
|
-
#
|
523
471
|
# @param ignoredeactivated
|
524
472
|
# @param onlymodified
|
525
473
|
# @param path
|
526
474
|
# @param [Hash] opts the optional parameters
|
527
475
|
# @return [nil]
|
528
476
|
describe 'post_tree_activation test' do
|
529
|
-
it
|
477
|
+
it 'should work' do
|
530
478
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
531
479
|
end
|
532
480
|
end
|
533
481
|
|
534
482
|
# unit tests for post_truststore
|
535
|
-
#
|
536
|
-
#
|
537
483
|
# @param [Hash] opts the optional parameters
|
538
484
|
# @option opts [String] :operation
|
539
485
|
# @option opts [String] :new_password
|
@@ -543,19 +489,17 @@ describe 'SlingApi' do
|
|
543
489
|
# @option opts [File] :certificate
|
544
490
|
# @return [String]
|
545
491
|
describe 'post_truststore test' do
|
546
|
-
it
|
492
|
+
it 'should work' do
|
547
493
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
548
494
|
end
|
549
495
|
end
|
550
496
|
|
551
497
|
# unit tests for post_truststore_pkcs12
|
552
|
-
#
|
553
|
-
#
|
554
498
|
# @param [Hash] opts the optional parameters
|
555
499
|
# @option opts [File] :truststore_p12
|
556
500
|
# @return [String]
|
557
501
|
describe 'post_truststore_pkcs12 test' do
|
558
|
-
it
|
502
|
+
it 'should work' do
|
559
503
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
560
504
|
end
|
561
505
|
end
|