Skip to content

Commit 87a85ef

Browse files
committed
Regenerated client
1 parent 1700807 commit 87a85ef

14 files changed

Lines changed: 916 additions & 21 deletions

File tree

‎docs/JobApi.md‎

Lines changed: 113 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ Method | HTTP request | Description
77
[**addJob**](JobApi.md#addJob) | **POST** /jobs |
88
[**addSchedule**](JobApi.md#addSchedule) | **POST** /schedule |
99
[**createProcess**](JobApi.md#createProcess) | **POST** /process |
10+
[**deleteProcess**](JobApi.md#deleteProcess) | **DELETE** /process/{id} |
1011
[**findJob**](JobApi.md#findJob) | **GET** /jobs/{id} |
1112
[**findJobs**](JobApi.md#findJobs) | **GET** /jobs |
1213
[**findProcess**](JobApi.md#findProcess) | **GET** /process/{id} |
1314
[**findSchedule**](JobApi.md#findSchedule) | **GET** /schedule/{id} |
1415
[**getProcesses**](JobApi.md#getProcesses) | **GET** /process |
1516
[**getSchedules**](JobApi.md#getSchedules) | **GET** /schedule |
17+
[**jobGraph**](JobApi.md#jobGraph) | **GET** /jobs/{id}/graph |
1618

1719

1820
<a name="addJob"></a>
@@ -180,6 +182,61 @@ Name | Type | Description | Notes
180182
- **Content-Type**: application/json
181183
- **Accept**: application/json
182184

185+
<a name="deleteProcess"></a>
186+
# **deleteProcess**
187+
> Queue deleteProcess(id)
188+
189+
190+
191+
Deletes the process corresponding to the given id.
192+
193+
### Example
194+
```java
195+
// Import classes:
196+
//import io.github.cloudiator.rest.ApiClient;
197+
//import io.github.cloudiator.rest.ApiException;
198+
//import io.github.cloudiator.rest.Configuration;
199+
//import io.github.cloudiator.rest.auth.*;
200+
//import io.github.cloudiator.rest.api.JobApi;
201+
202+
ApiClient defaultClient = Configuration.getDefaultApiClient();
203+
204+
// Configure API key authorization: ApiKeyAuth
205+
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
206+
ApiKeyAuth.setApiKey("YOUR API KEY");
207+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
208+
//ApiKeyAuth.setApiKeyPrefix("Token");
209+
210+
JobApi apiInstance = new JobApi();
211+
String id = "id_example"; // String | Unique identifier of the resource
212+
try {
213+
Queue result = apiInstance.deleteProcess(id);
214+
System.out.println(result);
215+
} catch (ApiException e) {
216+
System.err.println("Exception when calling JobApi#deleteProcess");
217+
e.printStackTrace();
218+
}
219+
```
220+
221+
### Parameters
222+
223+
Name | Type | Description | Notes
224+
------------- | ------------- | ------------- | -------------
225+
**id** | **String**| Unique identifier of the resource |
226+
227+
### Return type
228+
229+
[**Queue**](Queue.md)
230+
231+
### Authorization
232+
233+
[ApiKeyAuth](../README.md#ApiKeyAuth)
234+
235+
### HTTP request headers
236+
237+
- **Content-Type**: Not defined
238+
- **Accept**: application/json
239+
183240
<a name="findJob"></a>
184241
# **findJob**
185242
> Job findJob(id)
@@ -292,7 +349,7 @@ This endpoint does not need any parameter.
292349
293350

294351

295-
Finds the job corresponding to the given id and parameters.
352+
Finds the process corresponding to the given id.
296353

297354
### Example
298355
```java
@@ -502,3 +559,58 @@ This endpoint does not need any parameter.
502559
- **Content-Type**: Not defined
503560
- **Accept**: application/json
504561

562+
<a name="jobGraph"></a>
563+
# **jobGraph**
564+
> Object jobGraph(id)
565+
566+
567+
568+
Returns a json graph representation usable by cyctoscape.js
569+
570+
### Example
571+
```java
572+
// Import classes:
573+
//import io.github.cloudiator.rest.ApiClient;
574+
//import io.github.cloudiator.rest.ApiException;
575+
//import io.github.cloudiator.rest.Configuration;
576+
//import io.github.cloudiator.rest.auth.*;
577+
//import io.github.cloudiator.rest.api.JobApi;
578+
579+
ApiClient defaultClient = Configuration.getDefaultApiClient();
580+
581+
// Configure API key authorization: ApiKeyAuth
582+
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
583+
ApiKeyAuth.setApiKey("YOUR API KEY");
584+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
585+
//ApiKeyAuth.setApiKeyPrefix("Token");
586+
587+
JobApi apiInstance = new JobApi();
588+
String id = "id_example"; // String | Unique identifier of the resource
589+
try {
590+
Object result = apiInstance.jobGraph(id);
591+
System.out.println(result);
592+
} catch (ApiException e) {
593+
System.err.println("Exception when calling JobApi#jobGraph");
594+
e.printStackTrace();
595+
}
596+
```
597+
598+
### Parameters
599+
600+
Name | Type | Description | Notes
601+
------------- | ------------- | ------------- | -------------
602+
**id** | **String**| Unique identifier of the resource |
603+
604+
### Return type
605+
606+
**Object**
607+
608+
### Authorization
609+
610+
[ApiKeyAuth](../README.md#ApiKeyAuth)
611+
612+
### HTTP request headers
613+
614+
- **Content-Type**: Not defined
615+
- **Accept**: application/json
616+

‎docs/MonitorNew.md‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎docs/NodeApi.md‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**addBYON**](NodeApi.md#addBYON) | **POST** /byon |
88
[**addNode**](NodeApi.md#addNode) | **POST** /node |
9+
[**deleteNode**](NodeApi.md#deleteNode) | **DELETE** /node/{id} |
910
[**findNodeGroups**](NodeApi.md#findNodeGroups) | **GET** /nodeGroup |
1011
[**findNodes**](NodeApi.md#findNodes) | **GET** /node |
1112
[**getNode**](NodeApi.md#getNode) | **GET** /node/{id} |
@@ -122,6 +123,61 @@ Name | Type | Description | Notes
122123
- **Content-Type**: application/json
123124
- **Accept**: application/json
124125

126+
<a name="deleteNode"></a>
127+
# **deleteNode**
128+
> Queue deleteNode(id)
129+
130+
131+
132+
Deletes the node with the given id.
133+
134+
### Example
135+
```java
136+
// Import classes:
137+
//import io.github.cloudiator.rest.ApiClient;
138+
//import io.github.cloudiator.rest.ApiException;
139+
//import io.github.cloudiator.rest.Configuration;
140+
//import io.github.cloudiator.rest.auth.*;
141+
//import io.github.cloudiator.rest.api.NodeApi;
142+
143+
ApiClient defaultClient = Configuration.getDefaultApiClient();
144+
145+
// Configure API key authorization: ApiKeyAuth
146+
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
147+
ApiKeyAuth.setApiKey("YOUR API KEY");
148+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
149+
//ApiKeyAuth.setApiKeyPrefix("Token");
150+
151+
NodeApi apiInstance = new NodeApi();
152+
String id = "id_example"; // String | Unique identifier of the resource
153+
try {
154+
Queue result = apiInstance.deleteNode(id);
155+
System.out.println(result);
156+
} catch (ApiException e) {
157+
System.err.println("Exception when calling NodeApi#deleteNode");
158+
e.printStackTrace();
159+
}
160+
```
161+
162+
### Parameters
163+
164+
Name | Type | Description | Notes
165+
------------- | ------------- | ------------- | -------------
166+
**id** | **String**| Unique identifier of the resource |
167+
168+
### Return type
169+
170+
[**Queue**](Queue.md)
171+
172+
### Authorization
173+
174+
[ApiKeyAuth](../README.md#ApiKeyAuth)
175+
176+
### HTTP request headers
177+
178+
- **Content-Type**: Not defined
179+
- **Accept**: application/json
180+
125181
<a name="findNodeGroups"></a>
126182
# **findNodeGroups**
127183
> List&lt;NodeGroup&gt; findNodeGroups()

‎docs/Queue.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **String** | Unique identifier for the queued task | [optional]
88
**status** | [**QueueStatus**](QueueStatus.md) | | [optional]
9+
**diagnosis** | **String** | Gives human-readable feedback | [optional]
910
**location** | **String** | Location of the original entity | [optional]
1011

1112

‎docs/Tool.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,9 @@
1616

1717
* `SPARK_WORKER` (value: `"SPARK_WORKER"`)
1818

19+
* `DLMS_AGENT` (value: `"DLMS_AGENT"`)
20+
21+
* `ALLUXIO_CLIENT` (value: `"ALLUXIO_CLIENT"`)
22+
1923

2024

‎docs/YamlApi.md‎

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# YamlApi
2+
3+
All URIs are relative to *http://localhost:9000*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**parseYAML**](YamlApi.md#parseYAML) | **POST** /yaml |
8+
9+
10+
<a name="parseYAML"></a>
11+
# **parseYAML**
12+
> Job parseYAML(yaml)
13+
14+
15+
16+
### Example
17+
```java
18+
// Import classes:
19+
//import io.github.cloudiator.rest.ApiClient;
20+
//import io.github.cloudiator.rest.ApiException;
21+
//import io.github.cloudiator.rest.Configuration;
22+
//import io.github.cloudiator.rest.auth.*;
23+
//import io.github.cloudiator.rest.api.YamlApi;
24+
25+
ApiClient defaultClient = Configuration.getDefaultApiClient();
26+
27+
// Configure API key authorization: ApiKeyAuth
28+
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
29+
ApiKeyAuth.setApiKey("YOUR API KEY");
30+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
31+
//ApiKeyAuth.setApiKeyPrefix("Token");
32+
33+
YamlApi apiInstance = new YamlApi();
34+
String yaml = "yaml_example"; // String | YAML payload
35+
try {
36+
Job result = apiInstance.parseYAML(yaml);
37+
System.out.println(result);
38+
} catch (ApiException e) {
39+
System.err.println("Exception when calling YamlApi#parseYAML");
40+
e.printStackTrace();
41+
}
42+
```
43+
44+
### Parameters
45+
46+
Name | Type | Description | Notes
47+
------------- | ------------- | ------------- | -------------
48+
**yaml** | **String**| YAML payload |
49+
50+
### Return type
51+
52+
[**Job**](Job.md)
53+
54+
### Authorization
55+
56+
[ApiKeyAuth](../README.md#ApiKeyAuth)
57+
58+
### HTTP request headers
59+
60+
- **Content-Type**: application/yaml
61+
- **Accept**: application/json
62+

0 commit comments

Comments
 (0)