Skip to content

Conversation

@culka
Copy link
Contributor

@culka culka commented Oct 22, 2025

Update dependencies and add all needed by Spring Boot, jOOQ and Jackson.

Update Java to 24.

Add configuration for database connection.

Generation for jOOQ classes.

Add KtLint code checking.

@culka culka force-pushed the setup-spring-boot branch 4 times, most recently from 0e14b5a to 05c41d8 Compare October 27, 2025 18:59
@culka culka force-pushed the setup-spring-boot branch 12 times, most recently from dcf2a33 to c737675 Compare October 30, 2025 12:58
Copy link

@Huulivoide Huulivoide left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pintapuolin kyllä vaikuttaa ihan OK:lta, noita paria ehdotusta lukuun ottamatta.

Dockerfile Outdated
EXPOSE 8080

# download script for reading Docker secrets
RUN curl -o /tmp/read-secrets.sh "https://raw.githubusercontent.com/HSLdevcom/jore4-tools/main/docker/read-secrets.sh"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ADD https://raw.githubusercontent.com/HSLdevcom/jore4-tools/main/docker/read-secrets.sh /tmp/read-secrets.sh

Niin voi pudottaa curlin asennuksen kokonaan pois. Vois tiketöidä ja tehdä saman muutoksen muihinkin docker filuihin.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

# Datasource settings of the Jore 4 database
jore4.db.driver=org.postgresql.Driver
jore4.db.url=jdbc:postgresql://localhost:6432/jore4e2e?stringtype=unspecified
jore4.db.username=dbhasura

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hasura käyttäjällä on myös kirjotus oikeidet. Tän palvelun pitäs varmaan lähtökohtasesti vaan lukee kamaa kannasta, niin vois olla joku oma käyttäjä, jolla vaan sopivat lukuoikeudet.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ihan totta. CI profiilia käytetään vain testiajoissa ja kantaan ei ole luotu vielä oikeaa käyttäjää netex exporterille, joten tämä vaihdetaan kun käyttäjä on. Nykyisiä alustuksia ei kannata lähteä muokkaamaan vaan tehdä uusi käyttäjä vasta yhdistettyyn kantaan.

@culka culka force-pushed the setup-spring-boot branch from c737675 to 4272d2f Compare November 3, 2025 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants