ionoscloud-dbaas-postgres 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +70 -0
  4. data/LICENSE +201 -0
  5. data/README.md +65 -0
  6. data/Rakefile +10 -0
  7. data/docs/README.md +163 -0
  8. data/docs/api/BackupsApi.md +232 -0
  9. data/docs/api/ClustersApi.md +540 -0
  10. data/docs/api/LogsApi.md +91 -0
  11. data/docs/api/MetadataApi.md +153 -0
  12. data/docs/api/RestoresApi.md +84 -0
  13. data/docs/models/APIVersion.md +20 -0
  14. data/docs/models/BackupLocation.md +15 -0
  15. data/docs/models/BackupMetadata.md +20 -0
  16. data/docs/models/BackupResponse.md +24 -0
  17. data/docs/models/ClusterBackup.md +26 -0
  18. data/docs/models/ClusterBackupList.md +28 -0
  19. data/docs/models/ClusterBackupListAllOf.md +22 -0
  20. data/docs/models/ClusterList.md +28 -0
  21. data/docs/models/ClusterListAllOf.md +22 -0
  22. data/docs/models/ClusterLogs.md +18 -0
  23. data/docs/models/ClusterLogsInstances.md +20 -0
  24. data/docs/models/ClusterLogsMessages.md +20 -0
  25. data/docs/models/ClusterProperties.md +40 -0
  26. data/docs/models/ClusterResponse.md +24 -0
  27. data/docs/models/Connection.md +22 -0
  28. data/docs/models/CreateClusterProperties.md +42 -0
  29. data/docs/models/CreateClusterRequest.md +20 -0
  30. data/docs/models/CreateRestoreRequest.md +20 -0
  31. data/docs/models/DBUser.md +20 -0
  32. data/docs/models/DayOfTheWeek.md +15 -0
  33. data/docs/models/ErrorMessage.md +20 -0
  34. data/docs/models/ErrorResponse.md +20 -0
  35. data/docs/models/Location.md +15 -0
  36. data/docs/models/MaintenanceWindow.md +20 -0
  37. data/docs/models/Metadata.md +30 -0
  38. data/docs/models/Pagination.md +22 -0
  39. data/docs/models/PaginationLinks.md +22 -0
  40. data/docs/models/PatchClusterProperties.md +32 -0
  41. data/docs/models/PatchClusterRequest.md +20 -0
  42. data/docs/models/PostgresVersionList.md +18 -0
  43. data/docs/models/PostgresVersionListData.md +18 -0
  44. data/docs/models/ResourceType.md +15 -0
  45. data/docs/models/State.md +15 -0
  46. data/docs/models/StorageType.md +15 -0
  47. data/docs/models/SynchronizationMode.md +15 -0
  48. data/docs/summary.md +50 -0
  49. data/git_push.sh +58 -0
  50. data/ionoscloud-dbaas-postgres.gemspec +38 -0
  51. data/lib/ionoscloud-dbaas-postgres/api/backups_api.rb +205 -0
  52. data/lib/ionoscloud-dbaas-postgres/api/clusters_api.rb +464 -0
  53. data/lib/ionoscloud-dbaas-postgres/api/logs_api.rb +102 -0
  54. data/lib/ionoscloud-dbaas-postgres/api/metadata_api.rb +136 -0
  55. data/lib/ionoscloud-dbaas-postgres/api/restores_api.rb +93 -0
  56. data/lib/ionoscloud-dbaas-postgres/api_client.rb +471 -0
  57. data/lib/ionoscloud-dbaas-postgres/api_error.rb +57 -0
  58. data/lib/ionoscloud-dbaas-postgres/configuration.rb +291 -0
  59. data/lib/ionoscloud-dbaas-postgres/models/api_version.rb +227 -0
  60. data/lib/ionoscloud-dbaas-postgres/models/backup_location.rb +36 -0
  61. data/lib/ionoscloud-dbaas-postgres/models/backup_metadata.rb +229 -0
  62. data/lib/ionoscloud-dbaas-postgres/models/backup_response.rb +247 -0
  63. data/lib/ionoscloud-dbaas-postgres/models/cluster_backup.rb +260 -0
  64. data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list.rb +305 -0
  65. data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list_all_of.rb +237 -0
  66. data/lib/ionoscloud-dbaas-postgres/models/cluster_list.rb +305 -0
  67. data/lib/ionoscloud-dbaas-postgres/models/cluster_list_all_of.rb +237 -0
  68. data/lib/ionoscloud-dbaas-postgres/models/cluster_logs.rb +219 -0
  69. data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_instances.rb +228 -0
  70. data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_messages.rb +227 -0
  71. data/lib/ionoscloud-dbaas-postgres/models/cluster_properties.rb +417 -0
  72. data/lib/ionoscloud-dbaas-postgres/models/cluster_response.rb +247 -0
  73. data/lib/ionoscloud-dbaas-postgres/models/connection.rb +255 -0
  74. data/lib/ionoscloud-dbaas-postgres/models/create_cluster_properties.rb +501 -0
  75. data/lib/ionoscloud-dbaas-postgres/models/create_cluster_request.rb +228 -0
  76. data/lib/ionoscloud-dbaas-postgres/models/create_restore_request.rb +235 -0
  77. data/lib/ionoscloud-dbaas-postgres/models/day_of_the_week.rb +42 -0
  78. data/lib/ionoscloud-dbaas-postgres/models/db_user.rb +239 -0
  79. data/lib/ionoscloud-dbaas-postgres/models/error_message.rb +229 -0
  80. data/lib/ionoscloud-dbaas-postgres/models/error_response.rb +228 -0
  81. data/lib/ionoscloud-dbaas-postgres/models/location.rb +41 -0
  82. data/lib/ionoscloud-dbaas-postgres/models/maintenance_window.rb +238 -0
  83. data/lib/ionoscloud-dbaas-postgres/models/metadata.rb +275 -0
  84. data/lib/ionoscloud-dbaas-postgres/models/pagination.rb +268 -0
  85. data/lib/ionoscloud-dbaas-postgres/models/pagination_links.rb +240 -0
  86. data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_properties.rb +381 -0
  87. data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_request.rb +228 -0
  88. data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list.rb +219 -0
  89. data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list_data.rb +218 -0
  90. data/lib/ionoscloud-dbaas-postgres/models/resource_type.rb +38 -0
  91. data/lib/ionoscloud-dbaas-postgres/models/state.rb +40 -0
  92. data/lib/ionoscloud-dbaas-postgres/models/storage_type.rb +37 -0
  93. data/lib/ionoscloud-dbaas-postgres/models/synchronization_mode.rb +38 -0
  94. data/lib/ionoscloud-dbaas-postgres/version.rb +15 -0
  95. data/lib/ionoscloud-dbaas-postgres.rb +79 -0
  96. data/lib/test_driver.rb +119 -0
  97. data/sonar-project.properties +12 -0
  98. data/spec/api_client_spec.rb +226 -0
  99. data/spec/configuration_spec.rb +42 -0
  100. data/spec/spec_helper.rb +111 -0
  101. metadata +190 -0
@@ -0,0 +1,20 @@
1
+ # DBUser
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **username** | **String** | The username for the initial postgres user. some system usernames are restricted (e.g. \"postgres\", \"admin\", \"standby\"). | |
8
+ | **password** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ionoscloud-dbaas-postgres'
14
+
15
+ instance = IonoscloudDbaasPostgres::DBUser.new(
16
+ username: db-admin,
17
+ password: password
18
+ )
19
+ ```
20
+
@@ -0,0 +1,15 @@
1
+ # DayOfTheWeek
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'ionoscloud-dbaas-postgres'
12
+
13
+ instance = IonoscloudDbaasPostgres::DayOfTheWeek.new()
14
+ ```
15
+
@@ -0,0 +1,20 @@
1
+ # ErrorMessage
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error_code** | **String** | Application internal error code | [optional] |
8
+ | **message** | **String** | A human readable explanation specific to this occurrence of the problem. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ionoscloud-dbaas-postgres'
14
+
15
+ instance = IonoscloudDbaasPostgres::ErrorMessage.new(
16
+ error_code: dbaas-err-api-123,
17
+ message: Error message example
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # ErrorResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **http_status** | **Integer** | HTTP status code of the operation | [optional] |
8
+ | **messages** | [**Array<ErrorMessage>**](ErrorMessage.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ionoscloud-dbaas-postgres'
14
+
15
+ instance = IonoscloudDbaasPostgres::ErrorResponse.new(
16
+ http_status: 400,
17
+ messages: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,15 @@
1
+ # Location
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'ionoscloud-dbaas-postgres'
12
+
13
+ instance = IonoscloudDbaasPostgres::Location.new()
14
+ ```
15
+
@@ -0,0 +1,20 @@
1
+ # MaintenanceWindow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **time** | **String** | | |
8
+ | **day_of_the_week** | [**DayOfTheWeek**](DayOfTheWeek.md) | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ionoscloud-dbaas-postgres'
14
+
15
+ instance = IonoscloudDbaasPostgres::MaintenanceWindow.new(
16
+ time: 16:30:59,
17
+ day_of_the_week: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,30 @@
1
+ # Metadata
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **created_date** | **Time** | The ISO 8601 creation timestamp. | [optional] |
8
+ | **created_by** | **String** | | [optional] |
9
+ | **created_by_user_id** | **String** | | [optional] |
10
+ | **last_modified_date** | **Time** | The ISO 8601 modified timestamp. | [optional] |
11
+ | **last_modified_by** | **String** | | [optional] |
12
+ | **last_modified_by_user_id** | **String** | | [optional] |
13
+ | **state** | [**State**](State.md) | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ionoscloud-dbaas-postgres'
19
+
20
+ instance = IonoscloudDbaasPostgres::Metadata.new(
21
+ created_date: 2020-12-10T13:37:50+01:00,
22
+ created_by: john.doe@example.com,
23
+ created_by_user_id: 87f9a82e-b28d-49ed-9d04-fba2c0459cd3,
24
+ last_modified_date: 2020-12-11T13:37:50+01:00,
25
+ last_modified_by: jane.doe@example.com,
26
+ last_modified_by_user_id: 87f9a82e-b28d-49ed-9d04-fba2c0459cd3,
27
+ state: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,22 @@
1
+ # Pagination
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **offset** | **Integer** | The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet). | [optional][readonly] |
8
+ | **limit** | **Integer** | The limit specified in the request (if none was specified, use the endpoint's default pagination limit) (not implemented yet, always return number of items). | [optional][readonly] |
9
+ | **_links** | [**PaginationLinks**](PaginationLinks.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ionoscloud-dbaas-postgres'
15
+
16
+ instance = IonoscloudDbaasPostgres::Pagination.new(
17
+ offset: 0,
18
+ limit: 42,
19
+ _links: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # PaginationLinks
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **prev** | **String** | URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0. | [optional][readonly] |
8
+ | **_self** | **String** | URL (with offset and limit parameters) of the current page. | [optional][readonly] |
9
+ | **_next** | **String** | URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements. | [optional][readonly] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ionoscloud-dbaas-postgres'
15
+
16
+ instance = IonoscloudDbaasPostgres::PaginationLinks.new(
17
+ prev: <PREVIOUS-PAGE-URI>,
18
+ _self: <THIS-PAGE-URI>,
19
+ _next: <NEXT-PAGE-URI>
20
+ )
21
+ ```
22
+
@@ -0,0 +1,32 @@
1
+ # PatchClusterProperties
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cores** | **Integer** | The number of CPU cores per instance. | [optional] |
8
+ | **ram** | **Integer** | The amount of memory per instance in megabytes. Has to be a multiple of 1024. | [optional] |
9
+ | **storage_size** | **Integer** | The amount of storage per instance in megabytes. | [optional] |
10
+ | **connections** | [**Array&lt;Connection&gt;**](Connection.md) | | [optional] |
11
+ | **display_name** | **String** | The friendly name of your cluster. | [optional] |
12
+ | **maintenance_window** | [**MaintenanceWindow**](MaintenanceWindow.md) | | [optional] |
13
+ | **postgres_version** | **String** | The PostgreSQL version of your cluster. | [optional] |
14
+ | **instances** | **Integer** | The total number of instances in the cluster (one master and n-1 standbys). | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'ionoscloud-dbaas-postgres'
20
+
21
+ instance = IonoscloudDbaasPostgres::PatchClusterProperties.new(
22
+ cores: 4,
23
+ ram: 2048,
24
+ storage_size: 5000,
25
+ connections: null,
26
+ display_name: PostgreSQL cluster,
27
+ maintenance_window: null,
28
+ postgres_version: 13,
29
+ instances: 2
30
+ )
31
+ ```
32
+
@@ -0,0 +1,20 @@
1
+ # PatchClusterRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **metadata** | [**Metadata**](Metadata.md) | | [optional] |
8
+ | **properties** | [**PatchClusterProperties**](PatchClusterProperties.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ionoscloud-dbaas-postgres'
14
+
15
+ instance = IonoscloudDbaasPostgres::PatchClusterRequest.new(
16
+ metadata: null,
17
+ properties: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # PostgresVersionList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;PostgresVersionListData&gt;**](PostgresVersionListData.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ionoscloud-dbaas-postgres'
13
+
14
+ instance = IonoscloudDbaasPostgres::PostgresVersionList.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # PostgresVersionListData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ionoscloud-dbaas-postgres'
13
+
14
+ instance = IonoscloudDbaasPostgres::PostgresVersionListData.new(
15
+ name: 12
16
+ )
17
+ ```
18
+
@@ -0,0 +1,15 @@
1
+ # ResourceType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'ionoscloud-dbaas-postgres'
12
+
13
+ instance = IonoscloudDbaasPostgres::ResourceType.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # State
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'ionoscloud-dbaas-postgres'
12
+
13
+ instance = IonoscloudDbaasPostgres::State.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # StorageType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'ionoscloud-dbaas-postgres'
12
+
13
+ instance = IonoscloudDbaasPostgres::StorageType.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # SynchronizationMode
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'ionoscloud-dbaas-postgres'
12
+
13
+ instance = IonoscloudDbaasPostgres::SynchronizationMode.new()
14
+ ```
15
+
data/docs/summary.md ADDED
@@ -0,0 +1,50 @@
1
+ # Table of contents
2
+
3
+ * [Introduction](README.md)
4
+ * [Changelog](CHANGELOG.md)
5
+
6
+ ## API
7
+
8
+ * [BackupsApi](api/BackupsApi.md)
9
+ * [ClustersApi](api/ClustersApi.md)
10
+ * [LogsApi](api/LogsApi.md)
11
+ * [MetadataApi](api/MetadataApi.md)
12
+ * [RestoresApi](api/RestoresApi.md)
13
+
14
+ ## Models
15
+
16
+ * [APIVersion](models/APIVersion.md)
17
+ * [BackupLocation](models/BackupLocation.md)
18
+ * [BackupMetadata](models/BackupMetadata.md)
19
+ * [BackupResponse](models/BackupResponse.md)
20
+ * [ClusterBackup](models/ClusterBackup.md)
21
+ * [ClusterBackupList](models/ClusterBackupList.md)
22
+ * [ClusterBackupListAllOf](models/ClusterBackupListAllOf.md)
23
+ * [ClusterList](models/ClusterList.md)
24
+ * [ClusterListAllOf](models/ClusterListAllOf.md)
25
+ * [ClusterLogs](models/ClusterLogs.md)
26
+ * [ClusterLogsInstances](models/ClusterLogsInstances.md)
27
+ * [ClusterLogsMessages](models/ClusterLogsMessages.md)
28
+ * [ClusterProperties](models/ClusterProperties.md)
29
+ * [ClusterResponse](models/ClusterResponse.md)
30
+ * [Connection](models/Connection.md)
31
+ * [CreateClusterProperties](models/CreateClusterProperties.md)
32
+ * [CreateClusterRequest](models/CreateClusterRequest.md)
33
+ * [CreateRestoreRequest](models/CreateRestoreRequest.md)
34
+ * [DBUser](models/DBUser.md)
35
+ * [DayOfTheWeek](models/DayOfTheWeek.md)
36
+ * [ErrorMessage](models/ErrorMessage.md)
37
+ * [ErrorResponse](models/ErrorResponse.md)
38
+ * [Location](models/Location.md)
39
+ * [MaintenanceWindow](models/MaintenanceWindow.md)
40
+ * [Metadata](models/Metadata.md)
41
+ * [Pagination](models/Pagination.md)
42
+ * [PaginationLinks](models/PaginationLinks.md)
43
+ * [PatchClusterProperties](models/PatchClusterProperties.md)
44
+ * [PatchClusterRequest](models/PatchClusterRequest.md)
45
+ * [PostgresVersionList](models/PostgresVersionList.md)
46
+ * [PostgresVersionListData](models/PostgresVersionListData.md)
47
+ * [ResourceType](models/ResourceType.md)
48
+ * [State](models/State.md)
49
+ * [StorageType](models/StorageType.md)
50
+ * [SynchronizationMode](models/SynchronizationMode.md)
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="ionos-cloud"
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="sdk-ruby-dbaas-postgres"
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
+
@@ -0,0 +1,38 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #IONOS DBaaS REST API
5
+
6
+ #An enterprise-grade Database is provided as a Service (DBaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to create additional database clusters or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 5.2.1-SNAPSHOT
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "ionoscloud-dbaas-postgres/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "ionoscloud-dbaas-postgres"
20
+ s.version = IonoscloudDbaasPostgres::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["OpenAPI-Generator"]
23
+ s.email = [""]
24
+ s.homepage = "https://openapi-generator.tech"
25
+ s.summary = "IONOS DBaaS REST API Ruby Gem"
26
+ s.description = "An enterprise-grade Database is provided as a Service (DBaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to create additional database clusters or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive. "
27
+ s.license = "Unlicense"
28
+ s.required_ruby_version = ">= 2.4"
29
+
30
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
+
32
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
33
+
34
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
35
+ s.test_files = `find spec/*`.split("\n")
36
+ s.executables = []
37
+ s.require_paths = ["lib"]
38
+ end