OpenEnergyPlatform / OpenEnergyPlatform/oeplatform

[metaBuilder] Update oemetadata integration and metadata version

Open
#1,274 1 comment 0 reactions 2 assignees View on GitHub

@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.js and backend in dataedit/metadata

Workflow checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.