Skip to content

Commit 6308ba0

Browse files
authored
Ship eclipselink and PostgreSQL JDBC driver by default in Polaris distribution (#1411)
1 parent 7f31505 commit 6308ba0

File tree

14 files changed

+45
-44
lines changed

14 files changed

+45
-44
lines changed

.github/workflows/helm.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ jobs:
104104
:polaris-quarkus-server:quarkusAppPartsBuild --rerun \
105105
:polaris-quarkus-admin:assemble \
106106
:polaris-quarkus-admin:quarkusAppPartsBuild --rerun \
107-
-Dquarkus.container-image.build=true \
108-
-PeclipseLinkDeps=org.postgresql:postgresql:42.7.4
107+
-Dquarkus.container-image.build=true
109108
minikube image ls
110109
111110
- name: Install fixtures

getting-started/assets/cloud_providers/deploy-aws.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ FULL_POSTGRES_ADDR=$(printf '%s\n' "jdbc:postgresql://$POSTGRES_ADDR/{realm}" |
7070
sed -i "/jakarta.persistence.jdbc.url/ s|value=\"[^\"]*\"|value=\"$FULL_POSTGRES_ADDR\"|" "getting-started/assets/eclipselink/persistence.xml"
7171

7272
./gradlew clean :polaris-quarkus-server:assemble :polaris-quarkus-admin:assemble \
73-
-PeclipseLinkDeps=org.postgresql:postgresql:42.7.4 \
7473
-Dquarkus.container-image.tag=postgres-latest \
7574
-Dquarkus.container-image.build=true \
7675
--no-build-cache

getting-started/assets/cloud_providers/deploy-azure.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ FULL_POSTGRES_ADDR=$(printf '%s\n' "jdbc:postgresql://$POSTGRES_ADDR:5432/{realm
3232
sed -i "/jakarta.persistence.jdbc.url/ s|value=\"[^\"]*\"|value=\"$FULL_POSTGRES_ADDR\"|" "getting-started/assets/eclipselink/persistence.xml"
3333

3434
./gradlew clean :polaris-quarkus-server:assemble :polaris-quarkus-admin:assemble \
35-
-PeclipseLinkDeps=org.postgresql:postgresql:42.7.4 \
3635
-Dquarkus.container-image.tag=postgres-latest \
3736
-Dquarkus.container-image.build=true \
3837
--no-build-cache

getting-started/assets/cloud_providers/deploy-gcp.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ FULL_POSTGRES_ADDR=$(printf '%s\n' "jdbc:postgresql://$POSTGRES_ADDR:5432/{realm
4242
sed -i "/jakarta.persistence.jdbc.url/ s|value=\"[^\"]*\"|value=\"$FULL_POSTGRES_ADDR\"|" "getting-started/assets/eclipselink/persistence.xml"
4343

4444
./gradlew clean :polaris-quarkus-server:assemble :polaris-quarkus-admin:assemble \
45-
-PeclipseLinkDeps=org.postgresql:postgresql:42.7.4 \
4645
-Dquarkus.container-image.tag=postgres-latest \
4746
-Dquarkus.container-image.build=true \
4847
--no-build-cache

getting-started/eclipselink/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ This example requires `jq` to be installed on your machine.
3030
:polaris-quarkus-server:quarkusAppPartsBuild --rerun \
3131
:polaris-quarkus-admin:assemble \
3232
:polaris-quarkus-admin:quarkusAppPartsBuild --rerun \
33-
-PeclipseLinkDeps=org.postgresql:postgresql:42.7.4 \
3433
-Dquarkus.container-image.tag=postgres-latest \
3534
-Dquarkus.container-image.build=true
3635
```

helm/polaris/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Simply run the `run.sh` script from the Polaris repo root, making sure to specif
7070
`--eclipse-link-deps` option:
7171

7272
```bash
73-
./run.sh --eclipse-link-deps=org.postgresql:postgresql:42.7.4
73+
./run.sh
7474
```
7575

7676
This script will create a Kind cluster, deploy a local Docker registry, build the Polaris Docker
@@ -86,13 +86,12 @@ If necessary, build and load the Docker images with support for Postgres into Mi
8686
```bash
8787
eval $(minikube -p minikube docker-env)
8888

89-
./gradlew \
89+
./gradlew \
9090
:polaris-quarkus-server:assemble \
9191
:polaris-quarkus-server:quarkusAppPartsBuild --rerun \
9292
:polaris-quarkus-admin:assemble \
9393
:polaris-quarkus-admin:quarkusAppPartsBuild --rerun \
94-
-Dquarkus.container-image.build=true \
95-
-PeclipseLinkDeps=org.postgresql:postgresql:42.7.4
94+
-Dquarkus.container-image.build=true
9695
```
9796

9897
### Installing the chart locally

helm/polaris/README.md.gotmpl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Simply run the `run.sh` script from the Polaris repo root, making sure to specif
7171
`--eclipse-link-deps` option:
7272

7373
```bash
74-
./run.sh --eclipse-link-deps=org.postgresql:postgresql:42.7.4
74+
./run.sh
7575
```
7676

7777
This script will create a Kind cluster, deploy a local Docker registry, build the Polaris Docker
@@ -92,8 +92,7 @@ eval $(minikube -p minikube docker-env)
9292
:polaris-quarkus-server:quarkusAppPartsBuild --rerun \
9393
:polaris-quarkus-admin:assemble \
9494
:polaris-quarkus-admin:quarkusAppPartsBuild --rerun \
95-
-Dquarkus.container-image.build=true \
96-
-PeclipseLinkDeps=org.postgresql:postgresql:42.7.4
95+
-Dquarkus.container-image.build=true
9796
```
9897

9998
### Installing the chart locally

quarkus/admin/distribution/LICENSE

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,8 +1405,8 @@ License (from POM): Apache License 2.0 - https://www.apache.org/licenses/LICENSE
14051405
--------------------------------------------------------------------------------
14061406

14071407
Group: org.eclipse.angus Name: angus-activation Version: 2.0.2
1408-
Project URL (from POM): https://github.com/eclipse-ee4j/angus-activation
1409-
License (from POM): EDL 1.0 - http://www.eclipse.org/org/documents/edl-v10.php
1408+
Project URL: https://github.com/eclipse-ee4j/angus-activation
1409+
License: Eclipse Public License 2.0 - https://projects.eclipse.org/license/epl-2.0
14101410

14111411
--------------------------------------------------------------------------------
14121412

@@ -1428,10 +1428,9 @@ License: Eclipse Public License 2.0 - https://projects.eclipse.org/license/epl-2
14281428

14291429
--------------------------------------------------------------------------------
14301430

1431-
org.eclipse.persistence.eclipselink-4.0.5.jar
1432-
Project URL (from POM): http://www.eclipse.org/eclipselink
1433-
License (from POM): Eclipse Public License 2.0 - http://www.eclipse.org/legal/epl-2.0
1434-
License (from POM): Eclipse Distribution License 1.0 - http://www.eclipse.org/org/documents/edl-v10.php
1431+
Group: org.eclipse.persistence Name: eclipselink Version: 4.0.6
1432+
Project URL: https://eclipse.dev/eclipselink/
1433+
License: Eclipse Public License 2.0 - https://projects.eclipse.org/license/epl-2.0
14351434

14361435
--------------------------------------------------------------------------------
14371436

@@ -1723,3 +1722,9 @@ Project URL (from POM): https://github.com/awslabs/aws-eventstream-java
17231722
License (from POM): Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt
17241723

17251724
--------------------------------------------------------------------------------
1725+
1726+
Group: org.postgresql Name: postgresql Version: 42.7.5
1727+
Project URL: https://jdbc.postgresql.org/
1728+
License (from POM): BSD-2-Clause - https://opensource.org/licenses/BSD-2-Clause
1729+
1730+
--------------------------------------------------------------------------------

quarkus/server/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ dependencies {
4848
implementation(project(":polaris-service-common"))
4949
implementation(project(":polaris-quarkus-service"))
5050

51-
if (project.hasProperty("eclipseLinkDeps")) {
52-
runtimeOnly(project(":polaris-eclipselink"))
53-
}
51+
runtimeOnly(project(":polaris-eclipselink"))
52+
runtimeOnly("org.postgresql:postgresql")
5453

5554
// enforce the Quarkus _platform_ here, to get a consistent and validated set of dependencies
5655
implementation(enforcedPlatform(libs.quarkus.bom))

quarkus/server/distribution/LICENSE

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,6 +2086,12 @@ License (from POM): Apache License 2.0 - https://www.apache.org/licenses/LICENSE
20862086

20872087
--------------------------------------------------------------------------------
20882088

2089+
Group: org.eclipse.angus Name: angus-activation Version: 2.0.2
2090+
Project URL: https://projects.eclipse.org/projects/ee4j.angus
2091+
License: Eclipse Public License 2.0 - https://projects.eclipse.org/license/epl-2.0
2092+
2093+
--------------------------------------------------------------------------------
2094+
20892095
Group: org.eclipse.jetty Name: jetty-http Version: 9.4.53.v20231009
20902096
Project URL (from POM): https://eclipse.org/jetty
20912097
License (from POM): Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt
@@ -2167,6 +2173,12 @@ License (from POM): Apache License 2.0 - https://www.apache.org/licenses/LICENSE
21672173

21682174
--------------------------------------------------------------------------------
21692175

2176+
Group: org.eclipse.persistence Name: eclipselink Version: 4.0.6
2177+
Project URL: https://eclipse.dev/eclipselink/
2178+
License: Eclipse Public License 2.0 - https://projects.eclipse.org/license/epl-2.0
2179+
2180+
--------------------------------------------------------------------------------
2181+
21702182
Group: org.glassfish.expressly Name: expressly Version: 5.0.0
21712183
Project URL (from POM): https://projects.eclipse.org/projects/ee4j
21722184
License (from POM): EPL 2.0 - https://www.eclipse.org/legal/epl-2.0
@@ -2480,3 +2492,9 @@ Project URL (from POM): https://github.com/awslabs/aws-eventstream-java
24802492
License (from POM): Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt
24812493

24822494
--------------------------------------------------------------------------------
2495+
2496+
Group: org.postgresql Name: postgresql Version: 42.7.5
2497+
Project URL: https://jdbc.postgresql.org/
2498+
License (from POM): BSD-2-Clause - https://opensource.org/licenses/BSD-2-Clause
2499+
2500+
--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)