-
Notifications
You must be signed in to change notification settings - Fork 8
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
Strange Routing Metadata Api to Tableview Behaviour #605
Comments
Ok i think this is the reason, you already commented it :) OverviewLinkTable.vue
|
Hey @RudiThoeni, I just took a look, but good to see that you found it out by yourself 👍 Yes, the comment highlights a difficulty in establishing where the dataset originates from (tourism API / mobility API / ...) in order to:
At the moment I use the field I saw that the Example: The dataset It would be very helpful having a dedicated field e.g. Thx :) |
Hey @gappc If you agree i can add this field and fill all infos, then we can change on databrowser side? |
@RudiThoeni thank you for the clarification. I agree with your proposal, the possible values and the steps to take 👍 |
Hi @RudiThoeni and @gappc , I post my comments below.
I would prefer not to add too many technical domains, since every domain we add makes more difficult for the data consumer to understand on which API has to query for the data he is looking for. Instead having a food.api.opendatahub.com I would prefer to use a content.api.opendatahub.com/food that queries the data to a replica of your actual tourism. But we will discuss this topic on a dedicated issue together with Luca.
I agree! This is perfectly in line with my comments above.
Fine for me. |
@RudiThoeni @sseppi while reading your comments it came to my mind that maybe the term What do you say if we called the new field something like Possible Other proposals (produced by chatgpt) are:
What's your opinion? |
For me |
@RudiThoeni @gappc fine for me too! |
ok then let's use |
@RudiThoeni I saw that you've merged the according PR, should we close this issue? |
the only thing i was not sure is if we should do a complete renaming of the domain names for now i added a simple mapping |
@RudiThoeni You're right, we should clean this up further. Some questions may arise during this process. To me, one of the questions is how to manage the information of the technical API we are talking to. Example: at the moment, the URL for the different views contains the "technical" API information: BASE_URL/dataset/table/tourism/v1/Accommodation. That way we can make the views and data linkable, together with information about pagination state and filter settings: the URL describes what should be shown and where the data should be read from. I'd keep that concept, because it turned out to be very helpful. What is your opinion, should we keep that "technical" API information as part of the URL? Given that other questions may arise, should we create a dedicated issue (something like "Code adjustments for API type abstraction") and close this one? |
@RudiThoeni thx 👍 |
Hi @gappc
I was experimenting by implementing locally on the tourism api a new Endpoint for Events with a new Route
v2/Events
using my local instancehttps://localhost:5001
instead of the for tourism known domainshttps://api.tourism.testingmachine.eu
,https://tourism.api.opendatahub.com
.So i created a MetaData Record with name EventV2 with this properties (i list only the relevant here)
Then by using the "Access to tableview" strangely it points to the mobility endpoint
and then the table view tries to get the tableview from the mobility api.....
It seems like since the url https://localhost:5001 is not recognized as a valid tourism url the mobility api is used....
and the configuration of the Metadata Api is not taken .......
you can see this behaviour also on the Test instance https://databrowser.opendatahub.testingmachine.eu/dataset-overview and Filter by EventV2
Can you help me out here, what am i missing/doing wrong?
thx and cheers
The text was updated successfully, but these errors were encountered: