Skip to content

Commit 2141e9f

Browse files
authored
Merge pull request #992 from mguidon/freeze_branch_isan_0
Freeze branch isan 0
2 parents be6f2dd + 73dac9f commit 2141e9f

File tree

50 files changed

+2190
-468
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2190
-468
lines changed

api/specs/shared/schemas/running_service.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ components:
2020
- service_version
2121
- service_host
2222
- service_port
23+
- service_state
2324
properties:
2425
published_port:
2526
description: The ports where the service provides its interface
@@ -65,3 +66,26 @@ components:
6566
type: string
6667
example: '/x/E1O2E-LAH'
6768
default: ''
69+
service_state:
70+
description: >
71+
the service state
72+
* 'pending' - The service is waiting for resources to start
73+
* 'pulling' - The service is being pulled from the registry
74+
* 'starting' - The service is starting
75+
* 'running' - The service is running
76+
* 'complete' - The service completed
77+
* 'failed' - The service failed to start
78+
type: string
79+
enum:
80+
- pending
81+
- pulling
82+
- starting
83+
- running
84+
- complete
85+
- failed
86+
service_message:
87+
description: >-
88+
the service message
89+
type: string
90+
example: no suitable node (insufficient resources on 1 node)
91+

api/specs/webserver/v0/components/schemas/project-v0.0.1-converted.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ properties:
3535
type: string
3636
description: project creation date
3737
pattern: >-
38-
\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\d)T(2[0-3]|1\d|0?[1-9])(:(\d|[0-5]\d)){2}(\.\d{3})?Z
38+
\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\d)T(2[0-3]|1\d|0?[0-9])(:(\d|[0-5]\d)){2}(\.\d{3})?Z
3939
example:
4040
- '2018-07-01T11:13:43Z'
4141
lastChangeDate:
4242
type: string
4343
description: last save date
4444
pattern: >-
45-
\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\d)T(2[0-3]|1\d|0?[1-9])(:(\d|[0-5]\d)){2}(\.\d{3})?Z
45+
\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\d)T(2[0-3]|1\d|0?[0-9])(:(\d|[0-5]\d)){2}(\.\d{3})?Z
4646
example:
4747
- '2018-07-01T11:13:43Z'
4848
thumbnail:
@@ -114,7 +114,7 @@ properties:
114114
output:
115115
type: string
116116
- type: object
117-
additionalProperties: true
117+
additionalProperties: false
118118
required:
119119
- store
120120
- path
@@ -125,8 +125,6 @@ properties:
125125
- integer
126126
path:
127127
type: string
128-
label:
129-
type: string
130128
inputAccess:
131129
description: map with key - access level pairs
132130
type: object
@@ -161,7 +159,7 @@ properties:
161159
- number
162160
- 'null'
163161
- type: object
164-
additionalProperties: true
162+
additionalProperties: false
165163
required:
166164
- store
167165
- path
@@ -172,8 +170,6 @@ properties:
172170
- integer
173171
path:
174172
type: string
175-
label:
176-
type: string
177173
outputNode:
178174
type: boolean
179175
parent:

api/specs/webserver/v0/components/schemas/project-v0.0.1.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@
4545
"creationDate": {
4646
"type": "string",
4747
"description": "project creation date",
48-
"pattern": "\\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\\d)T(2[0-3]|1\\d|0?[1-9])(:(\\d|[0-5]\\d)){2}(\\.\\d{3})?Z",
48+
"pattern": "\\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\\d)T(2[0-3]|1\\d|0?[0-9])(:(\\d|[0-5]\\d)){2}(\\.\\d{3})?Z",
4949
"examples": [
5050
"2018-07-01T11:13:43Z"
5151
]
5252
},
5353
"lastChangeDate": {
5454
"type": "string",
5555
"description": "last save date",
56-
"pattern": "\\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\\d)T(2[0-3]|1\\d|0?[1-9])(:(\\d|[0-5]\\d)){2}(\\.\\d{3})?Z",
56+
"pattern": "\\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\\d)T(2[0-3]|1\\d|0?[0-9])(:(\\d|[0-5]\\d)){2}(\\.\\d{3})?Z",
5757
"examples": [
5858
"2018-07-01T11:13:43Z"
5959
]
@@ -146,7 +146,7 @@
146146
},
147147
{
148148
"type": "object",
149-
"additionalProperties": true,
149+
"additionalProperties": false,
150150
"required": [
151151
"store",
152152
"path"
@@ -157,9 +157,6 @@
157157
},
158158
"path": {
159159
"type": "string"
160-
},
161-
"label": {
162-
"type": "string"
163160
}
164161
}
165162
}
@@ -209,7 +206,7 @@
209206
},
210207
{
211208
"type": "object",
212-
"additionalProperties": true,
209+
"additionalProperties": false,
213210
"required": [
214211
"store",
215212
"path"
@@ -220,9 +217,6 @@
220217
},
221218
"path": {
222219
"type": "string"
223-
},
224-
"label": {
225-
"type": "string"
226220
}
227221
}
228222
}

api/specs/webserver/v0/openapi-projects.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ paths:
7676
required: true
7777
schema:
7878
type: string
79+
- name: run
80+
in: path
81+
required: false
82+
schema:
83+
type: boolean
7984
get:
8085
summary: Gets given project
8186
operationId: get_project

0 commit comments

Comments
 (0)