Skip to content
This repository was 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
onovo1 wants to merge 6 commits intothingweb:masterfrom
onovo1:master
Open

Fixed some SPARQL queries. The fixes past the unit test.#13
onovo1 wants to merge 6 commits intothingweb:masterfrom
onovo1:master

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