pulp_ansible_client 0.10.5 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -4
  3. data/docs/AnsibleCollectionRemote.md +1 -1
  4. data/docs/AnsibleCollectionRemoteResponse.md +3 -1
  5. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  6. data/docs/AnsibleGitRemote.md +59 -0
  7. data/docs/AnsibleGitRemoteResponse.md +55 -0
  8. data/docs/AnsibleRoleRemote.md +1 -1
  9. data/docs/AnsibleRoleRemoteResponse.md +1 -1
  10. data/docs/AnsibleRoleResponse.md +4 -4
  11. data/docs/CollectionVersionResponse.md +4 -0
  12. data/docs/PaginatedansibleGitRemoteResponseList.md +23 -0
  13. data/docs/PatchedansibleCollectionRemote.md +1 -1
  14. data/docs/PatchedansibleGitRemote.md +59 -0
  15. data/docs/PatchedansibleRoleRemote.md +1 -1
  16. data/docs/RemotesGitApi.md +376 -0
  17. data/docs/UnpaginatedCollectionVersionResponse.md +5 -1
  18. data/git_push.sh +58 -0
  19. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +16 -0
  20. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -0
  21. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +16 -0
  22. data/lib/pulp_ansible_client/api/remotes_git_api.rb +463 -0
  23. data/lib/pulp_ansible_client/api_client.rb +5 -2
  24. data/lib/pulp_ansible_client/configuration.rb +0 -1
  25. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +38 -0
  26. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +34 -0
  27. data/lib/pulp_ansible_client/models/ansible_collection.rb +38 -0
  28. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +192 -1
  29. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +28 -2
  30. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +27 -0
  31. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -19
  32. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +692 -0
  33. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +493 -0
  34. data/lib/pulp_ansible_client/models/ansible_role.rb +57 -0
  35. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +159 -1
  36. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
  37. data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
  38. data/lib/pulp_ansible_client/models/collection_one_shot.rb +60 -0
  39. data/lib/pulp_ansible_client/models/collection_version_response.rb +19 -1
  40. data/lib/pulp_ansible_client/models/galaxy_collection.rb +38 -0
  41. data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +237 -0
  42. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +30 -0
  43. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +30 -0
  44. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +184 -1
  45. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +674 -0
  46. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +151 -1
  47. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +22 -4
  48. data/lib/pulp_ansible_client/version.rb +1 -1
  49. data/lib/pulp_ansible_client.rb +5 -0
  50. data/pulp_ansible_client.gemspec +3 -3
  51. data/spec/api/remotes_git_api_spec.rb +127 -0
  52. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  53. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  54. data/spec/models/ansible_git_remote_response_spec.rb +155 -0
  55. data/spec/models/ansible_git_remote_spec.rb +167 -0
  56. data/spec/models/ansible_role_response_spec.rb +2 -2
  57. data/spec/models/collection_version_response_spec.rb +12 -0
  58. data/spec/models/paginatedansible_git_remote_response_list_spec.rb +59 -0
  59. data/spec/models/patchedansible_git_remote_spec.rb +167 -0
  60. data/spec/models/unpaginated_collection_version_response_spec.rb +12 -0
  61. metadata +94 -79
@@ -0,0 +1,167 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpAnsibleClient::AnsibleGitRemote
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'AnsibleGitRemote' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpAnsibleClient::AnsibleGitRemote.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of AnsibleGitRemote' do
31
+ it 'should create an instance of AnsibleGitRemote' do
32
+ expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleGitRemote)
33
+ end
34
+ end
35
+ describe 'test attribute "sock_read_timeout"' 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 "pulp_labels"' 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 "client_cert"' 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 "rate_limit"' 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 "username"' 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 "total_timeout"' 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 "password"' 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 "client_key"' 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 "proxy_url"' 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 "tls_validation"' 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 "max_retries"' 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 "name"' 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 "ca_cert"' 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 "proxy_password"' 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 "connect_timeout"' 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 "headers"' 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 "sock_connect_timeout"' 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
+ describe 'test attribute "url"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ describe 'test attribute "proxy_username"' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
149
+ describe 'test attribute "download_concurrency"' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ describe 'test attribute "metadata_only"' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
161
+ describe 'test attribute "git_ref"' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ end
@@ -32,7 +32,7 @@ describe 'AnsibleRoleResponse' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleRoleResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_created"' do
35
+ describe 'test attribute "pulp_href"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -44,7 +44,7 @@ describe 'AnsibleRoleResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_href"' do
47
+ describe 'test attribute "pulp_created"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -98,6 +98,18 @@ describe 'CollectionVersionResponse' do
98
98
  end
99
99
  end
100
100
 
101
+ describe 'test attribute "git_url"' 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 "git_commit_sha"' 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
+
101
113
  describe 'test attribute "manifest"' do
102
114
  it 'should work' do
103
115
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpAnsibleClient::PaginatedansibleGitRemoteResponseList
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PaginatedansibleGitRemoteResponseList' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpAnsibleClient::PaginatedansibleGitRemoteResponseList.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaginatedansibleGitRemoteResponseList' do
31
+ it 'should create an instance of PaginatedansibleGitRemoteResponseList' do
32
+ expect(@instance).to be_instance_of(PulpAnsibleClient::PaginatedansibleGitRemoteResponseList)
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 "_next"' 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 "previous"' 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 "results"' 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
@@ -0,0 +1,167 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpAnsibleClient::PatchedansibleGitRemote
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PatchedansibleGitRemote' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpAnsibleClient::PatchedansibleGitRemote.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PatchedansibleGitRemote' do
31
+ it 'should create an instance of PatchedansibleGitRemote' do
32
+ expect(@instance).to be_instance_of(PulpAnsibleClient::PatchedansibleGitRemote)
33
+ end
34
+ end
35
+ describe 'test attribute "sock_read_timeout"' 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 "pulp_labels"' 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 "client_cert"' 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 "rate_limit"' 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 "username"' 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 "total_timeout"' 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 "password"' 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 "client_key"' 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 "proxy_url"' 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 "tls_validation"' 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 "max_retries"' 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 "name"' 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 "ca_cert"' 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 "proxy_password"' 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 "connect_timeout"' 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 "headers"' 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 "sock_connect_timeout"' 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
+ describe 'test attribute "url"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ describe 'test attribute "proxy_username"' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
149
+ describe 'test attribute "download_concurrency"' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ describe 'test attribute "metadata_only"' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
161
+ describe 'test attribute "git_ref"' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ end
@@ -98,4 +98,16 @@ describe 'UnpaginatedCollectionVersionResponse' do
98
98
  end
99
99
  end
100
100
 
101
+ describe 'test attribute "git_url"' 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 "git_commit_sha"' 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
+
101
113
  end