Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Fixed some SPARQL queries. The fixes past the unit test. #13

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

onovo1
Copy link

@onovo1 onovo1 commented Apr 10, 2017

The unit tests work with these fixes. Those are the main changes:

  • Remove the tabs from temperatureSensorTD.jsonld sample. JSONLD should not contain tabs.
  • Fix the SPARQL queries from functions listThingDescriptionsFromTextSearch and getThingDescriptionIdFromUri in ThingDescriptionUtils. Before, the queries didn't work properly.
  • Refactor the post function in ThingDescriptionCollectionHandler. It is a bit more clear how the models are created.
  • In the test file, remove existing TDs from the database before creating any TDs to prevent errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant