Skip to content

Commit

Permalink
refactor: moved processors and packages into common directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed Aug 7, 2024
1 parent 125a107 commit 10bcb8d
Show file tree
Hide file tree
Showing 157 changed files with 80 additions and 26 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@rdfjs/formats": "^4.0.0",
"@rdfjs/serializer-turtle": "^1.1.3",
"jvm-runner-ts": "file:../../runners/nodejs",
"jvm-runner-ts": "file:../runner-ts",
"rdf-ext": "^2.5.2",
"shacl-engine": "^1.0.0"
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions runners/python/index.ttl → packages/runner-py/index.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ rdfc:PythonPackage
rdfc:description "A gRPC based Python runner." ;
rdfc:repo "https://github.com/rdf-connect/orchestrator" ;
rdfc:license "MIT" ;
rdfc:prepare (
"hatch build"
) ;
rdfc:prepare ( "hatch run test -h" "hatch build" ) ;
rdfc:runners rdfc:PythonRunner .

rdfc:PythonRunner
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions packages/runner-py/tests/runner_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import unittest


class RunnerTest(unittest.IsolatedAsyncioTestCase):
async def test_success(self):
self.assertEquals(1, 1)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
rdfc:description "A SHACL Validator processor, written in Python." ;
rdfc:repo "https://github.com/rdf-connect/orchestrator.git" ;
rdfc:license "MIT" ;
rdfc:prepare ( "hatch build" ) ;
rdfc:prepare ( "hatch run test -h" "hatch build" ) ;
rdfc:processors rdfc:SHACLValidatorPY .

rdfc:SHACLValidatorPY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
dependencies = [
"pyshacl>=0.26.0",
"rdflib>=7.0.0",
"rdfc @ {root:parent:parent:uri}/runners/python/dist/rdfc-0.1.0-py3-none-any.whl"
"rdfc @ {root:parent:uri}/runner-py/dist/rdfc-0.1.0-py3-none-any.whl"
]
readme = "README.md"
requires-python = ">= 3.8"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@rdfjs/formats": "^4.0.0",
"@rdfjs/serializer-turtle": "^1.1.3",
"jvm-runner-ts": "file:../../runners/nodejs",
"jvm-runner-ts": "file:../runner-ts",
"rdf-ext": "^2.5.2",
"shacl-engine": "^1.0.0"
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions processors/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions runners/README.md

This file was deleted.

6 changes: 3 additions & 3 deletions src/test/resources/e2e/jvm.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ test:JVMTestingPipeline
test:HttpFetch ,
test:HttpWriter ;
rdfc:dependency
<../../../../processors/http-utils-kt> ,
<../../../../processors/file-utils-kt> ,
<../../../../processors/shacl-validator-kt> .
<../../../../packages/http-utils-kt> ,
<../../../../packages/file-utils-kt> ,
<../../../../packages/shacl-validator-kt> .

test:HttpFetch
a rdfc:HttpFetchKT ;
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/e2e/node.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ test:NodePipeline
test:FileWriter ,
test:ReportWriter ;
rdfc:dependency
<../../../../runners/nodejs> ,
<../../../../processors/file-utils-ts> ,
<../../../../processors/shacl-validator-ts> .
<../../../../packages/runner-ts> ,
<../../../../packages/file-utils-ts> ,
<../../../../packages/shacl-validator-ts> .

test:FileReader
a rdfc:FileReaderTS ;
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/e2e/python.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ test:PythonPipeline
test:ReportWriter ,
test:PythonProcessor ;
rdfc:dependency
<../../../../runners/python> ,
<../../../../processors/file-utils-kt> ,
<../../../../processors/shacl-validator-py> .
<../../../../packages/runner-py> ,
<../../../../packages/file-utils-kt> ,
<../../../../packages/shacl-validator-py> .

test:FileReader
a rdfc:FileReaderKT ;
Expand Down

0 comments on commit 10bcb8d

Please sign in to comment.