Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Tutorial study functionality #58

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
9a5e7e6
add newly generated openapi.json
bisgaard-itis Jul 4, 2023
c36ecec
merge master into increment-api-version
bisgaard-itis Jul 6, 2023
c9ae76d
adapt tests so they pass
bisgaard-itis Jul 6, 2023
ae6576e
merge master into increment-api-version
bisgaard-itis Jul 10, 2023
f51fa31
update openapi.json
bisgaard-itis Jul 10, 2023
5fea52a
minor fix
bisgaard-itis Jul 10, 2023
1229409
minor changes
bisgaard-itis Jul 10, 2023
bc8ee1f
import new names directly in osparc
bisgaard-itis Jul 10, 2023
d413009
merge master into increment-api-version
bisgaard-itis Jul 18, 2023
19d30c1
upgrade openapi.json to latest from master on osparc-simcore
bisgaard-itis Jul 18, 2023
30879a3
fix import
bisgaard-itis Jul 18, 2023
70b08cf
merge master into increment-api-version
bisgaard-itis Jul 19, 2023
539f05d
bugfix in BasicTutorial and add StudyTutorial
bisgaard-itis Jul 19, 2023
adfa75b
finish proto version of study tutorial
bisgaard-itis Jul 19, 2023
cc74281
increment version - to be changed
bisgaard-itis Jul 19, 2023
88b8927
merge increment-api-version into tutorial-study-functionality
bisgaard-itis Jul 19, 2023
0863b69
configure tutorial tests to only run with compatible oosparc version
bisgaard-itis Jul 19, 2023
25de66c
cosmetic change
bisgaard-itis Jul 19, 2023
34316ed
add tutorial_client_compatibility.json
bisgaard-itis Jul 19, 2023
d6ed3a5
parametrize tests and make them pass
bisgaard-itis Jul 19, 2023
00c930b
improve tests
bisgaard-itis Jul 19, 2023
39a1f83
small fix to not run tests multiple times
bisgaard-itis Jul 19, 2023
b80d9ae
small change
bisgaard-itis Jul 19, 2023
ea7983c
minor fixes according to PR feedback
bisgaard-itis Jul 19, 2023
b0b7fab
use tuple instead of list for __all__
bisgaard-itis Jul 19, 2023
08b4420
merge increment-api-version into tutorial-study-functionality
bisgaard-itis Jul 19, 2023
94ab776
fix tests against older python versiosn
bisgaard-itis Jul 19, 2023
7043173
merge increment-api-version into tutorial-study-functionality
bisgaard-itis Jul 19, 2023
23ffd7a
fix __all__ in api.py and models.py
bisgaard-itis Jul 20, 2023
569b49b
separate options on different lines
bisgaard-itis Jul 20, 2023
2b77943
increment-api-version into tutorial-study-functionality
bisgaard-itis Jul 20, 2023
5995dcf
make the sleeper study id a parameter
bisgaard-itis Jul 20, 2023
4d2f540
resolve merge conflicts
bisgaard-itis Sep 5, 2023
579a87a
update to lates openapi.json
bisgaard-itis Sep 5, 2023
845fb38
update study tutorial
bisgaard-itis Sep 5, 2023
3613295
remove parameter tag
bisgaard-itis Sep 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update openapi.json
  • Loading branch information
bisgaard-itis committed Jul 10, 2023
commit f51fa3130b6d7242d4e221dbddf542bcbecaaf9a
103 changes: 86 additions & 17 deletions api/openapi.json
Original file line number Diff line number Diff line change
@@ -540,7 +540,7 @@
]
}
},
"/v0/solversreleases/page": {
"/v0/solvers/releases/page": {
"get": {
"tags": [
"solvers"
@@ -1649,8 +1649,7 @@
"content": {
"application/json": {
"schema": {
"title": "Response Get Job Custom Metadata V0 Solvers Solver Key Releases Version Jobs Job Id Metadata Get",
"type": "object"
"$ref": "#/components/schemas/JobMetadata"
}
}
}
@@ -1667,13 +1666,13 @@
}
}
},
"post": {
"put": {
"tags": [
"solvers"
],
"summary": "Create Job Custom Metadata",
"description": "Attaches custom metadata to a job.",
"operationId": "create_job_custom_metadata",
"summary": "Replace Job Custom Metadata",
"description": "Changes job's custom metadata",
"operationId": "replace_job_custom_metadata",
"parameters": [
{
"required": true,
@@ -1710,8 +1709,7 @@
"content": {
"application/json": {
"schema": {
"title": "Metadata",
"type": "object"
"$ref": "#/components/schemas/JobMetadataReplace"
}
}
},
@@ -2410,8 +2408,7 @@
"content": {
"application/json": {
"schema": {
"title": "Response Get Study Job Custom Metadata V0 Studies Study Id Jobs Job Id Metadata Get",
"type": "object"
"$ref": "#/components/schemas/JobMetadata"
}
}
}
@@ -2428,13 +2425,13 @@
}
}
},
"post": {
"put": {
"tags": [
"studies"
],
"summary": "Create Study Job Custom Metadata",
"description": "Attaches custom metadata to a job",
"operationId": "create_study_job_custom_metadata",
"summary": "Replace Study Job Custom Metadata",
"description": "Changes job's custom metadata",
"operationId": "replace_study_job_custom_metadata",
"parameters": [
{
"required": true,
@@ -2461,8 +2458,7 @@
"content": {
"application/json": {
"schema": {
"title": "Metadata",
"type": "object"
"$ref": "#/components/schemas/JobMetadataReplace"
}
}
},
@@ -2715,6 +2711,79 @@
}
}
},
"JobMetadata": {
"title": "JobMetadata",
"required": [
"job_id",
"metadata",
"url"
],
"type": "object",
"properties": {
"job_id": {
"title": "Job Id",
"type": "string",
"description": "Parent Job",
"format": "uuid"
},
"metadata": {
"title": "Metadata",
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"description": "Custom key-value map"
},
"url": {
"title": "Url",
"maxLength": 2083,
"minLength": 1,
"type": "string",
"description": "Link to get this resource (self)",
"format": "uri"
}
}
},
"JobMetadataReplace": {
"title": "JobMetadataReplace",
"type": "object",
"properties": {
"metadata": {
"title": "Metadata",
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"description": "Custom key-value map"
}
}
},
"JobOutputs": {
"title": "JobOutputs",
"required": [