pulp_2to3_migration_client 0.11.13 → 0.12.0.dev1618286197

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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +7 -7
  4. data/docs/MigrationPlansApi.md +2 -2
  5. data/docs/{InlineResponse200.md → Paginatedpulp2to3MigrationMigrationPlanResponseList.md} +4 -4
  6. data/docs/{InlineResponse2001.md → Paginatedpulp2to3MigrationPulp2ContentResponseList.md} +4 -4
  7. data/docs/{InlineResponse2002.md → Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md} +4 -4
  8. data/docs/Pulp2ContentApi.md +24 -24
  9. data/docs/Pulp2RepositoriesApi.md +10 -10
  10. data/git_push.sh +58 -0
  11. data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +4 -4
  12. data/lib/pulp_2to3_migration_client/api/pulp2_content_api.rb +49 -29
  13. data/lib/pulp_2to3_migration_client/api/pulp2_repositories_api.rb +13 -13
  14. data/lib/pulp_2to3_migration_client/api_client.rb +13 -14
  15. data/lib/pulp_2to3_migration_client/api_error.rb +1 -1
  16. data/lib/pulp_2to3_migration_client/configuration.rb +1 -9
  17. data/lib/pulp_2to3_migration_client/models/async_operation_response.rb +1 -1
  18. data/lib/pulp_2to3_migration_client/models/migration_plan_run.rb +1 -1
  19. data/lib/pulp_2to3_migration_client/models/{inline_response200.rb → paginatedpulp2to3_migration_migration_plan_response_list.rb} +4 -4
  20. data/lib/pulp_2to3_migration_client/models/{inline_response2001.rb → paginatedpulp2to3_migration_pulp2_content_response_list.rb} +4 -4
  21. data/lib/pulp_2to3_migration_client/models/{inline_response2002.rb → paginatedpulp2to3_migration_pulp2_repository_response_list.rb} +4 -4
  22. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb +1 -1
  23. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response.rb +1 -1
  24. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_content_response.rb +1 -1
  25. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_repository_response.rb +1 -1
  26. data/lib/pulp_2to3_migration_client/version.rb +2 -2
  27. data/lib/pulp_2to3_migration_client.rb +4 -4
  28. data/pulp_2to3_migration_client.gemspec +4 -4
  29. data/spec/api/migration_plans_api_spec.rb +2 -2
  30. data/spec/api/pulp2_content_api_spec.rb +13 -13
  31. data/spec/api/pulp2_repositories_api_spec.rb +6 -6
  32. data/spec/api_client_spec.rb +2 -2
  33. data/spec/configuration_spec.rb +1 -1
  34. data/spec/models/async_operation_response_spec.rb +1 -1
  35. data/spec/models/migration_plan_run_spec.rb +1 -1
  36. data/spec/models/{inline_response2002_spec.rb → paginatedpulp2to3_migration_migration_plan_response_list_spec.rb} +7 -7
  37. data/spec/models/{inline_response2001_spec.rb → paginatedpulp2to3_migration_pulp2_content_response_list_spec.rb} +7 -7
  38. data/spec/models/{inline_response200_spec.rb → paginatedpulp2to3_migration_pulp2_repository_response_list_spec.rb} +7 -7
  39. data/spec/models/pulp2to3_migration_migration_plan_response_spec.rb +1 -1
  40. data/spec/models/pulp2to3_migration_migration_plan_spec.rb +1 -1
  41. data/spec/models/pulp2to3_migration_pulp2_content_response_spec.rb +1 -1
  42. data/spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb +1 -1
  43. data/spec/spec_helper.rb +1 -1
  44. metadata +26 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c354e7452587f87181f654e1e62d95080e628ceb7a9027b5e03b9f2a638442e
4
- data.tar.gz: a1e1bf340f01d08aaa72a602239d3d1e7381b448f678925db2c96a128b096462
3
+ metadata.gz: cd9d33fa3e80b29cfcb7148b41c339f0cae6e31d815da6cc4e666a26f0c1173f
4
+ data.tar.gz: e59fce269f86c8c7b3753f66c49f1cd0e03886816adcdc632e08f387ecc1673d
5
5
  SHA512:
6
- metadata.gz: a7af6b3b270783b60629ccea9459eeea3ab461e9bb6c295ee6f8f2c5e6cbe3d9623ae60d223e140192edbafdb86ac9c95be15cc11c315e0bd9dd041dcc4c09c9
7
- data.tar.gz: 3c304d1bc71ddba103b4271c1dbdc234b81f01c8f6c103a649e85afbfa1ad6c27bb739ba8cbcf4b7b11ecb57010335fa8c0ccd33e31118fc051b458bc8a24bf9
6
+ metadata.gz: 8a3daba6a1c5195499c5fae3d929654d08499b880a3004d9eeca2f50bfc3be456925f9585ef360492c594087df40fc52f0cf73dd7d9ea3f132035fb4293a05d6
7
+ data.tar.gz: c0e8a717e73fe7201818e19c4e3a5c3f658321af1f74c859d57b74e3cc8ad9bf5f85c7bec301da320b6c0125239563eb8d14c615e48bdd65378d7fdb400b7b0c
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 13.0.1'
6
+ gem 'rake', '~> 12.0.0'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.11.13
10
+ - Package version: 0.12.0.dev1618286197
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_2to3_migration_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_2to3_migration_client-0.11.13.gem
27
+ gem install ./pulp_2to3_migration_client-0.12.0.dev1618286197.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_2to3_migration_client-0.11.13.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_2to3_migration_client-0.12.0.dev1618286197.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_2to3_migration_client', '~> 0.11.13'
36
+ gem 'pulp_2to3_migration_client', '~> 0.12.0.dev1618286197'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -98,10 +98,10 @@ Class | Method | HTTP request | Description
98
98
  ## Documentation for Models
99
99
 
100
100
  - [Pulp2to3MigrationClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
101
- - [Pulp2to3MigrationClient::InlineResponse200](docs/InlineResponse200.md)
102
- - [Pulp2to3MigrationClient::InlineResponse2001](docs/InlineResponse2001.md)
103
- - [Pulp2to3MigrationClient::InlineResponse2002](docs/InlineResponse2002.md)
104
101
  - [Pulp2to3MigrationClient::MigrationPlanRun](docs/MigrationPlanRun.md)
102
+ - [Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList](docs/Paginatedpulp2to3MigrationMigrationPlanResponseList.md)
103
+ - [Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList](docs/Paginatedpulp2to3MigrationPulp2ContentResponseList.md)
104
+ - [Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList](docs/Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md)
105
105
  - [Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan](docs/Pulp2to3MigrationMigrationPlan.md)
106
106
  - [Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanResponse](docs/Pulp2to3MigrationMigrationPlanResponse.md)
107
107
  - [Pulp2to3MigrationClient::Pulp2to3MigrationPulp2ContentResponse](docs/Pulp2to3MigrationPulp2ContentResponse.md)
@@ -120,7 +120,7 @@ nil (empty response body)
120
120
 
121
121
  ## list
122
122
 
123
- > InlineResponse200 list(opts)
123
+ > Paginatedpulp2to3MigrationMigrationPlanResponseList list(opts)
124
124
 
125
125
  List migration plans
126
126
 
@@ -169,7 +169,7 @@ Name | Type | Description | Notes
169
169
 
170
170
  ### Return type
171
171
 
172
- [**InlineResponse200**](InlineResponse200.md)
172
+ [**Paginatedpulp2to3MigrationMigrationPlanResponseList**](Paginatedpulp2to3MigrationMigrationPlanResponseList.md)
173
173
 
174
174
  ### Authorization
175
175
 
@@ -1,4 +1,4 @@
1
- # Pulp2to3MigrationClient::InlineResponse200
1
+ # Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'Pulp2to3MigrationClient'
16
16
 
17
- instance = Pulp2to3MigrationClient::InlineResponse200.new(count: 123,
18
- _next: null,
19
- previous: null,
17
+ instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
20
  results: null)
21
21
  ```
22
22
 
@@ -1,4 +1,4 @@
1
- # Pulp2to3MigrationClient::InlineResponse2001
1
+ # Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'Pulp2to3MigrationClient'
16
16
 
17
- instance = Pulp2to3MigrationClient::InlineResponse2001.new(count: 123,
18
- _next: null,
19
- previous: null,
17
+ instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
20
  results: null)
21
21
  ```
22
22
 
@@ -1,4 +1,4 @@
1
- # Pulp2to3MigrationClient::InlineResponse2002
1
+ # Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'Pulp2to3MigrationClient'
16
16
 
17
- instance = Pulp2to3MigrationClient::InlineResponse2002.new(count: 123,
18
- _next: null,
19
- previous: null,
17
+ instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
20
  results: null)
21
21
  ```
22
22
 
@@ -11,7 +11,7 @@ Method | HTTP request | Description
11
11
 
12
12
  ## list
13
13
 
14
- > InlineResponse2001 list(opts)
14
+ > Paginatedpulp2to3MigrationPulp2ContentResponseList list(opts)
15
15
 
16
16
  List pulp2 contents
17
17
 
@@ -34,17 +34,17 @@ opts = {
34
34
  limit: 56, # Integer | Number of results to return per page.
35
35
  offset: 56, # Integer | The initial index from which to return the results.
36
36
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
37
- pulp2_content_type_id: 'pulp2_content_type_id_example', # String | pulp2_content_type_id
38
- pulp2_content_type_id__in: 'pulp2_content_type_id__in_example', # String | pulp2_content_type_id__in
39
- pulp2_id: 'pulp2_id_example', # String | pulp2_id
40
- pulp2_id__in: 'pulp2_id__in_example', # String | pulp2_id__in
41
- pulp2_last_updated: 'pulp2_last_updated_example', # String | pulp2_last_updated
42
- pulp2_last_updated__gt: 'pulp2_last_updated__gt_example', # String | pulp2_last_updated__gt
43
- pulp2_last_updated__gte: 'pulp2_last_updated__gte_example', # String | pulp2_last_updated__gte
44
- pulp2_last_updated__lt: 'pulp2_last_updated__lt_example', # String | pulp2_last_updated__lt
45
- pulp2_last_updated__lte: 'pulp2_last_updated__lte_example', # String | pulp2_last_updated__lte
46
- pulp2_last_updated__range: 'pulp2_last_updated__range_example', # String | pulp2_last_updated__range
47
- pulp3_content: 'pulp3_content_example', # String | pulp3_content
37
+ pulp2_content_type_id: 'pulp2_content_type_id_example', # String |
38
+ pulp2_content_type_id__in: ['pulp2_content_type_id__in_example'], # Array<String> | Filter results where pulp2_content_type_id is in a comma-separated list of values
39
+ pulp2_id: 'pulp2_id_example', # String |
40
+ pulp2_id__in: ['pulp2_id__in_example'], # Array<String> | Filter results where pulp2_id is in a comma-separated list of values
41
+ pulp2_last_updated: 56, # Integer | ISO 8601 formatted dates are supported
42
+ pulp2_last_updated__gt: 56, # Integer | Filter results where pulp2_last_updated is greater than value
43
+ pulp2_last_updated__gte: 56, # Integer | Filter results where pulp2_last_updated is greater than or equal to value
44
+ pulp2_last_updated__lt: 56, # Integer | Filter results where pulp2_last_updated is less than value
45
+ pulp2_last_updated__lte: 56, # Integer | Filter results where pulp2_last_updated is less than or equal to value
46
+ pulp2_last_updated__range: [56], # Array<Integer> | Filter results where pulp2_last_updated is between two comma separated values
47
+ pulp3_content: 'pulp3_content_example', # String | Foreign Key referenced by HREF
48
48
  fields: 'fields_example', # String | A list of fields to include in the response.
49
49
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
50
50
  }
@@ -66,23 +66,23 @@ Name | Type | Description | Notes
66
66
  **limit** | **Integer**| Number of results to return per page. | [optional]
67
67
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
68
68
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
69
- **pulp2_content_type_id** | **String**| pulp2_content_type_id | [optional]
70
- **pulp2_content_type_id__in** | **String**| pulp2_content_type_id__in | [optional]
71
- **pulp2_id** | **String**| pulp2_id | [optional]
72
- **pulp2_id__in** | **String**| pulp2_id__in | [optional]
73
- **pulp2_last_updated** | **String**| pulp2_last_updated | [optional]
74
- **pulp2_last_updated__gt** | **String**| pulp2_last_updated__gt | [optional]
75
- **pulp2_last_updated__gte** | **String**| pulp2_last_updated__gte | [optional]
76
- **pulp2_last_updated__lt** | **String**| pulp2_last_updated__lt | [optional]
77
- **pulp2_last_updated__lte** | **String**| pulp2_last_updated__lte | [optional]
78
- **pulp2_last_updated__range** | **String**| pulp2_last_updated__range | [optional]
79
- **pulp3_content** | **String**| pulp3_content | [optional]
69
+ **pulp2_content_type_id** | **String**| | [optional]
70
+ **pulp2_content_type_id__in** | [**Array&lt;String&gt;**](String.md)| Filter results where pulp2_content_type_id is in a comma-separated list of values | [optional]
71
+ **pulp2_id** | **String**| | [optional]
72
+ **pulp2_id__in** | [**Array&lt;String&gt;**](String.md)| Filter results where pulp2_id is in a comma-separated list of values | [optional]
73
+ **pulp2_last_updated** | **Integer**| ISO 8601 formatted dates are supported | [optional]
74
+ **pulp2_last_updated__gt** | **Integer**| Filter results where pulp2_last_updated is greater than value | [optional]
75
+ **pulp2_last_updated__gte** | **Integer**| Filter results where pulp2_last_updated is greater than or equal to value | [optional]
76
+ **pulp2_last_updated__lt** | **Integer**| Filter results where pulp2_last_updated is less than value | [optional]
77
+ **pulp2_last_updated__lte** | **Integer**| Filter results where pulp2_last_updated is less than or equal to value | [optional]
78
+ **pulp2_last_updated__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where pulp2_last_updated is between two comma separated values | [optional]
79
+ **pulp3_content** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
80
80
  **fields** | **String**| A list of fields to include in the response. | [optional]
81
81
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
82
82
 
83
83
  ### Return type
84
84
 
85
- [**InlineResponse2001**](InlineResponse2001.md)
85
+ [**Paginatedpulp2to3MigrationPulp2ContentResponseList**](Paginatedpulp2to3MigrationPulp2ContentResponseList.md)
86
86
 
87
87
  ### Authorization
88
88
 
@@ -11,7 +11,7 @@ Method | HTTP request | Description
11
11
 
12
12
  ## list
13
13
 
14
- > InlineResponse2002 list(opts)
14
+ > Paginatedpulp2to3MigrationPulp2RepositoryResponseList list(opts)
15
15
 
16
16
  List pulp2 repositorys
17
17
 
@@ -31,13 +31,13 @@ end
31
31
 
32
32
  api_instance = Pulp2to3MigrationClient::Pulp2RepositoriesApi.new
33
33
  opts = {
34
- is_migrated: 'is_migrated_example', # String | is_migrated
34
+ is_migrated: true, # Boolean |
35
35
  limit: 56, # Integer | Number of results to return per page.
36
- not_in_plan: 'not_in_plan_example', # String | not_in_plan
36
+ not_in_plan: true, # Boolean |
37
37
  offset: 56, # Integer | The initial index from which to return the results.
38
38
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
39
- pulp2_repo_id: 'pulp2_repo_id_example', # String | pulp2_repo_id
40
- pulp2_repo_id__in: 'pulp2_repo_id__in_example', # String | pulp2_repo_id__in
39
+ pulp2_repo_id: 'pulp2_repo_id_example', # String |
40
+ pulp2_repo_id__in: ['pulp2_repo_id__in_example'], # Array<String> | Filter results where pulp2_repo_id is in a comma-separated list of values
41
41
  fields: 'fields_example', # String | A list of fields to include in the response.
42
42
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
43
43
  }
@@ -56,19 +56,19 @@ end
56
56
 
57
57
  Name | Type | Description | Notes
58
58
  ------------- | ------------- | ------------- | -------------
59
- **is_migrated** | **String**| is_migrated | [optional]
59
+ **is_migrated** | **Boolean**| | [optional]
60
60
  **limit** | **Integer**| Number of results to return per page. | [optional]
61
- **not_in_plan** | **String**| not_in_plan | [optional]
61
+ **not_in_plan** | **Boolean**| | [optional]
62
62
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
63
63
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
64
- **pulp2_repo_id** | **String**| pulp2_repo_id | [optional]
65
- **pulp2_repo_id__in** | **String**| pulp2_repo_id__in | [optional]
64
+ **pulp2_repo_id** | **String**| | [optional]
65
+ **pulp2_repo_id__in** | [**Array&lt;String&gt;**](String.md)| Filter results where pulp2_repo_id is in a comma-separated list of values | [optional]
66
66
  **fields** | **String**| A list of fields to include in the response. | [optional]
67
67
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
68
68
 
69
69
  ### Return type
70
70
 
71
- [**InlineResponse2002**](InlineResponse2002.md)
71
+ [**Paginatedpulp2to3MigrationPulp2RepositoryResponseList**](Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md)
72
72
 
73
73
  ### Authorization
74
74
 
data/git_push.sh ADDED
@@ -0,0 +1,58 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="GIT_USER_ID"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="GIT_REPO_ID"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=`git remote`
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
58
+
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -151,7 +151,7 @@ module Pulp2to3MigrationClient
151
151
  # @option opts [String] :ordering Which field to use when ordering the results.
152
152
  # @option opts [String] :fields A list of fields to include in the response.
153
153
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
154
- # @return [InlineResponse200]
154
+ # @return [Paginatedpulp2to3MigrationMigrationPlanResponseList]
155
155
  def list(opts = {})
156
156
  data, _status_code, _headers = list_with_http_info(opts)
157
157
  data
@@ -165,7 +165,7 @@ module Pulp2to3MigrationClient
165
165
  # @option opts [String] :ordering Which field to use when ordering the results.
166
166
  # @option opts [String] :fields A list of fields to include in the response.
167
167
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
168
- # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
168
+ # @return [Array<(Paginatedpulp2to3MigrationMigrationPlanResponseList, Integer, Hash)>] Paginatedpulp2to3MigrationMigrationPlanResponseList data, response status code and response headers
169
169
  def list_with_http_info(opts = {})
170
170
  if @api_client.config.debugging
171
171
  @api_client.config.logger.debug 'Calling API: MigrationPlansApi.list ...'
@@ -193,7 +193,7 @@ module Pulp2to3MigrationClient
193
193
  post_body = opts[:body]
194
194
 
195
195
  # return_type
196
- return_type = opts[:return_type] || 'InlineResponse200'
196
+ return_type = opts[:return_type] || 'Paginatedpulp2to3MigrationMigrationPlanResponseList'
197
197
 
198
198
  # auth_names
199
199
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -25,20 +25,20 @@ module Pulp2to3MigrationClient
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
27
  # @option opts [String] :ordering Which field to use when ordering the results.
28
- # @option opts [String] :pulp2_content_type_id pulp2_content_type_id
29
- # @option opts [String] :pulp2_content_type_id__in pulp2_content_type_id__in
30
- # @option opts [String] :pulp2_id pulp2_id
31
- # @option opts [String] :pulp2_id__in pulp2_id__in
32
- # @option opts [String] :pulp2_last_updated pulp2_last_updated
33
- # @option opts [String] :pulp2_last_updated__gt pulp2_last_updated__gt
34
- # @option opts [String] :pulp2_last_updated__gte pulp2_last_updated__gte
35
- # @option opts [String] :pulp2_last_updated__lt pulp2_last_updated__lt
36
- # @option opts [String] :pulp2_last_updated__lte pulp2_last_updated__lte
37
- # @option opts [String] :pulp2_last_updated__range pulp2_last_updated__range
38
- # @option opts [String] :pulp3_content pulp3_content
28
+ # @option opts [String] :pulp2_content_type_id
29
+ # @option opts [Array<String>] :pulp2_content_type_id__in Filter results where pulp2_content_type_id is in a comma-separated list of values
30
+ # @option opts [String] :pulp2_id
31
+ # @option opts [Array<String>] :pulp2_id__in Filter results where pulp2_id is in a comma-separated list of values
32
+ # @option opts [Integer] :pulp2_last_updated ISO 8601 formatted dates are supported
33
+ # @option opts [Integer] :pulp2_last_updated__gt Filter results where pulp2_last_updated is greater than value
34
+ # @option opts [Integer] :pulp2_last_updated__gte Filter results where pulp2_last_updated is greater than or equal to value
35
+ # @option opts [Integer] :pulp2_last_updated__lt Filter results where pulp2_last_updated is less than value
36
+ # @option opts [Integer] :pulp2_last_updated__lte Filter results where pulp2_last_updated is less than or equal to value
37
+ # @option opts [Array<Integer>] :pulp2_last_updated__range Filter results where pulp2_last_updated is between two comma separated values
38
+ # @option opts [String] :pulp3_content Foreign Key referenced by HREF
39
39
  # @option opts [String] :fields A list of fields to include in the response.
40
40
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
41
- # @return [InlineResponse2001]
41
+ # @return [Paginatedpulp2to3MigrationPulp2ContentResponseList]
42
42
  def list(opts = {})
43
43
  data, _status_code, _headers = list_with_http_info(opts)
44
44
  data
@@ -50,24 +50,44 @@ module Pulp2to3MigrationClient
50
50
  # @option opts [Integer] :limit Number of results to return per page.
51
51
  # @option opts [Integer] :offset The initial index from which to return the results.
52
52
  # @option opts [String] :ordering Which field to use when ordering the results.
53
- # @option opts [String] :pulp2_content_type_id pulp2_content_type_id
54
- # @option opts [String] :pulp2_content_type_id__in pulp2_content_type_id__in
55
- # @option opts [String] :pulp2_id pulp2_id
56
- # @option opts [String] :pulp2_id__in pulp2_id__in
57
- # @option opts [String] :pulp2_last_updated pulp2_last_updated
58
- # @option opts [String] :pulp2_last_updated__gt pulp2_last_updated__gt
59
- # @option opts [String] :pulp2_last_updated__gte pulp2_last_updated__gte
60
- # @option opts [String] :pulp2_last_updated__lt pulp2_last_updated__lt
61
- # @option opts [String] :pulp2_last_updated__lte pulp2_last_updated__lte
62
- # @option opts [String] :pulp2_last_updated__range pulp2_last_updated__range
63
- # @option opts [String] :pulp3_content pulp3_content
53
+ # @option opts [String] :pulp2_content_type_id
54
+ # @option opts [Array<String>] :pulp2_content_type_id__in Filter results where pulp2_content_type_id is in a comma-separated list of values
55
+ # @option opts [String] :pulp2_id
56
+ # @option opts [Array<String>] :pulp2_id__in Filter results where pulp2_id is in a comma-separated list of values
57
+ # @option opts [Integer] :pulp2_last_updated ISO 8601 formatted dates are supported
58
+ # @option opts [Integer] :pulp2_last_updated__gt Filter results where pulp2_last_updated is greater than value
59
+ # @option opts [Integer] :pulp2_last_updated__gte Filter results where pulp2_last_updated is greater than or equal to value
60
+ # @option opts [Integer] :pulp2_last_updated__lt Filter results where pulp2_last_updated is less than value
61
+ # @option opts [Integer] :pulp2_last_updated__lte Filter results where pulp2_last_updated is less than or equal to value
62
+ # @option opts [Array<Integer>] :pulp2_last_updated__range Filter results where pulp2_last_updated is between two comma separated values
63
+ # @option opts [String] :pulp3_content Foreign Key referenced by HREF
64
64
  # @option opts [String] :fields A list of fields to include in the response.
65
65
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
66
- # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
66
+ # @return [Array<(Paginatedpulp2to3MigrationPulp2ContentResponseList, Integer, Hash)>] Paginatedpulp2to3MigrationPulp2ContentResponseList data, response status code and response headers
67
67
  def list_with_http_info(opts = {})
68
68
  if @api_client.config.debugging
69
69
  @api_client.config.logger.debug 'Calling API: Pulp2ContentApi.list ...'
70
70
  end
71
+ if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated'].nil? && opts[:'pulp2_last_updated'] > 2147483647
72
+ fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
73
+ end
74
+
75
+ if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated__gt'].nil? && opts[:'pulp2_last_updated__gt'] > 2147483647
76
+ fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated__gt"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
77
+ end
78
+
79
+ if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated__gte'].nil? && opts[:'pulp2_last_updated__gte'] > 2147483647
80
+ fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated__gte"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
81
+ end
82
+
83
+ if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated__lt'].nil? && opts[:'pulp2_last_updated__lt'] > 2147483647
84
+ fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated__lt"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
85
+ end
86
+
87
+ if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated__lte'].nil? && opts[:'pulp2_last_updated__lte'] > 2147483647
88
+ fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated__lte"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
89
+ end
90
+
71
91
  # resource path
72
92
  local_var_path = '/pulp/api/v3/pulp2content/'
73
93
 
@@ -77,15 +97,15 @@ module Pulp2to3MigrationClient
77
97
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
78
98
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
79
99
  query_params[:'pulp2_content_type_id'] = opts[:'pulp2_content_type_id'] if !opts[:'pulp2_content_type_id'].nil?
80
- query_params[:'pulp2_content_type_id__in'] = opts[:'pulp2_content_type_id__in'] if !opts[:'pulp2_content_type_id__in'].nil?
100
+ query_params[:'pulp2_content_type_id__in'] = @api_client.build_collection_param(opts[:'pulp2_content_type_id__in'], :csv) if !opts[:'pulp2_content_type_id__in'].nil?
81
101
  query_params[:'pulp2_id'] = opts[:'pulp2_id'] if !opts[:'pulp2_id'].nil?
82
- query_params[:'pulp2_id__in'] = opts[:'pulp2_id__in'] if !opts[:'pulp2_id__in'].nil?
102
+ query_params[:'pulp2_id__in'] = @api_client.build_collection_param(opts[:'pulp2_id__in'], :csv) if !opts[:'pulp2_id__in'].nil?
83
103
  query_params[:'pulp2_last_updated'] = opts[:'pulp2_last_updated'] if !opts[:'pulp2_last_updated'].nil?
84
104
  query_params[:'pulp2_last_updated__gt'] = opts[:'pulp2_last_updated__gt'] if !opts[:'pulp2_last_updated__gt'].nil?
85
105
  query_params[:'pulp2_last_updated__gte'] = opts[:'pulp2_last_updated__gte'] if !opts[:'pulp2_last_updated__gte'].nil?
86
106
  query_params[:'pulp2_last_updated__lt'] = opts[:'pulp2_last_updated__lt'] if !opts[:'pulp2_last_updated__lt'].nil?
87
107
  query_params[:'pulp2_last_updated__lte'] = opts[:'pulp2_last_updated__lte'] if !opts[:'pulp2_last_updated__lte'].nil?
88
- query_params[:'pulp2_last_updated__range'] = opts[:'pulp2_last_updated__range'] if !opts[:'pulp2_last_updated__range'].nil?
108
+ query_params[:'pulp2_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp2_last_updated__range'], :csv) if !opts[:'pulp2_last_updated__range'].nil?
89
109
  query_params[:'pulp3_content'] = opts[:'pulp3_content'] if !opts[:'pulp3_content'].nil?
90
110
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
91
111
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
@@ -102,7 +122,7 @@ module Pulp2to3MigrationClient
102
122
  post_body = opts[:body]
103
123
 
104
124
  # return_type
105
- return_type = opts[:return_type] || 'InlineResponse2001'
125
+ return_type = opts[:return_type] || 'Paginatedpulp2to3MigrationPulp2ContentResponseList'
106
126
 
107
127
  # auth_names
108
128
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -22,16 +22,16 @@ module Pulp2to3MigrationClient
22
22
  # List pulp2 repositorys
23
23
  # ViewSet for Pulp2Repositories model.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :is_migrated is_migrated
25
+ # @option opts [Boolean] :is_migrated
26
26
  # @option opts [Integer] :limit Number of results to return per page.
27
- # @option opts [String] :not_in_plan not_in_plan
27
+ # @option opts [Boolean] :not_in_plan
28
28
  # @option opts [Integer] :offset The initial index from which to return the results.
29
29
  # @option opts [String] :ordering Which field to use when ordering the results.
30
- # @option opts [String] :pulp2_repo_id pulp2_repo_id
31
- # @option opts [String] :pulp2_repo_id__in pulp2_repo_id__in
30
+ # @option opts [String] :pulp2_repo_id
31
+ # @option opts [Array<String>] :pulp2_repo_id__in Filter results where pulp2_repo_id is in a comma-separated list of values
32
32
  # @option opts [String] :fields A list of fields to include in the response.
33
33
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
34
- # @return [InlineResponse2002]
34
+ # @return [Paginatedpulp2to3MigrationPulp2RepositoryResponseList]
35
35
  def list(opts = {})
36
36
  data, _status_code, _headers = list_with_http_info(opts)
37
37
  data
@@ -40,16 +40,16 @@ module Pulp2to3MigrationClient
40
40
  # List pulp2 repositorys
41
41
  # ViewSet for Pulp2Repositories model.
42
42
  # @param [Hash] opts the optional parameters
43
- # @option opts [String] :is_migrated is_migrated
43
+ # @option opts [Boolean] :is_migrated
44
44
  # @option opts [Integer] :limit Number of results to return per page.
45
- # @option opts [String] :not_in_plan not_in_plan
45
+ # @option opts [Boolean] :not_in_plan
46
46
  # @option opts [Integer] :offset The initial index from which to return the results.
47
47
  # @option opts [String] :ordering Which field to use when ordering the results.
48
- # @option opts [String] :pulp2_repo_id pulp2_repo_id
49
- # @option opts [String] :pulp2_repo_id__in pulp2_repo_id__in
48
+ # @option opts [String] :pulp2_repo_id
49
+ # @option opts [Array<String>] :pulp2_repo_id__in Filter results where pulp2_repo_id is in a comma-separated list of values
50
50
  # @option opts [String] :fields A list of fields to include in the response.
51
51
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
52
- # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
52
+ # @return [Array<(Paginatedpulp2to3MigrationPulp2RepositoryResponseList, Integer, Hash)>] Paginatedpulp2to3MigrationPulp2RepositoryResponseList data, response status code and response headers
53
53
  def list_with_http_info(opts = {})
54
54
  if @api_client.config.debugging
55
55
  @api_client.config.logger.debug 'Calling API: Pulp2RepositoriesApi.list ...'
@@ -65,7 +65,7 @@ module Pulp2to3MigrationClient
65
65
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
66
66
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
67
67
  query_params[:'pulp2_repo_id'] = opts[:'pulp2_repo_id'] if !opts[:'pulp2_repo_id'].nil?
68
- query_params[:'pulp2_repo_id__in'] = opts[:'pulp2_repo_id__in'] if !opts[:'pulp2_repo_id__in'].nil?
68
+ query_params[:'pulp2_repo_id__in'] = @api_client.build_collection_param(opts[:'pulp2_repo_id__in'], :csv) if !opts[:'pulp2_repo_id__in'].nil?
69
69
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
70
70
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
71
71
 
@@ -81,7 +81,7 @@ module Pulp2to3MigrationClient
81
81
  post_body = opts[:body]
82
82
 
83
83
  # return_type
84
- return_type = opts[:return_type] || 'InlineResponse2002'
84
+ return_type = opts[:return_type] || 'Paginatedpulp2to3MigrationPulp2RepositoryResponseList'
85
85
 
86
86
  # auth_names
87
87
  auth_names = opts[:auth_names] || ['basicAuth']