From 89da15fe39bd8b6079f6874e8c347e0e8702e411 Mon Sep 17 00:00:00 2001 From: marcel Date: Mon, 1 Apr 2024 00:24:42 +0200 Subject: [PATCH] more details for dataservice --- semantic-model/dataservice/README.md | 13 +++++++++++++ semantic-model/dataservice/requirements-dev.txt | 2 -- semantic-model/dataservice/requirements.txt | 4 ---- 3 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 semantic-model/dataservice/README.md diff --git a/semantic-model/dataservice/README.md b/semantic-model/dataservice/README.md new file mode 100644 index 00000000..2e6515eb --- /dev/null +++ b/semantic-model/dataservice/README.md @@ -0,0 +1,13 @@ +# Dataservice setup + +## Setup and Activate Device + +## Use Dataservice to send testdata +Start dataservice with `startDataservice.py`: + python3 ./startDataservice.py \ \ \ + +*\* is supposed to be downloadable from a directory containing different *.ttl files, *\* is the (in the ontology context) namespaced class (e.g. `ex:MyClass` if `ex:` is defined in the ontologies context) and *\* is the name of a *.ttl file in the *bindings* subdirectory of the ontoloy. + +Example: + + python3 ./startDataservice.py https://industryfusion.github.io/contexts/example/v0.1 iffBaseEntity:Cutter base_test.ttl diff --git a/semantic-model/dataservice/requirements-dev.txt b/semantic-model/dataservice/requirements-dev.txt index 601716dc..c1709b20 100644 --- a/semantic-model/dataservice/requirements-dev.txt +++ b/semantic-model/dataservice/requirements-dev.txt @@ -3,5 +3,3 @@ bandit==1.7.4 black==22.8.0 pytest==7.1.3 pytest-cov==4.0.0 -bunch==1.0.1 -# pyshacl==0.20.0 # # disabled due to CWE-918 Reported by Snyk diff --git a/semantic-model/dataservice/requirements.txt b/semantic-model/dataservice/requirements.txt index 138c3105..bc3f6415 100644 --- a/semantic-model/dataservice/requirements.txt +++ b/semantic-model/dataservice/requirements.txt @@ -1,8 +1,4 @@ rdflib==6.2.0 owlrl==6.0.2 -pyshacl==0.20.0 ruamel.yaml==0.17.21 -click==8.1.3 -Jinja2==3.1.3 setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability -apache-flink==1.17.1