Skip to content
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

Major/410 session update #395

Merged
merged 44 commits into from
Mar 1, 2024
Merged

Major/410 session update #395

merged 44 commits into from
Mar 1, 2024

Conversation

Treesarj
Copy link
Contributor

Description:

Type of change:

  • Bug fix.
  • New feature.
  • Documentation update.

Checklist for the reviewer:

This checklist should be used as a help for the reviewer.

  • Is the change limited to one issue?
  • Does this PR close the issue?
  • Is the code easy to read and understand?
  • Do all new feature have an accompanying new test?
  • Has the documentation been updated as necessary?

Dockerfile Show resolved Hide resolved
app/models/session.py Outdated Show resolved Hide resolved
app/routers/dataresource.py Outdated Show resolved Hide resolved
app/routers/dataresource.py Outdated Show resolved Hide resolved
app/routers/mapping.py Show resolved Hide resolved
composerun.py Outdated Show resolved Hide resolved
docker-compose_dev.yml Show resolved Hide resolved
entrypoint.sh Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
test.ttl Outdated Show resolved Hide resolved
@Treesarj Treesarj linked an issue Feb 21, 2024 that may be closed by this pull request
app/routers/mapping.py Outdated Show resolved Hide resolved
app/routers/parser.py Outdated Show resolved Hide resolved
app/routers/parser.py Show resolved Hide resolved
app/routers/parser.py Outdated Show resolved Hide resolved
app/routers/parser.py Outdated Show resolved Hide resolved
tests/routers/test_parser.py Outdated Show resolved Hide resolved
tests/routers/test_resource.py Outdated Show resolved Hide resolved
tests/static/test_strategies/download.py Outdated Show resolved Hide resolved
tests/static/test_strategies/parse.py Outdated Show resolved Hide resolved
tests/static/test_strategies/resource.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

Attention: Patch coverage is 90.82126% with 19 lines in your changes are missing coverage. Please review.

Project coverage is 78.64%. Comparing base (8d43a82) to head (257fe9f).

Files Patch % Lines
app/routers/session.py 76.19% 5 Missing ⚠️
app/redis_cache/_cache.py 78.57% 3 Missing ⚠️
app/routers/parser.py 94.64% 3 Missing ⚠️
app/routers/transformation.py 87.50% 3 Missing ⚠️
app/routers/dataresource.py 91.66% 2 Missing ⚠️
app/routers/datafilter.py 94.44% 1 Missing ⚠️
app/routers/function.py 94.44% 1 Missing ⚠️
app/routers/mapping.py 94.73% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #395       +/-   ##
===========================================
+ Coverage   59.47%   78.64%   +19.16%     
===========================================
  Files          20       23        +3     
  Lines         728      693       -35     
===========================================
+ Hits          433      545      +112     
+ Misses        295      148      -147     
Flag Coverage Δ
pytest 78.64% <90.82%> (+19.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@CasperWA
Copy link
Contributor

The docker-compose CI tests are currently failing due to bc04d82. This commit should be reverted and the oteapi-core dependency should be updated to point to the soon-to-be-released oteapi-core latest version, which includes the changes from EMMC-ASBL/oteapi-core#429.

Note: When installing locally the requirements.txt via 'pip install'
remember to use the '--pre' option.

Fix the regex in 'entrypoint.sh' to allow for "weird" versions of
oteapi-core in requirements.txt.
Expose debug port in development Dockerfile target.
Hopefully this fixes the docker-compose development CI.
Copy link
Contributor

@CasperWA CasperWA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor things only

app/routers/dataresource.py Outdated Show resolved Hide resolved
app/routers/mapping.py Show resolved Hide resolved
app/routers/parser.py Outdated Show resolved Hide resolved
app/routers/session.py Outdated Show resolved Hide resolved
tests/conftest.py Outdated Show resolved Hide resolved
tests/conftest.py Outdated Show resolved Hide resolved
@Treesarj Treesarj requested a review from CasperWA March 1, 2024 08:33
Mention the current use of a development version of oteapi-core.
@CasperWA CasperWA enabled auto-merge (squash) March 1, 2024 09:07
@CasperWA CasperWA merged commit f92b9d4 into master Mar 1, 2024
10 checks passed
@CasperWA CasperWA deleted the major/410-session-update branch March 1, 2024 09:12
TEAM4-0 pushed a commit that referenced this pull request Mar 1, 2024
* Use v0.7.0.dev0 of oteapi-core
* modify the endpoints to handle the absence of a session.
* add parser APIs
* update tests
* update readme

Co-authored-by: Thomas Hagelien <[email protected]>
Co-authored-by: Casper Welzel Andersen <[email protected]>
TEAM4-0 pushed a commit that referenced this pull request Mar 1, 2024
* Use v0.7.0.dev0 of oteapi-core
* modify the endpoints to handle the absence of a session.
* add parser APIs
* update tests
* update readme

Co-authored-by: Thomas Hagelien <[email protected]>
Co-authored-by: Casper Welzel Andersen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate parse and download
2 participants