Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ quarkus.hibernate-orm.quote-identifiers.strategy=all
# Hibernate should only validate that the existing schema matches our entity classes,
# but it should never generate a schema by itself.
quarkus.hibernate-orm.database.generation=validate
quarkus.datasource.devservices.image-name=postgres:13-alpine
quarkus.datasource.devservices.init-script-path=schema.sql
4 changes: 4 additions & 0 deletions docs/getting-started/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,15 @@ Refer to the [kafka configuration reference] for details. Example of name change
| `GET /api/v1/tag/{policyUuid}` | `GET /api/v1/tag/policy/{uuid}` |
| `GET /api/v1/bom/token/{uuid}` | `GET /api/v1/event/token/{uuid}` |

* The minimum supported PostgreSQL version has been raised from 11 to 13 ([hyades/#1724]).
Lower versions may still work, but are no longer tested against.

[apiserver/#840]: https://github.com/DependencyTrack/hyades-apiserver/pull/840
[apiserver/#888]: https://github.com/DependencyTrack/hyades-apiserver/pull/888
[apiserver/#904]: https://github.com/DependencyTrack/hyades-apiserver/pull/904
[apiserver/#910]: https://github.com/DependencyTrack/hyades-apiserver/pull/910
[hyades/#1392]: https://github.com/DependencyTrack/hyades/issues/1392
[hyades/#1724]: https://github.com/DependencyTrack/hyades/issues/1724

[kafka configuration reference]: ../reference/configuration/api-server.md#kafka
[task scheduling configuration reference]: ../reference/configuration/api-server.md#task-scheduling
4 changes: 2 additions & 2 deletions docs/operations/database.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Dependency-Track requires a [PostgreSQL], or PostgreSQL-compatible database to operate.

The lowest supported version is 11. You are encouraged to use the [newest available version].
The lowest supported version is 13. You are encouraged to use the [newest available version].

Depending on available resources, individual preferences, or organizational policies,
you will have to choose between a [managed](#managed-solutions), or [self-hosted](#self-hosting) solution.
Expand Down Expand Up @@ -91,7 +91,7 @@ For example:
```yaml
services:
postgres:
image: postgres:16
image: postgres:17
command: >-
-c 'shared_buffers=2GB'
-c 'effective_cache_size=6GB'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

public class AbstractE2ET {

protected static DockerImageName POSTGRES_IMAGE = DockerImageName.parse("postgres:15-alpine");
protected static DockerImageName POSTGRES_IMAGE = DockerImageName.parse("postgres:13-alpine");
protected static DockerImageName REDPANDA_IMAGE = DockerImageName.parse("docker.redpanda.com/redpandadata/redpanda:v24.2.17");
protected static DockerImageName API_SERVER_IMAGE = DockerImageName.parse("ghcr.io/dependencytrack/hyades-apiserver")
.withTag(Optional.ofNullable(System.getenv("APISERVER_VERSION")).orElse("snapshot"));
Expand Down
4 changes: 4 additions & 0 deletions mirror-service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ quarkus.kafka.devservices.topic-partitions."dtrack.epss"=1
# @hidden
%dev.quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/dtrack

# @category: Database
# @hidden
quarkus.datasource.devservices.image-name=postgres:13-alpine

# @category: Database
# @hidden
quarkus.datasource.devservices.init-script-path=schema.sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ quarkus.hibernate-orm.database.generation=validate
%dev.quarkus.datasource.username=dtrack
%dev.quarkus.datasource.password=dtrack
%dev.quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/dtrack
quarkus.datasource.devservices.image-name=postgres:13-alpine
quarkus.datasource.devservices.init-script-path=schema.sql

quarkus.hibernate-orm.active=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ quarkus.hibernate-orm.database.generation=validate
# @hidden
%dev.quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/dtrack

# @category: Database
# @hidden
quarkus.datasource.devservices.image-name=postgres:13-alpine

# @category: Database
# @hidden
quarkus.datasource.devservices.init-script-path=schema.sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ quarkus.hibernate-orm.database.generation=validate
%dev.quarkus.datasource.username=dtrack
%dev.quarkus.datasource.password=dtrack
%dev.quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/dtrack
quarkus.datasource.devservices.image-name=postgres:13-alpine
quarkus.datasource.devservices.init-script-path=schema.sql
#%dev.quarkus.hibernate-orm.log.sql=true
quarkus.hibernate-orm.active=true
Expand Down
Loading