Skip to content

Commit d3aaaea

Browse files
author
Pedro Crespo
committed
Squashed Is309/webserver uses apihub - PR ITISFoundation#324
Squashed commit of the following: commit f7eec98 Merge: 0806917 b1f7ad9 Author: Pedro Crespo <[email protected]> Date: Wed Nov 14 11:36:07 2018 +0100 Merge branch 'is309/webserver-uses-apihub' of github.com:pcrespov/osparc-simcore into is309/webserver-uses-apihub commit 0806917 Merge: 89563a3 ed07bfd Author: Pedro Crespo <[email protected]> Date: Wed Nov 14 11:35:25 2018 +0100 Merge branch 'master' into is309/webserver-uses-apihub commit ed07bfd Merge: 0156ec8 c258483 Author: Pedro Crespo <[email protected]> Date: Wed Nov 14 11:31:37 2018 +0100 Merge remote-tracking branch 'upstream/master' commit c258483 Author: Tobias Oetiker <[email protected]> Date: Wed Nov 14 11:29:25 2018 +0100 Build Environment Fixes (ITISFoundation#314) * make swarm work on osx * use compose to create input for docker stack * have a separate target for launching the qxbuild * do NOT put explicit dns into the compose file!!! rather make sure the /etc/resolve.conf on the host where docker is running is setup correctly! * do not rely on boot.sh exec permissions when starting sidecar * allow override of REGISTRY_URL from .env * better targets for fontent dev * Working Makefile for PowerShell commit a8c7664 Author: Tobias Oetiker <[email protected]> Date: Wed Nov 14 10:49:03 2018 +0100 Better password save (ITISFoundation#329) * properly trigger the password save popup commit b1f7ad9 Merge: 89563a3 ff0ac55 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 22:11:36 2018 +0100 Merge branch 'master' into is309/webserver-uses-apihub commit 0156ec8 Merge: e71ed59 ff0ac55 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 21:31:06 2018 +0100 Merge remote-tracking branch 'upstream/master' commit ff0ac55 Author: pyup.io bot <[email protected]> Date: Tue Nov 13 12:29:46 2018 -0800 Config file for pyup.io (ITISFoundation#319) * Fixes typos in client after bad merge * create pyup.io config file * Updated requests to 2.20.1 commit 89563a3 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 19:26:45 2018 +0100 Fixes retrieving openapi to webserver. commit c166bc0 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 18:08:39 2018 +0100 Fixes makefile filter (see previous commit) Removed deprecated modules from merge Fixed container_environ fixture Added +x to entrypoint.sh otherwise container does not have execution permissions commit 05d5423 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 17:42:45 2018 +0100 Fixes bad merge in test_reverser_proxy. Disabled web/server pylint from makefile since test_package has a linter test and single-file pylint checks produces false positives with relative imports commit 63df90c Merge: bd48b1e e71ed59 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 17:29:43 2018 +0100 Merge branch 'master' into is309/webserver-uses-apihub commit e71ed59 Merge: 5320cef 2fbeba2 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 17:27:33 2018 +0100 Merge remote-tracking branch 'upstream/master' commit bd48b1e Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 17:25:09 2018 +0100 Fixes login tests. Added new variable in config commit f85a452 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 17:19:29 2018 +0100 Replaced main.disable_services by "enabled" flags in every service commit 2fbeba2 Author: Odei Maiz <[email protected]> Date: Tue Nov 13 16:40:25 2018 +0100 LinkBase refactoring (ITISFoundation#327) * LinkModel class created which is now used in LinkBase * Link creation/deletion moved to WorkbenchModel from WorkbenchView commit 376f652 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 16:40:25 2018 +0100 Fixes enveloped schemas to have null error. Modifies the test_conventions... to adapt to new criteria commit c034676 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 16:31:26 2018 +0100 Added custom variables (OSPARC_SIMCORE_REPO_ROOTDIR) for the config file Fixes config folder key commit a6f9444 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 15:28:54 2018 +0100 Is207/reverse proxy webserver (ITISFoundation#318) - 1st version of the reverse proxy subsystem (see ``src/simcore_service_webserver/reverse_proxy``) - configurable upon setup - well decoupled - unit tests in ``tests/unit/test_reverse_proxy.py`` - customized handlers : default, jupyter and preview (drafts) - still not integrated w/ other subsystems in webserver (will do in separated pull-request) - connected to ITISFoundation#207 commit 04fa857 Author: Tobias Oetiker <[email protected]> Date: Tue Nov 13 14:21:18 2018 +0100 fix iframe positioning (ITISFoundation#326) fix iframe positioning commit c366592 Author: Tobias Oetiker <[email protected]> Date: Tue Nov 13 14:11:05 2018 +0100 add svg logos (ITISFoundation#325) * add svg logos commit f1a0a42 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 13:35:42 2018 +0100 Fixed linter error commit 5161825 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 12:01:37 2018 +0100 fixes on schema my.yaml test failures commit 0fbcd81 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 11:38:58 2018 +0100 Removed deprecated tests commit c774d67 Merge: 1df73de 359a12c Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 11:35:52 2018 +0100 Merge branch 'is309/webserver-uses-apihub' of github.com:pcrespov/osparc-simcore into is309/webserver-uses-apihub commit 359a12c Merge: 6b35214 ff41cf4 Author: Pedro Crespo <[email protected]> Date: Tue Nov 13 11:32:42 2018 +0100 Merge branch 'master' into is309/webserver-uses-apihub commit ff41cf4 Author: Odei Maiz <[email protected]> Date: Tue Nov 13 09:24:29 2018 +0100 Binding labels (ITISFoundation#323) Binding NodeModel to labels in: * NodeBase * NavigationBar * NodeInput * NodeExposed * NodePorts commit 1df73de Merge: fec4dd3 6b35214 Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 16:49:09 2018 +0100 Merge branch 'is309/webserver-uses-apihub' of github.com:pcrespov/osparc-simcore into is309/webserver-uses-apihub commit 6b35214 Author: Pedro Crespo-Valero <[email protected]> Date: Mon Nov 12 16:01:00 2018 +0100 complement previous commit commit 352fc5e Author: Pedro Crespo-Valero <[email protected]> Date: Mon Nov 12 15:58:35 2018 +0100 Upgrade requests to version 2.20.0 to solve vulnerability alarm commit 19c7596 Merge: 5746dd5 f51d68b Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 15:56:31 2018 +0100 Merge branch 'master' into is309/webserver-uses-apihub commit 5746dd5 Author: Pedro Crespo-Valero <[email protected]> Date: Mon Nov 12 15:46:56 2018 +0100 Removed resouces_keys commit fec4dd3 Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 15:25:04 2018 +0100 Fixes login ests commit 26845b1 Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 15:13:57 2018 +0100 Removed application_keys.py commit b3d7d9c Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 15:13:57 2018 +0100 Removed application_keys.py commit 984c9b8 Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 15:09:59 2018 +0100 Cleanup rest. test_rest running commit 4597c24 Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 12:16:07 2018 +0100 Gathered all director subsystem's modules under a folder commit a815a3e Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 11:58:46 2018 +0100 Renamed comp_backend as computation Minor commit 0ff6c01 Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 11:57:24 2018 +0100 Split sockets subsystem into setup and handlers Added s3 subsystem commit 5098583 Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 10:55:20 2018 +0100 Adapted configurations to latest schema. Added environs to docker-compose and removed from .env-devel hosts and ports (should be hard-coded in docker-compose) commit cff674b Author: Pedro Crespo <[email protected]> Date: Mon Nov 12 10:54:54 2018 +0100 Synced some requirements commit de4f9dc Author: Pedro Crespo <[email protected]> Date: Sat Nov 10 21:21:28 2018 +0100 - every subsystem defines its own config section: computation, db, email, rest, director . All have their own *_config.py - created directory submodule and its config - added tests for config sections - renamed settings as application_config - renamed computational_backend as computation commit f51d68b Author: Odei Maiz <[email protected]> Date: Sat Nov 10 17:30:14 2018 +0100 Prettier output-port and link representation in NodeView (ITISFoundation#321) * Nicer port representation (with value if available) for input nodes * Nicer link representation in form: Linked to [nodeLabel]: [portLabel] * Fake data moved from Store to Fake data * From ITISFoundation#290: api specs for tree output widgets * Port compatibility check commit 4bde625 Author: Pedro Crespo <[email protected]> Date: Fri Nov 9 20:10:34 2018 +0100 WIP commit 5320cef Merge: cf6c63a 062f221 Author: Pedro Crespo <[email protected]> Date: Fri Nov 9 17:17:34 2018 +0100 Merge remote-tracking branch 'upstream/master' commit 062f221 Author: Pedro Crespo <[email protected]> Date: Fri Nov 9 16:47:48 2018 +0100 Is310/valid api response (ITISFoundation#311) Updates servicelib - validation of api-response against openapi specs - automatic routing of handles against operation-id in specs - middleware factories to envelop responses and errors. Configurable per api version. - package testing - BUG: response validator only works with single-file oas (currently disabled in webserver and storage!) commit 4bc1e78 Author: Odei Maiz <[email protected]> Date: Fri Nov 9 15:30:29 2018 +0100 Neuroman service (ITISFoundation#317) * Neuroman service has "node-output-list-icon-api-v0.0.1" as default input, which is "node-output-list-api-v0.0.1" with a field for an icon path * Widgets created to support "node-output-list-icon-api-v0.0.1" (NodeOutputListItem and NodeOutputListItemIcon) * Converter added for "fromAPIListToVirtualListModel" * Showing "Loading OSparc..." website while service is started, then points to the proper url * Drag&Drop mechanism for Form improved * Some clean up
1 parent 69f047d commit d3aaaea

File tree

176 files changed

+4792
-2496
lines changed

Some content is hidden

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

176 files changed

+4792
-2496
lines changed

.env-devel

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ POSTGRES_ENDPOINT=postgres:5432
1010
POSTGRES_USER=simcore
1111
POSTGRES_PASSWORD=simcore
1212
POSTGRES_DB=simcoredb
13-
POSTGRES_HOST=postgres
14-
POSTGRES_PORT=5432
1513
RABBITMQ_USER=simcore
1614
RABBITMQ_PASSWORD=simcore
1715
RABBITMQ_PROGRESS_CHANNEL=comp.backend.channels.progress
1816
RABBITMQ_LOG_CHANNEL=comp.backend.channels.log
17+
REGISTRY_URL=masu.speag.com
1918
S3_ENDPOINT=minio:9000
2019
S3_ACCESS_KEY=12345678
2120
S3_SECRET_KEY=12345678

.pyup.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# autogenerated pyup.io config file
2+
# see https://pyup.io/docs/configuration/ for all available options
3+
4+
schedule: every month

.travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ matrix:
33
- language: node_js
44
node_js:
55
- "8"
6+
7+
cache:
8+
directories:
9+
- .npm
10+
611
install:
712
- npm install -g npm@latest
813
- npm install --save-dev eslint
@@ -23,6 +28,8 @@ matrix:
2328
services:
2429
- docker
2530

31+
cache: pip
32+
2633
before_install:
2734
- python --version
2835
- uname -a

Makefile

+44-6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# TODO: add flavours by combinging docker-compose files. Namely development, test and production.
44
VERSION := $(shell uname -a)
55
# SAN this is a hack so that docker-compose works in the linux virtual environment under Windows
6+
WINDOWS_MODE=OFF
67
ifneq (,$(findstring Microsoft,$(VERSION)))
78
$(info detected WSL)
89
export DOCKER_COMPOSE=docker-compose
@@ -11,13 +12,22 @@ export RUN_DOCKER_ENGINE_ROOT=1
1112
# Windows does not have these things defined... but they are needed to execute a local swarm
1213
export DOCKER_GID=1042
1314
export HOST_GID=1000
15+
WINDOWS_MODE=ON
1416
else ifeq ($(OS), Windows_NT)
1517
$(info detected Powershell/CMD)
1618
export DOCKER_COMPOSE=docker-compose.exe
1719
export DOCKER=docker.exe
1820
export RUN_DOCKER_ENGINE_ROOT=1
1921
export DOCKER_GID=1042
2022
export HOST_GID=1000
23+
WINDOWS_MODE=ON
24+
else ifneq (,$(findstring Darwin,$(VERSION)))
25+
$(info detected OSX)
26+
export DOCKER_COMPOSE=docker-compose
27+
export DOCKER=docker
28+
export RUN_DOCKER_ENGINE_ROOT=1
29+
export DOCKER_GID=1042
30+
export HOST_GID=1000
2131
else
2232
$(info detected native linux)
2333
export DOCKER_COMPOSE=docker-compose
@@ -28,7 +38,9 @@ export HOST_GID=1000
2838
# TODO: Add a meaningfull call to retrieve the local docker group ID and the user ID in linux.
2939
endif
3040

31-
PY_FILES = $(strip $(shell find services packages -iname '*.py' -not -path "*egg*" -not -path "*contrib*" -not -path "*-sdk/python*" -not -path "*generated_code*" -not -path "*datcore.py"))
41+
PY_FILES = $(strip $(shell find services packages -iname '*.py' -not -path "*egg*" -not -path "*contrib*" -not -path "*-sdk/python*" -not -path "*generated_code*" -not -path "*datcore.py" -not -path "*web/server*"))
42+
43+
TEMPCOMPOSE := $(shell mktemp)
3244

3345
export PYTHONPATH=${CURDIR}/packages/s3wrapper/src:${CURDIR}/packages/simcore-sdk/src
3446

@@ -49,6 +61,10 @@ rebuild-devel:
4961
up-devel:
5062
${DOCKER_COMPOSE} -f services/docker-compose.yml -f services/docker-compose.devel.yml -f services/docker-compose.tools.yml up
5163

64+
up-webclient-devel: up-swarm-devel remove-intermediate-file file-watcher
65+
${DOCKER} service rm services_webclient
66+
${DOCKER_COMPOSE} -f services/web/client/docker-compose.yml up qx
67+
5268
build:
5369
${DOCKER_COMPOSE} -f services/docker-compose.yml build
5470

@@ -60,14 +76,36 @@ up:
6076

6177
up-swarm:
6278
${DOCKER} swarm init
63-
${DOCKER} stack deploy -c services/docker-compose.yml -c services/docker-compose.deploy.yml -c services/docker-compose.tools.yml services
79+
${DOCKER_COMPOSE} -f services/docker-compose.yml -f services/docker-compose.deploy.yml -f services/docker-compose.tools.yml config > $(TEMPCOMPOSE).tmp-compose.yml ;
80+
${DOCKER} stack deploy -c $(TEMPCOMPOSE).tmp-compose.yml services
6481

6582
up-swarm-devel:
6683
${DOCKER} swarm init
67-
${DOCKER} stack deploy -c services/docker-compose.yml -c services/docker-compose.devel.yml -c services/docker-compose.deploy.devel.yml -c services/docker-compose.tools.yml services
84+
${DOCKER_COMPOSE} -f services/docker-compose.yml -f services/docker-compose.devel.yml -f services/docker-compose.deploy.devel.yml -f services/docker-compose.tools.yml config > $(TEMPCOMPOSE).tmp-compose.yml
85+
${DOCKER} stack deploy -c $(TEMPCOMPOSE).tmp-compose.yml services
86+
87+
ifeq ($(WINDOWS_MODE),ON)
88+
remove-intermediate-file:
89+
$(info .tmp-compose.yml not removed)
90+
else
91+
remove-intermediate-file:
92+
rm $(TEMPCOMPOSE).tmp-compose.yml
93+
endif
94+
95+
ifeq ($(WINDOWS_MODE),ON)
96+
file-watcher:
97+
pip install docker-windows-volume-watcher
98+
# unfortunately this is not working properly at the moment
99+
# docker-windows-volume-watcher python package will be installed but not executed
100+
# you will have to run 'docker-volume-watcher *qx*' in a different process in ./services/web/client/source
101+
# docker-volume-watcher &
102+
else
103+
file-watcher:
104+
true
105+
endif
68106

69107
down:
70-
${DOCKER_COMPOSE} -f services/docker-compose.yml -f services/docker-compose.tools.yml down
108+
${DOCKER_COMPOSE} -f services/docker-compose.yml -f services/docker-compose.tools.yml down
71109
${DOCKER_COMPOSE} -f services/docker-compose.yml -f services/docker-compose.devel.yml down
72110

73111
down-swarm:
@@ -100,7 +138,7 @@ run_test:
100138
pytest -v services/apihub/tests
101139
pytest --cov=pytest_docker -v packages/pytest_docker/tests
102140
pytest --cov=s3wrapper -v packages/s3wrapper/tests
103-
pytest --cov=simcore_sdk -v packages/simcore-sdk/tests
141+
pytest --cov=servicelib -v packages/service-library/tests
104142
pytest --cov=simcore_service_webserver -v services/web/server/tests/unit
105143
pytest --cov=simcore_service_webserver -v services/web/server/tests/login
106144
pytest --cov=simcore_service_director -v services/director/tests
@@ -155,4 +193,4 @@ push_platform_images:
155193

156194

157195

158-
.PHONY: all clean build-devel rebuild-devel up-devel build up down test after_test push_platform_images
196+
.PHONY: all clean build-devel rebuild-devel up-devel build up down test after_test push_platform_images file-watcher up-webclient-devel
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
$schema: http://json-schema.org/draft-07/schema#
2+
$id: https://simcore.io/api/specs/shared/schemas/node-output-tree-api-v0.0.1.yaml
3+
4+
title: node output tree api
5+
description: nodes using the tree representation for the output
6+
must be able to handle the following requests
7+
type: object
8+
required:
9+
# the validator does not appreciate when required is missing here... and
10+
# sadly does not throw any meaningful error about it... so for now I put this...
11+
- getItemList
12+
- getItem
13+
properties:
14+
getItemList:
15+
description: a list of items making up one level of the tree
16+
type: object
17+
properties:
18+
request:
19+
summary: oa3 json schema description of the request structure.
20+
description: |
21+
If no `rootKey` is specified, the first level of the tree is returned.
22+
The `filter` will return any items matching the filter string as well as any
23+
folder items containing matching items further down the tree.
24+
type: object
25+
properties:
26+
rootKey:
27+
type: string
28+
filter:
29+
type: string
30+
response:
31+
type: array
32+
items:
33+
type: object
34+
properties:
35+
key:
36+
type: string
37+
label:
38+
type: string
39+
folder:
40+
type: boolean
41+
getItem:
42+
description: get details about an item in the list
43+
type: object
44+
properties:
45+
request:
46+
type: object
47+
required:
48+
- key
49+
properties:
50+
key:
51+
type: string
52+
response:
53+
type: object

api/specs/webserver/v0/components/schemas/error.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ErrorType:
2222
# - e.g. metadata can serialize an exception in server that can be reproduced in client side
2323
#
2424
type: object
25+
nullable: true
2526
properties:
2627
logs:
2728
description: log messages

api/specs/webserver/v0/components/schemas/fake.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@ FakeEnveloped:
22
type: object
33
required:
44
- data
5-
- error
65
properties:
76
data:
87
$ref: '#/FakeType'
9-
nullable: true
10-
default: null
118
error:
12-
$ref: "./error.yaml#/ErrorType"
139
nullable: true
1410
default: null
1511

api/specs/webserver/v0/components/schemas/health_check.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@ HealthCheckEnveloped:
22
type: object
33
required:
44
- data
5-
- error
65
properties:
76
data:
87
$ref: '#/HealthCheckType'
9-
nullable: true
10-
default: null
118
error:
12-
$ref: "./error.yaml#/ErrorType"
139
nullable: true
1410
default: null
1511

api/specs/webserver/v0/components/schemas/log_message.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@ LogMessageEnveloped:
22
type: object
33
required:
44
- data
5-
- error
65
properties:
76
data:
87
$ref: "#/LogMessageType"
9-
nullable: true
10-
default: null
118
error:
12-
$ref: "./error.yaml#/ErrorType"
139
nullable: true
1410
default: null
1511

api/specs/webserver/v0/components/schemas/login.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@ LoginEnveloped:
22
type: object
33
required:
44
- data
5-
- error
65
properties:
76
data:
87
$ref: '#/LoginFormType'
9-
nullable: true
10-
default: null
118
error:
12-
$ref: "./error.yaml#/ErrorType"
139
nullable: true
1410
default: null
1511

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
Profile:
2+
type: object
3+
properties:
4+
login:
5+
type: string
6+
format: email
7+
gravatar_id:
8+
type: string
9+
tokens_url:
10+
type: string
11+
format: url
12+
example:
13+
14+
gravatar_id: 205e460b479e2e5b48aec07710c08d50
15+
tokens_url: http://simcore.io/my/tokens
16+
17+
Token:
18+
description: api keys for third party services
19+
type: object
20+
properties:
21+
service:
22+
description: where this token is needed
23+
type: string
24+
token_key:
25+
description: basic token key
26+
type: string
27+
format: uuid
28+
token_secret:
29+
type: string
30+
format: uuid
31+
required:
32+
- service
33+
- token_key
34+
example:
35+
service: 'github-api-v1'
36+
token_key: foo
37+
38+
# enveloped and array versions --------------------------
39+
40+
ProfileEnveloped:
41+
type: object
42+
required:
43+
- data
44+
properties:
45+
data:
46+
$ref: '#/Profile'
47+
error:
48+
nullable: true
49+
default: null
50+
51+
52+
TokenEnveloped:
53+
type: object
54+
required:
55+
- data
56+
properties:
57+
data:
58+
$ref: '#/Token'
59+
error:
60+
nullable: true
61+
default: null
62+
63+
64+
TokensArrayEnveloped:
65+
type: object
66+
required:
67+
- data
68+
properties:
69+
data:
70+
type: array
71+
items:
72+
$ref: '#/Token'
73+
error:
74+
nullable: true
75+
default: null

api/specs/webserver/v0/components/schemas/registration.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@ RegistrationEnveloped:
22
type: object
33
required:
44
- data
5-
- error
65
properties:
76
data:
87
$ref: '#/RegistrationType'
9-
nullable: true
10-
default: null
118
error:
12-
$ref: "./error.yaml#/ErrorType"
139
nullable: true
1410
default: null
1511

api/specs/webserver/v0/node-v0.0.1.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ paths:
6969
schema:
7070
type: object
7171
# oneOf:
72-
# - $ref: '../../shared/schemas/node-output-list-api-v0.0.1.yaml#/properties/getItemList/request'
73-
# - $ref: '../../shared/schemas/node-output-list-api-v0.0.1.yaml#/properties/getItem/request'
72+
# - $ref: '../../shared/schemas/node-output-list-api-v0.0.1.yaml#/properties/getItemList/properties/request'
73+
# - $ref: '../../shared/schemas/node-output-list-api-v0.0.1.yaml#/properties/getItem/properties/request'
74+
# - $ref: '../../shared/schemas/node-output-tree-api-v0.0.1.yaml#/properties/getItemList/properties/request'
75+
# - $ref: '../../shared/schemas/node-output-tree-api-v0.0.1.yaml#/properties/getItem/properties/request'
7476
responses:
7577
default:
7678
description: node type specific api call according to the node type presented
@@ -79,8 +81,10 @@ paths:
7981
schema:
8082
type: object
8183
# oneOf:
82-
# - $ref: '../../shared/schemas/node-output-list-api-v0.0.1.yaml#/properties/getItemList/response'
83-
# - $ref: '../../shared/schemas/node-output-list-api-v0.0.1.yaml#/properties/getItem/response'
84+
# - $ref: '../../shared/schemas/node-output-list-api-v0.0.1.yaml#/properties/getItemList/properties/response'
85+
# - $ref: '../../shared/schemas/node-output-list-api-v0.0.1.yaml#/properties/getItem/properties/response'
86+
# - $ref: '../../shared/schemas/node-output-tree-api-v0.0.1.yaml#/properties/getItemList/properties/response'
87+
# - $ref: '../../shared/schemas/node-output-tree-api-v0.0.1.yaml#/properties/getItem/properties/response'
8488

8589
/node/{nodeInstanceUUID}/iframe:
8690
get:
@@ -122,10 +126,6 @@ components:
122126
type: string
123127
config:
124128
type: object
125-
apiCalls:
126-
type: object
127-
# oneOf:
128-
# - $ref: '../../shared/schemas/node-output-list-api-v0.0.1.yaml#/properties'
129129
outputApiCall:
130130
type: object
131131
properties:

0 commit comments

Comments
 (0)