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

[#78] Handle HydroShare Collection Resources #191

Merged
merged 10 commits into from
Sep 12, 2023

Conversation

Maurier
Copy link
Member

@Maurier Maurier commented Sep 7, 2023

  • Adds a more dedicated endpoint to update resources from My Submissions page.
  • Handle maintenance mode response from HydroShare when fetching resources.
  • Minor schema adjustments.

@Maurier Maurier requested a review from sblack-usu September 7, 2023 05:56
@github-actions
Copy link

github-actions bot commented Sep 7, 2023

✅ Result of Pytest Coverage

---------- coverage: platform linux, python 3.10.13-final-0 ----------

Name Stmts Miss Cover
dspback/init.py 0 0 100%
dspback/api.py 41 2 95%
dspback/config/init.py 87 1 99%
dspback/database/init.py 0 0 100%
dspback/database/procedures.py 17 1 94%
dspback/dependencies.py 127 29 77%
dspback/main.py 26 26 0%
dspback/pydantic_schemas.py 263 11 96%
dspback/routers/init.py 0 0 100%
dspback/routers/authentication.py 63 30 52%
dspback/routers/discovery.py 161 131 19%
dspback/routers/earthchem.py 90 52 42%
dspback/routers/external.py 38 1 97%
dspback/routers/hydroshare.py 116 75 35%
dspback/routers/metadata_class.py 47 11 77%
dspback/routers/repository_authorization.py 42 6 86%
dspback/routers/submissions.py 39 3 92%
dspback/routers/zenodo.py 80 42 48%
dspback/scheduler.py 38 17 55%
dspback/schemas/init.py 0 0 100%
dspback/schemas/discovery.py 67 1 99%
dspback/schemas/earthchem/init.py 0 0 100%
dspback/schemas/earthchem/model.py 207 0 100%
dspback/schemas/external/model.py 103 0 100%
dspback/schemas/hydroshare/model.py 115 0 100%
dspback/schemas/jsonld_conversion.py 22 22 0%
dspback/schemas/zenodo/init.py 0 0 100%
dspback/schemas/zenodo/model.py 90 0 100%
dspback/triggers.py 56 56 0%
dspback/utils/jsonld/clusters.py 16 0 100%
dspback/utils/jsonld/formatter.py 58 13 78%
dspback/utils/jsonld/scraper.py 35 25 29%
TOTAL 2044 555 73%
================== 69 passed, 3

@sblack-usu sblack-usu merged commit e364565 into develop Sep 12, 2023
@Maurier Maurier deleted the 78-handle-hs-collection-resources branch August 21, 2024 19:22
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.

2 participants