alfresco 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/README.md +119 -0
- data/Rakefile +8 -0
- data/alfresco.gemspec +45 -0
- data/docs/ContentInfo.md +12 -0
- data/docs/Error.md +8 -0
- data/docs/ErrorError.md +13 -0
- data/docs/GenericBucket.md +13 -0
- data/docs/GenericBucketBucketInfo.md +11 -0
- data/docs/GenericFacetResponse.md +10 -0
- data/docs/GenericMetric.md +9 -0
- data/docs/Node.md +24 -0
- data/docs/Pagination.md +12 -0
- data/docs/PathElement.md +9 -0
- data/docs/PathInfo.md +10 -0
- data/docs/RequestDefaults.md +12 -0
- data/docs/RequestFacetField.md +18 -0
- data/docs/RequestFacetFields.md +8 -0
- data/docs/RequestFacetIntervals.md +9 -0
- data/docs/RequestFacetIntervalsIntervals.md +10 -0
- data/docs/RequestFacetQueries.md +7 -0
- data/docs/RequestFacetQueriesInner.md +9 -0
- data/docs/RequestFacetSet.md +12 -0
- data/docs/RequestFields.md +7 -0
- data/docs/RequestFilterQueries.md +7 -0
- data/docs/RequestFilterQueriesInner.md +9 -0
- data/docs/RequestHighlight.md +15 -0
- data/docs/RequestHighlightFields.md +13 -0
- data/docs/RequestInclude.md +7 -0
- data/docs/RequestLimits.md +9 -0
- data/docs/RequestLocalization.md +9 -0
- data/docs/RequestPagination.md +9 -0
- data/docs/RequestPivot.md +9 -0
- data/docs/RequestQuery.md +10 -0
- data/docs/RequestRange.md +16 -0
- data/docs/RequestScope.md +8 -0
- data/docs/RequestSortDefinition.md +7 -0
- data/docs/RequestSortDefinitionInner.md +10 -0
- data/docs/RequestSpellcheck.md +8 -0
- data/docs/RequestStats.md +23 -0
- data/docs/RequestTemplates.md +7 -0
- data/docs/RequestTemplatesInner.md +9 -0
- data/docs/ResponseConsistency.md +8 -0
- data/docs/ResultBuckets.md +9 -0
- data/docs/ResultBucketsBuckets.md +11 -0
- data/docs/ResultNode.md +29 -0
- data/docs/ResultSetContext.md +13 -0
- data/docs/ResultSetContextFacetQueries.md +10 -0
- data/docs/ResultSetContextSpellcheck.md +9 -0
- data/docs/ResultSetPaging.md +8 -0
- data/docs/ResultSetPagingList.md +10 -0
- data/docs/ResultSetRowEntry.md +8 -0
- data/docs/SearchApi.md +62 -0
- data/docs/SearchEntry.md +9 -0
- data/docs/SearchEntryHighlight.md +9 -0
- data/docs/SearchRequest.md +27 -0
- data/docs/UserInfo.md +9 -0
- data/git_push.sh +55 -0
- data/lib/alfresco.rb +92 -0
- data/lib/alfresco/api/search_api.rb +78 -0
- data/lib/alfresco/api_client.rb +389 -0
- data/lib/alfresco/api_error.rb +38 -0
- data/lib/alfresco/configuration.rb +209 -0
- data/lib/alfresco/models/content_info.rb +239 -0
- data/lib/alfresco/models/error.rb +188 -0
- data/lib/alfresco/models/error_error.rb +253 -0
- data/lib/alfresco/models/generic_bucket.rb +242 -0
- data/lib/alfresco/models/generic_bucket_bucket_info.rb +219 -0
- data/lib/alfresco/models/generic_facet_response.rb +211 -0
- data/lib/alfresco/models/generic_metric.rb +199 -0
- data/lib/alfresco/models/node.rb +403 -0
- data/lib/alfresco/models/pagination.rb +249 -0
- data/lib/alfresco/models/path_element.rb +197 -0
- data/lib/alfresco/models/path_info.rb +208 -0
- data/lib/alfresco/models/request_defaults.rb +283 -0
- data/lib/alfresco/models/request_facet_field.rb +333 -0
- data/lib/alfresco/models/request_facet_fields.rb +191 -0
- data/lib/alfresco/models/request_facet_intervals.rb +203 -0
- data/lib/alfresco/models/request_facet_intervals_intervals.rb +211 -0
- data/lib/alfresco/models/request_facet_queries.rb +179 -0
- data/lib/alfresco/models/request_facet_queries_inner.rb +199 -0
- data/lib/alfresco/models/request_facet_set.rb +233 -0
- data/lib/alfresco/models/request_fields.rb +179 -0
- data/lib/alfresco/models/request_filter_queries.rb +179 -0
- data/lib/alfresco/models/request_filter_queries_inner.rb +201 -0
- data/lib/alfresco/models/request_highlight.rb +261 -0
- data/lib/alfresco/models/request_highlight_fields.rb +234 -0
- data/lib/alfresco/models/request_include.rb +179 -0
- data/lib/alfresco/models/request_limits.rb +199 -0
- data/lib/alfresco/models/request_localization.rb +201 -0
- data/lib/alfresco/models/request_pagination.rb +231 -0
- data/lib/alfresco/models/request_pivot.rb +200 -0
- data/lib/alfresco/models/request_query.rb +249 -0
- data/lib/alfresco/models/request_range.rb +275 -0
- data/lib/alfresco/models/request_scope.rb +222 -0
- data/lib/alfresco/models/request_sort_definition.rb +179 -0
- data/lib/alfresco/models/request_sort_definition_inner.rb +246 -0
- data/lib/alfresco/models/request_spellcheck.rb +188 -0
- data/lib/alfresco/models/request_stats.rb +367 -0
- data/lib/alfresco/models/request_templates.rb +179 -0
- data/lib/alfresco/models/request_templates_inner.rb +199 -0
- data/lib/alfresco/models/response_consistency.rb +189 -0
- data/lib/alfresco/models/result_buckets.rb +201 -0
- data/lib/alfresco/models/result_buckets_buckets.rb +219 -0
- data/lib/alfresco/models/result_node.rb +448 -0
- data/lib/alfresco/models/result_set_context.rb +245 -0
- data/lib/alfresco/models/result_set_context_facet_queries.rb +207 -0
- data/lib/alfresco/models/result_set_context_spellcheck.rb +233 -0
- data/lib/alfresco/models/result_set_paging.rb +188 -0
- data/lib/alfresco/models/result_set_paging_list.rb +208 -0
- data/lib/alfresco/models/result_set_row_entry.rb +193 -0
- data/lib/alfresco/models/search_entry.rb +201 -0
- data/lib/alfresco/models/search_entry_highlight.rb +201 -0
- data/lib/alfresco/models/search_request.rb +373 -0
- data/lib/alfresco/models/user_info.rb +207 -0
- data/lib/alfresco/version.rb +15 -0
- data/spec/api/search_api_spec.rb +47 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +39 -0
- data/spec/models/content_info_spec.rb +66 -0
- data/spec/models/error_error_spec.rb +72 -0
- data/spec/models/error_spec.rb +42 -0
- data/spec/models/generic_bucket_bucket_info_spec.rb +60 -0
- data/spec/models/generic_bucket_spec.rb +72 -0
- data/spec/models/generic_facet_response_spec.rb +54 -0
- data/spec/models/generic_metric_spec.rb +48 -0
- data/spec/models/node_spec.rb +138 -0
- data/spec/models/pagination_spec.rb +66 -0
- data/spec/models/path_element_spec.rb +48 -0
- data/spec/models/path_info_spec.rb +54 -0
- data/spec/models/request_defaults_spec.rb +74 -0
- data/spec/models/request_facet_field_spec.rb +110 -0
- data/spec/models/request_facet_fields_spec.rb +42 -0
- data/spec/models/request_facet_intervals_intervals_spec.rb +54 -0
- data/spec/models/request_facet_intervals_spec.rb +48 -0
- data/spec/models/request_facet_queries_inner_spec.rb +48 -0
- data/spec/models/request_facet_queries_spec.rb +36 -0
- data/spec/models/request_facet_set_spec.rb +66 -0
- data/spec/models/request_fields_spec.rb +36 -0
- data/spec/models/request_filter_queries_inner_spec.rb +48 -0
- data/spec/models/request_filter_queries_spec.rb +36 -0
- data/spec/models/request_highlight_fields_spec.rb +72 -0
- data/spec/models/request_highlight_spec.rb +84 -0
- data/spec/models/request_include_spec.rb +36 -0
- data/spec/models/request_limits_spec.rb +48 -0
- data/spec/models/request_localization_spec.rb +48 -0
- data/spec/models/request_pagination_spec.rb +48 -0
- data/spec/models/request_pivot_spec.rb +48 -0
- data/spec/models/request_query_spec.rb +58 -0
- data/spec/models/request_range_spec.rb +90 -0
- data/spec/models/request_scope_spec.rb +46 -0
- data/spec/models/request_sort_definition_inner_spec.rb +58 -0
- data/spec/models/request_sort_definition_spec.rb +36 -0
- data/spec/models/request_spellcheck_spec.rb +42 -0
- data/spec/models/request_stats_spec.rb +132 -0
- data/spec/models/request_templates_inner_spec.rb +48 -0
- data/spec/models/request_templates_spec.rb +36 -0
- data/spec/models/response_consistency_spec.rb +42 -0
- data/spec/models/result_buckets_buckets_spec.rb +60 -0
- data/spec/models/result_buckets_spec.rb +48 -0
- data/spec/models/result_node_spec.rb +168 -0
- data/spec/models/result_set_context_facet_queries_spec.rb +54 -0
- data/spec/models/result_set_context_spec.rb +72 -0
- data/spec/models/result_set_context_spellcheck_spec.rb +52 -0
- data/spec/models/result_set_paging_list_spec.rb +54 -0
- data/spec/models/result_set_paging_spec.rb +42 -0
- data/spec/models/result_set_row_entry_spec.rb +42 -0
- data/spec/models/search_entry_highlight_spec.rb +48 -0
- data/spec/models/search_entry_spec.rb +48 -0
- data/spec/models/search_request_spec.rb +156 -0
- data/spec/models/user_info_spec.rb +48 -0
- data/spec/spec_helper.rb +111 -0
- metadata +455 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Alfresco Content Services REST API
|
|
3
|
+
|
|
4
|
+
#**Search API** Provides access to the search features of Alfresco Content Services.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Alfresco::RequestLocalization
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestLocalization' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::RequestLocalization.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestLocalization' do
|
|
31
|
+
it 'should create an instance of RequestLocalization' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::RequestLocalization)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "timezone"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "locales"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Alfresco Content Services REST API
|
|
3
|
+
|
|
4
|
+
#**Search API** Provides access to the search features of Alfresco Content Services.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Alfresco::RequestPagination
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestPagination' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::RequestPagination.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestPagination' do
|
|
31
|
+
it 'should create an instance of RequestPagination' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::RequestPagination)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "max_items"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "skip_count"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Alfresco Content Services REST API
|
|
3
|
+
|
|
4
|
+
#**Search API** Provides access to the search features of Alfresco Content Services.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Alfresco::RequestPivot
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestPivot' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::RequestPivot.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestPivot' do
|
|
31
|
+
it 'should create an instance of RequestPivot' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::RequestPivot)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "key"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "pivots"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|
|
48
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Alfresco Content Services REST API
|
|
3
|
+
|
|
4
|
+
#**Search API** Provides access to the search features of Alfresco Content Services.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Alfresco::RequestQuery
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestQuery' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::RequestQuery.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestQuery' do
|
|
31
|
+
it 'should create an instance of RequestQuery' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::RequestQuery)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "language"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["afts", "lucene", "cmis"])
|
|
39
|
+
#validator.allowable_values.each do |value|
|
|
40
|
+
# expect { @instance.language = value }.not_to raise_error
|
|
41
|
+
#end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
describe 'test attribute "user_query"' do
|
|
46
|
+
it 'should work' do
|
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
describe 'test attribute "query"' do
|
|
52
|
+
it 'should work' do
|
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
end
|
|
58
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Alfresco Content Services REST API
|
|
3
|
+
|
|
4
|
+
#**Search API** Provides access to the search features of Alfresco Content Services.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Alfresco::RequestRange
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestRange' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::RequestRange.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestRange' do
|
|
31
|
+
it 'should create an instance of RequestRange' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::RequestRange)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "field"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "start"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "_end"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "gap"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "hardend"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "other"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "include"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "label"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
describe 'test attribute "exclude_filters"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
end
|
|
90
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Alfresco Content Services REST API
|
|
3
|
+
|
|
4
|
+
#**Search API** Provides access to the search features of Alfresco Content Services.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Alfresco::RequestScope
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestScope' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::RequestScope.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestScope' do
|
|
31
|
+
it 'should create an instance of RequestScope' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::RequestScope)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "locations"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["nodes", "versions", "deleted-nodes"])
|
|
39
|
+
#validator.allowable_values.each do |value|
|
|
40
|
+
# expect { @instance.locations = value }.not_to raise_error
|
|
41
|
+
#end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
end
|
|
46
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Alfresco Content Services REST API
|
|
3
|
+
|
|
4
|
+
#**Search API** Provides access to the search features of Alfresco Content Services.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Alfresco::RequestSortDefinitionInner
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestSortDefinitionInner' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::RequestSortDefinitionInner.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestSortDefinitionInner' do
|
|
31
|
+
it 'should create an instance of RequestSortDefinitionInner' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::RequestSortDefinitionInner)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "type"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["FIELD", "DOCUMENT", "SCORE"])
|
|
39
|
+
#validator.allowable_values.each do |value|
|
|
40
|
+
# expect { @instance.type = value }.not_to raise_error
|
|
41
|
+
#end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
describe 'test attribute "field"' do
|
|
46
|
+
it 'should work' do
|
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
describe 'test attribute "ascending"' do
|
|
52
|
+
it 'should work' do
|
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
end
|
|
58
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Alfresco Content Services REST API
|
|
3
|
+
|
|
4
|
+
#**Search API** Provides access to the search features of Alfresco Content Services.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Alfresco::RequestSortDefinition
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestSortDefinition' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::RequestSortDefinition.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestSortDefinition' do
|
|
31
|
+
it 'should create an instance of RequestSortDefinition' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::RequestSortDefinition)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Alfresco Content Services REST API
|
|
3
|
+
|
|
4
|
+
#**Search API** Provides access to the search features of Alfresco Content Services.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Alfresco::RequestSpellcheck
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RequestSpellcheck' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::RequestSpellcheck.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RequestSpellcheck' do
|
|
31
|
+
it 'should create an instance of RequestSpellcheck' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::RequestSpellcheck)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "query"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
end
|
|
42
|
+
|