Skip to content

Commit ffb1f74

Browse files
committed
removed all cluster_id occurences
1 parent d396977 commit ffb1f74

File tree

8 files changed

+3154
-3176
lines changed

8 files changed

+3154
-3176
lines changed

services/api-server/tests/mocks/get_job_outputs.json

Lines changed: 557 additions & 558 deletions
Large diffs are not rendered by default.

services/api-server/tests/mocks/run_study_workflow.json

Lines changed: 1582 additions & 1592 deletions
Large diffs are not rendered by default.
Lines changed: 93 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,97 @@
11
[
2-
{
3-
"name": "POST /computations/48323c7f-e379-4e16-8b58-dc69643f653d:start",
4-
"description": "<Request('POST', 'http://webserver:8080/v0/computations/48323c7f-e379-4e16-8b58-dc69643f653d:start')>",
5-
"method": "POST",
6-
"host": "webserver",
7-
"path": {
8-
"path": "/v0/computations/{project_id}:start",
9-
"path_parameters": [
10-
{
11-
"in": "path",
12-
"name": "project_id",
13-
"required": true,
14-
"schema": {
15-
"title": "Project Id",
16-
"type": "str",
17-
"pattern": null,
18-
"format": "uuid",
19-
"exclusiveMinimum": null,
20-
"minimum": null,
21-
"anyOf": null,
22-
"allOf": null,
23-
"oneOf": null
24-
},
25-
"response_value": "computations"
26-
}
27-
]
28-
},
29-
"query": null,
30-
"request_payload": {
31-
"force_restart": false,
32-
"cluster_id": 0,
33-
"subgraph": []
34-
},
35-
"response_body": {
36-
"data": {
37-
"pipeline_id": "48323c7f-e379-4e16-8b58-dc69643f653d"
38-
}
39-
},
40-
"status_code": 201
41-
},
42-
{
43-
"name": "GET /v2/computations/48323c7f-e379-4e16-8b58-dc69643f653d",
44-
"description": "<Request('GET', 'http://director-v2:8000/v2/computations/48323c7f-e379-4e16-8b58-dc69643f653d?user_id=1')>",
45-
"method": "GET",
46-
"host": "director-v2",
47-
"path": {
48-
"path": "/v2/computations/{project_id}",
49-
"path_parameters": [
50-
{
51-
"in": "path",
52-
"name": "project_id",
53-
"required": true,
54-
"schema": {
55-
"title": "Project Id",
56-
"type": "str",
57-
"pattern": null,
58-
"format": "uuid",
59-
"exclusiveMinimum": null,
60-
"minimum": null,
61-
"anyOf": null,
62-
"allOf": null,
63-
"oneOf": null
64-
},
65-
"response_value": "computations"
66-
}
67-
]
68-
},
69-
"query": "user_id=1",
70-
"request_payload": null,
71-
"response_body": {
72-
"id": "48323c7f-e379-4e16-8b58-dc69643f653d",
73-
"state": "STARTED",
74-
"result": null,
75-
"pipeline_details": {
76-
"adjacency_list": {
77-
"3b0b20e0-c860-51d9-9f82-d6b4bc5c2f24": []
2+
{
3+
"name": "POST /computations/48323c7f-e379-4e16-8b58-dc69643f653d:start",
4+
"description": "<Request('POST', 'http://webserver:8080/v0/computations/48323c7f-e379-4e16-8b58-dc69643f653d:start')>",
5+
"method": "POST",
6+
"host": "webserver",
7+
"path": {
8+
"path": "/v0/computations/{project_id}:start",
9+
"path_parameters": [
10+
{
11+
"in": "path",
12+
"name": "project_id",
13+
"required": true,
14+
"schema": {
15+
"title": "Project Id",
16+
"type": "str",
17+
"pattern": null,
18+
"format": "uuid",
19+
"exclusiveMinimum": null,
20+
"minimum": null,
21+
"anyOf": null,
22+
"allOf": null,
23+
"oneOf": null
24+
},
25+
"response_value": "computations"
26+
}
27+
]
7828
},
79-
"progress": 0.0,
80-
"node_states": {
81-
"3b0b20e0-c860-51d9-9f82-d6b4bc5c2f24": {
82-
"modified": true,
83-
"dependencies": [],
84-
"currentStatus": "STARTED",
85-
"progress": 0.0
86-
}
87-
}
88-
},
89-
"iteration": 1,
90-
"cluster_id": 0,
91-
"started": "2023-10-26T14:19:05.389765+00:00",
92-
"stopped": null,
93-
"submitted": "2023-10-26T14:19:05.241935+00:00",
94-
"url": "http://director-v2:8000/v2/computations/48323c7f-e379-4e16-8b58-dc69643f653d?user_id=1",
95-
"stop_url": "http://director-v2:8000/v2/computations/48323c7f-e379-4e16-8b58-dc69643f653d:stop?user_id=1"
29+
"query": null,
30+
"request_payload": {
31+
"force_restart": false,
32+
"subgraph": []
33+
},
34+
"response_body": {
35+
"data": {
36+
"pipeline_id": "48323c7f-e379-4e16-8b58-dc69643f653d"
37+
}
38+
},
39+
"status_code": 201
9640
},
97-
"status_code": 200
98-
}
41+
{
42+
"name": "GET /v2/computations/48323c7f-e379-4e16-8b58-dc69643f653d",
43+
"description": "<Request('GET', 'http://director-v2:8000/v2/computations/48323c7f-e379-4e16-8b58-dc69643f653d?user_id=1')>",
44+
"method": "GET",
45+
"host": "director-v2",
46+
"path": {
47+
"path": "/v2/computations/{project_id}",
48+
"path_parameters": [
49+
{
50+
"in": "path",
51+
"name": "project_id",
52+
"required": true,
53+
"schema": {
54+
"title": "Project Id",
55+
"type": "str",
56+
"pattern": null,
57+
"format": "uuid",
58+
"exclusiveMinimum": null,
59+
"minimum": null,
60+
"anyOf": null,
61+
"allOf": null,
62+
"oneOf": null
63+
},
64+
"response_value": "computations"
65+
}
66+
]
67+
},
68+
"query": "user_id=1",
69+
"request_payload": null,
70+
"response_body": {
71+
"id": "48323c7f-e379-4e16-8b58-dc69643f653d",
72+
"state": "STARTED",
73+
"result": null,
74+
"pipeline_details": {
75+
"adjacency_list": {
76+
"3b0b20e0-c860-51d9-9f82-d6b4bc5c2f24": []
77+
},
78+
"progress": 0.0,
79+
"node_states": {
80+
"3b0b20e0-c860-51d9-9f82-d6b4bc5c2f24": {
81+
"modified": true,
82+
"dependencies": [],
83+
"currentStatus": "STARTED",
84+
"progress": 0.0
85+
}
86+
}
87+
},
88+
"iteration": 1,
89+
"started": "2023-10-26T14:19:05.389765+00:00",
90+
"stopped": null,
91+
"submitted": "2023-10-26T14:19:05.241935+00:00",
92+
"url": "http://director-v2:8000/v2/computations/48323c7f-e379-4e16-8b58-dc69643f653d?user_id=1",
93+
"stop_url": "http://director-v2:8000/v2/computations/48323c7f-e379-4e16-8b58-dc69643f653d:stop?user_id=1"
94+
},
95+
"status_code": 200
96+
}
9997
]

0 commit comments

Comments
 (0)