swagger_aem 0.9.5 → 0.9.6
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/README.md +9 -6
- data/docs/SlingApi.md +190 -17
- data/lib/swagger_aem.rb +1 -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/sling_api.rb +204 -28
- 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/version.rb +2 -2
- data/spec/api/console_api_spec.rb +14 -17
- data/spec/api/cq_api_spec.rb +24 -16
- data/spec/api/crx_api_spec.rb +24 -19
- data/spec/api/sling_api_spec.rb +90 -29
- data/swagger_aem.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b07942c203e5f3d0898efcd9855d34553f60ec96
|
|
4
|
+
data.tar.gz: 7a517863e9e110c78783d6665aaa0b4ee70d635e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a3500d4f02655a49e015af97e08d495575d5f278402094f662621bee45ce7b242dbfb69be175733ee914f88644a5dc3aff87a8fbf315da9f80067ec311f884e2
|
|
7
|
+
data.tar.gz: eca39df79c4353feb95c7a574a2156d9eb2d5f3f3ee89a68043281fbc79aa85e7135b363728cccd1c80200d950bc5ce0ffd0b5e5871003d1ac038d52095ba622
|
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 [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
|
-
- API version: 1.1.
|
|
10
|
-
- Package version: 0.9.
|
|
9
|
+
- API version: 1.1.6
|
|
10
|
+
- Package version: 0.9.6
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [http://shinesolutions.com](http://shinesolutions.com)
|
|
13
13
|
|
|
@@ -24,15 +24,15 @@ gem build swagger_aem.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./swagger_aem-0.9.
|
|
27
|
+
gem install ./swagger_aem-0.9.6.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./swagger_aem-0.9.
|
|
29
|
+
(for development, run `gem install --dev ./swagger_aem-0.9.6.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'swagger_aem', '~> 0.9.
|
|
35
|
+
gem 'swagger_aem', '~> 0.9.6'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -99,7 +99,10 @@ Class | Method | HTTP request | Description
|
|
|
99
99
|
*SwaggerAemClient::SlingApi* | [**get_package_filter**](docs/SlingApi.md#get_package_filter) | **GET** /etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json |
|
|
100
100
|
*SwaggerAemClient::SlingApi* | [**post_agent**](docs/SlingApi.md#post_agent) | **POST** /etc/replication/agents.{runmode}/{name} |
|
|
101
101
|
*SwaggerAemClient::SlingApi* | [**post_authorizables**](docs/SlingApi.md#post_authorizables) | **POST** /libs/granite/security/post/authorizables |
|
|
102
|
-
*SwaggerAemClient::SlingApi* | [**
|
|
102
|
+
*SwaggerAemClient::SlingApi* | [**post_config_apache_felix_jetty_based_http_service**](docs/SlingApi.md#post_config_apache_felix_jetty_based_http_service) | **POST** /apps/system/config.{runmode}/org.apache.felix.http |
|
|
103
|
+
*SwaggerAemClient::SlingApi* | [**post_config_apache_sling_dav_ex_servlet**](docs/SlingApi.md#post_config_apache_sling_dav_ex_servlet) | **POST** /apps/system/config.{runmode}/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet |
|
|
104
|
+
*SwaggerAemClient::SlingApi* | [**post_config_apache_sling_get_servlet**](docs/SlingApi.md#post_config_apache_sling_get_servlet) | **POST** /apps/system/config.{runmode}/org.apache.sling.servlets.get.DefaultGetServlet |
|
|
105
|
+
*SwaggerAemClient::SlingApi* | [**post_config_apache_sling_referrer_filter**](docs/SlingApi.md#post_config_apache_sling_referrer_filter) | **POST** /apps/system/config.{runmode}/org.apache.sling.security.impl.ReferrerFilter |
|
|
103
106
|
*SwaggerAemClient::SlingApi* | [**post_node_rw**](docs/SlingApi.md#post_node_rw) | **POST** /{path}/{name}.rw.html |
|
|
104
107
|
*SwaggerAemClient::SlingApi* | [**post_path**](docs/SlingApi.md#post_path) | **POST** /{path}/ |
|
|
105
108
|
*SwaggerAemClient::SlingApi* | [**post_query**](docs/SlingApi.md#post_query) | **POST** /bin/querybuilder.json |
|
data/docs/SlingApi.md
CHANGED
|
@@ -12,7 +12,10 @@ Method | HTTP request | Description
|
|
|
12
12
|
[**get_package_filter**](SlingApi.md#get_package_filter) | **GET** /etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json |
|
|
13
13
|
[**post_agent**](SlingApi.md#post_agent) | **POST** /etc/replication/agents.{runmode}/{name} |
|
|
14
14
|
[**post_authorizables**](SlingApi.md#post_authorizables) | **POST** /libs/granite/security/post/authorizables |
|
|
15
|
-
[**
|
|
15
|
+
[**post_config_apache_felix_jetty_based_http_service**](SlingApi.md#post_config_apache_felix_jetty_based_http_service) | **POST** /apps/system/config.{runmode}/org.apache.felix.http |
|
|
16
|
+
[**post_config_apache_sling_dav_ex_servlet**](SlingApi.md#post_config_apache_sling_dav_ex_servlet) | **POST** /apps/system/config.{runmode}/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet |
|
|
17
|
+
[**post_config_apache_sling_get_servlet**](SlingApi.md#post_config_apache_sling_get_servlet) | **POST** /apps/system/config.{runmode}/org.apache.sling.servlets.get.DefaultGetServlet |
|
|
18
|
+
[**post_config_apache_sling_referrer_filter**](SlingApi.md#post_config_apache_sling_referrer_filter) | **POST** /apps/system/config.{runmode}/org.apache.sling.security.impl.ReferrerFilter |
|
|
16
19
|
[**post_node_rw**](SlingApi.md#post_node_rw) | **POST** /{path}/{name}.rw.html |
|
|
17
20
|
[**post_path**](SlingApi.md#post_path) | **POST** /{path}/ |
|
|
18
21
|
[**post_query**](SlingApi.md#post_query) | **POST** /bin/querybuilder.json |
|
|
@@ -500,8 +503,8 @@ Name | Type | Description | Notes
|
|
|
500
503
|
|
|
501
504
|
|
|
502
505
|
|
|
503
|
-
# **
|
|
504
|
-
>
|
|
506
|
+
# **post_config_apache_felix_jetty_based_http_service**
|
|
507
|
+
> post_config_apache_felix_jetty_based_http_service(runmode, opts)
|
|
505
508
|
|
|
506
509
|
|
|
507
510
|
|
|
@@ -520,8 +523,6 @@ api_instance = SwaggerAemClient::SlingApi.new
|
|
|
520
523
|
|
|
521
524
|
runmode = "runmode_example" # String |
|
|
522
525
|
|
|
523
|
-
name = "name_example" # String |
|
|
524
|
-
|
|
525
526
|
opts = {
|
|
526
527
|
org_apache_felix_https_nio: true, # BOOLEAN |
|
|
527
528
|
org_apache_felix_https_nio_type_hint: "org_apache_felix_https_nio_type_hint_example", # String |
|
|
@@ -542,21 +543,13 @@ opts = {
|
|
|
542
543
|
org_apache_felix_https_enable: true, # BOOLEAN |
|
|
543
544
|
org_apache_felix_https_enable_type_hint: "org_apache_felix_https_enable_type_hint_example", # String |
|
|
544
545
|
org_osgi_service_http_port_secure: "org_osgi_service_http_port_secure_example", # String |
|
|
545
|
-
org_osgi_service_http_port_secure_type_hint: "org_osgi_service_http_port_secure_type_hint_example"
|
|
546
|
-
json_maximumresults: "json_maximumresults_example", # String |
|
|
547
|
-
json_maximumresults_type_hint: "json_maximumresults_type_hint_example", # String |
|
|
548
|
-
enable_html: true, # BOOLEAN |
|
|
549
|
-
enable_html_type_hint: "enable_html_type_hint_example", # String |
|
|
550
|
-
enable_txt: true, # BOOLEAN |
|
|
551
|
-
enable_txt_type_hint: "enable_txt_type_hint_example", # String |
|
|
552
|
-
enable_xml: true, # BOOLEAN |
|
|
553
|
-
enable_xml_type_hint: "enable_xml_type_hint_example" # String |
|
|
546
|
+
org_osgi_service_http_port_secure_type_hint: "org_osgi_service_http_port_secure_type_hint_example" # String |
|
|
554
547
|
}
|
|
555
548
|
|
|
556
549
|
begin
|
|
557
|
-
api_instance.
|
|
550
|
+
api_instance.post_config_apache_felix_jetty_based_http_service(runmode, opts)
|
|
558
551
|
rescue SwaggerAemClient::ApiError => e
|
|
559
|
-
puts "Exception when calling SlingApi->
|
|
552
|
+
puts "Exception when calling SlingApi->post_config_apache_felix_jetty_based_http_service: #{e}"
|
|
560
553
|
end
|
|
561
554
|
```
|
|
562
555
|
|
|
@@ -565,7 +558,6 @@ end
|
|
|
565
558
|
Name | Type | Description | Notes
|
|
566
559
|
------------- | ------------- | ------------- | -------------
|
|
567
560
|
**runmode** | **String**| |
|
|
568
|
-
**name** | **String**| |
|
|
569
561
|
**org_apache_felix_https_nio** | **BOOLEAN**| | [optional]
|
|
570
562
|
**org_apache_felix_https_nio_type_hint** | **String**| | [optional]
|
|
571
563
|
**org_apache_felix_https_keystore** | **String**| | [optional]
|
|
@@ -586,6 +578,124 @@ Name | Type | Description | Notes
|
|
|
586
578
|
**org_apache_felix_https_enable_type_hint** | **String**| | [optional]
|
|
587
579
|
**org_osgi_service_http_port_secure** | **String**| | [optional]
|
|
588
580
|
**org_osgi_service_http_port_secure_type_hint** | **String**| | [optional]
|
|
581
|
+
|
|
582
|
+
### Return type
|
|
583
|
+
|
|
584
|
+
nil (empty response body)
|
|
585
|
+
|
|
586
|
+
### Authorization
|
|
587
|
+
|
|
588
|
+
[aemAuth](../README.md#aemAuth)
|
|
589
|
+
|
|
590
|
+
### HTTP request headers
|
|
591
|
+
|
|
592
|
+
- **Content-Type**: Not defined
|
|
593
|
+
- **Accept**: text/plain
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
# **post_config_apache_sling_dav_ex_servlet**
|
|
598
|
+
> post_config_apache_sling_dav_ex_servlet(runmode, opts)
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
### Example
|
|
603
|
+
```ruby
|
|
604
|
+
# load the gem
|
|
605
|
+
require 'swagger_aem'
|
|
606
|
+
# setup authorization
|
|
607
|
+
SwaggerAemClient.configure do |config|
|
|
608
|
+
# Configure HTTP basic authorization: aemAuth
|
|
609
|
+
config.username = 'YOUR USERNAME'
|
|
610
|
+
config.password = 'YOUR PASSWORD'
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
|
614
|
+
|
|
615
|
+
runmode = "runmode_example" # String |
|
|
616
|
+
|
|
617
|
+
opts = {
|
|
618
|
+
_alias: "_alias_example", # String |
|
|
619
|
+
alias_type_hint: "alias_type_hint_example", # String |
|
|
620
|
+
dav_create_absolute_uri: true, # BOOLEAN |
|
|
621
|
+
dav_create_absolute_uri_type_hint: "dav_create_absolute_uri_type_hint_example" # String |
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
begin
|
|
625
|
+
api_instance.post_config_apache_sling_dav_ex_servlet(runmode, opts)
|
|
626
|
+
rescue SwaggerAemClient::ApiError => e
|
|
627
|
+
puts "Exception when calling SlingApi->post_config_apache_sling_dav_ex_servlet: #{e}"
|
|
628
|
+
end
|
|
629
|
+
```
|
|
630
|
+
|
|
631
|
+
### Parameters
|
|
632
|
+
|
|
633
|
+
Name | Type | Description | Notes
|
|
634
|
+
------------- | ------------- | ------------- | -------------
|
|
635
|
+
**runmode** | **String**| |
|
|
636
|
+
**_alias** | **String**| | [optional]
|
|
637
|
+
**alias_type_hint** | **String**| | [optional]
|
|
638
|
+
**dav_create_absolute_uri** | **BOOLEAN**| | [optional]
|
|
639
|
+
**dav_create_absolute_uri_type_hint** | **String**| | [optional]
|
|
640
|
+
|
|
641
|
+
### Return type
|
|
642
|
+
|
|
643
|
+
nil (empty response body)
|
|
644
|
+
|
|
645
|
+
### Authorization
|
|
646
|
+
|
|
647
|
+
[aemAuth](../README.md#aemAuth)
|
|
648
|
+
|
|
649
|
+
### HTTP request headers
|
|
650
|
+
|
|
651
|
+
- **Content-Type**: Not defined
|
|
652
|
+
- **Accept**: text/plain
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
# **post_config_apache_sling_get_servlet**
|
|
657
|
+
> post_config_apache_sling_get_servlet(runmode, opts)
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
### Example
|
|
662
|
+
```ruby
|
|
663
|
+
# load the gem
|
|
664
|
+
require 'swagger_aem'
|
|
665
|
+
# setup authorization
|
|
666
|
+
SwaggerAemClient.configure do |config|
|
|
667
|
+
# Configure HTTP basic authorization: aemAuth
|
|
668
|
+
config.username = 'YOUR USERNAME'
|
|
669
|
+
config.password = 'YOUR PASSWORD'
|
|
670
|
+
end
|
|
671
|
+
|
|
672
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
|
673
|
+
|
|
674
|
+
runmode = "runmode_example" # String |
|
|
675
|
+
|
|
676
|
+
opts = {
|
|
677
|
+
json_maximumresults: "json_maximumresults_example", # String |
|
|
678
|
+
json_maximumresults_type_hint: "json_maximumresults_type_hint_example", # String |
|
|
679
|
+
enable_html: true, # BOOLEAN |
|
|
680
|
+
enable_html_type_hint: "enable_html_type_hint_example", # String |
|
|
681
|
+
enable_txt: true, # BOOLEAN |
|
|
682
|
+
enable_txt_type_hint: "enable_txt_type_hint_example", # String |
|
|
683
|
+
enable_xml: true, # BOOLEAN |
|
|
684
|
+
enable_xml_type_hint: "enable_xml_type_hint_example" # String |
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
begin
|
|
688
|
+
api_instance.post_config_apache_sling_get_servlet(runmode, opts)
|
|
689
|
+
rescue SwaggerAemClient::ApiError => e
|
|
690
|
+
puts "Exception when calling SlingApi->post_config_apache_sling_get_servlet: #{e}"
|
|
691
|
+
end
|
|
692
|
+
```
|
|
693
|
+
|
|
694
|
+
### Parameters
|
|
695
|
+
|
|
696
|
+
Name | Type | Description | Notes
|
|
697
|
+
------------- | ------------- | ------------- | -------------
|
|
698
|
+
**runmode** | **String**| |
|
|
589
699
|
**json_maximumresults** | **String**| | [optional]
|
|
590
700
|
**json_maximumresults_type_hint** | **String**| | [optional]
|
|
591
701
|
**enable_html** | **BOOLEAN**| | [optional]
|
|
@@ -610,6 +720,69 @@ nil (empty response body)
|
|
|
610
720
|
|
|
611
721
|
|
|
612
722
|
|
|
723
|
+
# **post_config_apache_sling_referrer_filter**
|
|
724
|
+
> post_config_apache_sling_referrer_filter(runmode, opts)
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
### Example
|
|
729
|
+
```ruby
|
|
730
|
+
# load the gem
|
|
731
|
+
require 'swagger_aem'
|
|
732
|
+
# setup authorization
|
|
733
|
+
SwaggerAemClient.configure do |config|
|
|
734
|
+
# Configure HTTP basic authorization: aemAuth
|
|
735
|
+
config.username = 'YOUR USERNAME'
|
|
736
|
+
config.password = 'YOUR PASSWORD'
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
|
740
|
+
|
|
741
|
+
runmode = "runmode_example" # String |
|
|
742
|
+
|
|
743
|
+
opts = {
|
|
744
|
+
allow_empty: true, # BOOLEAN |
|
|
745
|
+
allow_empty_type_hint: "allow_empty_type_hint_example", # String |
|
|
746
|
+
allow_hosts: "allow_hosts_example", # String |
|
|
747
|
+
allow_hosts_type_hint: "allow_hosts_type_hint_example", # String |
|
|
748
|
+
allow_hosts_regexp: "allow_hosts_regexp_example", # String |
|
|
749
|
+
allow_hosts_regexp_type_hint: "allow_hosts_regexp_type_hint_example" # String |
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
begin
|
|
753
|
+
api_instance.post_config_apache_sling_referrer_filter(runmode, opts)
|
|
754
|
+
rescue SwaggerAemClient::ApiError => e
|
|
755
|
+
puts "Exception when calling SlingApi->post_config_apache_sling_referrer_filter: #{e}"
|
|
756
|
+
end
|
|
757
|
+
```
|
|
758
|
+
|
|
759
|
+
### Parameters
|
|
760
|
+
|
|
761
|
+
Name | Type | Description | Notes
|
|
762
|
+
------------- | ------------- | ------------- | -------------
|
|
763
|
+
**runmode** | **String**| |
|
|
764
|
+
**allow_empty** | **BOOLEAN**| | [optional]
|
|
765
|
+
**allow_empty_type_hint** | **String**| | [optional]
|
|
766
|
+
**allow_hosts** | **String**| | [optional]
|
|
767
|
+
**allow_hosts_type_hint** | **String**| | [optional]
|
|
768
|
+
**allow_hosts_regexp** | **String**| | [optional]
|
|
769
|
+
**allow_hosts_regexp_type_hint** | **String**| | [optional]
|
|
770
|
+
|
|
771
|
+
### Return type
|
|
772
|
+
|
|
773
|
+
nil (empty response body)
|
|
774
|
+
|
|
775
|
+
### Authorization
|
|
776
|
+
|
|
777
|
+
[aemAuth](../README.md#aemAuth)
|
|
778
|
+
|
|
779
|
+
### HTTP request headers
|
|
780
|
+
|
|
781
|
+
- **Content-Type**: Not defined
|
|
782
|
+
- **Accept**: text/plain
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
613
786
|
# **post_node_rw**
|
|
614
787
|
> post_node_rw(path, name, opts)
|
|
615
788
|
|
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
|
-
OpenAPI spec version: 1.1.
|
|
6
|
+
OpenAPI spec version: 1.1.6
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
|
|
@@ -545,7 +545,6 @@ module SwaggerAemClient
|
|
|
545
545
|
#
|
|
546
546
|
#
|
|
547
547
|
# @param runmode
|
|
548
|
-
# @param name
|
|
549
548
|
# @param [Hash] opts the optional parameters
|
|
550
549
|
# @option opts [BOOLEAN] :org_apache_felix_https_nio
|
|
551
550
|
# @option opts [String] :org_apache_felix_https_nio_type_hint
|
|
@@ -567,24 +566,15 @@ module SwaggerAemClient
|
|
|
567
566
|
# @option opts [String] :org_apache_felix_https_enable_type_hint
|
|
568
567
|
# @option opts [String] :org_osgi_service_http_port_secure
|
|
569
568
|
# @option opts [String] :org_osgi_service_http_port_secure_type_hint
|
|
570
|
-
# @option opts [String] :json_maximumresults
|
|
571
|
-
# @option opts [String] :json_maximumresults_type_hint
|
|
572
|
-
# @option opts [BOOLEAN] :enable_html
|
|
573
|
-
# @option opts [String] :enable_html_type_hint
|
|
574
|
-
# @option opts [BOOLEAN] :enable_txt
|
|
575
|
-
# @option opts [String] :enable_txt_type_hint
|
|
576
|
-
# @option opts [BOOLEAN] :enable_xml
|
|
577
|
-
# @option opts [String] :enable_xml_type_hint
|
|
578
569
|
# @return [nil]
|
|
579
|
-
def
|
|
580
|
-
|
|
570
|
+
def post_config_apache_felix_jetty_based_http_service(runmode, opts = {})
|
|
571
|
+
post_config_apache_felix_jetty_based_http_service_with_http_info(runmode, opts)
|
|
581
572
|
return nil
|
|
582
573
|
end
|
|
583
574
|
|
|
584
575
|
#
|
|
585
576
|
#
|
|
586
577
|
# @param runmode
|
|
587
|
-
# @param name
|
|
588
578
|
# @param [Hash] opts the optional parameters
|
|
589
579
|
# @option opts [BOOLEAN] :org_apache_felix_https_nio
|
|
590
580
|
# @option opts [String] :org_apache_felix_https_nio_type_hint
|
|
@@ -606,25 +596,15 @@ module SwaggerAemClient
|
|
|
606
596
|
# @option opts [String] :org_apache_felix_https_enable_type_hint
|
|
607
597
|
# @option opts [String] :org_osgi_service_http_port_secure
|
|
608
598
|
# @option opts [String] :org_osgi_service_http_port_secure_type_hint
|
|
609
|
-
# @option opts [String] :json_maximumresults
|
|
610
|
-
# @option opts [String] :json_maximumresults_type_hint
|
|
611
|
-
# @option opts [BOOLEAN] :enable_html
|
|
612
|
-
# @option opts [String] :enable_html_type_hint
|
|
613
|
-
# @option opts [BOOLEAN] :enable_txt
|
|
614
|
-
# @option opts [String] :enable_txt_type_hint
|
|
615
|
-
# @option opts [BOOLEAN] :enable_xml
|
|
616
|
-
# @option opts [String] :enable_xml_type_hint
|
|
617
599
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
618
|
-
def
|
|
600
|
+
def post_config_apache_felix_jetty_based_http_service_with_http_info(runmode, opts = {})
|
|
619
601
|
if @api_client.config.debugging
|
|
620
|
-
@api_client.config.logger.debug "Calling API: SlingApi.
|
|
602
|
+
@api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_felix_jetty_based_http_service ..."
|
|
621
603
|
end
|
|
622
604
|
# verify the required parameter 'runmode' is set
|
|
623
|
-
fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.
|
|
624
|
-
# verify the required parameter 'name' is set
|
|
625
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_config" if name.nil?
|
|
605
|
+
fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_felix_jetty_based_http_service" if runmode.nil?
|
|
626
606
|
# resource path
|
|
627
|
-
local_var_path = "/apps/system/config.{runmode}/
|
|
607
|
+
local_var_path = "/apps/system/config.{runmode}/org.apache.felix.http".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
|
|
628
608
|
|
|
629
609
|
# query parameters
|
|
630
610
|
query_params = {}
|
|
@@ -648,6 +628,134 @@ module SwaggerAemClient
|
|
|
648
628
|
query_params[:'org.apache.felix.https.enable@TypeHint'] = opts[:'org_apache_felix_https_enable_type_hint'] if !opts[:'org_apache_felix_https_enable_type_hint'].nil?
|
|
649
629
|
query_params[:'org.osgi.service.http.port.secure'] = opts[:'org_osgi_service_http_port_secure'] if !opts[:'org_osgi_service_http_port_secure'].nil?
|
|
650
630
|
query_params[:'org.osgi.service.http.port.secure@TypeHint'] = opts[:'org_osgi_service_http_port_secure_type_hint'] if !opts[:'org_osgi_service_http_port_secure_type_hint'].nil?
|
|
631
|
+
|
|
632
|
+
# header parameters
|
|
633
|
+
header_params = {}
|
|
634
|
+
# HTTP header 'Accept' (if needed)
|
|
635
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
636
|
+
|
|
637
|
+
# form parameters
|
|
638
|
+
form_params = {}
|
|
639
|
+
|
|
640
|
+
# http body (model)
|
|
641
|
+
post_body = nil
|
|
642
|
+
auth_names = ['aemAuth']
|
|
643
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
644
|
+
:header_params => header_params,
|
|
645
|
+
:query_params => query_params,
|
|
646
|
+
:form_params => form_params,
|
|
647
|
+
:body => post_body,
|
|
648
|
+
:auth_names => auth_names)
|
|
649
|
+
if @api_client.config.debugging
|
|
650
|
+
@api_client.config.logger.debug "API called: SlingApi#post_config_apache_felix_jetty_based_http_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
651
|
+
end
|
|
652
|
+
return data, status_code, headers
|
|
653
|
+
end
|
|
654
|
+
|
|
655
|
+
#
|
|
656
|
+
#
|
|
657
|
+
# @param runmode
|
|
658
|
+
# @param [Hash] opts the optional parameters
|
|
659
|
+
# @option opts [String] :_alias
|
|
660
|
+
# @option opts [String] :alias_type_hint
|
|
661
|
+
# @option opts [BOOLEAN] :dav_create_absolute_uri
|
|
662
|
+
# @option opts [String] :dav_create_absolute_uri_type_hint
|
|
663
|
+
# @return [nil]
|
|
664
|
+
def post_config_apache_sling_dav_ex_servlet(runmode, opts = {})
|
|
665
|
+
post_config_apache_sling_dav_ex_servlet_with_http_info(runmode, opts)
|
|
666
|
+
return nil
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
#
|
|
670
|
+
#
|
|
671
|
+
# @param runmode
|
|
672
|
+
# @param [Hash] opts the optional parameters
|
|
673
|
+
# @option opts [String] :_alias
|
|
674
|
+
# @option opts [String] :alias_type_hint
|
|
675
|
+
# @option opts [BOOLEAN] :dav_create_absolute_uri
|
|
676
|
+
# @option opts [String] :dav_create_absolute_uri_type_hint
|
|
677
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
678
|
+
def post_config_apache_sling_dav_ex_servlet_with_http_info(runmode, opts = {})
|
|
679
|
+
if @api_client.config.debugging
|
|
680
|
+
@api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_dav_ex_servlet ..."
|
|
681
|
+
end
|
|
682
|
+
# verify the required parameter 'runmode' is set
|
|
683
|
+
fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_dav_ex_servlet" if runmode.nil?
|
|
684
|
+
# resource path
|
|
685
|
+
local_var_path = "/apps/system/config.{runmode}/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
|
|
686
|
+
|
|
687
|
+
# query parameters
|
|
688
|
+
query_params = {}
|
|
689
|
+
query_params[:'alias'] = opts[:'_alias'] if !opts[:'_alias'].nil?
|
|
690
|
+
query_params[:'alias@TypeHint'] = opts[:'alias_type_hint'] if !opts[:'alias_type_hint'].nil?
|
|
691
|
+
query_params[:'dav.create-absolute-uri'] = opts[:'dav_create_absolute_uri'] if !opts[:'dav_create_absolute_uri'].nil?
|
|
692
|
+
query_params[:'dav.create-absolute-uri@TypeHint'] = opts[:'dav_create_absolute_uri_type_hint'] if !opts[:'dav_create_absolute_uri_type_hint'].nil?
|
|
693
|
+
|
|
694
|
+
# header parameters
|
|
695
|
+
header_params = {}
|
|
696
|
+
# HTTP header 'Accept' (if needed)
|
|
697
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
698
|
+
|
|
699
|
+
# form parameters
|
|
700
|
+
form_params = {}
|
|
701
|
+
|
|
702
|
+
# http body (model)
|
|
703
|
+
post_body = nil
|
|
704
|
+
auth_names = ['aemAuth']
|
|
705
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
706
|
+
:header_params => header_params,
|
|
707
|
+
:query_params => query_params,
|
|
708
|
+
:form_params => form_params,
|
|
709
|
+
:body => post_body,
|
|
710
|
+
:auth_names => auth_names)
|
|
711
|
+
if @api_client.config.debugging
|
|
712
|
+
@api_client.config.logger.debug "API called: SlingApi#post_config_apache_sling_dav_ex_servlet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
713
|
+
end
|
|
714
|
+
return data, status_code, headers
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
#
|
|
718
|
+
#
|
|
719
|
+
# @param runmode
|
|
720
|
+
# @param [Hash] opts the optional parameters
|
|
721
|
+
# @option opts [String] :json_maximumresults
|
|
722
|
+
# @option opts [String] :json_maximumresults_type_hint
|
|
723
|
+
# @option opts [BOOLEAN] :enable_html
|
|
724
|
+
# @option opts [String] :enable_html_type_hint
|
|
725
|
+
# @option opts [BOOLEAN] :enable_txt
|
|
726
|
+
# @option opts [String] :enable_txt_type_hint
|
|
727
|
+
# @option opts [BOOLEAN] :enable_xml
|
|
728
|
+
# @option opts [String] :enable_xml_type_hint
|
|
729
|
+
# @return [nil]
|
|
730
|
+
def post_config_apache_sling_get_servlet(runmode, opts = {})
|
|
731
|
+
post_config_apache_sling_get_servlet_with_http_info(runmode, opts)
|
|
732
|
+
return nil
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
#
|
|
736
|
+
#
|
|
737
|
+
# @param runmode
|
|
738
|
+
# @param [Hash] opts the optional parameters
|
|
739
|
+
# @option opts [String] :json_maximumresults
|
|
740
|
+
# @option opts [String] :json_maximumresults_type_hint
|
|
741
|
+
# @option opts [BOOLEAN] :enable_html
|
|
742
|
+
# @option opts [String] :enable_html_type_hint
|
|
743
|
+
# @option opts [BOOLEAN] :enable_txt
|
|
744
|
+
# @option opts [String] :enable_txt_type_hint
|
|
745
|
+
# @option opts [BOOLEAN] :enable_xml
|
|
746
|
+
# @option opts [String] :enable_xml_type_hint
|
|
747
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
748
|
+
def post_config_apache_sling_get_servlet_with_http_info(runmode, opts = {})
|
|
749
|
+
if @api_client.config.debugging
|
|
750
|
+
@api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_get_servlet ..."
|
|
751
|
+
end
|
|
752
|
+
# verify the required parameter 'runmode' is set
|
|
753
|
+
fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_get_servlet" if runmode.nil?
|
|
754
|
+
# resource path
|
|
755
|
+
local_var_path = "/apps/system/config.{runmode}/org.apache.sling.servlets.get.DefaultGetServlet".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
|
|
756
|
+
|
|
757
|
+
# query parameters
|
|
758
|
+
query_params = {}
|
|
651
759
|
query_params[:'json.maximumresults'] = opts[:'json_maximumresults'] if !opts[:'json_maximumresults'].nil?
|
|
652
760
|
query_params[:'json.maximumresults@TypeHint'] = opts[:'json_maximumresults_type_hint'] if !opts[:'json_maximumresults_type_hint'].nil?
|
|
653
761
|
query_params[:'enable.html'] = opts[:'enable_html'] if !opts[:'enable_html'].nil?
|
|
@@ -675,7 +783,75 @@ module SwaggerAemClient
|
|
|
675
783
|
:body => post_body,
|
|
676
784
|
:auth_names => auth_names)
|
|
677
785
|
if @api_client.config.debugging
|
|
678
|
-
@api_client.config.logger.debug "API called: SlingApi#
|
|
786
|
+
@api_client.config.logger.debug "API called: SlingApi#post_config_apache_sling_get_servlet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
787
|
+
end
|
|
788
|
+
return data, status_code, headers
|
|
789
|
+
end
|
|
790
|
+
|
|
791
|
+
#
|
|
792
|
+
#
|
|
793
|
+
# @param runmode
|
|
794
|
+
# @param [Hash] opts the optional parameters
|
|
795
|
+
# @option opts [BOOLEAN] :allow_empty
|
|
796
|
+
# @option opts [String] :allow_empty_type_hint
|
|
797
|
+
# @option opts [String] :allow_hosts
|
|
798
|
+
# @option opts [String] :allow_hosts_type_hint
|
|
799
|
+
# @option opts [String] :allow_hosts_regexp
|
|
800
|
+
# @option opts [String] :allow_hosts_regexp_type_hint
|
|
801
|
+
# @return [nil]
|
|
802
|
+
def post_config_apache_sling_referrer_filter(runmode, opts = {})
|
|
803
|
+
post_config_apache_sling_referrer_filter_with_http_info(runmode, opts)
|
|
804
|
+
return nil
|
|
805
|
+
end
|
|
806
|
+
|
|
807
|
+
#
|
|
808
|
+
#
|
|
809
|
+
# @param runmode
|
|
810
|
+
# @param [Hash] opts the optional parameters
|
|
811
|
+
# @option opts [BOOLEAN] :allow_empty
|
|
812
|
+
# @option opts [String] :allow_empty_type_hint
|
|
813
|
+
# @option opts [String] :allow_hosts
|
|
814
|
+
# @option opts [String] :allow_hosts_type_hint
|
|
815
|
+
# @option opts [String] :allow_hosts_regexp
|
|
816
|
+
# @option opts [String] :allow_hosts_regexp_type_hint
|
|
817
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
818
|
+
def post_config_apache_sling_referrer_filter_with_http_info(runmode, opts = {})
|
|
819
|
+
if @api_client.config.debugging
|
|
820
|
+
@api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_referrer_filter ..."
|
|
821
|
+
end
|
|
822
|
+
# verify the required parameter 'runmode' is set
|
|
823
|
+
fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_referrer_filter" if runmode.nil?
|
|
824
|
+
# resource path
|
|
825
|
+
local_var_path = "/apps/system/config.{runmode}/org.apache.sling.security.impl.ReferrerFilter".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
|
|
826
|
+
|
|
827
|
+
# query parameters
|
|
828
|
+
query_params = {}
|
|
829
|
+
query_params[:'allow.empty'] = opts[:'allow_empty'] if !opts[:'allow_empty'].nil?
|
|
830
|
+
query_params[:'allow.empty@TypeHint'] = opts[:'allow_empty_type_hint'] if !opts[:'allow_empty_type_hint'].nil?
|
|
831
|
+
query_params[:'allow.hosts'] = opts[:'allow_hosts'] if !opts[:'allow_hosts'].nil?
|
|
832
|
+
query_params[:'allow.hosts@TypeHint'] = opts[:'allow_hosts_type_hint'] if !opts[:'allow_hosts_type_hint'].nil?
|
|
833
|
+
query_params[:'allow.hosts.regexp'] = opts[:'allow_hosts_regexp'] if !opts[:'allow_hosts_regexp'].nil?
|
|
834
|
+
query_params[:'allow.hosts.regexp@TypeHint'] = opts[:'allow_hosts_regexp_type_hint'] if !opts[:'allow_hosts_regexp_type_hint'].nil?
|
|
835
|
+
|
|
836
|
+
# header parameters
|
|
837
|
+
header_params = {}
|
|
838
|
+
# HTTP header 'Accept' (if needed)
|
|
839
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
840
|
+
|
|
841
|
+
# form parameters
|
|
842
|
+
form_params = {}
|
|
843
|
+
|
|
844
|
+
# http body (model)
|
|
845
|
+
post_body = nil
|
|
846
|
+
auth_names = ['aemAuth']
|
|
847
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
848
|
+
:header_params => header_params,
|
|
849
|
+
:query_params => query_params,
|
|
850
|
+
:form_params => form_params,
|
|
851
|
+
:body => post_body,
|
|
852
|
+
:auth_names => auth_names)
|
|
853
|
+
if @api_client.config.debugging
|
|
854
|
+
@api_client.config.logger.debug "API called: SlingApi#post_config_apache_sling_referrer_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
679
855
|
end
|
|
680
856
|
return data, status_code, headers
|
|
681
857
|
end
|
data/lib/swagger_aem/version.rb
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.1.
|
|
6
|
+
OpenAPI spec version: 1.1.6
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
module SwaggerAemClient
|
|
13
|
-
VERSION = "0.9.
|
|
13
|
+
VERSION = "0.9.6"
|
|
14
14
|
end
|
|
@@ -1,23 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
|
|
2
|
+
Adobe Experience Manager (AEM) API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.1.
|
|
6
|
+
OpenAPI spec version: 1.1.6
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
|
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
-
you may not use this file except in compliance with the License.
|
|
12
|
-
You may obtain a copy of the License at
|
|
13
|
-
|
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
-
|
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
-
See the License for the specific language governing permissions and
|
|
20
|
-
limitations under the License.
|
|
21
10
|
|
|
22
11
|
=end
|
|
23
12
|
|
|
@@ -39,7 +28,7 @@ describe 'ConsoleApi' do
|
|
|
39
28
|
|
|
40
29
|
describe 'test an instance of ConsoleApi' do
|
|
41
30
|
it 'should create an instact of ConsoleApi' do
|
|
42
|
-
|
|
31
|
+
@instance.should be_a(SwaggerAemClient::ConsoleApi)
|
|
43
32
|
end
|
|
44
33
|
end
|
|
45
34
|
|
|
@@ -52,7 +41,11 @@ describe 'ConsoleApi' do
|
|
|
52
41
|
# @return [nil]
|
|
53
42
|
describe 'post_bundle test' do
|
|
54
43
|
it "should work" do
|
|
55
|
-
# assertion here
|
|
44
|
+
# assertion here
|
|
45
|
+
# should be_a()
|
|
46
|
+
# should be_nil
|
|
47
|
+
# should ==
|
|
48
|
+
# should_not ==
|
|
56
49
|
end
|
|
57
50
|
end
|
|
58
51
|
|
|
@@ -64,7 +57,11 @@ describe 'ConsoleApi' do
|
|
|
64
57
|
# @return [nil]
|
|
65
58
|
describe 'post_jmx_repository test' do
|
|
66
59
|
it "should work" do
|
|
67
|
-
# assertion here
|
|
60
|
+
# assertion here
|
|
61
|
+
# should be_a()
|
|
62
|
+
# should be_nil
|
|
63
|
+
# should ==
|
|
64
|
+
# should_not ==
|
|
68
65
|
end
|
|
69
66
|
end
|
|
70
67
|
|
data/spec/api/cq_api_spec.rb
CHANGED
|
@@ -1,23 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
|
|
2
|
+
Adobe Experience Manager (AEM) API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.1.
|
|
6
|
+
OpenAPI spec version: 1.1.6
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
|
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
-
you may not use this file except in compliance with the License.
|
|
12
|
-
You may obtain a copy of the License at
|
|
13
|
-
|
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
-
|
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
-
See the License for the specific language governing permissions and
|
|
20
|
-
limitations under the License.
|
|
21
10
|
|
|
22
11
|
=end
|
|
23
12
|
|
|
@@ -39,7 +28,22 @@ describe 'CqApi' do
|
|
|
39
28
|
|
|
40
29
|
describe 'test an instance of CqApi' do
|
|
41
30
|
it 'should create an instact of CqApi' do
|
|
42
|
-
|
|
31
|
+
@instance.should be_a(SwaggerAemClient::CqApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for get_login_page
|
|
36
|
+
#
|
|
37
|
+
#
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [nil]
|
|
40
|
+
describe 'get_login_page test' do
|
|
41
|
+
it "should work" do
|
|
42
|
+
# assertion here
|
|
43
|
+
# should be_a()
|
|
44
|
+
# should be_nil
|
|
45
|
+
# should ==
|
|
46
|
+
# should_not ==
|
|
43
47
|
end
|
|
44
48
|
end
|
|
45
49
|
|
|
@@ -52,7 +56,11 @@ describe 'CqApi' do
|
|
|
52
56
|
# @return [nil]
|
|
53
57
|
describe 'post_cq_actions test' do
|
|
54
58
|
it "should work" do
|
|
55
|
-
# assertion here
|
|
59
|
+
# assertion here
|
|
60
|
+
# should be_a()
|
|
61
|
+
# should be_nil
|
|
62
|
+
# should ==
|
|
63
|
+
# should_not ==
|
|
56
64
|
end
|
|
57
65
|
end
|
|
58
66
|
|
data/spec/api/crx_api_spec.rb
CHANGED
|
@@ -1,23 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
|
|
2
|
+
Adobe Experience Manager (AEM) API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.1.
|
|
6
|
+
OpenAPI spec version: 1.1.6
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
|
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
-
you may not use this file except in compliance with the License.
|
|
12
|
-
You may obtain a copy of the License at
|
|
13
|
-
|
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
-
|
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
-
See the License for the specific language governing permissions and
|
|
20
|
-
limitations under the License.
|
|
21
10
|
|
|
22
11
|
=end
|
|
23
12
|
|
|
@@ -39,7 +28,7 @@ describe 'CrxApi' do
|
|
|
39
28
|
|
|
40
29
|
describe 'test an instance of CrxApi' do
|
|
41
30
|
it 'should create an instact of CrxApi' do
|
|
42
|
-
|
|
31
|
+
@instance.should be_a(SwaggerAemClient::CrxApi)
|
|
43
32
|
end
|
|
44
33
|
end
|
|
45
34
|
|
|
@@ -51,7 +40,11 @@ describe 'CrxApi' do
|
|
|
51
40
|
# @return [String]
|
|
52
41
|
describe 'post_package_service test' do
|
|
53
42
|
it "should work" do
|
|
54
|
-
# assertion here
|
|
43
|
+
# assertion here
|
|
44
|
+
# should be_a()
|
|
45
|
+
# should be_nil
|
|
46
|
+
# should ==
|
|
47
|
+
# should_not ==
|
|
55
48
|
end
|
|
56
49
|
end
|
|
57
50
|
|
|
@@ -70,7 +63,11 @@ describe 'CrxApi' do
|
|
|
70
63
|
# @return [String]
|
|
71
64
|
describe 'post_package_service_json test' do
|
|
72
65
|
it "should work" do
|
|
73
|
-
# assertion here
|
|
66
|
+
# assertion here
|
|
67
|
+
# should be_a()
|
|
68
|
+
# should be_nil
|
|
69
|
+
# should ==
|
|
70
|
+
# should_not ==
|
|
74
71
|
end
|
|
75
72
|
end
|
|
76
73
|
|
|
@@ -87,7 +84,11 @@ describe 'CrxApi' do
|
|
|
87
84
|
# @return [String]
|
|
88
85
|
describe 'post_package_update test' do
|
|
89
86
|
it "should work" do
|
|
90
|
-
# assertion here
|
|
87
|
+
# assertion here
|
|
88
|
+
# should be_a()
|
|
89
|
+
# should be_nil
|
|
90
|
+
# should ==
|
|
91
|
+
# should_not ==
|
|
91
92
|
end
|
|
92
93
|
end
|
|
93
94
|
|
|
@@ -101,7 +102,11 @@ describe 'CrxApi' do
|
|
|
101
102
|
# @return [nil]
|
|
102
103
|
describe 'post_set_password test' do
|
|
103
104
|
it "should work" do
|
|
104
|
-
# assertion here
|
|
105
|
+
# assertion here
|
|
106
|
+
# should be_a()
|
|
107
|
+
# should be_nil
|
|
108
|
+
# should ==
|
|
109
|
+
# should_not ==
|
|
105
110
|
end
|
|
106
111
|
end
|
|
107
112
|
|
data/spec/api/sling_api_spec.rb
CHANGED
|
@@ -1,23 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
|
|
2
|
+
Adobe Experience Manager (AEM) API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.1.
|
|
6
|
+
OpenAPI spec version: 1.1.6
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
|
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
-
you may not use this file except in compliance with the License.
|
|
12
|
-
You may obtain a copy of the License at
|
|
13
|
-
|
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
-
|
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
-
See the License for the specific language governing permissions and
|
|
20
|
-
limitations under the License.
|
|
21
10
|
|
|
22
11
|
=end
|
|
23
12
|
|
|
@@ -39,7 +28,7 @@ describe 'SlingApi' do
|
|
|
39
28
|
|
|
40
29
|
describe 'test an instance of SlingApi' do
|
|
41
30
|
it 'should create an instact of SlingApi' do
|
|
42
|
-
|
|
31
|
+
@instance.should be_a(SwaggerAemClient::SlingApi)
|
|
43
32
|
end
|
|
44
33
|
end
|
|
45
34
|
|
|
@@ -52,7 +41,11 @@ describe 'SlingApi' do
|
|
|
52
41
|
# @return [nil]
|
|
53
42
|
describe 'delete_agent test' do
|
|
54
43
|
it "should work" do
|
|
55
|
-
# assertion here
|
|
44
|
+
# assertion here
|
|
45
|
+
# should be_a()
|
|
46
|
+
# should be_nil
|
|
47
|
+
# should ==
|
|
48
|
+
# should_not ==
|
|
56
49
|
end
|
|
57
50
|
end
|
|
58
51
|
|
|
@@ -65,7 +58,11 @@ describe 'SlingApi' do
|
|
|
65
58
|
# @return [nil]
|
|
66
59
|
describe 'delete_node test' do
|
|
67
60
|
it "should work" do
|
|
68
|
-
# assertion here
|
|
61
|
+
# assertion here
|
|
62
|
+
# should be_a()
|
|
63
|
+
# should be_nil
|
|
64
|
+
# should ==
|
|
65
|
+
# should_not ==
|
|
69
66
|
end
|
|
70
67
|
end
|
|
71
68
|
|
|
@@ -78,7 +75,11 @@ describe 'SlingApi' do
|
|
|
78
75
|
# @return [nil]
|
|
79
76
|
describe 'get_agent test' do
|
|
80
77
|
it "should work" do
|
|
81
|
-
# assertion here
|
|
78
|
+
# assertion here
|
|
79
|
+
# should be_a()
|
|
80
|
+
# should be_nil
|
|
81
|
+
# should ==
|
|
82
|
+
# should_not ==
|
|
82
83
|
end
|
|
83
84
|
end
|
|
84
85
|
|
|
@@ -91,7 +92,11 @@ describe 'SlingApi' do
|
|
|
91
92
|
# @return [nil]
|
|
92
93
|
describe 'get_node test' do
|
|
93
94
|
it "should work" do
|
|
94
|
-
# assertion here
|
|
95
|
+
# assertion here
|
|
96
|
+
# should be_a()
|
|
97
|
+
# should be_nil
|
|
98
|
+
# should ==
|
|
99
|
+
# should_not ==
|
|
95
100
|
end
|
|
96
101
|
end
|
|
97
102
|
|
|
@@ -105,7 +110,11 @@ describe 'SlingApi' do
|
|
|
105
110
|
# @return [File]
|
|
106
111
|
describe 'get_package test' do
|
|
107
112
|
it "should work" do
|
|
108
|
-
# assertion here
|
|
113
|
+
# assertion here
|
|
114
|
+
# should be_a()
|
|
115
|
+
# should be_nil
|
|
116
|
+
# should ==
|
|
117
|
+
# should_not ==
|
|
109
118
|
end
|
|
110
119
|
end
|
|
111
120
|
|
|
@@ -119,7 +128,11 @@ describe 'SlingApi' do
|
|
|
119
128
|
# @return [String]
|
|
120
129
|
describe 'get_package_filter test' do
|
|
121
130
|
it "should work" do
|
|
122
|
-
# assertion here
|
|
131
|
+
# assertion here
|
|
132
|
+
# should be_a()
|
|
133
|
+
# should be_nil
|
|
134
|
+
# should ==
|
|
135
|
+
# should_not ==
|
|
123
136
|
end
|
|
124
137
|
end
|
|
125
138
|
|
|
@@ -149,10 +162,16 @@ describe 'SlingApi' do
|
|
|
149
162
|
# @option opts [BOOLEAN] :jcrcontenttrigger_specific
|
|
150
163
|
# @option opts [String] :jcrcontentcqtemplate
|
|
151
164
|
# @option opts [BOOLEAN] :jcrcontentenabled
|
|
165
|
+
# @option opts [BOOLEAN] :jcrcontentreverse_replication
|
|
166
|
+
# @option opts [String] :operation
|
|
152
167
|
# @return [nil]
|
|
153
168
|
describe 'post_agent test' do
|
|
154
169
|
it "should work" do
|
|
155
|
-
# assertion here
|
|
170
|
+
# assertion here
|
|
171
|
+
# should be_a()
|
|
172
|
+
# should be_nil
|
|
173
|
+
# should ==
|
|
174
|
+
# should_not ==
|
|
156
175
|
end
|
|
157
176
|
end
|
|
158
177
|
|
|
@@ -169,7 +188,11 @@ describe 'SlingApi' do
|
|
|
169
188
|
# @return [String]
|
|
170
189
|
describe 'post_authorizables test' do
|
|
171
190
|
it "should work" do
|
|
172
|
-
# assertion here
|
|
191
|
+
# assertion here
|
|
192
|
+
# should be_a()
|
|
193
|
+
# should be_nil
|
|
194
|
+
# should ==
|
|
195
|
+
# should_not ==
|
|
173
196
|
end
|
|
174
197
|
end
|
|
175
198
|
|
|
@@ -195,14 +218,36 @@ describe 'SlingApi' do
|
|
|
195
218
|
# @option opts [String] :org_apache_felix_https_truststore_password_type_hint
|
|
196
219
|
# @option opts [String] :org_apache_felix_https_clientcertificate
|
|
197
220
|
# @option opts [String] :org_apache_felix_https_clientcertificate_type_hint
|
|
198
|
-
# @option opts [
|
|
221
|
+
# @option opts [BOOLEAN] :org_apache_felix_https_enable
|
|
199
222
|
# @option opts [String] :org_apache_felix_https_enable_type_hint
|
|
200
223
|
# @option opts [String] :org_osgi_service_http_port_secure
|
|
201
224
|
# @option opts [String] :org_osgi_service_http_port_secure_type_hint
|
|
225
|
+
# @option opts [String] :json_maximumresults
|
|
226
|
+
# @option opts [String] :json_maximumresults_type_hint
|
|
227
|
+
# @option opts [BOOLEAN] :enable_html
|
|
228
|
+
# @option opts [String] :enable_html_type_hint
|
|
229
|
+
# @option opts [BOOLEAN] :enable_txt
|
|
230
|
+
# @option opts [String] :enable_txt_type_hint
|
|
231
|
+
# @option opts [BOOLEAN] :enable_xml
|
|
232
|
+
# @option opts [String] :enable_xml_type_hint
|
|
233
|
+
# @option opts [BOOLEAN] :allow_empty
|
|
234
|
+
# @option opts [String] :allow_empty_type_hint
|
|
235
|
+
# @option opts [String] :allow_hosts
|
|
236
|
+
# @option opts [String] :allow_hosts_type_hint
|
|
237
|
+
# @option opts [String] :allow_hosts_regexp
|
|
238
|
+
# @option opts [String] :allow_hosts_regexp_type_hint
|
|
239
|
+
# @option opts [String] :_alias
|
|
240
|
+
# @option opts [String] :alias_type_hint
|
|
241
|
+
# @option opts [BOOLEAN] :dav_create_absolute_uri
|
|
242
|
+
# @option opts [String] :dav_create_absolute_uri_type_hint
|
|
202
243
|
# @return [nil]
|
|
203
244
|
describe 'post_config test' do
|
|
204
245
|
it "should work" do
|
|
205
|
-
# assertion here
|
|
246
|
+
# assertion here
|
|
247
|
+
# should be_a()
|
|
248
|
+
# should be_nil
|
|
249
|
+
# should ==
|
|
250
|
+
# should_not ==
|
|
206
251
|
end
|
|
207
252
|
end
|
|
208
253
|
|
|
@@ -216,7 +261,11 @@ describe 'SlingApi' do
|
|
|
216
261
|
# @return [nil]
|
|
217
262
|
describe 'post_node_rw test' do
|
|
218
263
|
it "should work" do
|
|
219
|
-
# assertion here
|
|
264
|
+
# assertion here
|
|
265
|
+
# should be_a()
|
|
266
|
+
# should be_nil
|
|
267
|
+
# should ==
|
|
268
|
+
# should_not ==
|
|
220
269
|
end
|
|
221
270
|
end
|
|
222
271
|
|
|
@@ -230,7 +279,11 @@ describe 'SlingApi' do
|
|
|
230
279
|
# @return [nil]
|
|
231
280
|
describe 'post_path test' do
|
|
232
281
|
it "should work" do
|
|
233
|
-
# assertion here
|
|
282
|
+
# assertion here
|
|
283
|
+
# should be_a()
|
|
284
|
+
# should be_nil
|
|
285
|
+
# should ==
|
|
286
|
+
# should_not ==
|
|
234
287
|
end
|
|
235
288
|
end
|
|
236
289
|
|
|
@@ -245,7 +298,11 @@ describe 'SlingApi' do
|
|
|
245
298
|
# @return [String]
|
|
246
299
|
describe 'post_query test' do
|
|
247
300
|
it "should work" do
|
|
248
|
-
# assertion here
|
|
301
|
+
# assertion here
|
|
302
|
+
# should be_a()
|
|
303
|
+
# should be_nil
|
|
304
|
+
# should ==
|
|
305
|
+
# should_not ==
|
|
249
306
|
end
|
|
250
307
|
end
|
|
251
308
|
|
|
@@ -259,7 +316,11 @@ describe 'SlingApi' do
|
|
|
259
316
|
# @return [nil]
|
|
260
317
|
describe 'post_tree_activation test' do
|
|
261
318
|
it "should work" do
|
|
262
|
-
# assertion here
|
|
319
|
+
# assertion here
|
|
320
|
+
# should be_a()
|
|
321
|
+
# should be_nil
|
|
322
|
+
# should ==
|
|
323
|
+
# should_not ==
|
|
263
324
|
end
|
|
264
325
|
end
|
|
265
326
|
|
data/swagger_aem.gemspec
CHANGED
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: 0.9.
|
|
4
|
+
version: 0.9.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shine Solutions
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-03-
|
|
11
|
+
date: 2017-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|