-
Notifications
You must be signed in to change notification settings - Fork 0
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
Extend the Writer API to write single attributes of a record #37
Comments
@rcavaliere please verify if the description contains all information we need to implement properly the issue. |
@sseppi looks fine. At the end we can summarize this as follows:
I have put the user story the in "To do" lane. @clezag and @dulvui, who can take care of this? |
@rcavaliere how do you suggest to deal with the stations that doesn't have any metadata sent by a provider (e.g. the static eCharging we are now managing in the spreadsheets)? |
@sseppi you mean the structure metadata in the API? |
@rcavaliere I mean that, if possible, we should implement a logic that allows to change all fields, excluding the measurements, and blocks only the one that are sent by the data provider so we could use the Data Browser also to enrich the data or input new stations (e.g. the static eCharging we are now managing in the spreadsheets). |
@sseppi yes this is the logic we need to introduce. However, all stations have a minimum of mandatory metadata they have to foresee (these are the fields with "s" in front, e.g. "sname"). But I would not separate between mandatory and optional metadata. Everything that comes from a Data Provider automatically can not be changed. Through the Data Browser you can just add metadata (and edit them, of course) |
@rcavaliere fine for me. Since we have to touch the APIs, I would suggest to link this issue to the following one, which is a riquired change to clarify better where the data comes from and who is responsible for it: |
I've discussed this with @dulvui, and we came to a few conclusions:
Because there is so much missing, we would propose to do this in the simplest manner possible, and replace/extend it once we have the other things in place. Our proposal would be:
Happy to hear your feedback |
@clezag I completely agree with your proposal. We have a very specific use case, I can provide all the details of it in a different user story. As said, the Data Browser should only add metadata (incl. e.g. images), but without changing what is automatically provided by the source. This should significantly simplify the implementation. |
@clezag fine for me to start from a concrete use case we already have and then generalize it. The only things I would be careful are:
I would like to avoid as much as possible hard-coded condition that are difficult to maintain and document. Instead to put a hard-coded condition. For the initial PoC development, I would propose to allow to modify only the metadata of all stations and provide write rights only to core team.
It would be nice to not have a new separate API, but extend the Ninja API with CRUD functionality. |
I've pushed a PoC implementation to test. Currently, only the stations endpoint is accessible using this. This does not fully cover the initial requirements, but the idea is that now we got all the building blocks in place and working. |
@rcavaliere in the last weeks me and Martin talked with a company that wants to share in both direction their and our Data Catalogue via API using one of the standards that are in use also by the Data Spaces. We are now making a evaluation about what is needed, but is seems that we need to have the information about data provider and license at a data level. For this reason, we probably need to keep working on this issue, to find a proper solution for it. |
As an Open Data Hub Data Editor I want to edit the single attributes descriptions and metadata of a station, to improve the description of the station itself.
This API extension is needed to allow the Open Data Hub Content Editor to edit the description and metadata of the Stations by using the Open Data Hub Data Browser.
We do have to find a strategy to avoid that the data input through the data browser gets overwritten by the next sync with the data provided by the API of the Data Provider and at the same time not loose the original information provided by the API of the Data Provider
The text was updated successfully, but these errors were encountered: