diff --git a/.github/workflows/pull-request-tests.yml b/.github/workflows/pull-request-tests.yml new file mode 100644 index 00000000..91bcfcef --- /dev/null +++ b/.github/workflows/pull-request-tests.yml @@ -0,0 +1,22 @@ +name: Execute tests for pull requests + +on: + pull_request: + +jobs: + test: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Java + uses: actions/setup-java@v4 + with: # The environment variables are defined when needed (here, when the package is being published) + distribution: 'temurin' + java-version: '17' + + - name: Execute tests + run: mvn test + diff --git a/qanary_commons/src/main/resources/queries/insert_required_triples.rq b/qanary_commons/src/main/resources/queries/insert_required_triples.rq index 41c2f6ac..da26913b 100644 --- a/qanary_commons/src/main/resources/queries/insert_required_triples.rq +++ b/qanary_commons/src/main/resources/queries/insert_required_triples.rq @@ -4,6 +4,5 @@ PREFIX rdfs: INSERT { GRAPH ?graph { qa:AnnotationOfLogQuery rdfs:subClassOf qa:AnnotationOfLog . - } -} \ No newline at end of file +} WHERE {} \ No newline at end of file diff --git a/qanary_pipeline-template/src/main/resources/application.properties b/qanary_pipeline-template/src/main/resources/application.properties index fdbea4b3..e40c699c 100644 --- a/qanary_pipeline-template/src/main/resources/application.properties +++ b/qanary_pipeline-template/src/main/resources/application.properties @@ -132,4 +132,7 @@ springdoc.api-docs.path=/api-docs #cors.global.addAllowedOriginPattern= #cors.global.endpointPattern= - +server.uri= +qanary.component.ner= +qanary.component.ned= +qanary.component.configuration=