eilam_test 10 → 11.1
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.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/docs/CeleryConfig.md +20 -0
- data/docs/CeleryConfigApi.md +140 -0
- data/docs/Event.md +4 -0
- data/docs/EventApi.md +16 -16
- data/docs/EventResponse.md +36 -0
- data/docs/Job.md +2 -0
- data/docs/JobApi.md +136 -0
- data/docs/JobCreate.md +2 -2
- data/docs/RefreshSystem.md +18 -0
- data/docs/RefreshSystemApi.md +75 -0
- data/docs/StorageSystemCreate.md +2 -0
- data/lib/eilam_test/api/celery_config_api.rb +136 -0
- data/lib/eilam_test/api/event_api.rb +12 -12
- data/lib/eilam_test/api/job_api.rb +118 -0
- data/lib/eilam_test/api/refresh_system_api.rb +83 -0
- data/lib/eilam_test/models/celery_config.rb +230 -0
- data/lib/eilam_test/models/event.rb +22 -2
- data/lib/eilam_test/models/event_response.rb +310 -0
- data/lib/eilam_test/models/job.rb +11 -1
- data/lib/eilam_test/models/job_create.rb +8 -8
- data/lib/eilam_test/models/refresh_system.rb +220 -0
- data/lib/eilam_test/models/storage_system_create.rb +13 -1
- data/lib/eilam_test/version.rb +2 -2
- data/lib/eilam_test.rb +5 -0
- data/spec/api/celery_config_api_spec.rb +54 -0
- data/spec/api/event_api_spec.rb +4 -4
- data/spec/api/job_api_spec.rb +20 -0
- data/spec/api/refresh_system_api_spec.rb +45 -0
- data/spec/models/celery_config_spec.rb +40 -0
- data/spec/models/event_response_spec.rb +88 -0
- data/spec/models/event_spec.rb +12 -0
- data/spec/models/job_create_spec.rb +1 -1
- data/spec/models/job_spec.rb +6 -0
- data/spec/models/refresh_system_spec.rb +34 -0
- data/spec/models/storage_system_create_spec.rb +6 -0
- metadata +94 -74
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0820582ce837c9ac944f4d9264e9c622002013ed32b98a161e981ca660d16656'
|
4
|
+
data.tar.gz: 2c855bea59e1a7848efdf9e69137af6e34d7f893f8100bae2d1675c0c8d9f8d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fd2cdda4a6031a1330e65e22baf2874ee398d2898ff9beb8e28e8506ad957a163e921dacab4a186ff84e5e8417c091aabfd36eaf26501b897f55fbc09af04be
|
7
|
+
data.tar.gz: 515da41747856676103f24f912828d164e8fe40769e1941ee2e59efab9d1933e140453f9f7575c5101d75c2c3154d0abb9f1c53294a75b6e0e1cfe183ee85dcf
|
data/README.md
CHANGED
@@ -105,6 +105,8 @@ Class | Method | HTTP request | Description
|
|
105
105
|
*EilamTest::CapabilityTranslationApi* | [**capability_translations_pk_delete**](docs/CapabilityTranslationApi.md#capability_translations_pk_delete) | **DELETE** /capability-translations/{pk} |
|
106
106
|
*EilamTest::CapabilityTranslationApi* | [**capability_translations_pk_get**](docs/CapabilityTranslationApi.md#capability_translations_pk_get) | **GET** /capability-translations/{pk} |
|
107
107
|
*EilamTest::CapabilityTranslationApi* | [**capability_translations_post**](docs/CapabilityTranslationApi.md#capability_translations_post) | **POST** /capability-translations |
|
108
|
+
*EilamTest::CeleryConfigApi* | [**celery_config_get**](docs/CeleryConfigApi.md#celery_config_get) | **GET** /celery-config |
|
109
|
+
*EilamTest::CeleryConfigApi* | [**celery_config_post**](docs/CeleryConfigApi.md#celery_config_post) | **POST** /celery-config |
|
108
110
|
*EilamTest::EventApi* | [**events_get**](docs/EventApi.md#events_get) | **GET** /events |
|
109
111
|
*EilamTest::EventApi* | [**events_pk_delete**](docs/EventApi.md#events_pk_delete) | **DELETE** /events/{pk} |
|
110
112
|
*EilamTest::EventApi* | [**events_pk_get**](docs/EventApi.md#events_pk_get) | **GET** /events/{pk} |
|
@@ -130,6 +132,8 @@ Class | Method | HTTP request | Description
|
|
130
132
|
*EilamTest::HostVolumeConnectionApi* | [**host_volume_connection_pk_get**](docs/HostVolumeConnectionApi.md#host_volume_connection_pk_get) | **GET** /host-volume-connection/{pk} |
|
131
133
|
*EilamTest::HostVolumeConnectionApi* | [**host_volume_connection_post**](docs/HostVolumeConnectionApi.md#host_volume_connection_post) | **POST** /host-volume-connection |
|
132
134
|
*EilamTest::JobApi* | [**jobs_get**](docs/JobApi.md#jobs_get) | **GET** /jobs |
|
135
|
+
*EilamTest::JobApi* | [**jobs_pk_delete**](docs/JobApi.md#jobs_pk_delete) | **DELETE** /jobs/{pk} |
|
136
|
+
*EilamTest::JobApi* | [**jobs_pk_get**](docs/JobApi.md#jobs_pk_get) | **GET** /jobs/{pk} |
|
133
137
|
*EilamTest::JobApi* | [**jobs_post**](docs/JobApi.md#jobs_post) | **POST** /jobs |
|
134
138
|
*EilamTest::NativeCapabilityApi* | [**native_capabilities_get**](docs/NativeCapabilityApi.md#native_capabilities_get) | **GET** /native-capabilities |
|
135
139
|
*EilamTest::NativeCapabilityApi* | [**native_capabilities_pk_delete**](docs/NativeCapabilityApi.md#native_capabilities_pk_delete) | **DELETE** /native-capabilities/{pk} |
|
@@ -143,6 +147,7 @@ Class | Method | HTTP request | Description
|
|
143
147
|
*EilamTest::ProvisioningStrategyApi* | [**provisioning_strategy_pk_delete**](docs/ProvisioningStrategyApi.md#provisioning_strategy_pk_delete) | **DELETE** /provisioning-strategy/{pk} |
|
144
148
|
*EilamTest::ProvisioningStrategyApi* | [**provisioning_strategy_pk_get**](docs/ProvisioningStrategyApi.md#provisioning_strategy_pk_get) | **GET** /provisioning-strategy/{pk} |
|
145
149
|
*EilamTest::ProvisioningStrategyApi* | [**provisioning_strategy_post**](docs/ProvisioningStrategyApi.md#provisioning_strategy_post) | **POST** /provisioning-strategy |
|
150
|
+
*EilamTest::RefreshSystemApi* | [**refresh_system_post**](docs/RefreshSystemApi.md#refresh_system_post) | **POST** /refresh-system |
|
146
151
|
*EilamTest::ServiceApi* | [**services_get**](docs/ServiceApi.md#services_get) | **GET** /services |
|
147
152
|
*EilamTest::ServiceApi* | [**services_pk_delete**](docs/ServiceApi.md#services_pk_delete) | **DELETE** /services/{pk} |
|
148
153
|
*EilamTest::ServiceApi* | [**services_pk_get**](docs/ServiceApi.md#services_pk_get) | **GET** /services/{pk} |
|
@@ -211,7 +216,9 @@ Class | Method | HTTP request | Description
|
|
211
216
|
- [EilamTest::AutoSDERole](docs/AutoSDERole.md)
|
212
217
|
- [EilamTest::CapabilityTranslation](docs/CapabilityTranslation.md)
|
213
218
|
- [EilamTest::CapabilityTranslationCreate](docs/CapabilityTranslationCreate.md)
|
219
|
+
- [EilamTest::CeleryConfig](docs/CeleryConfig.md)
|
214
220
|
- [EilamTest::Event](docs/Event.md)
|
221
|
+
- [EilamTest::EventResponse](docs/EventResponse.md)
|
215
222
|
- [EilamTest::Host](docs/Host.md)
|
216
223
|
- [EilamTest::HostCluster](docs/HostCluster.md)
|
217
224
|
- [EilamTest::HostClusterCreate](docs/HostClusterCreate.md)
|
@@ -228,6 +235,7 @@ Class | Method | HTTP request | Description
|
|
228
235
|
- [EilamTest::NativeCapability](docs/NativeCapability.md)
|
229
236
|
- [EilamTest::Profile](docs/Profile.md)
|
230
237
|
- [EilamTest::ProvisioningStrategy](docs/ProvisioningStrategy.md)
|
238
|
+
- [EilamTest::RefreshSystem](docs/RefreshSystem.md)
|
231
239
|
- [EilamTest::Service](docs/Service.md)
|
232
240
|
- [EilamTest::ServiceAbstractCapabilityValue](docs/ServiceAbstractCapabilityValue.md)
|
233
241
|
- [EilamTest::ServiceCreate](docs/ServiceCreate.md)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# EilamTest::CeleryConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **celery_beat_enabled** | **Boolean** | celery_beat_enabled | [optional] |
|
8
|
+
| **interval_sec** | **Integer** | interval_sec | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'eilam_test'
|
14
|
+
|
15
|
+
instance = EilamTest::CeleryConfig.new(
|
16
|
+
celery_beat_enabled: null,
|
17
|
+
interval_sec: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,140 @@
|
|
1
|
+
# EilamTest::CeleryConfigApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**celery_config_get**](CeleryConfigApi.md#celery_config_get) | **GET** /celery-config | |
|
8
|
+
| [**celery_config_post**](CeleryConfigApi.md#celery_config_post) | **POST** /celery-config | |
|
9
|
+
|
10
|
+
|
11
|
+
## celery_config_get
|
12
|
+
|
13
|
+
> <Array<CeleryConfig>> celery_config_get
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
### Examples
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'time'
|
21
|
+
require 'eilam_test'
|
22
|
+
# setup authorization
|
23
|
+
EilamTest.configure do |config|
|
24
|
+
# Configure Bearer authorization: bearerAuth
|
25
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
26
|
+
end
|
27
|
+
|
28
|
+
api_instance = EilamTest::CeleryConfigApi.new
|
29
|
+
|
30
|
+
begin
|
31
|
+
|
32
|
+
result = api_instance.celery_config_get
|
33
|
+
p result
|
34
|
+
rescue EilamTest::ApiError => e
|
35
|
+
puts "Error when calling CeleryConfigApi->celery_config_get: #{e}"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
#### Using the celery_config_get_with_http_info variant
|
40
|
+
|
41
|
+
This returns an Array which contains the response data, status code and headers.
|
42
|
+
|
43
|
+
> <Array(<Array<CeleryConfig>>, Integer, Hash)> celery_config_get_with_http_info
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
begin
|
47
|
+
|
48
|
+
data, status_code, headers = api_instance.celery_config_get_with_http_info
|
49
|
+
p status_code # => 2xx
|
50
|
+
p headers # => { ... }
|
51
|
+
p data # => <Array<CeleryConfig>>
|
52
|
+
rescue EilamTest::ApiError => e
|
53
|
+
puts "Error when calling CeleryConfigApi->celery_config_get_with_http_info: #{e}"
|
54
|
+
end
|
55
|
+
```
|
56
|
+
|
57
|
+
### Parameters
|
58
|
+
|
59
|
+
This endpoint does not need any parameter.
|
60
|
+
|
61
|
+
### Return type
|
62
|
+
|
63
|
+
[**Array<CeleryConfig>**](CeleryConfig.md)
|
64
|
+
|
65
|
+
### Authorization
|
66
|
+
|
67
|
+
[bearerAuth](../README.md#bearerAuth)
|
68
|
+
|
69
|
+
### HTTP request headers
|
70
|
+
|
71
|
+
- **Content-Type**: Not defined
|
72
|
+
- **Accept**: */*
|
73
|
+
|
74
|
+
|
75
|
+
## celery_config_post
|
76
|
+
|
77
|
+
> <CeleryConfig> celery_config_post(celery_config)
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
### Examples
|
82
|
+
|
83
|
+
```ruby
|
84
|
+
require 'time'
|
85
|
+
require 'eilam_test'
|
86
|
+
# setup authorization
|
87
|
+
EilamTest.configure do |config|
|
88
|
+
# Configure Bearer authorization: bearerAuth
|
89
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
90
|
+
end
|
91
|
+
|
92
|
+
api_instance = EilamTest::CeleryConfigApi.new
|
93
|
+
celery_config = EilamTest::CeleryConfig.new # CeleryConfig |
|
94
|
+
|
95
|
+
begin
|
96
|
+
|
97
|
+
result = api_instance.celery_config_post(celery_config)
|
98
|
+
p result
|
99
|
+
rescue EilamTest::ApiError => e
|
100
|
+
puts "Error when calling CeleryConfigApi->celery_config_post: #{e}"
|
101
|
+
end
|
102
|
+
```
|
103
|
+
|
104
|
+
#### Using the celery_config_post_with_http_info variant
|
105
|
+
|
106
|
+
This returns an Array which contains the response data, status code and headers.
|
107
|
+
|
108
|
+
> <Array(<CeleryConfig>, Integer, Hash)> celery_config_post_with_http_info(celery_config)
|
109
|
+
|
110
|
+
```ruby
|
111
|
+
begin
|
112
|
+
|
113
|
+
data, status_code, headers = api_instance.celery_config_post_with_http_info(celery_config)
|
114
|
+
p status_code # => 2xx
|
115
|
+
p headers # => { ... }
|
116
|
+
p data # => <CeleryConfig>
|
117
|
+
rescue EilamTest::ApiError => e
|
118
|
+
puts "Error when calling CeleryConfigApi->celery_config_post_with_http_info: #{e}"
|
119
|
+
end
|
120
|
+
```
|
121
|
+
|
122
|
+
### Parameters
|
123
|
+
|
124
|
+
| Name | Type | Description | Notes |
|
125
|
+
| ---- | ---- | ----------- | ----- |
|
126
|
+
| **celery_config** | [**CeleryConfig**](CeleryConfig.md) | | |
|
127
|
+
|
128
|
+
### Return type
|
129
|
+
|
130
|
+
[**CeleryConfig**](CeleryConfig.md)
|
131
|
+
|
132
|
+
### Authorization
|
133
|
+
|
134
|
+
[bearerAuth](../README.md#bearerAuth)
|
135
|
+
|
136
|
+
### HTTP request headers
|
137
|
+
|
138
|
+
- **Content-Type**: application/json
|
139
|
+
- **Accept**: */*
|
140
|
+
|
data/docs/Event.md
CHANGED
@@ -4,12 +4,14 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **created_at** | **Time** | created_at | [optional] |
|
7
8
|
| **description** | **String** | description | [optional] |
|
8
9
|
| **error_code** | **String** | error_code | [optional] |
|
9
10
|
| **event_id** | **Integer** | event_id | [optional] |
|
10
11
|
| **event_type** | **String** | event_type | [optional] |
|
11
12
|
| **fixed** | **String** | fixed | [optional] |
|
12
13
|
| **last_timestamp** | **Time** | last_timestamp | [optional] |
|
14
|
+
| **refresh_interval** | **Integer** | refresh_interval | [optional] |
|
13
15
|
| **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
|
14
16
|
| **uuid** | **String** | uuid | [optional] |
|
15
17
|
|
@@ -19,12 +21,14 @@
|
|
19
21
|
require 'eilam_test'
|
20
22
|
|
21
23
|
instance = EilamTest::Event.new(
|
24
|
+
created_at: null,
|
22
25
|
description: null,
|
23
26
|
error_code: null,
|
24
27
|
event_id: null,
|
25
28
|
event_type: null,
|
26
29
|
fixed: null,
|
27
30
|
last_timestamp: null,
|
31
|
+
refresh_interval: null,
|
28
32
|
storage_system: null,
|
29
33
|
uuid: null
|
30
34
|
)
|
data/docs/EventApi.md
CHANGED
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
12
12
|
|
13
13
|
## events_get
|
14
14
|
|
15
|
-
> <Array<
|
15
|
+
> <Array<EventResponse>> events_get
|
16
16
|
|
17
17
|
|
18
18
|
|
@@ -42,7 +42,7 @@ end
|
|
42
42
|
|
43
43
|
This returns an Array which contains the response data, status code and headers.
|
44
44
|
|
45
|
-
> <Array(<Array<
|
45
|
+
> <Array(<Array<EventResponse>>, Integer, Hash)> events_get_with_http_info
|
46
46
|
|
47
47
|
```ruby
|
48
48
|
begin
|
@@ -50,7 +50,7 @@ begin
|
|
50
50
|
data, status_code, headers = api_instance.events_get_with_http_info
|
51
51
|
p status_code # => 2xx
|
52
52
|
p headers # => { ... }
|
53
|
-
p data # => <Array<
|
53
|
+
p data # => <Array<EventResponse>>
|
54
54
|
rescue EilamTest::ApiError => e
|
55
55
|
puts "Error when calling EventApi->events_get_with_http_info: #{e}"
|
56
56
|
end
|
@@ -62,7 +62,7 @@ This endpoint does not need any parameter.
|
|
62
62
|
|
63
63
|
### Return type
|
64
64
|
|
65
|
-
[**Array<
|
65
|
+
[**Array<EventResponse>**](EventResponse.md)
|
66
66
|
|
67
67
|
### Authorization
|
68
68
|
|
@@ -76,7 +76,7 @@ This endpoint does not need any parameter.
|
|
76
76
|
|
77
77
|
## events_pk_delete
|
78
78
|
|
79
|
-
> <Array<
|
79
|
+
> <Array<EventResponse>> events_pk_delete(pk)
|
80
80
|
|
81
81
|
|
82
82
|
|
@@ -107,7 +107,7 @@ end
|
|
107
107
|
|
108
108
|
This returns an Array which contains the response data, status code and headers.
|
109
109
|
|
110
|
-
> <Array(<Array<
|
110
|
+
> <Array(<Array<EventResponse>>, Integer, Hash)> events_pk_delete_with_http_info(pk)
|
111
111
|
|
112
112
|
```ruby
|
113
113
|
begin
|
@@ -115,7 +115,7 @@ begin
|
|
115
115
|
data, status_code, headers = api_instance.events_pk_delete_with_http_info(pk)
|
116
116
|
p status_code # => 2xx
|
117
117
|
p headers # => { ... }
|
118
|
-
p data # => <Array<
|
118
|
+
p data # => <Array<EventResponse>>
|
119
119
|
rescue EilamTest::ApiError => e
|
120
120
|
puts "Error when calling EventApi->events_pk_delete_with_http_info: #{e}"
|
121
121
|
end
|
@@ -129,7 +129,7 @@ end
|
|
129
129
|
|
130
130
|
### Return type
|
131
131
|
|
132
|
-
[**Array<
|
132
|
+
[**Array<EventResponse>**](EventResponse.md)
|
133
133
|
|
134
134
|
### Authorization
|
135
135
|
|
@@ -143,7 +143,7 @@ end
|
|
143
143
|
|
144
144
|
## events_pk_get
|
145
145
|
|
146
|
-
> <Array<
|
146
|
+
> <Array<EventResponse>> events_pk_get(pk)
|
147
147
|
|
148
148
|
|
149
149
|
|
@@ -174,7 +174,7 @@ end
|
|
174
174
|
|
175
175
|
This returns an Array which contains the response data, status code and headers.
|
176
176
|
|
177
|
-
> <Array(<Array<
|
177
|
+
> <Array(<Array<EventResponse>>, Integer, Hash)> events_pk_get_with_http_info(pk)
|
178
178
|
|
179
179
|
```ruby
|
180
180
|
begin
|
@@ -182,7 +182,7 @@ begin
|
|
182
182
|
data, status_code, headers = api_instance.events_pk_get_with_http_info(pk)
|
183
183
|
p status_code # => 2xx
|
184
184
|
p headers # => { ... }
|
185
|
-
p data # => <Array<
|
185
|
+
p data # => <Array<EventResponse>>
|
186
186
|
rescue EilamTest::ApiError => e
|
187
187
|
puts "Error when calling EventApi->events_pk_get_with_http_info: #{e}"
|
188
188
|
end
|
@@ -196,7 +196,7 @@ end
|
|
196
196
|
|
197
197
|
### Return type
|
198
198
|
|
199
|
-
[**Array<
|
199
|
+
[**Array<EventResponse>**](EventResponse.md)
|
200
200
|
|
201
201
|
### Authorization
|
202
202
|
|
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## events_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <EventResponse> events_post(event)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<EventResponse>, Integer, Hash)> events_post_with_http_info(event)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.events_post_with_http_info(event)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <EventResponse>
|
253
253
|
rescue EilamTest::ApiError => e
|
254
254
|
puts "Error when calling EventApi->events_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**EventResponse**](EventResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# EilamTest::EventResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **created_at** | **Time** | created_at | [optional] |
|
8
|
+
| **description** | **String** | description | [optional] |
|
9
|
+
| **error_code** | **String** | error_code | [optional] |
|
10
|
+
| **event_id** | **Integer** | event_id | [optional] |
|
11
|
+
| **event_type** | **String** | event_type | [optional] |
|
12
|
+
| **fixed** | **String** | fixed | [optional] |
|
13
|
+
| **last_timestamp** | **Time** | last_timestamp | [optional] |
|
14
|
+
| **refresh_interval** | **Integer** | refresh_interval | [optional] |
|
15
|
+
| **storage_system** | **String** | !!uuid of storage_system | [optional] |
|
16
|
+
| **uuid** | **String** | uuid | [optional] |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'eilam_test'
|
22
|
+
|
23
|
+
instance = EilamTest::EventResponse.new(
|
24
|
+
created_at: null,
|
25
|
+
description: null,
|
26
|
+
error_code: null,
|
27
|
+
event_id: null,
|
28
|
+
event_type: null,
|
29
|
+
fixed: null,
|
30
|
+
last_timestamp: null,
|
31
|
+
refresh_interval: null,
|
32
|
+
storage_system: null,
|
33
|
+
uuid: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
data/docs/Job.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **date_finished** | **Time** | date_finished | [optional] |
|
8
8
|
| **date_started** | **Time** | date_started | [optional] |
|
9
|
+
| **extra** | **String** | extra | [optional] |
|
9
10
|
| **status** | **String** | status | [optional] |
|
10
11
|
| **task_args** | **String** | task_args | [optional] |
|
11
12
|
| **task_id** | **String** | task_id | [optional] |
|
@@ -20,6 +21,7 @@ require 'eilam_test'
|
|
20
21
|
instance = EilamTest::Job.new(
|
21
22
|
date_finished: null,
|
22
23
|
date_started: null,
|
24
|
+
extra: null,
|
23
25
|
status: null,
|
24
26
|
task_args: null,
|
25
27
|
task_id: null,
|
data/docs/JobApi.md
CHANGED
@@ -5,6 +5,8 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**jobs_get**](JobApi.md#jobs_get) | **GET** /jobs | |
|
8
|
+
| [**jobs_pk_delete**](JobApi.md#jobs_pk_delete) | **DELETE** /jobs/{pk} | |
|
9
|
+
| [**jobs_pk_get**](JobApi.md#jobs_pk_get) | **GET** /jobs/{pk} | |
|
8
10
|
| [**jobs_post**](JobApi.md#jobs_post) | **POST** /jobs | |
|
9
11
|
|
10
12
|
|
@@ -72,6 +74,140 @@ This endpoint does not need any parameter.
|
|
72
74
|
- **Accept**: */*
|
73
75
|
|
74
76
|
|
77
|
+
## jobs_pk_delete
|
78
|
+
|
79
|
+
> <Array<Job>> jobs_pk_delete(pk)
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
### Examples
|
84
|
+
|
85
|
+
```ruby
|
86
|
+
require 'time'
|
87
|
+
require 'eilam_test'
|
88
|
+
# setup authorization
|
89
|
+
EilamTest.configure do |config|
|
90
|
+
# Configure Bearer authorization: bearerAuth
|
91
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
92
|
+
end
|
93
|
+
|
94
|
+
api_instance = EilamTest::JobApi.new
|
95
|
+
pk = 56 # Integer |
|
96
|
+
|
97
|
+
begin
|
98
|
+
|
99
|
+
result = api_instance.jobs_pk_delete(pk)
|
100
|
+
p result
|
101
|
+
rescue EilamTest::ApiError => e
|
102
|
+
puts "Error when calling JobApi->jobs_pk_delete: #{e}"
|
103
|
+
end
|
104
|
+
```
|
105
|
+
|
106
|
+
#### Using the jobs_pk_delete_with_http_info variant
|
107
|
+
|
108
|
+
This returns an Array which contains the response data, status code and headers.
|
109
|
+
|
110
|
+
> <Array(<Array<Job>>, Integer, Hash)> jobs_pk_delete_with_http_info(pk)
|
111
|
+
|
112
|
+
```ruby
|
113
|
+
begin
|
114
|
+
|
115
|
+
data, status_code, headers = api_instance.jobs_pk_delete_with_http_info(pk)
|
116
|
+
p status_code # => 2xx
|
117
|
+
p headers # => { ... }
|
118
|
+
p data # => <Array<Job>>
|
119
|
+
rescue EilamTest::ApiError => e
|
120
|
+
puts "Error when calling JobApi->jobs_pk_delete_with_http_info: #{e}"
|
121
|
+
end
|
122
|
+
```
|
123
|
+
|
124
|
+
### Parameters
|
125
|
+
|
126
|
+
| Name | Type | Description | Notes |
|
127
|
+
| ---- | ---- | ----------- | ----- |
|
128
|
+
| **pk** | **Integer** | | |
|
129
|
+
|
130
|
+
### Return type
|
131
|
+
|
132
|
+
[**Array<Job>**](Job.md)
|
133
|
+
|
134
|
+
### Authorization
|
135
|
+
|
136
|
+
[bearerAuth](../README.md#bearerAuth)
|
137
|
+
|
138
|
+
### HTTP request headers
|
139
|
+
|
140
|
+
- **Content-Type**: Not defined
|
141
|
+
- **Accept**: */*
|
142
|
+
|
143
|
+
|
144
|
+
## jobs_pk_get
|
145
|
+
|
146
|
+
> <Array<Job>> jobs_pk_get(pk)
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
### Examples
|
151
|
+
|
152
|
+
```ruby
|
153
|
+
require 'time'
|
154
|
+
require 'eilam_test'
|
155
|
+
# setup authorization
|
156
|
+
EilamTest.configure do |config|
|
157
|
+
# Configure Bearer authorization: bearerAuth
|
158
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
159
|
+
end
|
160
|
+
|
161
|
+
api_instance = EilamTest::JobApi.new
|
162
|
+
pk = 56 # Integer |
|
163
|
+
|
164
|
+
begin
|
165
|
+
|
166
|
+
result = api_instance.jobs_pk_get(pk)
|
167
|
+
p result
|
168
|
+
rescue EilamTest::ApiError => e
|
169
|
+
puts "Error when calling JobApi->jobs_pk_get: #{e}"
|
170
|
+
end
|
171
|
+
```
|
172
|
+
|
173
|
+
#### Using the jobs_pk_get_with_http_info variant
|
174
|
+
|
175
|
+
This returns an Array which contains the response data, status code and headers.
|
176
|
+
|
177
|
+
> <Array(<Array<Job>>, Integer, Hash)> jobs_pk_get_with_http_info(pk)
|
178
|
+
|
179
|
+
```ruby
|
180
|
+
begin
|
181
|
+
|
182
|
+
data, status_code, headers = api_instance.jobs_pk_get_with_http_info(pk)
|
183
|
+
p status_code # => 2xx
|
184
|
+
p headers # => { ... }
|
185
|
+
p data # => <Array<Job>>
|
186
|
+
rescue EilamTest::ApiError => e
|
187
|
+
puts "Error when calling JobApi->jobs_pk_get_with_http_info: #{e}"
|
188
|
+
end
|
189
|
+
```
|
190
|
+
|
191
|
+
### Parameters
|
192
|
+
|
193
|
+
| Name | Type | Description | Notes |
|
194
|
+
| ---- | ---- | ----------- | ----- |
|
195
|
+
| **pk** | **Integer** | | |
|
196
|
+
|
197
|
+
### Return type
|
198
|
+
|
199
|
+
[**Array<Job>**](Job.md)
|
200
|
+
|
201
|
+
### Authorization
|
202
|
+
|
203
|
+
[bearerAuth](../README.md#bearerAuth)
|
204
|
+
|
205
|
+
### HTTP request headers
|
206
|
+
|
207
|
+
- **Content-Type**: Not defined
|
208
|
+
- **Accept**: */*
|
209
|
+
|
210
|
+
|
75
211
|
## jobs_post
|
76
212
|
|
77
213
|
> <Job> jobs_post(job_create)
|
data/docs/JobCreate.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **task_kwargs** | **String** | task_kwargs | [optional] |
|
8
8
|
| **task_name** | **String** | task_name | [optional] |
|
9
9
|
|
10
10
|
## Example
|
@@ -13,7 +13,7 @@
|
|
13
13
|
require 'eilam_test'
|
14
14
|
|
15
15
|
instance = EilamTest::JobCreate.new(
|
16
|
-
|
16
|
+
task_kwargs: null,
|
17
17
|
task_name: null
|
18
18
|
)
|
19
19
|
```
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# EilamTest::RefreshSystem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **uuid** | **String** | uuid | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'eilam_test'
|
13
|
+
|
14
|
+
instance = EilamTest::RefreshSystem.new(
|
15
|
+
uuid: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|