biocompute-objects / bco_api

The master repository for the JSON API.
MIT License
2 stars 2 forks source link

Validation error: URI fields in Description domain and Execution domain #91

Closed jpat1546 closed 2 years ago

jpat1546 commented 2 years ago
image

no extra spaces, correct format still flagging as invalid uri

image

(Also super minor: should change "Steps" to "Pipeline Steps" in builder (See orange highlighter in pic)

jpat1546 commented 2 years ago

validation doesn't flag this when i input "https://www.test.com" instead of www.test.com

jpat1546 commented 2 years ago

Same issue for 2 URI fields in execution domain (script/uri and prerequisites/uri)

image image

after changing to https://www.test.com/ , no uri validation errors

works: https://www.test.com http://www.test.com

doesn't work: www.test.com

jpat1546 commented 2 years ago

Oddly enough, the system has no issue with URI input for EDE:

image
jpat1546 commented 2 years ago

Needs appropriate protocol. Update documentation for URIs in those domains duplicates https://github.com/biocompute-objects/portal/issues/122

jpat1546 commented 2 years ago

updated documentation