ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
44 stars 26 forks source link

✨ webserver-catalog rpc connection #6003

Open pcrespov opened 4 days ago

pcrespov commented 4 days ago

What do these changes do?

This PR exposes an rpc interface in the catalog and uses it in the webserver. image

catalog

webserver's catalog plugin

Related issue/s

How to test

Dev-ops checklist

codecov[bot] commented 4 days ago

Codecov Report

Attention: Patch coverage is 55.63380% with 63 lines in your changes missing coverage. Please review.

Project coverage is 83.9%. Comparing base (cafbf96) to head (63af428). Report is 308 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003/graphs/tree.svg?width=650&height=150&src=pr&token=h1rOE8q7ic&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation)](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) ```diff @@ Coverage Diff @@ ## master #6003 +/- ## ========================================= - Coverage 84.5% 83.9% -0.6% ========================================= Files 10 1383 +1373 Lines 214 57157 +56943 Branches 25 1395 +1370 ========================================= + Hits 181 48007 +47826 - Misses 23 8864 +8841 - Partials 10 286 +276 ``` | [Flag](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | `83.9% <55.6%> (-0.6%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | Coverage Δ | | |---|---|---| | [...src/models\_library/api\_schemas\_catalog/\_\_init\_\_.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=packages%2Fmodels-library%2Fsrc%2Fmodels_library%2Fapi_schemas_catalog%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvbW9kZWxzLWxpYnJhcnkvc3JjL21vZGVsc19saWJyYXJ5L2FwaV9zY2hlbWFzX2NhdGFsb2cvX19pbml0X18ucHk=) | `100.0% <100.0%> (ø)` | | | [...src/models\_library/api\_schemas\_catalog/services.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=packages%2Fmodels-library%2Fsrc%2Fmodels_library%2Fapi_schemas_catalog%2Fservices.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvbW9kZWxzLWxpYnJhcnkvc3JjL21vZGVsc19saWJyYXJ5L2FwaV9zY2hlbWFzX2NhdGFsb2cvc2VydmljZXMucHk=) | `100.0% <100.0%> (ø)` | | | [...rc/models\_library/api\_schemas\_webserver/catalog.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=packages%2Fmodels-library%2Fsrc%2Fmodels_library%2Fapi_schemas_webserver%2Fcatalog.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvbW9kZWxzLWxpYnJhcnkvc3JjL21vZGVsc19saWJyYXJ5L2FwaV9zY2hlbWFzX3dlYnNlcnZlci9jYXRhbG9nLnB5) | `100.0% <100.0%> (ø)` | | | [...dels-library/src/models\_library/rest\_pagination.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=packages%2Fmodels-library%2Fsrc%2Fmodels_library%2Frest_pagination.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvbW9kZWxzLWxpYnJhcnkvc3JjL21vZGVsc19saWJyYXJ5L3Jlc3RfcGFnaW5hdGlvbi5weQ==) | `95.7% <100.0%> (ø)` | | | [...odels-library/src/models\_library/rpc\_pagination.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=packages%2Fmodels-library%2Fsrc%2Fmodels_library%2Frpc_pagination.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvbW9kZWxzLWxpYnJhcnkvc3JjL21vZGVsc19saWJyYXJ5L3JwY19wYWdpbmF0aW9uLnB5) | `100.0% <100.0%> (ø)` | | | [...els-library/src/models\_library/services\_history.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=packages%2Fmodels-library%2Fsrc%2Fmodels_library%2Fservices_history.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvbW9kZWxzLWxpYnJhcnkvc3JjL21vZGVsc19saWJyYXJ5L3NlcnZpY2VzX2hpc3RvcnkucHk=) | `100.0% <100.0%> (ø)` | | | [...rary/src/models\_library/utils/common\_validators.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=packages%2Fmodels-library%2Fsrc%2Fmodels_library%2Futils%2Fcommon_validators.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvbW9kZWxzLWxpYnJhcnkvc3JjL21vZGVsc19saWJyYXJ5L3V0aWxzL2NvbW1vbl92YWxpZGF0b3JzLnB5) | `73.3% <100.0%> (ø)` | | | [...es-database/src/simcore\_postgres\_database/utils.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=packages%2Fpostgres-database%2Fsrc%2Fsimcore_postgres_database%2Futils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvcG9zdGdyZXMtZGF0YWJhc2Uvc3JjL3NpbWNvcmVfcG9zdGdyZXNfZGF0YWJhc2UvdXRpbHMucHk=) | `75.0% <100.0%> (ø)` | | | [...src/simcore\_service\_webserver/catalog/\_handlers.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=services%2Fweb%2Fserver%2Fsrc%2Fsimcore_service_webserver%2Fcatalog%2F_handlers.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-c2VydmljZXMvd2ViL3NlcnZlci9zcmMvc2ltY29yZV9zZXJ2aWNlX3dlYnNlcnZlci9jYXRhbG9nL19oYW5kbGVycy5weQ==) | `61.7% <17.6%> (ø)` | | | [...rver/src/simcore\_service\_webserver/catalog/\_api.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree&filepath=services%2Fweb%2Fserver%2Fsrc%2Fsimcore_service_webserver%2Fcatalog%2F_api.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-c2VydmljZXMvd2ViL3NlcnZlci9zcmMvc2ltY29yZV9zZXJ2aWNlX3dlYnNlcnZlci9jYXRhbG9nL19hcGkucHk=) | `42.2% <35.7%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | | ... and [1339 files with indirect coverage changes](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/6003/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation)