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,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::Error
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'Error' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::Error.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of Error' do
|
|
31
|
+
it 'should create an instance of Error' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::Error)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "error"' 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
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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::GenericBucketBucketInfo
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'GenericBucketBucketInfo' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::GenericBucketBucketInfo.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of GenericBucketBucketInfo' do
|
|
31
|
+
it 'should create an instance of GenericBucketBucketInfo' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::GenericBucketBucketInfo)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "start"' 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_inclusive"' 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 "end_inclusive"' 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
|
+
end
|
|
60
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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::GenericBucket
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'GenericBucket' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::GenericBucket.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of GenericBucket' do
|
|
31
|
+
it 'should create an instance of GenericBucket' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::GenericBucket)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "label"' 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 "filter_query"' 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 "display"' 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 "metrics"' 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 "facets"' 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 "bucket_info"' 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
|
+
end
|
|
72
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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::GenericFacetResponse
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'GenericFacetResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::GenericFacetResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of GenericFacetResponse' do
|
|
31
|
+
it 'should create an instance of GenericFacetResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::GenericFacetResponse)
|
|
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
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "label"' 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 "buckets"' 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
|
+
end
|
|
54
|
+
|
|
@@ -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::GenericMetric
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'GenericMetric' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::GenericMetric.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of GenericMetric' do
|
|
31
|
+
it 'should create an instance of GenericMetric' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::GenericMetric)
|
|
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
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "value"' 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,138 @@
|
|
|
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::Node
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'Node' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::Node.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of Node' do
|
|
31
|
+
it 'should create an instance of Node' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::Node)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "id"' 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 "name"' 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 "node_type"' 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 "is_folder"' 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 "is_file"' 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 "is_locked"' 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 "modified_at"' 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 "modified_by_user"' 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 "created_at"' 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
|
+
describe 'test attribute "created_by_user"' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
describe 'test attribute "parent_id"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe 'test attribute "is_link"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
describe 'test attribute "content"' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
describe 'test attribute "aspect_names"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
describe 'test attribute "properties"' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
describe 'test attribute "allowable_operations"' do
|
|
126
|
+
it 'should work' do
|
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
describe 'test attribute "path"' do
|
|
132
|
+
it 'should work' do
|
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
end
|
|
138
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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::Pagination
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'Pagination' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Alfresco::Pagination.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of Pagination' do
|
|
31
|
+
it 'should create an instance of Pagination' do
|
|
32
|
+
expect(@instance).to be_instance_of(Alfresco::Pagination)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "count"' 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 "has_more_items"' 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 "total_items"' 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 "skip_count"' 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 "max_items"' 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
|
+
end
|
|
66
|
+
|