ITISFoundation / osparc-simcore

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

♻️🎨 `ooil config init` to create first`.osparc` config layout #5913

Closed pcrespov closed 4 weeks ago

pcrespov commented 1 month ago

What do these changes do?

ooil CLI can now create an .osparc config folder with ooil config init by running the cookiecutter-osparc-service). In addition we do some refactoring of the oldest part of the tool before the coming upgrades

Highlights

Related issue/s

How to test

Manual testing using ooil image

cd packages/service-integration
make build
script/ooil.bash --help

image

Dev-ops checklist

None

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 83.13253% with 14 lines in your changes missing coverage. Please review.

Project coverage is 87.6%. Comparing base (cafbf96) to head (b168040). Report is 258 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913/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/5913?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) ```diff @@ Coverage Diff @@ ## master #5913 +/- ## ========================================= + Coverage 84.5% 87.6% +3.0% ========================================= Files 10 1013 +1003 Lines 214 45180 +44966 Branches 25 303 +278 ========================================= + Hits 181 39609 +39428 - Misses 23 5502 +5479 - Partials 10 69 +59 ``` | [Flag](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | Coverage Δ | | |---|---|---| | [integrationtests](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | `63.5% <ø> (?)` | | | [unittests](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | `85.3% <83.1%> (+0.7%)` | :arrow_up: | 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/5913?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | Coverage Δ | | |---|---|---| | [...tegration/src/service\_integration/cli/\_metadata.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913?src=pr&el=tree&filepath=packages%2Fservice-integration%2Fsrc%2Fservice_integration%2Fcli%2F_metadata.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvc2VydmljZS1pbnRlZ3JhdGlvbi9zcmMvc2VydmljZV9pbnRlZ3JhdGlvbi9jbGkvX21ldGFkYXRhLnB5) | `100.0% <100.0%> (ø)` | | | [...ration/src/service\_integration/cli/\_run\_creator.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913?src=pr&el=tree&filepath=packages%2Fservice-integration%2Fsrc%2Fservice_integration%2Fcli%2F_run_creator.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvc2VydmljZS1pbnRlZ3JhdGlvbi9zcmMvc2VydmljZV9pbnRlZ3JhdGlvbi9jbGkvX3J1bl9jcmVhdG9yLnB5) | `80.6% <100.0%> (ø)` | | | [...e-integration/src/service\_integration/cli/\_test.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913?src=pr&el=tree&filepath=packages%2Fservice-integration%2Fsrc%2Fservice_integration%2Fcli%2F_test.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvc2VydmljZS1pbnRlZ3JhdGlvbi9zcmMvc2VydmljZV9pbnRlZ3JhdGlvbi9jbGkvX3Rlc3QucHk=) | `57.1% <100.0%> (ø)` | | | [...vice-integration/src/service\_integration/errors.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913?src=pr&el=tree&filepath=packages%2Fservice-integration%2Fsrc%2Fservice_integration%2Ferrors.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvc2VydmljZS1pbnRlZ3JhdGlvbi9zcmMvc2VydmljZV9pbnRlZ3JhdGlvbi9lcnJvcnMucHk=) | `100.0% <100.0%> (ø)` | | | [...tegration/src/service\_integration/osparc\_config.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913?src=pr&el=tree&filepath=packages%2Fservice-integration%2Fsrc%2Fservice_integration%2Fosparc_config.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvc2VydmljZS1pbnRlZ3JhdGlvbi9zcmMvc2VydmljZV9pbnRlZ3JhdGlvbi9vc3BhcmNfY29uZmlnLnB5) | `92.0% <100.0%> (ø)` | | | [...ation/src/service\_integration/cli/\_compose\_spec.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913?src=pr&el=tree&filepath=packages%2Fservice-integration%2Fsrc%2Fservice_integration%2Fcli%2F_compose_spec.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvc2VydmljZS1pbnRlZ3JhdGlvbi9zcmMvc2VydmljZV9pbnRlZ3JhdGlvbi9jbGkvX2NvbXBvc2Vfc3BlYy5weQ==) | `75.5% <87.5%> (ø)` | | | [...ntegration/src/service\_integration/cli/\_\_init\_\_.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913?src=pr&el=tree&filepath=packages%2Fservice-integration%2Fsrc%2Fservice_integration%2Fcli%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvc2VydmljZS1pbnRlZ3JhdGlvbi9zcmMvc2VydmljZV9pbnRlZ3JhdGlvbi9jbGkvX19pbml0X18ucHk=) | `85.1% <85.1%> (ø)` | | | [...integration/src/service\_integration/cli/\_config.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913?src=pr&el=tree&filepath=packages%2Fservice-integration%2Fsrc%2Fservice_integration%2Fcli%2F_config.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-cGFja2FnZXMvc2VydmljZS1pbnRlZ3JhdGlvbi9zcmMvc2VydmljZV9pbnRlZ3JhdGlvbi9jbGkvX2NvbmZpZy5weQ==) | `79.3% <66.6%> (ø)` | | ... and [1014 files with indirect coverage changes](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5913/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation)
sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.2% Duplication on New Code

See analysis details on SonarCloud