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

Merge Develop back into main #370

Merged
merged 86 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
f799421
chore(305): use built-in Maven cache mechanism of setup-java GitHub
apupier Feb 3, 2023
e149174
Bump docker/login-action from 2 to 3
dependabot[bot] Sep 21, 2023
d9b3fdf
Merge branch 'develop' into dependabot/github_actions/docker/login-ac…
pascalwilbrink Sep 21, 2023
5aa9e3a
Bump ubi8/ubi-minimal from 8.8-860 to 8.8-1072 in /app/src/main/docker
dependabot[bot] Sep 21, 2023
45973fb
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
juancho0202 Oct 3, 2023
02139e3
Bump quarkus.platform.version from 3.0.4.Final to 3.4.1
dependabot[bot] Oct 4, 2023
c2c2484
Bump surefire-plugin.version from 3.1.0 to 3.1.2
dependabot[bot] Oct 4, 2023
9b1b7cd
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
pascalwilbrink Oct 5, 2023
dafe456
Merge pull request #352 from com-pas/dependabot/maven/quarkus.platfor…
pascalwilbrink Oct 5, 2023
fb19503
Merge branch 'develop' into dependabot/maven/surefire-plugin.version-…
pascalwilbrink Oct 5, 2023
a3208d8
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
pascalwilbrink Oct 5, 2023
e693f10
Bump quarkus.platform.version from 2.15.2.Final to 2.16.0.Final
dependabot[bot] Jan 25, 2023
09a4fa2
Bump surefire-plugin.version from 3.0.0-M7 to 3.0.0-M8
dependabot[bot] Jan 30, 2023
75af5bc
Bump alex-page/github-project-automation-plus from 0.8.2 to 0.8.3
dependabot[bot] Jan 30, 2023
2448155
Bump jaxb-impl from 2.3.7 to 2.3.8
dependabot[bot] Feb 7, 2023
868e6f2
Bump quarkus.platform.version from 2.16.0.Final to 2.16.2.Final
dependabot[bot] Feb 9, 2023
9b045e0
Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Feb 10, 2023
e68dd5c
Bump maven-javadoc-plugin from 3.4.1 to 3.5.0
dependabot[bot] Feb 15, 2023
16f9574
Bump surefire-plugin.version from 3.0.0-M8 to 3.0.0-M9
dependabot[bot] Feb 15, 2023
c58db18
Bump quarkus.platform.version from 2.16.2.Final to 2.16.3.Final
dependabot[bot] Feb 17, 2023
4b2cab5
Bump log4j2.version from 2.19.0 to 2.20.0
dependabot[bot] Feb 21, 2023
6339e58
Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Feb 22, 2023
39c5ddc
Bump quarkus.platform.version from 2.16.3.Final to 2.16.4.Final
dependabot[bot] Mar 6, 2023
666fd9a
Bump maven-compiler-plugin from 3.10.1 to 3.11.0
dependabot[bot] Mar 9, 2023
f9306df
Bump surefire-plugin.version from 3.0.0-M9 to 3.0.0
dependabot[bot] Mar 14, 2023
6d0a213
Bump quarkus.platform.version from 2.16.4.Final to 2.16.5.Final
dependabot[bot] Mar 23, 2023
89cf88d
Chore: Removed basex
pascalwilbrink Oct 5, 2023
24f678f
Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Mar 23, 2023
de61709
Bump quarkus.platform.version from 2.16.5.Final to 2.16.6.Final
dependabot[bot] Apr 5, 2023
45bc7f8
Bump jacoco-maven-plugin from 0.8.8 to 0.8.9
dependabot[bot] Apr 24, 2023
a36d3f6
Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Apr 24, 2023
dedc6a9
Migrating to Quarkus 3.0
apupier May 5, 2023
ab2c0da
Bump jacoco-maven-plugin from 0.8.9 to 0.8.10
dependabot[bot] Apr 26, 2023
383f19d
Bump maven-source-plugin from 3.2.1 to 3.3.0
dependabot[bot] May 22, 2023
78ecfd9
refactor: split SC worflow into build & analysis
juancho0202 Jun 7, 2023
d51305e
Bump fsfe/reuse-action from 1 to 2
dependabot[bot] Jul 20, 2023
a870b1b
Bump surefire-plugin.version from 3.0.0 to 3.1.0
dependabot[bot] May 8, 2023
d8cc18a
Bump ubi8/ubi-minimal from 8.7-1107 to 8.8-860 in /app/src/main/docker
dependabot[bot] May 17, 2023
7125b42
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0
dependabot[bot] Sep 21, 2023
691baa8
Bump docker/setup-buildx-action from 2 to 3
dependabot[bot] Sep 21, 2023
9b28375
Update pom.xml
pascalwilbrink Oct 4, 2023
193e8b8
Bump quarkus.platform.version from 3.0.4.Final to 3.4.1
dependabot[bot] Oct 4, 2023
2f6b3b7
Merge remote-tracking branch 'origin/develop' into remove_basex
pascalwilbrink Oct 9, 2023
339f5f3
Merge pull request #355 from com-pas/remove_basex
juancho0202 Oct 9, 2023
17fe68f
Bump com.opentable.components:otj-pg-embedded from 1.0.1 to 1.0.2
dependabot[bot] Oct 9, 2023
1d3b219
Merge pull request #350 from com-pas/dependabot/maven/com.opentable.c…
pascalwilbrink Oct 10, 2023
b913af4
Bump org.eclipse.microprofile.openapi:microprofile-openapi-api
dependabot[bot] Oct 10, 2023
14a6dbf
Merge branch 'develop' into 305-mavenCaching
pascalwilbrink Oct 10, 2023
ee4b2e9
Merge pull request #306 from apupier/305-mavenCaching
pascalwilbrink Oct 10, 2023
cec416b
Bump actions/checkout from 3 to 4
dependabot[bot] Oct 10, 2023
33abce5
Merge pull request #346 from com-pas/dependabot/github_actions/action…
pascalwilbrink Oct 10, 2023
b844329
Merge branch 'develop' into dependabot/maven/org.eclipse.microprofile…
pascalwilbrink Oct 10, 2023
7b760de
Merge pull request #344 from com-pas/dependabot/maven/org.eclipse.mic…
pascalwilbrink Oct 10, 2023
e58fb36
Merge branch 'develop' into dependabot/github_actions/docker/login-ac…
pascalwilbrink Oct 10, 2023
7e33a7b
Bump quarkus.platform.version from 3.4.1 to 3.4.2
dependabot[bot] Oct 10, 2023
5518470
chore(deps): Bump org.glassfish.jaxb:jaxb-runtime from 4.0.2 to 4.0.3
dependabot[bot] Oct 10, 2023
8305e5f
Merge pull request #348 from com-pas/dependabot/github_actions/docker…
pascalwilbrink Oct 10, 2023
7b13795
Merge branch 'develop' into dependabot/maven/org.glassfish.jaxb-jaxb-…
pascalwilbrink Oct 10, 2023
37a4fef
Merge branch 'develop' into dependabot/maven/quarkus.platform.version…
pascalwilbrink Oct 10, 2023
009881c
Merge pull request #353 from com-pas/dependabot/maven/quarkus.platfor…
pascalwilbrink Oct 10, 2023
070dd30
Merge branch 'develop' into dependabot/maven/surefire-plugin.version-…
pascalwilbrink Oct 10, 2023
8e9bf5f
Merge pull request #349 from com-pas/dependabot/maven/surefire-plugin…
pascalwilbrink Oct 11, 2023
01ca6b6
Delete app/src/main/docker/Dockerfile-basex.jvm
pascalwilbrink Oct 11, 2023
8592cb7
Delete app/src/main/docker/Dockerfile-basex.native
pascalwilbrink Oct 11, 2023
efa13ea
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
pascalwilbrink Oct 11, 2023
fce9ff3
Merge branch 'develop' into dependabot/maven/org.glassfish.jaxb-jaxb-…
pascalwilbrink Oct 11, 2023
423bd1c
Merge pull request #341 from com-pas/dependabot/docker/app/src/main/d…
pascalwilbrink Oct 11, 2023
433ed11
Merge branch 'develop' into dependabot/maven/org.glassfish.jaxb-jaxb-…
pascalwilbrink Oct 11, 2023
4a24957
chore(deps): Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Oct 11, 2023
58d58f7
Merge pull request #356 from com-pas/dependabot/maven/org.glassfish.j…
pascalwilbrink Oct 11, 2023
a510e75
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
pascalwilbrink Oct 11, 2023
edc0c4b
Merge pull request #359 from com-pas/dependabot/docker/app/src/main/d…
pascalwilbrink Oct 11, 2023
8449369
chore(deps): Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11
dependabot[bot] Oct 17, 2023
3e30758
chore(deps): Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Oct 19, 2023
dd4bf83
Merge pull request #363 from com-pas/dependabot/maven/org.jacoco-jaco…
Stef3st Oct 26, 2023
a74f2a3
chore(deps): Bump surefire-plugin.version from 3.1.2 to 3.2.1
dependabot[bot] Oct 26, 2023
b893d3d
Merge pull request #366 from com-pas/dependabot/maven/surefire-plugin…
Stef3st Oct 26, 2023
5692cb5
chore(deps): Bump org.glassfish.jaxb:jaxb-runtime from 4.0.3 to 4.0.4
dependabot[bot] Oct 26, 2023
86b6c03
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
Stef3st Oct 26, 2023
01d83b8
Merge pull request #364 from com-pas/dependabot/docker/app/src/main/d…
Stef3st Oct 26, 2023
4276f27
Merge branch 'develop' into dependabot/maven/org.glassfish.jaxb-jaxb-…
Stef3st Oct 26, 2023
6b4568c
Merge pull request #365 from com-pas/dependabot/maven/org.glassfish.j…
Stef3st Oct 26, 2023
30d34f4
chore(deps): Bump log4j2.version from 2.20.0 to 2.21.1
dependabot[bot] Oct 26, 2023
695cf97
Merge pull request #367 from com-pas/dependabot/maven/log4j2.version-…
Stef3st Oct 26, 2023
1dae400
chore(deps): Bump quarkus.platform.version from 3.4.2 to 3.5.0
dependabot[bot] Oct 26, 2023
7fe7b54
Merge pull request #368 from com-pas/dependabot/maven/quarkus.platfor…
pascalwilbrink Oct 31, 2023
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
9 changes: 2 additions & 7 deletions .github/workflows/build-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache Docker Register
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Set up Docker Buildx
id: buildx
Expand All @@ -43,6 +37,7 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'

- name: Create custom Maven Settings.xml
uses: whelk-io/maven-settings-xml-action@v21
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/release-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache Docker Register
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Extract tag name
id: extract_tagname
Expand All @@ -41,11 +35,12 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v2
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
full_name: ${{ github.event.repository.full_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: ${{ github.event.workflow_run.head_repository.full_name }}
ref: ${{ github.event.workflow_run.head_branch }}
Expand All @@ -59,6 +59,7 @@ jobs:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar

- name: Cache Maven packages
uses: actions/cache@v3
with:
Expand All @@ -71,7 +72,6 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'

- name: Set Common Sonar Variables
id: sonar_env
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
if: ${{ (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ parts of this repository can also be used separately in your own component to ma
Service Layer can be used as Java component to manage them. For more information about the architecture go
to [documentation](doc/compas-scl-data-service.md).

There are currently two database implementations available.
There is currently one database implementations available.

- For more development information about the BaseX Implementation go to [BaseX](doc/basex.md). (Profile activated by
default.)
- For more development information about the PostgreSQL Implementation go to [PostgreSQL](doc/postgresql.md).

> **Note:** When switching between implementation it's a good practise to first execute a maven clean to remove
Expand Down
41 changes: 0 additions & 41 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ SPDX-License-Identifier: Apache-2.0
<groupId>org.lfenergy.compas.scl.data</groupId>
<artifactId>repository</artifactId>
</dependency>
<dependency>
<groupId>org.lfenergy.compas.scl.data</groupId>
<artifactId>repository-basex</artifactId>
</dependency>
<dependency>
<groupId>org.lfenergy.compas.scl.data</groupId>
<artifactId>repository-postgresql</artifactId>
Expand Down Expand Up @@ -171,28 +167,8 @@ SPDX-License-Identifier: Apache-2.0
<goal>generate-code-tests</goal>
</goals>
</execution>
<execution>
<id>build-basex</id>
<goals>
<goal>build</goal>
</goals>
<configuration>
<properties>
<quarkus.profile>prod-basex</quarkus.profile>
<quarkus.package.output-directory>basex-quarkus-app</quarkus.package.output-directory>
<quarkus.docker.dockerfile-jvm-path>src/main/docker/Dockerfile-basex.jvm
</quarkus.docker.dockerfile-jvm-path>
<quarkus.docker.dockerfile-native-path>src/main/docker/Dockerfile-basex.native
</quarkus.docker.dockerfile-native-path>
<quarkus.container-image.tag>${project.version}-basex</quarkus.container-image.tag>
<quarkus.container-image.additional-tags>latest-basex
</quarkus.container-image.additional-tags>
</properties>
</configuration>
</execution>
<!-- Put this build execution as last, because we will use this image to do a basic native check (NativeHealthCheckIT).
This information is written in "target\quarkus-artifact.properties" and used by the integration tests (failsafe).
Sadly there is only 1 file create, so this build overwrites the one from basex.
-->
<execution>
<id>build-postgresql</id>
Expand Down Expand Up @@ -285,23 +261,6 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-failsafe-plugin</artifactId>
<version>${surefire-plugin.version}</version>
<executions>
<execution>
<id>integration-test-basex</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<systemPropertyVariables>
<native.image.path>
${project.build.directory}/basex-quarkus-app/${project.build.finalName}-runner
</native.image.path>
<java.util.logging.manager>org.jboss.logmanager.LogManager
</java.util.logging.manager>
<maven.home>${maven.home}</maven.home>
</systemPropertyVariables>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down
56 changes: 0 additions & 56 deletions app/src/main/docker/Dockerfile-basex.jvm

This file was deleted.

27 changes: 0 additions & 27 deletions app/src/main/docker/Dockerfile-basex.native

This file was deleted.

2 changes: 1 addition & 1 deletion app/src/main/docker/Dockerfile-postgresql.jvm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# docker run -i --rm -p 8080:8080 -p 5005:5005 -e JAVA_ENABLE_DEBUG="true" quarkus/app-jvm
#
###
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-860
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-1072.1697626218

ARG JAVA_PACKAGE=java-17-openjdk-headless
ARG RUN_JAVA_VERSION=1.3.8
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/docker/Dockerfile-postgresql.native
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# docker run -i --rm -p 8080:8080 quarkus/app
#
###
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-860
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-1072.1697626218
WORKDIR /work/
RUN chown 1001 /work \
&& chmod "g+rwX" /work \
Expand Down
32 changes: 0 additions & 32 deletions app/src/main/resources/application-dev-basex.properties

This file was deleted.

4 changes: 0 additions & 4 deletions app/src/main/resources/application-dev-postgresql.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ quarkus.log.category."org.lfenergy.compas.scl.data".level = DEBUG
quarkus.http.auth.permission.develop-quarkus-services.paths = /compas-scl-data-service/q/swagger-ui/*,/compas-scl-data-service/index.html
quarkus.http.auth.permission.develop-quarkus-services.policy = permit

# Exclude the other repository implementations from being scanned
quarkus.arc.exclude-dependency.basex-repository.group-id = org.lfenergy.compas.scl.data
quarkus.arc.exclude-dependency.basex-repository.artifact-id = repository-basex

# Datasource configuration for PostgreSQL
quarkus.datasource.devservices.enabled = false
quarkus.datasource.db-kind = postgresql
Expand Down
25 changes: 0 additions & 25 deletions app/src/main/resources/application-prod-basex.properties

This file was deleted.

4 changes: 0 additions & 4 deletions app/src/main/resources/application-prod-postgresql.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

# Production PostgreSQL configuration.

# Exclude the other repository implementations from being scanned
quarkus.arc.exclude-dependency.basex-repository.group-id = org.lfenergy.compas.scl.data
quarkus.arc.exclude-dependency.basex-repository.artifact-id = repository-basex

# Add scanning these dependencies for scanning, also used by native compilation.
quarkus.index-dependency.postgresql-repository.group-id = org.lfenergy.compas.scl.data
quarkus.index-dependency.postgresql-repository.artifact-id = repository-postgresql
Expand Down
4 changes: 0 additions & 4 deletions app/src/main/resources/application-test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

# Test configuration.

# Exclude the other repository implementations from being scanned
quarkus.arc.exclude-dependency.basex-repository.group-id = org.lfenergy.compas.scl.data
quarkus.arc.exclude-dependency.basex-repository.artifact-id = repository-basex

# Datasource configuration for PostgreSQL
quarkus.datasource.devservices.enabled = true
quarkus.datasource.db-kind = postgresql
Expand Down
Loading
Loading