-
Notifications
You must be signed in to change notification settings - Fork 30
Is1865/catalog solvers api #2112
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
Merged
pcrespov
merged 60 commits into
ITISFoundation:master
from
pcrespov:is1865/catalog-solvers-api
Feb 8, 2021
Merged
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
cc5f3f8
Drafs list_solvers handler
pcrespov 685080d
adds check for responsiveness in base class of client
pcrespov c7f13db
Fixes exampleS entry and adds tests for solvers sorting
pcrespov 625d45f
Fixes catalog OAS
pcrespov 312b22a
api-server: removes is_responsive override in storage module
pcrespov 4a08779
api-server: drafts solver listing
pcrespov 470dee2
Minor
pcrespov 25c77d9
api-server: drafts get_solver by id
pcrespov dd289a8
Fixes
pcrespov 9a6030c
Setup new test-public-api
pcrespov e71b128
Creates requirements for tests/public-api
pcrespov ca99171
General cleanup of pytest_simcore
pcrespov 8a797ec
Adds wait, sleeper in registry and split tests
pcrespov 49710ef
Adds tests in github actions
pcrespov 9860b59
Missing
pcrespov a2bafe7
Fixes name of system-test-public-api
pcrespov fc7337a
Missing dependency
pcrespov edd456c
pylint fix
pcrespov b32f528
Cleanup
pcrespov 9c6e190
Solver schema: Fixes id generation and tests cleanup
pcrespov c49dd00
Fixes composition in jobs ide as well
pcrespov d86bb9f
Added missing plugin module
pcrespov 987be40
Adds FAKE_API_SERVER_ENABLED in main .env
pcrespov ede1de3
Fixes transformation from catalog response body to Solver model
pcrespov 70d343e
Fixes during manual exploratory testing
pcrespov ca8b0cf
Adds more coverage on API models
pcrespov a912ac9
Updates OAS with exampls and missing auth
pcrespov 2be122d
Forgot thisone
pcrespov 8125dfc
All actions tst on ubuntu 20
pcrespov 619e081
Minor rename
pcrespov 16343cb
Some cleanup of environs
pcrespov 9dca1a0
Enable dev features for testing
pcrespov bda152f
Adds new tests suites to cover all apis
pcrespov 5e551c2
Miior on testing
pcrespov ce0ad05
@sanderegg review: added long readable CL arguments in scripts : http…
pcrespov 25df4a1
Some more doc on design decissions after @sanderegg review
pcrespov b18ca13
Fixes linter error
pcrespov 1754007
Fixes test_api_files
pcrespov 16a695f
Fixes tests
pcrespov b8d7cff
Fixes returned response
pcrespov 6e46394
Download file response
pcrespov 92e8dec
updates test
pcrespov 775dd4e
Pinned postgres images to the same version
pcrespov 460d659
Pins ubuntu
pcrespov 7bc8cf9
pins all
pcrespov d7ef6b9
Minor
pcrespov 65b6d5f
reverted failing experiment
pcrespov d66ae23
Added more tests
pcrespov 3e89f80
Improved tests
pcrespov 45dc6ce
Fixes tests for solvers
pcrespov 9c06342
Added some error handling
pcrespov e3fe2cf
fix tests
pcrespov 04291a8
Fixed paths
pcrespov 4841704
points to master
pcrespov 242c67a
Patches upload/download
pcrespov b8151b6
Simplifies downloads
pcrespov e8eba96
Fix
pcrespov f5da1bf
cleanup
pcrespov b3a287c
Linter
pcrespov 44572f9
Froze master commit in osparc
pcrespov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/bash | ||
# | ||
# This task in the system-testing aims to test some guarantees expected from | ||
# the deployment of osparc-simcore in a cluster (swarm). | ||
# It follows some of the points enumerated in the https://12factor.net/ methodology. | ||
# | ||
|
||
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ | ||
set -o errexit # abort on nonzero exitstatus | ||
set -o nounset # abort on unbound variable | ||
set -o pipefail # don't hide errors within pipes | ||
IFS=$'\n\t' | ||
|
||
# in case it's a Pull request, the env are never available, default to itisfoundation to get a maybe not too old version for caching | ||
DOCKER_IMAGE_TAG=$(exec ci/helpers/build_docker_image_tag.bash) | ||
export DOCKER_IMAGE_TAG | ||
|
||
install() { | ||
bash ci/helpers/ensure_python_pip.bash | ||
pushd tests/public-api | ||
pip3 install -r requirements/ci.txt | ||
popd | ||
make pull-version || ( (make pull-cache || true) && make build-x tag-version) | ||
pcrespov marked this conversation as resolved.
Show resolved
Hide resolved
|
||
make .env | ||
pcrespov marked this conversation as resolved.
Show resolved
Hide resolved
|
||
pip list -v | ||
make info-images | ||
} | ||
|
||
test() { | ||
pytest --color=yes --cov-report=term-missing -v tests/public-api --log-level=DEBUG | ||
} | ||
|
||
clean_up() { | ||
docker images | ||
make down | ||
make leave | ||
} | ||
|
||
# Check if the function exists (bash specific) | ||
if declare -f "$1" >/dev/null; then | ||
# call arguments verbatim | ||
"$@" | ||
else | ||
# Show a helpful error | ||
echo "'$1' is not a known function name" >&2 | ||
exit 1 | ||
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.