Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@matusdrobuliak66 review: remove upper limit
Browse files Browse the repository at this point in the history
sanderegg committed Feb 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2ad36e4 commit b6581e1
Showing 2 changed files with 43 additions and 40 deletions.
75 changes: 39 additions & 36 deletions services/sleeper/docker-compose-meta.yml
Original file line number Diff line number Diff line change
@@ -14,18 +14,19 @@ services:
with int number", "description": "Pick a file containing only one integer",
"type": "data:text/plain", "fileToKeyMap": {"single_number.txt": "input_1"}},
"input_2": {"displayOrder": 2, "label": "Sleep interval", "description":
"Choose an amount of time to sleep in range [0-900]", "defaultValue": 2,
"type": "ref_contentSchema", "contentSchema": {"title": "Sleep interval",
"type": "integer", "x_unit": "second", "minimum": 0, "maximum": 900}}, "input_3":
{"displayOrder": 3, "label": "Fail after sleep", "description": "If set
to true will cause service to fail after it sleeps", "type": "boolean",
"defaultValue": false}, "input_4": {"displayOrder": 4, "label": "Distance
to bed", "description": "It will first walk the distance to bed", "defaultValue":
0, "type": "ref_contentSchema", "contentSchema": {"title": "Distance to
bed", "type": "integer", "x_unit": "meter"}}, "input_5": {"displayOrder":
5, "label": "Dream of the night", "description": "It will dream a big dream",
"defaultValue": 0, "type": "ref_contentSchema", "contentSchema": {"title":
"Dream of the night", "type": "integer", "x_unit": "bytes"}}}}'
"Choose an amount of time to sleep in range [0:]", "defaultValue": 2, "type":
"ref_contentSchema", "contentSchema": {"title": "Sleep interval", "type":
"integer", "x_unit": "second", "minimum": 0}}, "input_3": {"displayOrder":
3, "label": "Fail after sleep", "description": "If set to true will cause
service to fail after it sleeps", "type": "boolean", "defaultValue": false},
"input_4": {"displayOrder": 4, "label": "Distance to bed", "description":
"It will first walk the distance to bed", "defaultValue": 0, "type": "ref_contentSchema",
"contentSchema": {"title": "Distance to bed", "type": "integer", "x_unit":
"meter"}}, "input_5": {"displayOrder": 5, "label": "Dream (or nightmare)
of the night", "description": "Defines the size of the dream that will be
generated [0:]", "defaultValue": 0, "type": "ref_contentSchema", "contentSchema":
{"title": "Dream of the night", "type": "integer", "x_unit": "bytes", "minimum":
0}}}}'
io.simcore.integration-version: '{"integration-version": "1.0.0"}'
io.simcore.key: '{"key": "simcore/services/comp/itis/sleeper"}'
io.simcore.name: '{"name": "sleeper"}'
@@ -62,18 +63,19 @@ services:
with int number", "description": "Pick a file containing only one integer",
"type": "data:text/plain", "fileToKeyMap": {"single_number.txt": "input_1"}},
"input_2": {"displayOrder": 2, "label": "Sleep interval", "description":
"Choose an amount of time to sleep in range [0-900]", "defaultValue": 2,
"type": "ref_contentSchema", "contentSchema": {"title": "Sleep interval",
"type": "integer", "x_unit": "second", "minimum": 0, "maximum": 900}}, "input_3":
{"displayOrder": 3, "label": "Fail after sleep", "description": "If set
to true will cause service to fail after it sleeps", "type": "boolean",
"defaultValue": false}, "input_4": {"displayOrder": 4, "label": "Distance
to bed", "description": "It will first walk the distance to bed", "defaultValue":
0, "type": "ref_contentSchema", "contentSchema": {"title": "Distance to
bed", "type": "integer", "x_unit": "meter"}}, "input_5": {"displayOrder":
5, "label": "Dream of the night", "description": "It will dream a big dream",
"defaultValue": 0, "type": "ref_contentSchema", "contentSchema": {"title":
"Dream of the night", "type": "integer", "x_unit": "bytes"}}}}'
"Choose an amount of time to sleep in range [0:]", "defaultValue": 2, "type":
"ref_contentSchema", "contentSchema": {"title": "Sleep interval", "type":
"integer", "x_unit": "second", "minimum": 0}}, "input_3": {"displayOrder":
3, "label": "Fail after sleep", "description": "If set to true will cause
service to fail after it sleeps", "type": "boolean", "defaultValue": false},
"input_4": {"displayOrder": 4, "label": "Distance to bed", "description":
"It will first walk the distance to bed", "defaultValue": 0, "type": "ref_contentSchema",
"contentSchema": {"title": "Distance to bed", "type": "integer", "x_unit":
"meter"}}, "input_5": {"displayOrder": 5, "label": "Dream (or nightmare)
of the night", "description": "Defines the size of the dream that will be
generated [0:]", "defaultValue": 0, "type": "ref_contentSchema", "contentSchema":
{"title": "Dream of the night", "type": "integer", "x_unit": "bytes", "minimum":
0}}}}'
io.simcore.integration-version: '{"integration-version": "1.0.0"}'
io.simcore.key: '{"key": "simcore/services/comp/itis/sleeper-gpu"}'
io.simcore.name: '{"name": "sleeper-gpu"}'
@@ -112,18 +114,19 @@ services:
with int number", "description": "Pick a file containing only one integer",
"type": "data:text/plain", "fileToKeyMap": {"single_number.txt": "input_1"}},
"input_2": {"displayOrder": 2, "label": "Sleep interval", "description":
"Choose an amount of time to sleep in range [0-900]", "defaultValue": 2,
"type": "ref_contentSchema", "contentSchema": {"title": "Sleep interval",
"type": "integer", "x_unit": "second", "minimum": 0, "maximum": 900}}, "input_3":
{"displayOrder": 3, "label": "Fail after sleep", "description": "If set
to true will cause service to fail after it sleeps", "type": "boolean",
"defaultValue": false}, "input_4": {"displayOrder": 4, "label": "Distance
to bed", "description": "It will first walk the distance to bed", "defaultValue":
0, "type": "ref_contentSchema", "contentSchema": {"title": "Distance to
bed", "type": "integer", "x_unit": "meter"}}, "input_5": {"displayOrder":
5, "label": "Dream of the night", "description": "It will dream a big dream",
"defaultValue": 0, "type": "ref_contentSchema", "contentSchema": {"title":
"Dream of the night", "type": "integer", "x_unit": "bytes"}}}}'
"Choose an amount of time to sleep in range [0:]", "defaultValue": 2, "type":
"ref_contentSchema", "contentSchema": {"title": "Sleep interval", "type":
"integer", "x_unit": "second", "minimum": 0}}, "input_3": {"displayOrder":
3, "label": "Fail after sleep", "description": "If set to true will cause
service to fail after it sleeps", "type": "boolean", "defaultValue": false},
"input_4": {"displayOrder": 4, "label": "Distance to bed", "description":
"It will first walk the distance to bed", "defaultValue": 0, "type": "ref_contentSchema",
"contentSchema": {"title": "Distance to bed", "type": "integer", "x_unit":
"meter"}}, "input_5": {"displayOrder": 5, "label": "Dream (or nightmare)
of the night", "description": "Defines the size of the dream that will be
generated [0:]", "defaultValue": 0, "type": "ref_contentSchema", "contentSchema":
{"title": "Dream of the night", "type": "integer", "x_unit": "bytes", "minimum":
0}}}}'
io.simcore.integration-version: '{"integration-version": "1.0.0"}'
io.simcore.key: '{"key": "simcore/services/comp/itis/sleeper-mpi"}'
io.simcore.name: '{"name": "sleeper-mpi"}'
8 changes: 4 additions & 4 deletions services/sleeper/metadata/metadata.yml
Original file line number Diff line number Diff line change
@@ -27,15 +27,14 @@ inputs:
input_2:
displayOrder: 2
label: Sleep interval
description: Choose an amount of time to sleep in range [0-900]
description: Choose an amount of time to sleep in range [0:]
defaultValue: 2
type: ref_contentSchema
contentSchema:
title: Sleep interval
type: integer
x_unit: second
minimum: 0
maximum: 900
input_3:
displayOrder: 3
label: Fail after sleep
@@ -54,14 +53,15 @@ inputs:
x_unit: meter
input_5:
displayOrder: 5
label: Dream of the night
description: It will dream a big dream
label: Dream (or nightmare) of the night
description: Defines the size of the dream that will be generated [0:]
defaultValue: 0
type: ref_contentSchema
contentSchema:
title: Dream of the night
type: integer
x_unit: bytes
minimum: 0
outputs:
output_1:
displayOrder: 1

0 comments on commit b6581e1

Please sign in to comment.