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

Update to BcoValidator.load_schema #341

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Update to BcoValidator.load_schema #341

merged 1 commit into from
Aug 5, 2024

Conversation

HadleyKing
Copy link
Collaborator

Updated the function to check locally for the most used schemas. Improves testing and speed in BCO validation.

Changes to be committed:
modified: biocompute/services.py
renamed: config/IEEE/2791object.json -> config/schemas/2791object.json
new file: config/schemas/dataset_extension.json
renamed: config/IEEE/description_domain.json -> config/schemas/description_domain.json
renamed: config/IEEE/error_domain.json -> config/schemas/error_domain.json
renamed: config/IEEE/execution_domain.json -> config/schemas/execution_domain.json
new file: config/schemas/fhir_extension.json
new file: config/schemas/galaxy_extension.json
renamed: config/IEEE/io_domain.json -> config/schemas/io_domain.json
new file: config/schemas/license_extension.json
renamed: config/IEEE/parametric_domain.json -> config/schemas/parametric_domain.json
renamed: config/IEEE/provenance_domain.json -> config/schemas/provenance_domain.json
new file: config/schemas/scm_extension.json
renamed: config/IEEE/usability_domain.json -> config/schemas/usability_domain.json

Updated the function to check locally for the most used schemas. Improves
testing and speed in BCO validation.

Changes to be committed:
	modified:   biocompute/services.py
	renamed:    config/IEEE/2791object.json -> config/schemas/2791object.json
	new file:   config/schemas/dataset_extension.json
	renamed:    config/IEEE/description_domain.json -> config/schemas/description_domain.json
	renamed:    config/IEEE/error_domain.json -> config/schemas/error_domain.json
	renamed:    config/IEEE/execution_domain.json -> config/schemas/execution_domain.json
	new file:   config/schemas/fhir_extension.json
	new file:   config/schemas/galaxy_extension.json
	renamed:    config/IEEE/io_domain.json -> config/schemas/io_domain.json
	new file:   config/schemas/license_extension.json
	renamed:    config/IEEE/parametric_domain.json -> config/schemas/parametric_domain.json
	renamed:    config/IEEE/provenance_domain.json -> config/schemas/provenance_domain.json
	new file:   config/schemas/scm_extension.json
	renamed:    config/IEEE/usability_domain.json -> config/schemas/usability_domain.json
@HadleyKing HadleyKing merged commit 588156e into dev Aug 5, 2024
2 checks passed
@HadleyKing HadleyKing deleted the extension-schemas branch August 5, 2024 21:25
HadleyKing added a commit that referenced this pull request Aug 9, 2024
* BCO scoring changes

* Add New Production Deployment md

Changes to be committed:
	deleted:    docs/bco_scores.json
	modified:   docs/deployment/productionDeployment.md
	new file:   docs/newProductionInstance.md

* Update config.md

* Add API endpoint for basic comaprison

Changes to be committed:
	modified:   biocompute/apis.py
	modified:   biocompute/urls.py
	modified:   requirements.txt

* Fix Django CI issue (#340)

biocompute-objects/portal_userdb#380

Changes to be committed:
	modified:   .github/workflows/django.yml
	modified:   biocompute/apis.py
	modified:   biocompute/models.py
	modified:   config/settings.py
	modified:   config/urls.py

* Update to BcoValidator.load_schema (#341)

Updated the function to check locally for the most used schemas. Improves
testing and speed in BCO validation.

Changes to be committed:
	modified:   biocompute/services.py
	renamed:    config/IEEE/2791object.json -> config/schemas/2791object.json
	new file:   config/schemas/dataset_extension.json
	renamed:    config/IEEE/description_domain.json -> config/schemas/description_domain.json
	renamed:    config/IEEE/error_domain.json -> config/schemas/error_domain.json
	renamed:    config/IEEE/execution_domain.json -> config/schemas/execution_domain.json
	new file:   config/schemas/fhir_extension.json
	new file:   config/schemas/galaxy_extension.json
	renamed:    config/IEEE/io_domain.json -> config/schemas/io_domain.json
	new file:   config/schemas/license_extension.json
	renamed:    config/IEEE/parametric_domain.json -> config/schemas/parametric_domain.json
	renamed:    config/IEEE/provenance_domain.json -> config/schemas/provenance_domain.json
	new file:   config/schemas/scm_extension.json
	renamed:    config/IEEE/usability_domain.json -> config/schemas/usability_domain.json

* Add additional schema files and reorganize

Changes to be committed:
	modified:   biocompute/services.py
	new file:   config/schemas/1.1.0/dataset_extension.json
	new file:   config/schemas/1.1.0/fhir_extension.json
	new file:   config/schemas/1.1.0/galaxy_extension.json
	new file:   config/schemas/1.1.0/license_extension.json
	new file:   config/schemas/1.1.0/scm_extension.json
	renamed:    config/schemas/dataset_extension.json -> config/schemas/1.2.0/dataset_extension.json
	renamed:    config/schemas/fhir_extension.json -> config/schemas/1.2.0/fhir_extension.json
	renamed:    config/schemas/galaxy_extension.json -> config/schemas/1.2.0/galaxy_extension.json
	renamed:    config/schemas/license_extension.json -> config/schemas/1.2.0/license_extension.json
	renamed:    config/schemas/scm_extension.json -> config/schemas/1.2.0/scm_extension.json
	renamed:    config/schemas/2791object.json -> config/schemas/2791/2791object.json
	renamed:    config/schemas/description_domain.json -> config/schemas/2791/description_domain.json
	renamed:    config/schemas/error_domain.json -> config/schemas/2791/error_domain.json
	renamed:    config/schemas/execution_domain.json -> config/schemas/2791/execution_domain.json
	renamed:    config/schemas/io_domain.json -> config/schemas/2791/io_domain.json
	renamed:    config/schemas/parametric_domain.json -> config/schemas/2791/parametric_domain.json
	renamed:    config/schemas/provenance_domain.json -> config/schemas/2791/provenance_domain.json
	renamed:    config/schemas/usability_domain.json -> config/schemas/2791/usability_domain.json
	modified:   config/settings.py
	modified:   requirements.txt

* Add instructions for Docker deployment

Changes to be committed:
	modified:   Dockerfile
	modified:   docker-compose.yml
	modified:   docs/deployment/dockerDeployment.md
	new file:   entrypoint.sh

---------

Co-authored-by: Kiran Sen <[email protected]>
Co-authored-by: Kiran Sen <[email protected]>
HadleyKing added a commit that referenced this pull request Aug 22, 2024
* BCO scoring changes

* Add New Production Deployment md

Changes to be committed:
	deleted:    docs/bco_scores.json
	modified:   docs/deployment/productionDeployment.md
	new file:   docs/newProductionInstance.md

* Update config.md

* Add API endpoint for basic comaprison

Changes to be committed:
	modified:   biocompute/apis.py
	modified:   biocompute/urls.py
	modified:   requirements.txt

* Fix Django CI issue (#340)

biocompute-objects/portal_userdb#380

Changes to be committed:
	modified:   .github/workflows/django.yml
	modified:   biocompute/apis.py
	modified:   biocompute/models.py
	modified:   config/settings.py
	modified:   config/urls.py

* Update to BcoValidator.load_schema (#341)

Updated the function to check locally for the most used schemas. Improves
testing and speed in BCO validation.

Changes to be committed:
	modified:   biocompute/services.py
	renamed:    config/IEEE/2791object.json -> config/schemas/2791object.json
	new file:   config/schemas/dataset_extension.json
	renamed:    config/IEEE/description_domain.json -> config/schemas/description_domain.json
	renamed:    config/IEEE/error_domain.json -> config/schemas/error_domain.json
	renamed:    config/IEEE/execution_domain.json -> config/schemas/execution_domain.json
	new file:   config/schemas/fhir_extension.json
	new file:   config/schemas/galaxy_extension.json
	renamed:    config/IEEE/io_domain.json -> config/schemas/io_domain.json
	new file:   config/schemas/license_extension.json
	renamed:    config/IEEE/parametric_domain.json -> config/schemas/parametric_domain.json
	renamed:    config/IEEE/provenance_domain.json -> config/schemas/provenance_domain.json
	new file:   config/schemas/scm_extension.json
	renamed:    config/IEEE/usability_domain.json -> config/schemas/usability_domain.json

* Add additional schema files and reorganize

Changes to be committed:
	modified:   biocompute/services.py
	new file:   config/schemas/1.1.0/dataset_extension.json
	new file:   config/schemas/1.1.0/fhir_extension.json
	new file:   config/schemas/1.1.0/galaxy_extension.json
	new file:   config/schemas/1.1.0/license_extension.json
	new file:   config/schemas/1.1.0/scm_extension.json
	renamed:    config/schemas/dataset_extension.json -> config/schemas/1.2.0/dataset_extension.json
	renamed:    config/schemas/fhir_extension.json -> config/schemas/1.2.0/fhir_extension.json
	renamed:    config/schemas/galaxy_extension.json -> config/schemas/1.2.0/galaxy_extension.json
	renamed:    config/schemas/license_extension.json -> config/schemas/1.2.0/license_extension.json
	renamed:    config/schemas/scm_extension.json -> config/schemas/1.2.0/scm_extension.json
	renamed:    config/schemas/2791object.json -> config/schemas/2791/2791object.json
	renamed:    config/schemas/description_domain.json -> config/schemas/2791/description_domain.json
	renamed:    config/schemas/error_domain.json -> config/schemas/2791/error_domain.json
	renamed:    config/schemas/execution_domain.json -> config/schemas/2791/execution_domain.json
	renamed:    config/schemas/io_domain.json -> config/schemas/2791/io_domain.json
	renamed:    config/schemas/parametric_domain.json -> config/schemas/2791/parametric_domain.json
	renamed:    config/schemas/provenance_domain.json -> config/schemas/2791/provenance_domain.json
	renamed:    config/schemas/usability_domain.json -> config/schemas/2791/usability_domain.json
	modified:   config/settings.py
	modified:   requirements.txt

* Add instructions for Docker deployment

Changes to be committed:
	modified:   Dockerfile
	modified:   docker-compose.yml
	modified:   docs/deployment/dockerDeployment.md
	new file:   entrypoint.sh

* Update comparison API (#344)

Changes to be committed:
	modified:   biocompute/apis.py

---------

Co-authored-by: Kiran Sen <[email protected]>
Co-authored-by: Kiran Sen <[email protected]>
@HadleyKing HadleyKing mentioned this pull request Aug 22, 2024
HadleyKing added a commit that referenced this pull request Aug 22, 2024
* BCO scoring changes

* Add New Production Deployment md

Changes to be committed:
	deleted:    docs/bco_scores.json
	modified:   docs/deployment/productionDeployment.md
	new file:   docs/newProductionInstance.md

* Update config.md

* Add API endpoint for basic comaprison

Changes to be committed:
	modified:   biocompute/apis.py
	modified:   biocompute/urls.py
	modified:   requirements.txt

* Fix Django CI issue (#340)

biocompute-objects/portal_userdb#380

Changes to be committed:
	modified:   .github/workflows/django.yml
	modified:   biocompute/apis.py
	modified:   biocompute/models.py
	modified:   config/settings.py
	modified:   config/urls.py

* Update to BcoValidator.load_schema (#341)

Updated the function to check locally for the most used schemas. Improves
testing and speed in BCO validation.

Changes to be committed:
	modified:   biocompute/services.py
	renamed:    config/IEEE/2791object.json -> config/schemas/2791object.json
	new file:   config/schemas/dataset_extension.json
	renamed:    config/IEEE/description_domain.json -> config/schemas/description_domain.json
	renamed:    config/IEEE/error_domain.json -> config/schemas/error_domain.json
	renamed:    config/IEEE/execution_domain.json -> config/schemas/execution_domain.json
	new file:   config/schemas/fhir_extension.json
	new file:   config/schemas/galaxy_extension.json
	renamed:    config/IEEE/io_domain.json -> config/schemas/io_domain.json
	new file:   config/schemas/license_extension.json
	renamed:    config/IEEE/parametric_domain.json -> config/schemas/parametric_domain.json
	renamed:    config/IEEE/provenance_domain.json -> config/schemas/provenance_domain.json
	new file:   config/schemas/scm_extension.json
	renamed:    config/IEEE/usability_domain.json -> config/schemas/usability_domain.json

* Add additional schema files and reorganize

Changes to be committed:
	modified:   biocompute/services.py
	new file:   config/schemas/1.1.0/dataset_extension.json
	new file:   config/schemas/1.1.0/fhir_extension.json
	new file:   config/schemas/1.1.0/galaxy_extension.json
	new file:   config/schemas/1.1.0/license_extension.json
	new file:   config/schemas/1.1.0/scm_extension.json
	renamed:    config/schemas/dataset_extension.json -> config/schemas/1.2.0/dataset_extension.json
	renamed:    config/schemas/fhir_extension.json -> config/schemas/1.2.0/fhir_extension.json
	renamed:    config/schemas/galaxy_extension.json -> config/schemas/1.2.0/galaxy_extension.json
	renamed:    config/schemas/license_extension.json -> config/schemas/1.2.0/license_extension.json
	renamed:    config/schemas/scm_extension.json -> config/schemas/1.2.0/scm_extension.json
	renamed:    config/schemas/2791object.json -> config/schemas/2791/2791object.json
	renamed:    config/schemas/description_domain.json -> config/schemas/2791/description_domain.json
	renamed:    config/schemas/error_domain.json -> config/schemas/2791/error_domain.json
	renamed:    config/schemas/execution_domain.json -> config/schemas/2791/execution_domain.json
	renamed:    config/schemas/io_domain.json -> config/schemas/2791/io_domain.json
	renamed:    config/schemas/parametric_domain.json -> config/schemas/2791/parametric_domain.json
	renamed:    config/schemas/provenance_domain.json -> config/schemas/2791/provenance_domain.json
	renamed:    config/schemas/usability_domain.json -> config/schemas/2791/usability_domain.json
	modified:   config/settings.py
	modified:   requirements.txt

* Add instructions for Docker deployment

Changes to be committed:
	modified:   Dockerfile
	modified:   docker-compose.yml
	modified:   docs/deployment/dockerDeployment.md
	new file:   entrypoint.sh

* Update comparison API (#344)

Changes to be committed:
	modified:   biocompute/apis.py

---------

Co-authored-by: Kiran Sen <[email protected]>
Co-authored-by: Kiran Sen <[email protected]>
HadleyKing added a commit that referenced this pull request Aug 30, 2024
* BCO scoring changes

* Add New Production Deployment md

Changes to be committed:
	deleted:    docs/bco_scores.json
	modified:   docs/deployment/productionDeployment.md
	new file:   docs/newProductionInstance.md

* Update config.md

* Add API endpoint for basic comaprison

Changes to be committed:
	modified:   biocompute/apis.py
	modified:   biocompute/urls.py
	modified:   requirements.txt

* Fix Django CI issue (#340)

biocompute-objects/portal_userdb#380

Changes to be committed:
	modified:   .github/workflows/django.yml
	modified:   biocompute/apis.py
	modified:   biocompute/models.py
	modified:   config/settings.py
	modified:   config/urls.py

* Update to BcoValidator.load_schema (#341)

Updated the function to check locally for the most used schemas. Improves
testing and speed in BCO validation.

Changes to be committed:
	modified:   biocompute/services.py
	renamed:    config/IEEE/2791object.json -> config/schemas/2791object.json
	new file:   config/schemas/dataset_extension.json
	renamed:    config/IEEE/description_domain.json -> config/schemas/description_domain.json
	renamed:    config/IEEE/error_domain.json -> config/schemas/error_domain.json
	renamed:    config/IEEE/execution_domain.json -> config/schemas/execution_domain.json
	new file:   config/schemas/fhir_extension.json
	new file:   config/schemas/galaxy_extension.json
	renamed:    config/IEEE/io_domain.json -> config/schemas/io_domain.json
	new file:   config/schemas/license_extension.json
	renamed:    config/IEEE/parametric_domain.json -> config/schemas/parametric_domain.json
	renamed:    config/IEEE/provenance_domain.json -> config/schemas/provenance_domain.json
	new file:   config/schemas/scm_extension.json
	renamed:    config/IEEE/usability_domain.json -> config/schemas/usability_domain.json

* Add additional schema files and reorganize

Changes to be committed:
	modified:   biocompute/services.py
	new file:   config/schemas/1.1.0/dataset_extension.json
	new file:   config/schemas/1.1.0/fhir_extension.json
	new file:   config/schemas/1.1.0/galaxy_extension.json
	new file:   config/schemas/1.1.0/license_extension.json
	new file:   config/schemas/1.1.0/scm_extension.json
	renamed:    config/schemas/dataset_extension.json -> config/schemas/1.2.0/dataset_extension.json
	renamed:    config/schemas/fhir_extension.json -> config/schemas/1.2.0/fhir_extension.json
	renamed:    config/schemas/galaxy_extension.json -> config/schemas/1.2.0/galaxy_extension.json
	renamed:    config/schemas/license_extension.json -> config/schemas/1.2.0/license_extension.json
	renamed:    config/schemas/scm_extension.json -> config/schemas/1.2.0/scm_extension.json
	renamed:    config/schemas/2791object.json -> config/schemas/2791/2791object.json
	renamed:    config/schemas/description_domain.json -> config/schemas/2791/description_domain.json
	renamed:    config/schemas/error_domain.json -> config/schemas/2791/error_domain.json
	renamed:    config/schemas/execution_domain.json -> config/schemas/2791/execution_domain.json
	renamed:    config/schemas/io_domain.json -> config/schemas/2791/io_domain.json
	renamed:    config/schemas/parametric_domain.json -> config/schemas/2791/parametric_domain.json
	renamed:    config/schemas/provenance_domain.json -> config/schemas/2791/provenance_domain.json
	renamed:    config/schemas/usability_domain.json -> config/schemas/2791/usability_domain.json
	modified:   config/settings.py
	modified:   requirements.txt

* Add instructions for Docker deployment

Changes to be committed:
	modified:   Dockerfile
	modified:   docker-compose.yml
	modified:   docs/deployment/dockerDeployment.md
	new file:   entrypoint.sh

* Update comparison API (#344)

Changes to be committed:
	modified:   biocompute/apis.py

* Add API for LDH (#347)

#333
Changes to be committed:
	modified:   biocompute/apis.py
	modified:   biocompute/selectors.py
	modified:   biocompute/services.py
	modified:   biocompute/urls.py

---------

Co-authored-by: Kiran Sen <[email protected]>
Co-authored-by: Kiran Sen <[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.

1 participant