swagger_aem 1.3.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0209420fa66a0a436167a177904049bbf84b2d86'
4
- data.tar.gz: 6ad15fe9f0c3799a3f6d86201b9ce2d74dea9115
3
+ metadata.gz: 2f5f040c0de9223bb35e677d8f92f0ff7d619b11
4
+ data.tar.gz: e511ede39ed8de651c11d6e035e15f269faf36ba
5
5
  SHA512:
6
- metadata.gz: b52143935b32fa07a2928da097301cdb11cc1caab86800021844c74c3050b67f486de8a5b20f9ac4ef8391cd62bab320aa7da4c89525741b430c637159c4fe02
7
- data.tar.gz: 2f8ab4a1ef5a20480ce00a2e224a302e30288a90fff0673dae9b51b8315cc4d9e1a96a95e1af7674c8837e2069b2bc0bb6721db4d209e31a5e0cb2570a7e0914
6
+ metadata.gz: 436180c778f8fbb492e94d3eb2f29c137e18a5e9ef392dec33490a87b18ce32c196af23100ed89786374f5a736423915e720990f0216d8fc5f2bd403e8bf67b6
7
+ data.tar.gz: 6d259f0ee7596c42ef10a8eb363bf76c63b75647406177d7db6c30a11c739e2c26c73c69657f315898e0b24c8236fa7e836e564998caa3365c7de7a1bd68448f
data/Gemfile.lock ADDED
@@ -0,0 +1,69 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ swagger_aem (2.0.0)
5
+ json (~> 2.1, >= 2.1.0)
6
+ typhoeus (~> 1.0, >= 1.0.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ZenTest (4.11.1)
12
+ addressable (2.5.2)
13
+ public_suffix (>= 2.0.2, < 4.0)
14
+ autotest (4.4.6)
15
+ ZenTest (>= 4.4.1)
16
+ autotest-fsevent (0.2.13)
17
+ sys-uname
18
+ autotest-growl (0.2.16)
19
+ autotest-rails-pure (4.1.2)
20
+ crack (0.4.3)
21
+ safe_yaml (~> 1.0.0)
22
+ diff-lcs (1.3)
23
+ ethon (0.11.0)
24
+ ffi (>= 1.3.0)
25
+ ffi (1.9.25)
26
+ hashdiff (0.3.7)
27
+ json (2.1.0)
28
+ public_suffix (3.0.2)
29
+ rake (12.0.0)
30
+ rspec (3.7.0)
31
+ rspec-core (~> 3.7.0)
32
+ rspec-expectations (~> 3.7.0)
33
+ rspec-mocks (~> 3.7.0)
34
+ rspec-core (3.7.1)
35
+ rspec-support (~> 3.7.0)
36
+ rspec-expectations (3.7.0)
37
+ diff-lcs (>= 1.2.0, < 2.0)
38
+ rspec-support (~> 3.7.0)
39
+ rspec-mocks (3.7.0)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.7.0)
42
+ rspec-support (3.7.1)
43
+ safe_yaml (1.0.4)
44
+ sys-uname (1.0.3)
45
+ ffi (>= 1.0.0)
46
+ typhoeus (1.3.0)
47
+ ethon (>= 0.9.0)
48
+ vcr (3.0.3)
49
+ webmock (1.24.6)
50
+ addressable (>= 2.3.6)
51
+ crack (>= 0.3.2)
52
+ hashdiff
53
+
54
+ PLATFORMS
55
+ ruby
56
+
57
+ DEPENDENCIES
58
+ autotest (~> 4.4, >= 4.4.6)
59
+ autotest-fsevent (~> 0.2, >= 0.2.12)
60
+ autotest-growl (~> 0.2, >= 0.2.16)
61
+ autotest-rails-pure (~> 4.1, >= 4.1.2)
62
+ rake (~> 12.0.0)
63
+ rspec (~> 3.6, >= 3.6.0)
64
+ swagger_aem!
65
+ vcr (~> 3.0, >= 3.0.1)
66
+ webmock (~> 1.24, >= 1.24.3)
67
+
68
+ BUNDLED WITH
69
+ 1.15.4
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.4.0
10
- - Package version: 1.3.0
9
+ - API version: 2.0.0
10
+ - Package version: 2.0.0
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-1.3.0.gem
27
+ gem install ./swagger_aem-2.0.0.gem
28
28
  ```
29
- (for development, run `gem install --dev ./swagger_aem-1.3.0.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./swagger_aem-2.0.0.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', '~> 1.3.0'
35
+ gem 'swagger_aem', '~> 2.0.0'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -94,8 +94,8 @@ Class | Method | HTTP request | Description
94
94
  *SwaggerAemClient::CrxApi* | [**post_package_update**](docs/CrxApi.md#post_package_update) | **POST** /crx/packmgr/update.jsp |
95
95
  *SwaggerAemClient::CrxApi* | [**post_set_password**](docs/CrxApi.md#post_set_password) | **POST** /crx/explorer/ui/setpassword.jsp |
96
96
  *SwaggerAemClient::CustomApi* | [**get_aem_health_check**](docs/CustomApi.md#get_aem_health_check) | **GET** /system/health |
97
- *SwaggerAemClient::CustomApi* | [**post_config_aem_health_check_servlet**](docs/CustomApi.md#post_config_aem_health_check_servlet) | **POST** /apps/system/config.{runmode}/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck |
98
- *SwaggerAemClient::CustomApi* | [**post_config_aem_password_reset**](docs/CustomApi.md#post_config_aem_password_reset) | **POST** /apps/system/config.{runmode}/com.shinesolutions.aem.passwordreset.Activator |
97
+ *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 |
98
+ *SwaggerAemClient::CustomApi* | [**post_config_aem_password_reset**](docs/CustomApi.md#post_config_aem_password_reset) | **POST** /apps/system/config/com.shinesolutions.aem.passwordreset.Activator |
99
99
  *SwaggerAemClient::SlingApi* | [**delete_agent**](docs/SlingApi.md#delete_agent) | **DELETE** /etc/replication/agents.{runmode}/{name} |
100
100
  *SwaggerAemClient::SlingApi* | [**delete_node**](docs/SlingApi.md#delete_node) | **DELETE** /{path}/{name} |
101
101
  *SwaggerAemClient::SlingApi* | [**get_agent**](docs/SlingApi.md#get_agent) | **GET** /etc/replication/agents.{runmode}/{name} |
@@ -106,11 +106,10 @@ Class | Method | HTTP request | Description
106
106
  *SwaggerAemClient::SlingApi* | [**get_query**](docs/SlingApi.md#get_query) | **GET** /bin/querybuilder.json |
107
107
  *SwaggerAemClient::SlingApi* | [**post_agent**](docs/SlingApi.md#post_agent) | **POST** /etc/replication/agents.{runmode}/{name} |
108
108
  *SwaggerAemClient::SlingApi* | [**post_authorizables**](docs/SlingApi.md#post_authorizables) | **POST** /libs/granite/security/post/authorizables |
109
- *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 |
110
- *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 |
111
- *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 |
112
- *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 |
113
- *SwaggerAemClient::SlingApi* | [**post_node**](docs/SlingApi.md#post_node) | **POST** /{path}/{name} |
109
+ *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/org.apache.felix.http |
110
+ *SwaggerAemClient::SlingApi* | [**post_config_apache_sling_dav_ex_servlet**](docs/SlingApi.md#post_config_apache_sling_dav_ex_servlet) | **POST** /apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet |
111
+ *SwaggerAemClient::SlingApi* | [**post_config_apache_sling_get_servlet**](docs/SlingApi.md#post_config_apache_sling_get_servlet) | **POST** /apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet |
112
+ *SwaggerAemClient::SlingApi* | [**post_config_apache_sling_referrer_filter**](docs/SlingApi.md#post_config_apache_sling_referrer_filter) | **POST** /apps/system/config/org.apache.sling.security.impl.ReferrerFilter |
114
113
  *SwaggerAemClient::SlingApi* | [**post_node_rw**](docs/SlingApi.md#post_node_rw) | **POST** /{path}/{name}.rw.html |
115
114
  *SwaggerAemClient::SlingApi* | [**post_path**](docs/SlingApi.md#post_path) | **POST** /{path}/ |
116
115
  *SwaggerAemClient::SlingApi* | [**post_query**](docs/SlingApi.md#post_query) | **POST** /bin/querybuilder.json |
data/docs/CustomApi.md CHANGED
@@ -5,8 +5,8 @@ All URIs are relative to *http://localhost*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**get_aem_health_check**](CustomApi.md#get_aem_health_check) | **GET** /system/health |
8
- [**post_config_aem_health_check_servlet**](CustomApi.md#post_config_aem_health_check_servlet) | **POST** /apps/system/config.{runmode}/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck |
9
- [**post_config_aem_password_reset**](CustomApi.md#post_config_aem_password_reset) | **POST** /apps/system/config.{runmode}/com.shinesolutions.aem.passwordreset.Activator |
8
+ [**post_config_aem_health_check_servlet**](CustomApi.md#post_config_aem_health_check_servlet) | **POST** /apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck |
9
+ [**post_config_aem_password_reset**](CustomApi.md#post_config_aem_password_reset) | **POST** /apps/system/config/com.shinesolutions.aem.passwordreset.Activator |
10
10
 
11
11
 
12
12
  # **get_aem_health_check**
data/docs/SlingApi.md CHANGED
@@ -14,11 +14,10 @@ Method | HTTP request | Description
14
14
  [**get_query**](SlingApi.md#get_query) | **GET** /bin/querybuilder.json |
15
15
  [**post_agent**](SlingApi.md#post_agent) | **POST** /etc/replication/agents.{runmode}/{name} |
16
16
  [**post_authorizables**](SlingApi.md#post_authorizables) | **POST** /libs/granite/security/post/authorizables |
17
- [**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 |
18
- [**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 |
19
- [**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 |
20
- [**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 |
21
- [**post_node**](SlingApi.md#post_node) | **POST** /{path}/{name} |
17
+ [**post_config_apache_felix_jetty_based_http_service**](SlingApi.md#post_config_apache_felix_jetty_based_http_service) | **POST** /apps/system/config/org.apache.felix.http |
18
+ [**post_config_apache_sling_dav_ex_servlet**](SlingApi.md#post_config_apache_sling_dav_ex_servlet) | **POST** /apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet |
19
+ [**post_config_apache_sling_get_servlet**](SlingApi.md#post_config_apache_sling_get_servlet) | **POST** /apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet |
20
+ [**post_config_apache_sling_referrer_filter**](SlingApi.md#post_config_apache_sling_referrer_filter) | **POST** /apps/system/config/org.apache.sling.security.impl.ReferrerFilter |
22
21
  [**post_node_rw**](SlingApi.md#post_node_rw) | **POST** /{path}/{name}.rw.html |
23
22
  [**post_path**](SlingApi.md#post_path) | **POST** /{path}/ |
24
23
  [**post_query**](SlingApi.md#post_query) | **POST** /bin/querybuilder.json |
@@ -415,7 +414,7 @@ api_instance = SwaggerAemClient::SlingApi.new
415
414
 
416
415
  path = "path_example" # String |
417
416
 
418
- p_limit = 8.14 # Float |
417
+ p_limit = 3.4 # Float |
419
418
 
420
419
  _1_property = "_1_property_example" # String |
421
420
 
@@ -490,7 +489,7 @@ opts = {
490
489
  jcrcontentlog_level: "jcrcontentlog_level_example", # String |
491
490
  jcrcontentno_status_update: true, # BOOLEAN |
492
491
  jcrcontentno_versioning: true, # BOOLEAN |
493
- jcrcontentprotocol_connect_timeout: 8.14, # Float |
492
+ jcrcontentprotocol_connect_timeout: 3.4, # Float |
494
493
  jcrcontentprotocol_http_connection_closed: true, # BOOLEAN |
495
494
  jcrcontentprotocol_http_expired: "jcrcontentprotocol_http_expired_example", # String |
496
495
  jcrcontentprotocol_http_headers: ["jcrcontentprotocol_http_headers_example"], # Array<String> |
@@ -498,17 +497,17 @@ opts = {
498
497
  jcrcontentprotocol_http_method: "jcrcontentprotocol_http_method_example", # String |
499
498
  jcrcontentprotocol_https_relaxed: true, # BOOLEAN |
500
499
  jcrcontentprotocol_interface: "jcrcontentprotocol_interface_example", # String |
501
- jcrcontentprotocol_socket_timeout: 8.14, # Float |
500
+ jcrcontentprotocol_socket_timeout: 3.4, # Float |
502
501
  jcrcontentprotocol_version: "jcrcontentprotocol_version_example", # String |
503
502
  jcrcontentproxy_ntlm_domain: "jcrcontentproxy_ntlm_domain_example", # String |
504
503
  jcrcontentproxy_ntlm_host: "jcrcontentproxy_ntlm_host_example", # String |
505
504
  jcrcontentproxy_host: "jcrcontentproxy_host_example", # String |
506
505
  jcrcontentproxy_password: "jcrcontentproxy_password_example", # String |
507
- jcrcontentproxy_port: 8.14, # Float |
506
+ jcrcontentproxy_port: 3.4, # Float |
508
507
  jcrcontentproxy_user: "jcrcontentproxy_user_example", # String |
509
- jcrcontentqueue_batch_max_size: 8.14, # Float |
508
+ jcrcontentqueue_batch_max_size: 3.4, # Float |
510
509
  jcrcontentqueue_batch_mode: "jcrcontentqueue_batch_mode_example", # String |
511
- jcrcontentqueue_batch_wait_time: 8.14, # Float |
510
+ jcrcontentqueue_batch_wait_time: 3.4, # Float |
512
511
  jcrcontentretry_delay: "jcrcontentretry_delay_example", # String |
513
512
  jcrcontentreverse_replication: true, # BOOLEAN |
514
513
  jcrcontentserialization_type: "jcrcontentserialization_type_example", # String |
@@ -951,66 +950,6 @@ nil (empty response body)
951
950
 
952
951
 
953
952
 
954
- # **post_node**
955
- > post_node(path, name, opts)
956
-
957
-
958
-
959
- ### Example
960
- ```ruby
961
- # load the gem
962
- require 'swagger_aem'
963
- # setup authorization
964
- SwaggerAemClient.configure do |config|
965
- # Configure HTTP basic authorization: aemAuth
966
- config.username = 'YOUR USERNAME'
967
- config.password = 'YOUR PASSWORD'
968
- end
969
-
970
- api_instance = SwaggerAemClient::SlingApi.new
971
-
972
- path = "path_example" # String |
973
-
974
- name = "name_example" # String |
975
-
976
- opts = {
977
- operation: "operation_example", # String |
978
- delete_authorizable: "delete_authorizable_example", # String |
979
- file: File.new("/path/to/file.txt") # File |
980
- }
981
-
982
- begin
983
- api_instance.post_node(path, name, opts)
984
- rescue SwaggerAemClient::ApiError => e
985
- puts "Exception when calling SlingApi->post_node: #{e}"
986
- end
987
- ```
988
-
989
- ### Parameters
990
-
991
- Name | Type | Description | Notes
992
- ------------- | ------------- | ------------- | -------------
993
- **path** | **String**| |
994
- **name** | **String**| |
995
- **operation** | **String**| | [optional]
996
- **delete_authorizable** | **String**| | [optional]
997
- **file** | **File**| | [optional]
998
-
999
- ### Return type
1000
-
1001
- nil (empty response body)
1002
-
1003
- ### Authorization
1004
-
1005
- [aemAuth](../README.md#aemAuth)
1006
-
1007
- ### HTTP request headers
1008
-
1009
- - **Content-Type**: multipart/form-data
1010
- - **Accept**: text/plain
1011
-
1012
-
1013
-
1014
953
  # **post_node_rw**
1015
954
  > post_node_rw(path, name, opts)
1016
955
 
@@ -1142,7 +1081,7 @@ api_instance = SwaggerAemClient::SlingApi.new
1142
1081
 
1143
1082
  path = "path_example" # String |
1144
1083
 
1145
- p_limit = 8.14 # Float |
1084
+ p_limit = 3.4 # Float |
1146
1085
 
1147
1086
  _1_property = "_1_property_example" # String |
1148
1087
 
data/git_push.sh CHANGED
@@ -39,7 +39,7 @@ git_remote=`git remote`
39
39
  if [ "$git_remote" = "" ]; then # git remote not defined
40
40
 
41
41
  if [ "$GIT_TOKEN" = "" ]; then
42
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
42
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
43
43
  git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
44
44
  else
45
45
  git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
data/lib/swagger_aem.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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -101,7 +101,7 @@ module SwaggerAemClient
101
101
  fail ArgumentError, "Missing the required parameter 'runmode' when calling CustomApi.post_config_aem_health_check_servlet"
102
102
  end
103
103
  # resource path
104
- local_var_path = "/apps/system/config.{runmode}/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck".sub('{' + 'runmode' + '}', runmode.to_s)
104
+ local_var_path = "/apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck".sub('{' + 'runmode' + '}', runmode.to_s)
105
105
 
106
106
  # query parameters
107
107
  query_params = {}
@@ -159,7 +159,7 @@ module SwaggerAemClient
159
159
  fail ArgumentError, "Missing the required parameter 'runmode' when calling CustomApi.post_config_aem_password_reset"
160
160
  end
161
161
  # resource path
162
- local_var_path = "/apps/system/config.{runmode}/com.shinesolutions.aem.passwordreset.Activator".sub('{' + 'runmode' + '}', runmode.to_s)
162
+ local_var_path = "/apps/system/config/com.shinesolutions.aem.passwordreset.Activator".sub('{' + 'runmode' + '}', runmode.to_s)
163
163
 
164
164
  # query parameters
165
165
  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
- OpenAPI spec version: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -855,7 +855,7 @@ module SwaggerAemClient
855
855
  fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_felix_jetty_based_http_service"
856
856
  end
857
857
  # resource path
858
- local_var_path = "/apps/system/config.{runmode}/org.apache.felix.http".sub('{' + 'runmode' + '}', runmode.to_s)
858
+ local_var_path = "/apps/system/config/org.apache.felix.http".sub('{' + 'runmode' + '}', runmode.to_s)
859
859
 
860
860
  # query parameters
861
861
  query_params = {}
@@ -935,7 +935,7 @@ module SwaggerAemClient
935
935
  fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_dav_ex_servlet"
936
936
  end
937
937
  # resource path
938
- local_var_path = "/apps/system/config.{runmode}/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet".sub('{' + 'runmode' + '}', runmode.to_s)
938
+ local_var_path = "/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet".sub('{' + 'runmode' + '}', runmode.to_s)
939
939
 
940
940
  # query parameters
941
941
  query_params = {}
@@ -1007,7 +1007,7 @@ module SwaggerAemClient
1007
1007
  fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_get_servlet"
1008
1008
  end
1009
1009
  # resource path
1010
- local_var_path = "/apps/system/config.{runmode}/org.apache.sling.servlets.get.DefaultGetServlet".sub('{' + 'runmode' + '}', runmode.to_s)
1010
+ local_var_path = "/apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet".sub('{' + 'runmode' + '}', runmode.to_s)
1011
1011
 
1012
1012
  # query parameters
1013
1013
  query_params = {}
@@ -1079,7 +1079,7 @@ module SwaggerAemClient
1079
1079
  fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_referrer_filter"
1080
1080
  end
1081
1081
  # resource path
1082
- local_var_path = "/apps/system/config.{runmode}/org.apache.sling.security.impl.ReferrerFilter".sub('{' + 'runmode' + '}', runmode.to_s)
1082
+ local_var_path = "/apps/system/config/org.apache.sling.security.impl.ReferrerFilter".sub('{' + 'runmode' + '}', runmode.to_s)
1083
1083
 
1084
1084
  # query parameters
1085
1085
  query_params = {}
@@ -1113,75 +1113,6 @@ module SwaggerAemClient
1113
1113
  return data, status_code, headers
1114
1114
  end
1115
1115
 
1116
- #
1117
- #
1118
- # @param path
1119
- # @param name
1120
- # @param [Hash] opts the optional parameters
1121
- # @option opts [String] :operation
1122
- # @option opts [String] :delete_authorizable
1123
- # @option opts [File] :file
1124
- # @return [nil]
1125
- def post_node(path, name, opts = {})
1126
- post_node_with_http_info(path, name, opts)
1127
- return nil
1128
- end
1129
-
1130
- #
1131
- #
1132
- # @param path
1133
- # @param name
1134
- # @param [Hash] opts the optional parameters
1135
- # @option opts [String] :operation
1136
- # @option opts [String] :delete_authorizable
1137
- # @option opts [File] :file
1138
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1139
- def post_node_with_http_info(path, name, opts = {})
1140
- if @api_client.config.debugging
1141
- @api_client.config.logger.debug "Calling API: SlingApi.post_node ..."
1142
- end
1143
- # verify the required parameter 'path' is set
1144
- if @api_client.config.client_side_validation && path.nil?
1145
- fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_node"
1146
- end
1147
- # verify the required parameter 'name' is set
1148
- if @api_client.config.client_side_validation && name.nil?
1149
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node"
1150
- end
1151
- # resource path
1152
- local_var_path = "/{path}/{name}".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
1153
-
1154
- # query parameters
1155
- query_params = {}
1156
- query_params[:':operation'] = opts[:'operation'] if !opts[:'operation'].nil?
1157
- query_params[:'deleteAuthorizable'] = opts[:'delete_authorizable'] if !opts[:'delete_authorizable'].nil?
1158
-
1159
- # header parameters
1160
- header_params = {}
1161
- # HTTP header 'Accept' (if needed)
1162
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1163
- # HTTP header 'Content-Type'
1164
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1165
-
1166
- # form parameters
1167
- form_params = {}
1168
- form_params["file"] = opts[:'file'] if !opts[:'file'].nil?
1169
-
1170
- # http body (model)
1171
- post_body = nil
1172
- auth_names = ['aemAuth']
1173
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1174
- :header_params => header_params,
1175
- :query_params => query_params,
1176
- :form_params => form_params,
1177
- :body => post_body,
1178
- :auth_names => auth_names)
1179
- if @api_client.config.debugging
1180
- @api_client.config.logger.debug "API called: SlingApi#post_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1181
- end
1182
- return data, status_code, headers
1183
- end
1184
-
1185
1116
  #
1186
1117
  #
1187
1118
  # @param path
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -47,7 +47,7 @@ module SwaggerAemClient
47
47
  end
48
48
 
49
49
  # Show invalid properties with the reasons. Usually used together with valid?
50
- # @return Array for valid properties with the reasons
50
+ # @return Array for valid properies with the reasons
51
51
  def list_invalid_properties
52
52
  invalid_properties = Array.new
53
53
  return invalid_properties
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -55,7 +55,7 @@ module SwaggerAemClient
55
55
  end
56
56
 
57
57
  # Show invalid properties with the reasons. Usually used together with valid?
58
- # @return Array for valid properties with the reasons
58
+ # @return Array for valid properies with the reasons
59
59
  def list_invalid_properties
60
60
  invalid_properties = Array.new
61
61
  return invalid_properties
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  module SwaggerAemClient
14
- VERSION = "1.3.0"
14
+ VERSION = "2.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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -305,22 +305,6 @@ describe 'SlingApi' do
305
305
  end
306
306
  end
307
307
 
308
- # unit tests for post_node
309
- #
310
- #
311
- # @param path
312
- # @param name
313
- # @param [Hash] opts the optional parameters
314
- # @option opts [String] :operation
315
- # @option opts [String] :delete_authorizable
316
- # @option opts [File] :file
317
- # @return [nil]
318
- describe 'post_node test' do
319
- it "should work" do
320
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
321
- end
322
- end
323
-
324
308
  # unit tests for post_node_rw
325
309
  #
326
310
  #
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
data/spec/spec_helper.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: 1.4.0
6
+ OpenAPI spec version: 2.0.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
data/swagger_aem.gemspec CHANGED
@@ -5,10 +5,10 @@
5
5
 
6
6
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
7
7
 
8
- OpenAPI spec version: 1.4.0
8
+ OpenAPI spec version: 2.0.0
9
9
  Contact: opensource@shinesolutions.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- Swagger Codegen version: 2.3.1
11
+ Swagger Codegen version: 2.3.0-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.summary = "Adobe Experience Manager (AEM) API Ruby Gem"
26
26
  s.description = "Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API"
27
27
  s.license = "Apache 2.0"
28
- s.required_ruby_version = ">= 2.1"
28
+ s.required_ruby_version = ">= 2.0"
29
29
 
30
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
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: 1.3.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shine Solutions
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-26 00:00:00.000000000 Z
11
+ date: 2018-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -199,6 +199,7 @@ extensions: []
199
199
  extra_rdoc_files: []
200
200
  files:
201
201
  - Gemfile
202
+ - Gemfile.lock
202
203
  - README.md
203
204
  - Rakefile
204
205
  - docs/ConsoleApi.md
@@ -244,7 +245,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
245
  requirements:
245
246
  - - ">="
246
247
  - !ruby/object:Gem::Version
247
- version: '2.1'
248
+ version: '2.0'
248
249
  required_rubygems_version: !ruby/object:Gem::Requirement
249
250
  requirements:
250
251
  - - ">="
@@ -252,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
253
  version: '0'
253
254
  requirements: []
254
255
  rubyforge_project:
255
- rubygems_version: 2.6.14.1
256
+ rubygems_version: 2.6.14
256
257
  signing_key:
257
258
  specification_version: 4
258
259
  summary: Adobe Experience Manager (AEM) API Ruby Gem