swagger_aem 0.9.13 → 1.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: 0a1e844a0d383b73a7887ea67da22d505923010f
4
- data.tar.gz: ab25173d0e692aaf47fbe6a66352cabc87e14074
3
+ metadata.gz: 2aa7f0e5ea626354929b09e9d0766e96b35b9945
4
+ data.tar.gz: c6a813e4568770977ad2c9ded22e4163f4b2415c
5
5
  SHA512:
6
- metadata.gz: 197ed22127287ddf8a075d4cd7a5ab8dc8ab13e9123354a7e10a562222dcf8a73e90d743ea0914d320348031dbe0fec7d59dc1fe1a0342059dc9fd057fa8ae29
7
- data.tar.gz: e3146d8d9154a5dce3488cb2bc5c57019d8c1e60340f47b1d707075ae3bead2cec84edcce3ac40e20e665ec72558fb03ed27d8219e042486f372fe1488c2bdd4
6
+ metadata.gz: f917972103f7591a4d79cdb296c05659f67d1af23ef8ab29c65708cfa53010766f267953c24c3ca3609fa384267bd91abd3c8d8a5081080b5a9670c3721e1504
7
+ data.tar.gz: bdc8d8e8e037e7a98aa3cd6e245b6817d39387df2b784cf4e95c40f6e51381db33880f7b9fa6afc07679b50aeb50003c5945dba5ee6ecc9f31f0b99c64540ba0
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.14
10
- - Package version: 0.9.13
9
+ - API version: 1.2.0
10
+ - Package version: 1.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-0.9.13.gem
27
+ gem install ./swagger_aem-1.0.0.gem
28
28
  ```
29
- (for development, run `gem install --dev ./swagger_aem-0.9.13.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./swagger_aem-1.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', '~> 0.9.13'
35
+ gem 'swagger_aem', '~> 1.0.0'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -101,6 +101,7 @@ Class | Method | HTTP request | Description
101
101
  *SwaggerAemClient::SlingApi* | [**get_node**](docs/SlingApi.md#get_node) | **GET** /{path}/{name} |
102
102
  *SwaggerAemClient::SlingApi* | [**get_package**](docs/SlingApi.md#get_package) | **GET** /etc/packages/{group}/{name}-{version}.zip |
103
103
  *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 |
104
+ *SwaggerAemClient::SlingApi* | [**get_query**](docs/SlingApi.md#get_query) | **GET** /bin/querybuilder.json |
104
105
  *SwaggerAemClient::SlingApi* | [**post_agent**](docs/SlingApi.md#post_agent) | **POST** /etc/replication/agents.{runmode}/{name} |
105
106
  *SwaggerAemClient::SlingApi* | [**post_authorizables**](docs/SlingApi.md#post_authorizables) | **POST** /libs/granite/security/post/authorizables |
106
107
  *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 |
data/docs/SlingApi.md CHANGED
@@ -11,6 +11,7 @@ Method | HTTP request | Description
11
11
  [**get_node**](SlingApi.md#get_node) | **GET** /{path}/{name} |
12
12
  [**get_package**](SlingApi.md#get_package) | **GET** /etc/packages/{group}/{name}-{version}.zip |
13
13
  [**get_package_filter**](SlingApi.md#get_package_filter) | **GET** /etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json |
14
+ [**get_query**](SlingApi.md#get_query) | **GET** /bin/querybuilder.json |
14
15
  [**post_agent**](SlingApi.md#post_agent) | **POST** /etc/replication/agents.{runmode}/{name} |
15
16
  [**post_authorizables**](SlingApi.md#post_authorizables) | **POST** /libs/granite/security/post/authorizables |
16
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 |
@@ -393,6 +394,65 @@ Name | Type | Description | Notes
393
394
 
394
395
 
395
396
 
397
+ # **get_query**
398
+ > String get_query(path, p_limit, _1_property, _1_property_value)
399
+
400
+
401
+
402
+ ### Example
403
+ ```ruby
404
+ # load the gem
405
+ require 'swagger_aem'
406
+ # setup authorization
407
+ SwaggerAemClient.configure do |config|
408
+ # Configure HTTP basic authorization: aemAuth
409
+ config.username = 'YOUR USERNAME'
410
+ config.password = 'YOUR PASSWORD'
411
+ end
412
+
413
+ api_instance = SwaggerAemClient::SlingApi.new
414
+
415
+ path = "path_example" # String |
416
+
417
+ p_limit = 3.4 # Float |
418
+
419
+ _1_property = "_1_property_example" # String |
420
+
421
+ _1_property_value = "_1_property_value_example" # String |
422
+
423
+
424
+ begin
425
+ result = api_instance.get_query(path, p_limit, _1_property, _1_property_value)
426
+ p result
427
+ rescue SwaggerAemClient::ApiError => e
428
+ puts "Exception when calling SlingApi->get_query: #{e}"
429
+ end
430
+ ```
431
+
432
+ ### Parameters
433
+
434
+ Name | Type | Description | Notes
435
+ ------------- | ------------- | ------------- | -------------
436
+ **path** | **String**| |
437
+ **p_limit** | **Float**| |
438
+ **_1_property** | **String**| |
439
+ **_1_property_value** | **String**| |
440
+
441
+ ### Return type
442
+
443
+ **String**
444
+
445
+ ### Authorization
446
+
447
+ [aemAuth](../README.md#aemAuth)
448
+
449
+ ### HTTP request headers
450
+
451
+ - **Content-Type**: Not defined
452
+ - **Accept**: application/json
453
+
454
+
455
+
396
456
  # **post_agent**
397
457
  > post_agent(runmode, name, opts)
398
458
 
@@ -416,6 +476,8 @@ runmode = "runmode_example" # String |
416
476
  name = "name_example" # String |
417
477
 
418
478
  opts = {
479
+ jcrcontentcqdistribute: true, # BOOLEAN |
480
+ jcrcontentcqdistribute_type_hint: "jcrcontentcqdistribute_type_hint_example", # String |
419
481
  jcrcontentcqname: "jcrcontentcqname_example", # String |
420
482
  jcrcontentcqtemplate: "jcrcontentcqtemplate_example", # String |
421
483
  jcrcontentenabled: true, # BOOLEAN |
@@ -479,6 +541,8 @@ Name | Type | Description | Notes
479
541
  ------------- | ------------- | ------------- | -------------
480
542
  **runmode** | **String**| |
481
543
  **name** | **String**| |
544
+ **jcrcontentcqdistribute** | **BOOLEAN**| | [optional]
545
+ **jcrcontentcqdistribute_type_hint** | **String**| | [optional]
482
546
  **jcrcontentcqname** | **String**| | [optional]
483
547
  **jcrcontentcqtemplate** | **String**| | [optional]
484
548
  **jcrcontentenabled** | **BOOLEAN**| | [optional]
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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -404,11 +404,80 @@ module SwaggerAemClient
404
404
  return data, status_code, headers
405
405
  end
406
406
 
407
+ #
408
+ #
409
+ # @param path
410
+ # @param p_limit
411
+ # @param _1_property
412
+ # @param _1_property_value
413
+ # @param [Hash] opts the optional parameters
414
+ # @return [String]
415
+ def get_query(path, p_limit, _1_property, _1_property_value, opts = {})
416
+ data, _status_code, _headers = get_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts)
417
+ return data
418
+ end
419
+
420
+ #
421
+ #
422
+ # @param path
423
+ # @param p_limit
424
+ # @param _1_property
425
+ # @param _1_property_value
426
+ # @param [Hash] opts the optional parameters
427
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
428
+ def get_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {})
429
+ if @api_client.config.debugging
430
+ @api_client.config.logger.debug "Calling API: SlingApi.get_query ..."
431
+ end
432
+ # verify the required parameter 'path' is set
433
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.get_query" if path.nil?
434
+ # verify the required parameter 'p_limit' is set
435
+ fail ArgumentError, "Missing the required parameter 'p_limit' when calling SlingApi.get_query" if p_limit.nil?
436
+ # verify the required parameter '_1_property' is set
437
+ fail ArgumentError, "Missing the required parameter '_1_property' when calling SlingApi.get_query" if _1_property.nil?
438
+ # verify the required parameter '_1_property_value' is set
439
+ fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.get_query" if _1_property_value.nil?
440
+ # resource path
441
+ local_var_path = "/bin/querybuilder.json".sub('{format}','json')
442
+
443
+ # query parameters
444
+ query_params = {}
445
+ query_params[:'path'] = path
446
+ query_params[:'p.limit'] = p_limit
447
+ query_params[:'1_property'] = _1_property
448
+ query_params[:'1_property.value'] = _1_property_value
449
+
450
+ # header parameters
451
+ header_params = {}
452
+ # HTTP header 'Accept' (if needed)
453
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
454
+
455
+ # form parameters
456
+ form_params = {}
457
+
458
+ # http body (model)
459
+ post_body = nil
460
+ auth_names = ['aemAuth']
461
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
462
+ :header_params => header_params,
463
+ :query_params => query_params,
464
+ :form_params => form_params,
465
+ :body => post_body,
466
+ :auth_names => auth_names,
467
+ :return_type => 'String')
468
+ if @api_client.config.debugging
469
+ @api_client.config.logger.debug "API called: SlingApi#get_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
470
+ end
471
+ return data, status_code, headers
472
+ end
473
+
407
474
  #
408
475
  #
409
476
  # @param runmode
410
477
  # @param name
411
478
  # @param [Hash] opts the optional parameters
479
+ # @option opts [BOOLEAN] :jcrcontentcqdistribute
480
+ # @option opts [String] :jcrcontentcqdistribute_type_hint
412
481
  # @option opts [String] :jcrcontentcqname
413
482
  # @option opts [String] :jcrcontentcqtemplate
414
483
  # @option opts [BOOLEAN] :jcrcontentenabled
@@ -468,6 +537,8 @@ module SwaggerAemClient
468
537
  # @param runmode
469
538
  # @param name
470
539
  # @param [Hash] opts the optional parameters
540
+ # @option opts [BOOLEAN] :jcrcontentcqdistribute
541
+ # @option opts [String] :jcrcontentcqdistribute_type_hint
471
542
  # @option opts [String] :jcrcontentcqname
472
543
  # @option opts [String] :jcrcontentcqtemplate
473
544
  # @option opts [BOOLEAN] :jcrcontentenabled
@@ -530,6 +601,8 @@ module SwaggerAemClient
530
601
 
531
602
  # query parameters
532
603
  query_params = {}
604
+ query_params[:'jcr:content/cq:distribute'] = opts[:'jcrcontentcqdistribute'] if !opts[:'jcrcontentcqdistribute'].nil?
605
+ query_params[:'jcr:content/cq:distribute@TypeHint'] = opts[:'jcrcontentcqdistribute_type_hint'] if !opts[:'jcrcontentcqdistribute_type_hint'].nil?
533
606
  query_params[:'jcr:content/cq:name'] = opts[:'jcrcontentcqname'] if !opts[:'jcrcontentcqname'].nil?
534
607
  query_params[:'jcr:content/cq:template'] = opts[:'jcrcontentcqtemplate'] if !opts[:'jcrcontentcqtemplate'].nil?
535
608
  query_params[:'jcr:content/enabled'] = opts[:'jcrcontentenabled'] if !opts[:'jcrcontentenabled'].nil?
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
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"
13
+ VERSION = "1.0.0"
14
14
  end
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -123,12 +123,29 @@ describe 'SlingApi' do
123
123
  end
124
124
  end
125
125
 
126
+ # unit tests for get_query
127
+ #
128
+ #
129
+ # @param path
130
+ # @param p_limit
131
+ # @param _1_property
132
+ # @param _1_property_value
133
+ # @param [Hash] opts the optional parameters
134
+ # @return [String]
135
+ describe 'get_query test' do
136
+ it "should work" do
137
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
+ end
139
+ end
140
+
126
141
  # unit tests for post_agent
127
142
  #
128
143
  #
129
144
  # @param runmode
130
145
  # @param name
131
146
  # @param [Hash] opts the optional parameters
147
+ # @option opts [BOOLEAN] :jcrcontentcqdistribute
148
+ # @option opts [String] :jcrcontentcqdistribute_type_hint
132
149
  # @option opts [String] :jcrcontentcqname
133
150
  # @option opts [String] :jcrcontentcqtemplate
134
151
  # @option opts [BOOLEAN] :jcrcontentenabled
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
data/spec/spec_helper.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.14
6
+ OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
data/swagger_aem.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
7
7
 
8
- OpenAPI spec version: 1.1.14
8
+ OpenAPI spec version: 1.2.0
9
9
  Contact: opensource@shinesolutions.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
 
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.13
4
+ version: 1.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: 2017-04-21 00:00:00.000000000 Z
11
+ date: 2017-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus