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

Feature 602 Linked Data: Relationships and Data Models can no longer be run #39

Open
bobeal opened this issue Jun 8, 2024 · 4 comments

Comments

@bobeal
Copy link

bobeal commented Jun 8, 2024

I was trying to run the feature 602.ngsild.RelationshipsAndDataModels but @jason-fox recently removed all the services from this tutorial (FIWARE/tutorials.Relationships-Linked-Data@9163a7b) so the feature can no longer be run.

Are there plans to migrate it or will it be dropped?

@jason-fox
Copy link
Collaborator

As stated on the README:

To run this tutorial for NGSI-v2 developers, use the NGSI-v2 branch.

git clone https://github.com/FIWARE/tutorials.Relationships-Linked-Data.git
cd tutorials.Relationships-Linked-Data
git checkout NGSI-v2

./services create
./services start

The NGSI-LD tutorials have always only been available on the ngsi-ld branch.
Whereas previously the NGSI-v2 were available on both master and ngsi-v2
(since there were a lot more of them than LD) - this was giving the false impression that
v2 was the default. The current set-up places v2 and LD on an equal footing and explains
the proper use-case for each variant.

Running ./services start on master now gives an informational message only.

@jason-fox
Copy link
Collaborator

jason-fox commented Jun 10, 2024

The reasoning behind this is that I've seen users checking out a tutorial to learn NGSI-LD, forgetting to switch to the correct branch and then the tutorial text doesn't line up with the commands.

@bobeal
Copy link
Author

bobeal commented Jun 16, 2024

Agree with the equal footing but since there is no longer a ngsi-ld branch in the repository of the tutorial (only a ngsiv2 one)...

@jason-fox
Copy link
Collaborator

That tutorial is Smart Supermarket which is ngsi-v2 - or rather to quote from the master README:

To run this NGSI-LD tutorial for NGSI-v2 developers, use the NGSI-v2 branch.

It wa an early attempt to discuss the necessary minimal changes to switch a v2 system to run as LD and deliberately minimizes the role of @context - the proper ngsi-ld Smart Farm tutorials are instead user-context driven, which is the right way to design an LD system.

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

No branches or pull requests

2 participants