autosde_openapi_client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +207 -0
  4. data/Rakefile +10 -0
  5. data/autosde_openapi_client.gemspec +39 -0
  6. data/docs/AbstractCapability.md +19 -0
  7. data/docs/AbstractCapabilityApi.md +204 -0
  8. data/docs/Account.md +21 -0
  9. data/docs/AccountApi.md +256 -0
  10. data/docs/AccountPostRequest.md +19 -0
  11. data/docs/AccountPostResponse.md +23 -0
  12. data/docs/Address.md +31 -0
  13. data/docs/AddressApi.md +204 -0
  14. data/docs/AddressCreate.md +31 -0
  15. data/docs/AuthResponse.md +17 -0
  16. data/docs/Authentication.md +19 -0
  17. data/docs/AuthenticationApi.md +53 -0
  18. data/docs/AutoSDEProject.md +55 -0
  19. data/docs/AutoSDEProjectApi.md +204 -0
  20. data/docs/AutoSDERole.md +19 -0
  21. data/docs/AutoSDERoleApi.md +204 -0
  22. data/docs/CapabilityTranslation.md +35 -0
  23. data/docs/CapabilityTranslationApi.md +204 -0
  24. data/docs/CapabilityTranslationCreate.md +31 -0
  25. data/docs/Host.md +29 -0
  26. data/docs/HostApi.md +204 -0
  27. data/docs/HostCreate.md +39 -0
  28. data/docs/HostVolumeConnection.md +23 -0
  29. data/docs/HostVolumeConnectionApi.md +204 -0
  30. data/docs/HostVolumeConnectionCreate.md +21 -0
  31. data/docs/NativeCapability.md +23 -0
  32. data/docs/NativeCapabilityApi.md +204 -0
  33. data/docs/Profile.md +25 -0
  34. data/docs/ProfileApi.md +204 -0
  35. data/docs/ProvisioningStrategy.md +19 -0
  36. data/docs/ProvisioningStrategyApi.md +204 -0
  37. data/docs/Service.md +35 -0
  38. data/docs/ServiceAbstractCapabilityValue.md +21 -0
  39. data/docs/ServiceApi.md +256 -0
  40. data/docs/ServiceCreate.md +33 -0
  41. data/docs/ServiceResourceAttachment.md +23 -0
  42. data/docs/ServiceResourceAttachmentApi.md +204 -0
  43. data/docs/StorageResource.md +33 -0
  44. data/docs/StorageResourceApi.md +256 -0
  45. data/docs/StorageResourceCreate.md +31 -0
  46. data/docs/StorageResourceResponse.md +33 -0
  47. data/docs/StorageSystem.md +29 -0
  48. data/docs/StorageSystemApi.md +204 -0
  49. data/docs/StorageSystemCreate.md +49 -0
  50. data/docs/SystemType.md +25 -0
  51. data/docs/SystemTypeApi.md +204 -0
  52. data/docs/SystemTypeCreate.md +27 -0
  53. data/docs/Volume.md +31 -0
  54. data/docs/VolumeApi.md +256 -0
  55. data/docs/VolumeCreate.md +27 -0
  56. data/docs/VolumeResponse.md +31 -0
  57. data/docs/VolumeSafeDelete.md +21 -0
  58. data/docs/VolumeSafeDeleteApi.md +204 -0
  59. data/docs/VolumeSafeDeleteCreate.md +17 -0
  60. data/docs/VolumeUpdate.md +17 -0
  61. data/git_push.sh +58 -0
  62. data/lib/autosde_openapi_client.rb +94 -0
  63. data/lib/autosde_openapi_client/api/abstract_capability_api.rb +250 -0
  64. data/lib/autosde_openapi_client/api/account_api.rb +316 -0
  65. data/lib/autosde_openapi_client/api/address_api.rb +250 -0
  66. data/lib/autosde_openapi_client/api/authentication_api.rb +82 -0
  67. data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +250 -0
  68. data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +250 -0
  69. data/lib/autosde_openapi_client/api/capability_translation_api.rb +250 -0
  70. data/lib/autosde_openapi_client/api/host_api.rb +250 -0
  71. data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +250 -0
  72. data/lib/autosde_openapi_client/api/native_capability_api.rb +250 -0
  73. data/lib/autosde_openapi_client/api/profile_api.rb +250 -0
  74. data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +250 -0
  75. data/lib/autosde_openapi_client/api/service_api.rb +316 -0
  76. data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +250 -0
  77. data/lib/autosde_openapi_client/api/storage_resource_api.rb +316 -0
  78. data/lib/autosde_openapi_client/api/storage_system_api.rb +250 -0
  79. data/lib/autosde_openapi_client/api/system_type_api.rb +250 -0
  80. data/lib/autosde_openapi_client/api/volume_api.rb +316 -0
  81. data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +250 -0
  82. data/lib/autosde_openapi_client/api_client.rb +388 -0
  83. data/lib/autosde_openapi_client/api_error.rb +57 -0
  84. data/lib/autosde_openapi_client/configuration.rb +266 -0
  85. data/lib/autosde_openapi_client/models/abstract_capability.rb +218 -0
  86. data/lib/autosde_openapi_client/models/account.rb +228 -0
  87. data/lib/autosde_openapi_client/models/account_post_request.rb +218 -0
  88. data/lib/autosde_openapi_client/models/account_post_response.rb +238 -0
  89. data/lib/autosde_openapi_client/models/address.rb +328 -0
  90. data/lib/autosde_openapi_client/models/address_create.rb +330 -0
  91. data/lib/autosde_openapi_client/models/auth_response.rb +208 -0
  92. data/lib/autosde_openapi_client/models/authentication.rb +218 -0
  93. data/lib/autosde_openapi_client/models/auto_sde_project.rb +398 -0
  94. data/lib/autosde_openapi_client/models/auto_sde_role.rb +218 -0
  95. data/lib/autosde_openapi_client/models/capability_translation.rb +328 -0
  96. data/lib/autosde_openapi_client/models/capability_translation_create.rb +310 -0
  97. data/lib/autosde_openapi_client/models/host.rb +321 -0
  98. data/lib/autosde_openapi_client/models/host_create.rb +382 -0
  99. data/lib/autosde_openapi_client/models/host_volume_connection.rb +275 -0
  100. data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +265 -0
  101. data/lib/autosde_openapi_client/models/native_capability.rb +239 -0
  102. data/lib/autosde_openapi_client/models/profile.rb +283 -0
  103. data/lib/autosde_openapi_client/models/provisioning_strategy.rb +257 -0
  104. data/lib/autosde_openapi_client/models/service.rb +339 -0
  105. data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +227 -0
  106. data/lib/autosde_openapi_client/models/service_create.rb +327 -0
  107. data/lib/autosde_openapi_client/models/service_resource_attachment.rb +238 -0
  108. data/lib/autosde_openapi_client/models/storage_resource.rb +342 -0
  109. data/lib/autosde_openapi_client/models/storage_resource_create.rb +333 -0
  110. data/lib/autosde_openapi_client/models/storage_resource_response.rb +343 -0
  111. data/lib/autosde_openapi_client/models/storage_system.rb +333 -0
  112. data/lib/autosde_openapi_client/models/storage_system_create.rb +448 -0
  113. data/lib/autosde_openapi_client/models/system_type.rb +321 -0
  114. data/lib/autosde_openapi_client/models/system_type_create.rb +333 -0
  115. data/lib/autosde_openapi_client/models/volume.rb +316 -0
  116. data/lib/autosde_openapi_client/models/volume_create.rb +299 -0
  117. data/lib/autosde_openapi_client/models/volume_response.rb +318 -0
  118. data/lib/autosde_openapi_client/models/volume_safe_delete.rb +227 -0
  119. data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +207 -0
  120. data/lib/autosde_openapi_client/models/volume_update.rb +208 -0
  121. data/lib/autosde_openapi_client/version.rb +15 -0
  122. data/site_manager_oas.json +3992 -0
  123. data/spec/api/abstract_capability_api_spec.rb +74 -0
  124. data/spec/api/account_api_spec.rb +85 -0
  125. data/spec/api/address_api_spec.rb +74 -0
  126. data/spec/api/authentication_api_spec.rb +45 -0
  127. data/spec/api/auto_sde_project_api_spec.rb +74 -0
  128. data/spec/api/auto_sde_role_api_spec.rb +74 -0
  129. data/spec/api/capability_translation_api_spec.rb +74 -0
  130. data/spec/api/host_api_spec.rb +74 -0
  131. data/spec/api/host_volume_connection_api_spec.rb +74 -0
  132. data/spec/api/native_capability_api_spec.rb +74 -0
  133. data/spec/api/profile_api_spec.rb +74 -0
  134. data/spec/api/provisioning_strategy_api_spec.rb +74 -0
  135. data/spec/api/service_api_spec.rb +85 -0
  136. data/spec/api/service_resource_attachment_api_spec.rb +74 -0
  137. data/spec/api/storage_resource_api_spec.rb +85 -0
  138. data/spec/api/storage_system_api_spec.rb +74 -0
  139. data/spec/api/system_type_api_spec.rb +74 -0
  140. data/spec/api/volume_api_spec.rb +85 -0
  141. data/spec/api/volume_safe_delete_api_spec.rb +74 -0
  142. data/spec/api_client_spec.rb +226 -0
  143. data/spec/configuration_spec.rb +42 -0
  144. data/spec/models/abstract_capability_spec.rb +47 -0
  145. data/spec/models/account_post_request_spec.rb +47 -0
  146. data/spec/models/account_post_response_spec.rb +59 -0
  147. data/spec/models/account_spec.rb +53 -0
  148. data/spec/models/address_create_spec.rb +91 -0
  149. data/spec/models/address_spec.rb +91 -0
  150. data/spec/models/auth_response_spec.rb +41 -0
  151. data/spec/models/authentication_spec.rb +47 -0
  152. data/spec/models/auto_sde_project_spec.rb +155 -0
  153. data/spec/models/auto_sde_role_spec.rb +47 -0
  154. data/spec/models/capability_translation_create_spec.rb +83 -0
  155. data/spec/models/capability_translation_spec.rb +95 -0
  156. data/spec/models/host_create_spec.rb +119 -0
  157. data/spec/models/host_spec.rb +85 -0
  158. data/spec/models/host_volume_connection_create_spec.rb +57 -0
  159. data/spec/models/host_volume_connection_spec.rb +63 -0
  160. data/spec/models/native_capability_spec.rb +59 -0
  161. data/spec/models/profile_spec.rb +69 -0
  162. data/spec/models/provisioning_strategy_spec.rb +51 -0
  163. data/spec/models/service_abstract_capability_value_spec.rb +53 -0
  164. data/spec/models/service_create_spec.rb +93 -0
  165. data/spec/models/service_resource_attachment_spec.rb +59 -0
  166. data/spec/models/service_spec.rb +99 -0
  167. data/spec/models/storage_resource_create_spec.rb +91 -0
  168. data/spec/models/storage_resource_response_spec.rb +97 -0
  169. data/spec/models/storage_resource_spec.rb +97 -0
  170. data/spec/models/storage_system_create_spec.rb +149 -0
  171. data/spec/models/storage_system_spec.rb +85 -0
  172. data/spec/models/system_type_create_spec.rb +79 -0
  173. data/spec/models/system_type_spec.rb +73 -0
  174. data/spec/models/volume_create_spec.rb +75 -0
  175. data/spec/models/volume_response_spec.rb +87 -0
  176. data/spec/models/volume_safe_delete_create_spec.rb +41 -0
  177. data/spec/models/volume_safe_delete_spec.rb +53 -0
  178. data/spec/models/volume_spec.rb +87 -0
  179. data/spec/models/volume_update_spec.rb +41 -0
  180. data/spec/spec_helper.rb +111 -0
  181. metadata +340 -0
@@ -0,0 +1,27 @@
1
+ # OpenapiClient::VolumeCreate
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **compliant** | **Boolean** | compliant | [optional] [default to false]
8
+ **component_state** | **String** | component_state | [optional]
9
+ **name** | **String** | name | [optional]
10
+ **service** | **String** | !!uuid of service | [optional]
11
+ **size** | **Integer** | size | [optional]
12
+ **uuid** | **String** | uuid | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'OpenapiClient'
18
+
19
+ instance = OpenapiClient::VolumeCreate.new(compliant: null,
20
+ component_state: null,
21
+ name: null,
22
+ service: null,
23
+ size: null,
24
+ uuid: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,31 @@
1
+ # OpenapiClient::VolumeResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **compliant** | **Boolean** | compliant | [optional] [default to false]
8
+ **component_state** | **String** | component_state | [optional]
9
+ **historical_service** | [**Service**](Service.md) | | [optional]
10
+ **name** | **String** | name | [optional]
11
+ **service** | **String** | !!uuid of service | [optional]
12
+ **size** | **Integer** | size | [optional]
13
+ **storage_resource** | **String** | !!uuid of storage_resource | [optional]
14
+ **uuid** | **String** | uuid | [optional]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'OpenapiClient'
20
+
21
+ instance = OpenapiClient::VolumeResponse.new(compliant: null,
22
+ component_state: null,
23
+ historical_service: null,
24
+ name: null,
25
+ service: null,
26
+ size: null,
27
+ storage_resource: null,
28
+ uuid: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,21 @@
1
+ # OpenapiClient::VolumeSafeDelete
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **task_id** | **String** | task_id | [optional]
8
+ **uuid** | **String** | uuid | [optional]
9
+ **volume** | [**Volume**](Volume.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'OpenapiClient'
15
+
16
+ instance = OpenapiClient::VolumeSafeDelete.new(task_id: null,
17
+ uuid: null,
18
+ volume: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,204 @@
1
+ # OpenapiClient::VolumeSafeDeleteApi
2
+
3
+ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**safe_deletes_get**](VolumeSafeDeleteApi.md#safe_deletes_get) | **GET** /safe-deletes/ |
8
+ [**safe_deletes_pk_delete**](VolumeSafeDeleteApi.md#safe_deletes_pk_delete) | **DELETE** /safe-deletes/{pk} |
9
+ [**safe_deletes_pk_get**](VolumeSafeDeleteApi.md#safe_deletes_pk_get) | **GET** /safe-deletes/{pk} |
10
+ [**safe_deletes_post**](VolumeSafeDeleteApi.md#safe_deletes_post) | **POST** /safe-deletes/ |
11
+
12
+
13
+
14
+ ## safe_deletes_get
15
+
16
+ > Array<VolumeSafeDelete> safe_deletes_get
17
+
18
+
19
+
20
+ ### Example
21
+
22
+ ```ruby
23
+ # load the gem
24
+ require 'autosde_openapi_client'
25
+ # setup authorization
26
+ OpenapiClient.configure do |config|
27
+ # Configure Bearer authorization: bearerAuth
28
+ config.access_token = 'YOUR_BEARER_TOKEN'
29
+ end
30
+
31
+ api_instance = OpenapiClient::VolumeSafeDeleteApi.new
32
+
33
+ begin
34
+ result = api_instance.safe_deletes_get
35
+ p result
36
+ rescue OpenapiClient::ApiError => e
37
+ puts "Exception when calling VolumeSafeDeleteApi->safe_deletes_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ This endpoint does not need any parameter.
44
+
45
+ ### Return type
46
+
47
+ [**Array<VolumeSafeDelete>**](VolumeSafeDelete.md)
48
+
49
+ ### Authorization
50
+
51
+ [bearerAuth](../README.md#bearerAuth)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: Not defined
56
+ - **Accept**: */*
57
+
58
+
59
+ ## safe_deletes_pk_delete
60
+
61
+ > Array<VolumeSafeDelete> safe_deletes_pk_delete(pk)
62
+
63
+
64
+
65
+ ### Example
66
+
67
+ ```ruby
68
+ # load the gem
69
+ require 'autosde_openapi_client'
70
+ # setup authorization
71
+ OpenapiClient.configure do |config|
72
+ # Configure Bearer authorization: bearerAuth
73
+ config.access_token = 'YOUR_BEARER_TOKEN'
74
+ end
75
+
76
+ api_instance = OpenapiClient::VolumeSafeDeleteApi.new
77
+ pk = 56 # Integer |
78
+
79
+ begin
80
+ result = api_instance.safe_deletes_pk_delete(pk)
81
+ p result
82
+ rescue OpenapiClient::ApiError => e
83
+ puts "Exception when calling VolumeSafeDeleteApi->safe_deletes_pk_delete: #{e}"
84
+ end
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+
90
+ Name | Type | Description | Notes
91
+ ------------- | ------------- | ------------- | -------------
92
+ **pk** | **Integer**| |
93
+
94
+ ### Return type
95
+
96
+ [**Array<VolumeSafeDelete>**](VolumeSafeDelete.md)
97
+
98
+ ### Authorization
99
+
100
+ [bearerAuth](../README.md#bearerAuth)
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: Not defined
105
+ - **Accept**: */*
106
+
107
+
108
+ ## safe_deletes_pk_get
109
+
110
+ > Array<VolumeSafeDelete> safe_deletes_pk_get(pk)
111
+
112
+
113
+
114
+ ### Example
115
+
116
+ ```ruby
117
+ # load the gem
118
+ require 'autosde_openapi_client'
119
+ # setup authorization
120
+ OpenapiClient.configure do |config|
121
+ # Configure Bearer authorization: bearerAuth
122
+ config.access_token = 'YOUR_BEARER_TOKEN'
123
+ end
124
+
125
+ api_instance = OpenapiClient::VolumeSafeDeleteApi.new
126
+ pk = 56 # Integer |
127
+
128
+ begin
129
+ result = api_instance.safe_deletes_pk_get(pk)
130
+ p result
131
+ rescue OpenapiClient::ApiError => e
132
+ puts "Exception when calling VolumeSafeDeleteApi->safe_deletes_pk_get: #{e}"
133
+ end
134
+ ```
135
+
136
+ ### Parameters
137
+
138
+
139
+ Name | Type | Description | Notes
140
+ ------------- | ------------- | ------------- | -------------
141
+ **pk** | **Integer**| |
142
+
143
+ ### Return type
144
+
145
+ [**Array<VolumeSafeDelete>**](VolumeSafeDelete.md)
146
+
147
+ ### Authorization
148
+
149
+ [bearerAuth](../README.md#bearerAuth)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: */*
155
+
156
+
157
+ ## safe_deletes_post
158
+
159
+ > Array<VolumeSafeDelete> safe_deletes_post(volume_safe_delete_create)
160
+
161
+
162
+
163
+ ### Example
164
+
165
+ ```ruby
166
+ # load the gem
167
+ require 'autosde_openapi_client'
168
+ # setup authorization
169
+ OpenapiClient.configure do |config|
170
+ # Configure Bearer authorization: bearerAuth
171
+ config.access_token = 'YOUR_BEARER_TOKEN'
172
+ end
173
+
174
+ api_instance = OpenapiClient::VolumeSafeDeleteApi.new
175
+ volume_safe_delete_create = OpenapiClient::VolumeSafeDeleteCreate.new # VolumeSafeDeleteCreate |
176
+
177
+ begin
178
+ result = api_instance.safe_deletes_post(volume_safe_delete_create)
179
+ p result
180
+ rescue OpenapiClient::ApiError => e
181
+ puts "Exception when calling VolumeSafeDeleteApi->safe_deletes_post: #{e}"
182
+ end
183
+ ```
184
+
185
+ ### Parameters
186
+
187
+
188
+ Name | Type | Description | Notes
189
+ ------------- | ------------- | ------------- | -------------
190
+ **volume_safe_delete_create** | [**VolumeSafeDeleteCreate**](VolumeSafeDeleteCreate.md)| |
191
+
192
+ ### Return type
193
+
194
+ [**Array<VolumeSafeDelete>**](VolumeSafeDelete.md)
195
+
196
+ ### Authorization
197
+
198
+ [bearerAuth](../README.md#bearerAuth)
199
+
200
+ ### HTTP request headers
201
+
202
+ - **Content-Type**: application/json
203
+ - **Accept**: */*
204
+
@@ -0,0 +1,17 @@
1
+ # OpenapiClient::VolumeSafeDeleteCreate
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **volume** | [**Volume**](Volume.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'OpenapiClient'
13
+
14
+ instance = OpenapiClient::VolumeSafeDeleteCreate.new(volume: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,17 @@
1
+ # OpenapiClient::VolumeUpdate
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **size** | **Integer** | size | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'OpenapiClient'
13
+
14
+ instance = OpenapiClient::VolumeUpdate.new(size: null)
15
+ ```
16
+
17
+
@@ -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
+
@@ -0,0 +1,94 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ # Common files
14
+ require 'autosde_openapi_client/api_client'
15
+ require 'autosde_openapi_client/api_error'
16
+ require 'autosde_openapi_client/version'
17
+ require 'autosde_openapi_client/configuration'
18
+
19
+ # Models
20
+ require 'autosde_openapi_client/models/abstract_capability'
21
+ require 'autosde_openapi_client/models/account'
22
+ require 'autosde_openapi_client/models/account_post_request'
23
+ require 'autosde_openapi_client/models/account_post_response'
24
+ require 'autosde_openapi_client/models/address'
25
+ require 'autosde_openapi_client/models/address_create'
26
+ require 'autosde_openapi_client/models/auth_response'
27
+ require 'autosde_openapi_client/models/authentication'
28
+ require 'autosde_openapi_client/models/auto_sde_project'
29
+ require 'autosde_openapi_client/models/auto_sde_role'
30
+ require 'autosde_openapi_client/models/capability_translation'
31
+ require 'autosde_openapi_client/models/capability_translation_create'
32
+ require 'autosde_openapi_client/models/host'
33
+ require 'autosde_openapi_client/models/host_create'
34
+ require 'autosde_openapi_client/models/host_volume_connection'
35
+ require 'autosde_openapi_client/models/host_volume_connection_create'
36
+ require 'autosde_openapi_client/models/native_capability'
37
+ require 'autosde_openapi_client/models/profile'
38
+ require 'autosde_openapi_client/models/provisioning_strategy'
39
+ require 'autosde_openapi_client/models/service'
40
+ require 'autosde_openapi_client/models/service_abstract_capability_value'
41
+ require 'autosde_openapi_client/models/service_create'
42
+ require 'autosde_openapi_client/models/service_resource_attachment'
43
+ require 'autosde_openapi_client/models/storage_resource'
44
+ require 'autosde_openapi_client/models/storage_resource_create'
45
+ require 'autosde_openapi_client/models/storage_resource_response'
46
+ require 'autosde_openapi_client/models/storage_system'
47
+ require 'autosde_openapi_client/models/storage_system_create'
48
+ require 'autosde_openapi_client/models/system_type'
49
+ require 'autosde_openapi_client/models/system_type_create'
50
+ require 'autosde_openapi_client/models/volume'
51
+ require 'autosde_openapi_client/models/volume_create'
52
+ require 'autosde_openapi_client/models/volume_response'
53
+ require 'autosde_openapi_client/models/volume_safe_delete'
54
+ require 'autosde_openapi_client/models/volume_safe_delete_create'
55
+ require 'autosde_openapi_client/models/volume_update'
56
+
57
+ # APIs
58
+ require 'autosde_openapi_client/api/abstract_capability_api'
59
+ require 'autosde_openapi_client/api/account_api'
60
+ require 'autosde_openapi_client/api/address_api'
61
+ require 'autosde_openapi_client/api/authentication_api'
62
+ require 'autosde_openapi_client/api/auto_sde_project_api'
63
+ require 'autosde_openapi_client/api/auto_sde_role_api'
64
+ require 'autosde_openapi_client/api/capability_translation_api'
65
+ require 'autosde_openapi_client/api/host_api'
66
+ require 'autosde_openapi_client/api/host_volume_connection_api'
67
+ require 'autosde_openapi_client/api/native_capability_api'
68
+ require 'autosde_openapi_client/api/profile_api'
69
+ require 'autosde_openapi_client/api/provisioning_strategy_api'
70
+ require 'autosde_openapi_client/api/service_api'
71
+ require 'autosde_openapi_client/api/service_resource_attachment_api'
72
+ require 'autosde_openapi_client/api/storage_resource_api'
73
+ require 'autosde_openapi_client/api/storage_system_api'
74
+ require 'autosde_openapi_client/api/system_type_api'
75
+ require 'autosde_openapi_client/api/volume_api'
76
+ require 'autosde_openapi_client/api/volume_safe_delete_api'
77
+
78
+ module OpenapiClient
79
+ class << self
80
+ # Customize default settings for the SDK using block.
81
+ # OpenapiClient.configure do |config|
82
+ # config.username = "xxx"
83
+ # config.password = "xxx"
84
+ # end
85
+ # If no block given, return the default Configuration object.
86
+ def configure
87
+ if block_given?
88
+ yield(Configuration.default)
89
+ else
90
+ Configuration.default
91
+ end
92
+ end
93
+ end
94
+ end