Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync master into dev #531

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Scan

on:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-scan
cancel-in-progress: true

jobs:
publish:
name: Scan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: 17
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache-dependency-path: qendpoint-frontend/package-lock.json
- name: Install frontend dependencies
run: npm ci --legacy-peer-deps
working-directory: qendpoint-frontend
- name: Compiling frontend
run: npm run build --if-present
working-directory: qendpoint-frontend
- name: Put frontend in backend
run: |
mkdir -p qendpoint-backend/src/main/resources/static/
cp -r qendpoint-frontend/build/* qendpoint-backend/src/main/resources/static/
- name: Compile qendpoint
run: mvn install -DskipTests
- name: move endpoint
run: mv qendpoint-backend/target/qendpoint-*-exec.jar qendpoint.jar
- name: Build an image from Dockerfile
run: 'docker build -t docker.io/the-qa-company/qendpoint:${{ github.sha }} -f scripts/Dockerfile .'
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.28.0
with:
image-ref: 'docker.io/the-qa-company/qendpoint:${{ github.sha }}'
format: 'table'
exit-code: '0'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>com.the-qa-company</groupId>
<artifactId>qendpoint-parent</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>

<packaging>pom</packaging>

Expand Down
4 changes: 2 additions & 2 deletions qendpoint-backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>qendpoint-backend</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>

<packaging>jar</packaging>

Expand All @@ -15,7 +15,7 @@
<parent>
<groupId>com.the-qa-company</groupId>
<artifactId>qendpoint-parent</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
</parent>

<licenses>
Expand Down
4 changes: 2 additions & 2 deletions qendpoint-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>qendpoint-cli</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>

<name>qendpoint package</name>
<description>Package of the qendpoint.</description>
Expand All @@ -11,7 +11,7 @@
<parent>
<groupId>com.the-qa-company</groupId>
<artifactId>qendpoint-parent</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
</parent>

<dependencies>
Expand Down
13 changes: 10 additions & 3 deletions qendpoint-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>qendpoint-core</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>

<packaging>jar</packaging>

Expand All @@ -27,7 +27,7 @@
<parent>
<groupId>com.the-qa-company</groupId>
<artifactId>qendpoint-parent</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
</parent>

<licenses>
Expand All @@ -47,6 +47,7 @@
<spring.version>2.7.5</spring.version>
<logback.version>1.5.6</logback.version>
<roaringbitmap.version>0.9.44</roaringbitmap.version>
<commons-compress.version>1.26.0</commons-compress.version>

<jena.version>4.3.2</jena.version>
<slf4j.version>1.7.30</slf4j.version>
Expand Down Expand Up @@ -75,7 +76,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.21</version>
<version>${commons-compress.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
Expand All @@ -91,6 +92,12 @@
<groupId>org.apache.jena</groupId>
<artifactId>jena-arq</artifactId>
<version>${jena.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>pl.pragmatists</groupId>
Expand Down
4 changes: 2 additions & 2 deletions qendpoint-store/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>qendpoint</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>

<packaging>jar</packaging>

Expand All @@ -13,7 +13,7 @@
<parent>
<groupId>com.the-qa-company</groupId>
<artifactId>qendpoint-parent</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
</parent>

<licenses>
Expand Down
8 changes: 3 additions & 5 deletions release/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
- update rdf4j to 5.1.0
- add lucene option to set thresholds (#485)
- fix issue with bitmap not enabled (#506)
- add reload dl (#499)
- add bounds to errors (#498)
- cache constants in query optimiser (#527)
- update spring to 3.4.0 (#518)
- remove rdf4j solr from the backend dependencies (#518)
7 changes: 7 additions & 0 deletions release/RELEASE.md_old
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## Version 2.2.0

- update rdf4j to 5.1.0
- add lucene option to set thresholds (#485)
- fix issue with bitmap not enabled (#506)
- add reload dl (#499)
- add bounds to errors (#498)
## Version 2.1.2

- fix HDT loading issues (#494)
Expand Down
Loading