harbor1_client 0.1.1 → 1.10.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/build/generate.sh +8 -0
  4. data/build/swagger-codegen-cli-ruby-config.json +12 -0
  5. data/git_push.sh +3 -3
  6. data/harbor1_client.gemspec +7 -7
  7. data/lib/harbor1_client/api/chart_repository_api.rb +1 -1
  8. data/lib/harbor1_client/api/label_api.rb +1 -1
  9. data/lib/harbor1_client/api/products_api.rb +1 -1
  10. data/lib/harbor1_client/api/quota_api.rb +1 -1
  11. data/lib/harbor1_client/api/retention_api.rb +1 -1
  12. data/lib/harbor1_client/api/robot_account_api.rb +1 -1
  13. data/lib/harbor1_client/api/scan_api.rb +1 -1
  14. data/lib/harbor1_client/api/scanners_api.rb +1 -1
  15. data/lib/harbor1_client/api/system_api.rb +1 -1
  16. data/lib/harbor1_client/api_client.rb +2 -2
  17. data/lib/harbor1_client/api_error.rb +1 -1
  18. data/lib/harbor1_client/configuration.rb +1 -1
  19. data/lib/harbor1_client/models/access_log.rb +1 -1
  20. data/lib/harbor1_client/models/action.rb +1 -1
  21. data/lib/harbor1_client/models/action_1.rb +1 -1
  22. data/lib/harbor1_client/models/admin_job_schedule.rb +1 -1
  23. data/lib/harbor1_client/models/admin_job_schedule_obj.rb +1 -1
  24. data/lib/harbor1_client/models/bad_request_formated_error.rb +1 -1
  25. data/lib/harbor1_client/models/bool_config_item.rb +1 -1
  26. data/lib/harbor1_client/models/chart_api_error.rb +1 -1
  27. data/lib/harbor1_client/models/chart_info_entry.rb +1 -1
  28. data/lib/harbor1_client/models/chart_info_list.rb +1 -1
  29. data/lib/harbor1_client/models/chart_metadata.rb +1 -1
  30. data/lib/harbor1_client/models/chart_version.rb +1 -1
  31. data/lib/harbor1_client/models/chart_version_details.rb +1 -1
  32. data/lib/harbor1_client/models/chart_versions.rb +1 -1
  33. data/lib/harbor1_client/models/component_health_status.rb +1 -1
  34. data/lib/harbor1_client/models/component_overview_entry.rb +1 -1
  35. data/lib/harbor1_client/models/configurations.rb +1 -1
  36. data/lib/harbor1_client/models/configurations_response.rb +3 -3
  37. data/lib/harbor1_client/models/configurations_scan_all_policy.rb +1 -1
  38. data/lib/harbor1_client/models/configurations_scan_all_policy_parameter.rb +1 -1
  39. data/lib/harbor1_client/models/conflict_formated_error.rb +1 -1
  40. data/lib/harbor1_client/models/cve_whitelist.rb +1 -1
  41. data/lib/harbor1_client/models/cve_whitelist_item.rb +1 -1
  42. data/lib/harbor1_client/models/dependency.rb +1 -1
  43. data/lib/harbor1_client/models/detailed_tag.rb +1 -1
  44. data/lib/harbor1_client/models/digital_signature.rb +1 -1
  45. data/lib/harbor1_client/models/email_server_setting.rb +1 -1
  46. data/lib/harbor1_client/models/endpoint.rb +1 -1
  47. data/lib/harbor1_client/models/filter_style.rb +1 -1
  48. data/lib/harbor1_client/models/forbidden_chart_api_error.rb +1 -1
  49. data/lib/harbor1_client/models/gc_result.rb +1 -1
  50. data/lib/harbor1_client/models/general_info.rb +1 -1
  51. data/lib/harbor1_client/models/general_info_clair_vulnerability_status.rb +1 -1
  52. data/lib/harbor1_client/models/has_admin_role.rb +1 -1
  53. data/lib/harbor1_client/models/immutable_tag_rule.rb +1 -1
  54. data/lib/harbor1_client/models/inline_response_200.rb +1 -1
  55. data/lib/harbor1_client/models/input_secret.rb +1 -1
  56. data/lib/harbor1_client/models/insufficient_storage_chart_api_error.rb +1 -1
  57. data/lib/harbor1_client/models/integer_config_item.rb +1 -1
  58. data/lib/harbor1_client/models/internal_chart_api_error.rb +1 -1
  59. data/lib/harbor1_client/models/is_default.rb +1 -1
  60. data/lib/harbor1_client/models/job_status.rb +1 -1
  61. data/lib/harbor1_client/models/label.rb +1 -1
  62. data/lib/harbor1_client/models/labels.rb +1 -1
  63. data/lib/harbor1_client/models/ldap_conf.rb +1 -1
  64. data/lib/harbor1_client/models/ldap_failed_import_users.rb +1 -1
  65. data/lib/harbor1_client/models/ldap_import_users.rb +1 -1
  66. data/lib/harbor1_client/models/ldap_users.rb +1 -1
  67. data/lib/harbor1_client/models/manifest.rb +1 -1
  68. data/lib/harbor1_client/models/namespace.rb +1 -1
  69. data/lib/harbor1_client/models/native_report_summary.rb +1 -1
  70. data/lib/harbor1_client/models/not_found_chart_api_error.rb +1 -1
  71. data/lib/harbor1_client/models/overall_health_status.rb +1 -1
  72. data/lib/harbor1_client/models/password.rb +1 -1
  73. data/lib/harbor1_client/models/permission.rb +1 -1
  74. data/lib/harbor1_client/models/ping_registry.rb +1 -1
  75. data/lib/harbor1_client/models/project.rb +1 -1
  76. data/lib/harbor1_client/models/project_member.rb +1 -1
  77. data/lib/harbor1_client/models/project_member_entity.rb +1 -1
  78. data/lib/harbor1_client/models/project_metadata.rb +1 -1
  79. data/lib/harbor1_client/models/project_req.rb +1 -1
  80. data/lib/harbor1_client/models/project_scanner.rb +1 -1
  81. data/lib/harbor1_client/models/project_summary.rb +1 -1
  82. data/lib/harbor1_client/models/project_summary_quota.rb +1 -1
  83. data/lib/harbor1_client/models/put_registry.rb +1 -1
  84. data/lib/harbor1_client/models/quota.rb +1 -1
  85. data/lib/harbor1_client/models/quota_ref_object.rb +1 -1
  86. data/lib/harbor1_client/models/quota_switcher.rb +1 -1
  87. data/lib/harbor1_client/models/quota_update_req.rb +1 -1
  88. data/lib/harbor1_client/models/registry.rb +1 -1
  89. data/lib/harbor1_client/models/registry_credential.rb +1 -1
  90. data/lib/harbor1_client/models/registry_info.rb +1 -1
  91. data/lib/harbor1_client/models/replication_execution.rb +1 -1
  92. data/lib/harbor1_client/models/replication_filter.rb +1 -1
  93. data/lib/harbor1_client/models/replication_policy.rb +1 -1
  94. data/lib/harbor1_client/models/replication_task.rb +1 -1
  95. data/lib/harbor1_client/models/replication_trigger.rb +1 -1
  96. data/lib/harbor1_client/models/repo_signature.rb +1 -1
  97. data/lib/harbor1_client/models/report.rb +1 -1
  98. data/lib/harbor1_client/models/repository.rb +1 -1
  99. data/lib/harbor1_client/models/repository_description.rb +1 -1
  100. data/lib/harbor1_client/models/resource.rb +1 -1
  101. data/lib/harbor1_client/models/resource_list.rb +1 -1
  102. data/lib/harbor1_client/models/retag_req.rb +1 -1
  103. data/lib/harbor1_client/models/retention_execution.rb +1 -1
  104. data/lib/harbor1_client/models/retention_execution_task.rb +1 -1
  105. data/lib/harbor1_client/models/retention_metadata.rb +1 -1
  106. data/lib/harbor1_client/models/retention_policy.rb +1 -1
  107. data/lib/harbor1_client/models/retention_policy_scope.rb +1 -1
  108. data/lib/harbor1_client/models/retention_rule.rb +1 -1
  109. data/lib/harbor1_client/models/retention_rule_metadata.rb +1 -1
  110. data/lib/harbor1_client/models/retention_rule_param_metadata.rb +1 -1
  111. data/lib/harbor1_client/models/retention_rule_trigger.rb +1 -1
  112. data/lib/harbor1_client/models/retention_selector.rb +1 -1
  113. data/lib/harbor1_client/models/retention_selector_metadata.rb +1 -1
  114. data/lib/harbor1_client/models/robot_account.rb +1 -1
  115. data/lib/harbor1_client/models/robot_account_access.rb +1 -1
  116. data/lib/harbor1_client/models/robot_account_create.rb +1 -1
  117. data/lib/harbor1_client/models/robot_account_post_rep.rb +1 -1
  118. data/lib/harbor1_client/models/robot_account_update.rb +1 -1
  119. data/lib/harbor1_client/models/role.rb +1 -1
  120. data/lib/harbor1_client/models/role_param.rb +1 -1
  121. data/lib/harbor1_client/models/role_request.rb +1 -1
  122. data/lib/harbor1_client/models/scan_overview.rb +1 -1
  123. data/lib/harbor1_client/models/scanner.rb +1 -1
  124. data/lib/harbor1_client/models/scanner_adapter_metadata.rb +1 -1
  125. data/lib/harbor1_client/models/scanner_capability.rb +1 -1
  126. data/lib/harbor1_client/models/scanner_registration.rb +1 -1
  127. data/lib/harbor1_client/models/scanner_registration_req.rb +1 -1
  128. data/lib/harbor1_client/models/scanner_registration_settings.rb +1 -1
  129. data/lib/harbor1_client/models/search.rb +1 -1
  130. data/lib/harbor1_client/models/search_repository.rb +1 -1
  131. data/lib/harbor1_client/models/search_result.rb +1 -1
  132. data/lib/harbor1_client/models/security_report.rb +1 -1
  133. data/lib/harbor1_client/models/statistic_map.rb +1 -1
  134. data/lib/harbor1_client/models/stats.rb +1 -1
  135. data/lib/harbor1_client/models/storage.rb +1 -1
  136. data/lib/harbor1_client/models/string_config_item.rb +1 -1
  137. data/lib/harbor1_client/models/system_info.rb +1 -1
  138. data/lib/harbor1_client/models/tags.rb +1 -1
  139. data/lib/harbor1_client/models/trigger_settings.rb +1 -1
  140. data/lib/harbor1_client/models/unauthorized_chart_api_error.rb +1 -1
  141. data/lib/harbor1_client/models/user.rb +1 -1
  142. data/lib/harbor1_client/models/user_entity.rb +1 -1
  143. data/lib/harbor1_client/models/user_group.rb +1 -1
  144. data/lib/harbor1_client/models/user_profile.rb +1 -1
  145. data/lib/harbor1_client/models/user_search.rb +1 -1
  146. data/lib/harbor1_client/models/vuln_namespace_timestamp.rb +1 -1
  147. data/lib/harbor1_client/models/vulnerability_item.rb +1 -1
  148. data/lib/harbor1_client/models/vulnerability_summary.rb +1 -1
  149. data/lib/harbor1_client/models/webhook_job.rb +1 -1
  150. data/lib/harbor1_client/models/webhook_last_trigger.rb +1 -1
  151. data/lib/harbor1_client/models/webhook_policy.rb +1 -1
  152. data/lib/harbor1_client/models/webhook_target_object.rb +1 -1
  153. data/lib/harbor1_client/version.rb +2 -2
  154. data/lib/harbor1_client.rb +1 -1
  155. data/spec/api/chart_repository_api_spec.rb +1 -1
  156. data/spec/api/label_api_spec.rb +1 -1
  157. data/spec/api/products_api_spec.rb +1 -1
  158. data/spec/api/quota_api_spec.rb +1 -1
  159. data/spec/api/retention_api_spec.rb +1 -1
  160. data/spec/api/robot_account_api_spec.rb +1 -1
  161. data/spec/api/scan_api_spec.rb +1 -1
  162. data/spec/api/scanners_api_spec.rb +1 -1
  163. data/spec/api/system_api_spec.rb +1 -1
  164. data/spec/api_client_spec.rb +1 -1
  165. data/spec/configuration_spec.rb +1 -1
  166. data/spec/models/access_log_spec.rb +1 -1
  167. data/spec/models/action_1_spec.rb +1 -1
  168. data/spec/models/action_spec.rb +1 -1
  169. data/spec/models/admin_job_schedule_obj_spec.rb +1 -1
  170. data/spec/models/admin_job_schedule_spec.rb +1 -1
  171. data/spec/models/bad_request_formated_error_spec.rb +1 -1
  172. data/spec/models/bool_config_item_spec.rb +1 -1
  173. data/spec/models/chart_api_error_spec.rb +1 -1
  174. data/spec/models/chart_info_entry_spec.rb +1 -1
  175. data/spec/models/chart_info_list_spec.rb +1 -1
  176. data/spec/models/chart_metadata_spec.rb +1 -1
  177. data/spec/models/chart_version_details_spec.rb +1 -1
  178. data/spec/models/chart_version_spec.rb +1 -1
  179. data/spec/models/chart_versions_spec.rb +1 -1
  180. data/spec/models/component_health_status_spec.rb +1 -1
  181. data/spec/models/component_overview_entry_spec.rb +1 -1
  182. data/spec/models/configurations_response_spec.rb +1 -1
  183. data/spec/models/configurations_scan_all_policy_parameter_spec.rb +1 -1
  184. data/spec/models/configurations_scan_all_policy_spec.rb +1 -1
  185. data/spec/models/configurations_spec.rb +1 -1
  186. data/spec/models/conflict_formated_error_spec.rb +1 -1
  187. data/spec/models/cve_whitelist_item_spec.rb +1 -1
  188. data/spec/models/cve_whitelist_spec.rb +1 -1
  189. data/spec/models/dependency_spec.rb +1 -1
  190. data/spec/models/detailed_tag_spec.rb +1 -1
  191. data/spec/models/digital_signature_spec.rb +1 -1
  192. data/spec/models/email_server_setting_spec.rb +1 -1
  193. data/spec/models/endpoint_spec.rb +1 -1
  194. data/spec/models/filter_style_spec.rb +1 -1
  195. data/spec/models/forbidden_chart_api_error_spec.rb +1 -1
  196. data/spec/models/gc_result_spec.rb +1 -1
  197. data/spec/models/general_info_clair_vulnerability_status_spec.rb +1 -1
  198. data/spec/models/general_info_spec.rb +1 -1
  199. data/spec/models/has_admin_role_spec.rb +1 -1
  200. data/spec/models/immutable_tag_rule_spec.rb +1 -1
  201. data/spec/models/inline_response_200_spec.rb +1 -1
  202. data/spec/models/input_secret_spec.rb +1 -1
  203. data/spec/models/insufficient_storage_chart_api_error_spec.rb +1 -1
  204. data/spec/models/integer_config_item_spec.rb +1 -1
  205. data/spec/models/internal_chart_api_error_spec.rb +1 -1
  206. data/spec/models/is_default_spec.rb +1 -1
  207. data/spec/models/job_status_spec.rb +1 -1
  208. data/spec/models/label_spec.rb +1 -1
  209. data/spec/models/labels_spec.rb +1 -1
  210. data/spec/models/ldap_conf_spec.rb +1 -1
  211. data/spec/models/ldap_failed_import_users_spec.rb +1 -1
  212. data/spec/models/ldap_import_users_spec.rb +1 -1
  213. data/spec/models/ldap_users_spec.rb +1 -1
  214. data/spec/models/manifest_spec.rb +1 -1
  215. data/spec/models/namespace_spec.rb +1 -1
  216. data/spec/models/native_report_summary_spec.rb +1 -1
  217. data/spec/models/not_found_chart_api_error_spec.rb +1 -1
  218. data/spec/models/overall_health_status_spec.rb +1 -1
  219. data/spec/models/password_spec.rb +1 -1
  220. data/spec/models/permission_spec.rb +1 -1
  221. data/spec/models/ping_registry_spec.rb +1 -1
  222. data/spec/models/project_member_entity_spec.rb +1 -1
  223. data/spec/models/project_member_spec.rb +1 -1
  224. data/spec/models/project_metadata_spec.rb +1 -1
  225. data/spec/models/project_req_spec.rb +1 -1
  226. data/spec/models/project_scanner_spec.rb +1 -1
  227. data/spec/models/project_spec.rb +1 -1
  228. data/spec/models/project_summary_quota_spec.rb +1 -1
  229. data/spec/models/project_summary_spec.rb +1 -1
  230. data/spec/models/put_registry_spec.rb +1 -1
  231. data/spec/models/quota_ref_object_spec.rb +1 -1
  232. data/spec/models/quota_spec.rb +1 -1
  233. data/spec/models/quota_switcher_spec.rb +1 -1
  234. data/spec/models/quota_update_req_spec.rb +1 -1
  235. data/spec/models/registry_credential_spec.rb +1 -1
  236. data/spec/models/registry_info_spec.rb +1 -1
  237. data/spec/models/registry_spec.rb +1 -1
  238. data/spec/models/replication_execution_spec.rb +1 -1
  239. data/spec/models/replication_filter_spec.rb +1 -1
  240. data/spec/models/replication_policy_spec.rb +1 -1
  241. data/spec/models/replication_task_spec.rb +1 -1
  242. data/spec/models/replication_trigger_spec.rb +1 -1
  243. data/spec/models/repo_signature_spec.rb +1 -1
  244. data/spec/models/report_spec.rb +1 -1
  245. data/spec/models/repository_description_spec.rb +1 -1
  246. data/spec/models/repository_spec.rb +1 -1
  247. data/spec/models/resource_list_spec.rb +1 -1
  248. data/spec/models/resource_spec.rb +1 -1
  249. data/spec/models/retag_req_spec.rb +1 -1
  250. data/spec/models/retention_execution_spec.rb +1 -1
  251. data/spec/models/retention_execution_task_spec.rb +1 -1
  252. data/spec/models/retention_metadata_spec.rb +1 -1
  253. data/spec/models/retention_policy_scope_spec.rb +1 -1
  254. data/spec/models/retention_policy_spec.rb +1 -1
  255. data/spec/models/retention_rule_metadata_spec.rb +1 -1
  256. data/spec/models/retention_rule_param_metadata_spec.rb +1 -1
  257. data/spec/models/retention_rule_spec.rb +1 -1
  258. data/spec/models/retention_rule_trigger_spec.rb +1 -1
  259. data/spec/models/retention_selector_metadata_spec.rb +1 -1
  260. data/spec/models/retention_selector_spec.rb +1 -1
  261. data/spec/models/robot_account_access_spec.rb +1 -1
  262. data/spec/models/robot_account_create_spec.rb +1 -1
  263. data/spec/models/robot_account_post_rep_spec.rb +1 -1
  264. data/spec/models/robot_account_spec.rb +1 -1
  265. data/spec/models/robot_account_update_spec.rb +1 -1
  266. data/spec/models/role_param_spec.rb +1 -1
  267. data/spec/models/role_request_spec.rb +1 -1
  268. data/spec/models/role_spec.rb +1 -1
  269. data/spec/models/scan_overview_spec.rb +1 -1
  270. data/spec/models/scanner_adapter_metadata_spec.rb +1 -1
  271. data/spec/models/scanner_capability_spec.rb +1 -1
  272. data/spec/models/scanner_registration_req_spec.rb +1 -1
  273. data/spec/models/scanner_registration_settings_spec.rb +1 -1
  274. data/spec/models/scanner_registration_spec.rb +1 -1
  275. data/spec/models/scanner_spec.rb +1 -1
  276. data/spec/models/search_repository_spec.rb +1 -1
  277. data/spec/models/search_result_spec.rb +1 -1
  278. data/spec/models/search_spec.rb +1 -1
  279. data/spec/models/security_report_spec.rb +1 -1
  280. data/spec/models/statistic_map_spec.rb +1 -1
  281. data/spec/models/stats_spec.rb +1 -1
  282. data/spec/models/storage_spec.rb +1 -1
  283. data/spec/models/string_config_item_spec.rb +1 -1
  284. data/spec/models/system_info_spec.rb +1 -1
  285. data/spec/models/tags_spec.rb +1 -1
  286. data/spec/models/trigger_settings_spec.rb +1 -1
  287. data/spec/models/unauthorized_chart_api_error_spec.rb +1 -1
  288. data/spec/models/user_entity_spec.rb +1 -1
  289. data/spec/models/user_group_spec.rb +1 -1
  290. data/spec/models/user_profile_spec.rb +1 -1
  291. data/spec/models/user_search_spec.rb +1 -1
  292. data/spec/models/user_spec.rb +1 -1
  293. data/spec/models/vuln_namespace_timestamp_spec.rb +1 -1
  294. data/spec/models/vulnerability_item_spec.rb +1 -1
  295. data/spec/models/vulnerability_summary_spec.rb +1 -1
  296. data/spec/models/webhook_job_spec.rb +1 -1
  297. data/spec/models/webhook_last_trigger_spec.rb +1 -1
  298. data/spec/models/webhook_policy_spec.rb +1 -1
  299. data/spec/models/webhook_target_object_spec.rb +1 -1
  300. data/spec/spec_helper.rb +1 -1
  301. metadata +9 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3af94fb5779fd503b0b85943018911051e6b46557bc424e196e8e896de06dec
4
- data.tar.gz: 22c8f8832d9a56bc2c452f102dc1c1933bea8e18f23676e3cb9393baa82fb9c4
3
+ metadata.gz: 5e5790ee4ee25ff8996fa9a6f02fdeb24f7a2a261dd6d412136ee23dc97b517c
4
+ data.tar.gz: abed45b7f39f64e82fc27823217b3a5d597f36f7bbdd914f00da22070533a982
5
5
  SHA512:
6
- metadata.gz: a1b6c034cc1e2501b8f294748f7cd00e246718b7d343cf9e490c2f2a14a40cf7280ba02fb85b7c5e6138a33bc2f3795adbce43a9e57fae3c2323e2b0fcf98340
7
- data.tar.gz: db8b0fde02e9749dd01aa9ceaaef7d7634cf2da931617771182dba98ca96ab0dd7f0df819a2262ff0594e3549ccd7ce89ada2beb4281a45d7b7ca69ce3f717b9
6
+ metadata.gz: a3dd6d52b8eedb0824ad8f44c587b44a82c5d2a02ea0164ac0106949d5864472dc2b1045b6c0db1b3b4a386d630ec49524530a401fcd4bbca5b3e0c53a2cf0d2
7
+ data.tar.gz: 31e76951ed64b9eda887289dca9586a45894a552c06b47b3dc4333115b92ebc53d7c51024de14ab8de5af21929016c6e7252cae8086bf95cf3651fd0f63c3ccb
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # harbor1_client
2
2
 
3
- Harbor1Client - the Ruby gem for the [Harbor 1 API](https://github.com/goharbor/harbor/blob/v1.10.6/api/harbor/swagger.yaml).
3
+ Harbor1Client - the Ruby gem for the Harbor API
4
4
 
5
- These APIs provide services for manipulating Harbor projects.
5
+ These APIs provide services for manipulating Harbor project.
6
6
 
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 1.10.0
10
- - Package version: 0.1.1
10
+ - Package version: 1.10.8.0
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,21 +23,21 @@ gem build harbor1_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./harbor1_client-0.1.1.gem
26
+ gem install ./harbor1_client-1.10.8.0.gem
27
27
  ```
28
- (for development, run `gem install --dev ./harbor1_client-0.1.1.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./harbor1_client-1.10.8.0.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'harbor1_client', '~> 0.1.1'
34
+ gem 'harbor1_client', '~> 1.10.8.0'
35
35
 
36
36
  ### Install from Git
37
37
 
38
- If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:
38
+ If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
39
39
 
40
- gem 'harbor1_client', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'
40
+ gem 'harbor1_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
41
41
 
42
42
  ### Include the Ruby code directly
43
43
 
data/build/generate.sh ADDED
@@ -0,0 +1,8 @@
1
+ #!/bin/bash
2
+ # 1. Create a new git branch
3
+ # 2. Clean out repo (delete everything except build folder and .git folder)
4
+ # 3. Update version in swagger-codegen-cli-ruby-config.json
5
+ # 4. Run this script from the root of the repo ( e.g. "build/generate.sh 1.10.8")
6
+ # Clean out repo (remove everything except )
7
+ version=$1
8
+ docker run -u $(id -u) --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i "https://raw.githubusercontent.com/goharbor/harbor/v${version}/api/harbor/swagger.yaml" -l ruby -c /local/build/swagger-codegen-cli-ruby-config.json -o /local/
@@ -0,0 +1,12 @@
1
+ {
2
+ "gemName": "harbor1_client",
3
+ "moduleName": "Harbor1Client",
4
+ "gemVersion": "1.10.8.0",
5
+ "gemLicense": "MIT",
6
+ "gemRequiredRubyVersion": ">= 1.9",
7
+ "gemHomepage": "https://github.com/liger1978/ruby-harbor2_client",
8
+ "gemSummary": "A ruby wrapper for the Harbor swagger APIs",
9
+ "gemDescription": "A ruby wrapper for the Harbor swagger APIs",
10
+ "gemAuthor": "Richard Grainger",
11
+ "gemAuthorEmail": "harbottle@room3d3.com"
12
+ }
data/git_push.sh CHANGED
@@ -11,17 +11,17 @@ git_repo_id=$2
11
11
  release_note=$3
12
12
 
13
13
  if [ "$git_user_id" = "" ]; then
14
- git_user_id=""
14
+ git_user_id="GIT_USER_ID"
15
15
  echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
16
16
  fi
17
17
 
18
18
  if [ "$git_repo_id" = "" ]; then
19
- git_repo_id=""
19
+ git_repo_id="GIT_REPO_ID"
20
20
  echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
21
21
  fi
22
22
 
23
23
  if [ "$release_note" = "" ]; then
24
- release_note=""
24
+ release_note="Minor update"
25
25
  echo "[INFO] No command line input provided. Set \$release_note to $release_note"
26
26
  fi
27
27
 
@@ -8,7 +8,7 @@
8
8
  OpenAPI spec version: 1.10.0
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- Swagger Codegen version: 2.4.17
11
+ Swagger Codegen version: 2.4.22
12
12
 
13
13
  =end
14
14
 
@@ -19,12 +19,12 @@ Gem::Specification.new do |s|
19
19
  s.name = "harbor1_client"
20
20
  s.version = Harbor1Client::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
- s.authors = ["Richard Grainger","Swagger-Codegen"]
23
- s.email = [""]
24
- s.homepage = "https://github.com/liger1978/ruby-harbor1_client"
25
- s.summary = "Harbor API Ruby Gem"
26
- s.description = "These APIs provide services for manipulating Harbor projects."
27
- s.license = "Unlicense"
22
+ s.authors = ["Richard Grainger"]
23
+ s.email = ["harbottle@room3d3.com"]
24
+ s.homepage = "https://github.com/liger1978/ruby-harbor2_client"
25
+ s.summary = "A ruby wrapper for the Harbor swagger APIs"
26
+ s.description = "A ruby wrapper for the Harbor swagger APIs"
27
+ s.license = 'MIT'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -316,7 +316,7 @@ module Harbor1Client
316
316
 
317
317
  # Sets user agent in HTTP header
318
318
  #
319
- # @param [String] user_agent User agent (e.g. swagger-codegen/ruby/0.1.1)
319
+ # @param [String] user_agent User agent (e.g. swagger-codegen/ruby/1.0.0)
320
320
  def user_agent=(user_agent)
321
321
  @user_agent = user_agent
322
322
  @default_headers['User-Agent'] = @user_agent
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -170,9 +170,9 @@ module Harbor1Client
170
170
  :'ldap_url' => :'StringConfigItem',
171
171
  :'ldap_base_dn' => :'StringConfigItem',
172
172
  :'ldap_filter' => :'StringConfigItem',
173
- :'ldap_scope' => :'IntegerConfigItem',
173
+ :'ldap_scope' => :'Integer',
174
174
  :'ldap_uid' => :'StringConfigItem',
175
- :'ldap_search_dn' => :'StringConfigItem',
175
+ :'ldap_search_dn' => :'String',
176
176
  :'ldap_timeout' => :'IntegerConfigItem',
177
177
  :'ldap_group_attribute_name' => :'StringConfigItem',
178
178
  :'ldap_group_base_dn' => :'StringConfigItem',
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.10.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.17
9
+ Swagger Codegen version: 2.4.22
10
10
 
11
11
  =end
12
12