OpenEnergyPlatform / OpenEnergyPlatform/oeplatform
[metaBuilder] Update oemetadata integration and metadata version
Open
@Darynarli is already working on this.
Since Jun 16, 2023.
type: enhancement :gear:
- Dominant language
- Python
- Stars
- 65
- Forks
- 29
- Avg merge
- 15h 25m
- Merged PRs (30d)
- 32
Description
Description of the issue
The OEMetaBuilder is still using oemetadata version 1.5.1. We already have the oemetadata pypi package installed and can use it.
We can use the json fields from the package to facilitate metadata integration and update the MetaBuilder schema. Since the schema is used to generate the MetaBuilder form and it needs some customization, we need to implement functionality to extend the imported oemetadata schema.
Ideas of solution
- Remove oemetadata template files form dataedit/static folders
- Import metadata template and schmea form oemetadata pypi package
- Implement functionality to customize the json schema to be able to use it with the metaBuilder js backend (json-form generator uses the schema)
- Update metadata widget implementation in
dataedit/static/dataedit/metadata.jsand backend indataedit/metadata
Workflow checklist
- I am aware of the workflow in CONTRIBUTING.md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.