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

Bump supported Java version and several libraries #153

Merged
merged 90 commits into from
Jan 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
282232b
Bump spring-boot-starter-parent from 1.4.4 -> 3.2.0 and from Java 8 t…
Dec 14, 2023
7a7db51
Bump Java 8 -> Java 11
Dec 14, 2023
cfd95a1
Bump Java 8 -> Java 11
Dec 14, 2023
39f77e9
Keep Java 8 for klass-forvaltning
Dec 14, 2023
fd4f424
Fix test
Dec 14, 2023
ca40be6
Fix test
Dec 14, 2023
b7891fe
Fix test
Dec 14, 2023
e1aa67b
Fix test
Dec 14, 2023
574589c
Fix test
Dec 14, 2023
6576c81
Fix test
Dec 14, 2023
f73a707
Fix test
Dec 14, 2023
23aff36
Fix tests
Dec 14, 2023
f6311e8
Fix tests
Dec 14, 2023
865b131
Fix incorrect sql syntax
Dec 15, 2023
da20bb7
Upgrade jaxb2-maven-plugin
mmwinther Dec 15, 2023
5028b3a
Removed solr-dataimporthandler as it conflicted with ANTLR version (a…
Dec 15, 2023
a8238bf
Fix boolean comparison operator in JPA queries
mmwinther Dec 15, 2023
2254ce6
Fix comparison operator in JPA queries
mmwinther Dec 15, 2023
2d7e501
Removed solr-dataimporthandler as it conflicted with ANTLR version (a…
Dec 15, 2023
859efce
Fix comparison operator in JPA queries
mmwinther Dec 15, 2023
d7d9a98
Fix issues with H2 and reserved keywords
mmwinther Dec 15, 2023
b320975
Fix JPQL boolean comparison
mmwinther Dec 15, 2023
8b5fcfc
Fixed antlr conflicts
Dec 15, 2023
a9e12c5
Specify Converter for fields of type Translatable
mmwinther Dec 15, 2023
ca7e08d
Implement no-args constructor for Subscription
mmwinther Dec 15, 2023
b938d89
Implement no-args constructor for ClassificationFamily
mmwinther Dec 15, 2023
1e7abd6
Fixed native sqls for the user table and fixed an improper test.
Dec 18, 2023
3644cf6
Bump rest-assured version
Dec 18, 2023
76de7f7
Tables should be nullable
Dec 18, 2023
219d001
Fix changes in Spring HATEOAS
Dec 18, 2023
687a819
Fix tests due to changes in Spring HATEOAS
Dec 19, 2023
32ee9c0
Slight improvement. The antrl runtime error is gone. But still fails …
Dec 21, 2023
b6e34a9
Fixed ApiDocumentation tests. Downgraded to Spring Boot 2.7.8, Spring…
Jan 2, 2024
539185f
Fix CodeQL Analysis
Jan 2, 2024
2cd0c2b
Share maven cache
Jan 2, 2024
de1f397
Fix build
Jan 2, 2024
b54402c
Make all classes Java 1.8 compatible in order to build klass-forvaltn…
Jan 2, 2024
cf7a3dd
Downgrade maven for vaadin-maven-plugin
Jan 2, 2024
ad982f9
Fix vaadin-maven-plugin
Jan 2, 2024
c5f2d82
Since klass-forvaltning uses Vaadin7 we must remove dependency to kla…
Jan 2, 2024
d58068a
Use spring-data-solr 2.1.0.RELEASE
Jan 2, 2024
606664f
Rewrite classes to be Java8 compatible
Jan 2, 2024
7319089
Fix that almost had the spring boot application up and running
Jan 3, 2024
a62aecd
Use Java8/Spring Boot 1.4.4 compatible versions of klass-shared and k…
Jan 3, 2024
c077c75
Fix runtime dependency
Jan 3, 2024
2656bfa
Fixed bug in UserServiceImpl
Jan 4, 2024
a7562c9
Turn off hibernate ddl validation since it appears buggy
Jan 4, 2024
958fc14
Add http examples
Jan 4, 2024
79e2da7
Use older mariadb connector
Jan 8, 2024
0618760
Add missing flyway-mysql library
Jan 9, 2024
48d6f81
Downgrade mariadb version
Jan 9, 2024
8083194
Bump flyway version
Jan 9, 2024
23cfd91
Core name must be part of the baseURL for some reason
Jan 9, 2024
2098d6a
Fix search links to include the base path
Jan 10, 2024
a7f9023
Fix search links to include the base path
Jan 10, 2024
afe4268
Add test
Jan 10, 2024
7483eff
Fixed invalid hardcoded value
Jan 10, 2024
e8b2f34
Fixed monitor page
Jan 10, 2024
d9f0d44
Merge from master
Jan 11, 2024
358d1c6
Merge from master
Jan 11, 2024
95658c3
Add separate profiles for nexus and github
Jan 12, 2024
2217c8a
Add github packages repo
Jan 12, 2024
c27044e
Add auth to github packages repo
Jan 12, 2024
cb88dc8
Fixed CodeQL
Jan 12, 2024
419c60d
Fixed CodeQL
Jan 12, 2024
2b65e5d
Bump Java17 compatible libs to 3.0.0-SNAPSHOT
Jan 12, 2024
633172a
Fix monitoring and ping paths to be less strict. Also fix links where…
Jan 12, 2024
66c8580
Fix monitoring and ping paths
Jan 12, 2024
15d1b96
Fix monitoring paths
Jan 12, 2024
d8ce91f
Fix monitoring paths
Jan 12, 2024
129be76
Fix paths
Jan 15, 2024
196537c
Fix basepath links
Jan 15, 2024
59d67ec
Fix basepath links
Jan 15, 2024
75c9e6e
Fix ordering of json structure
Jan 15, 2024
bd880ec
Fix ordering of json structure
Jan 15, 2024
66a7ca1
Use application/hal+json by default
Jan 16, 2024
4deb5df
Fix ordering of json structure
Jan 16, 2024
56f18e9
Add more version properties
Jan 16, 2024
7fe3d85
Add more version properties
Jan 16, 2024
6f4ce4f
Re-emabøe suffix pattern matching
Jan 17, 2024
32f8ec7
Re-emabøe suffix pattern matching
Jan 17, 2024
d02ee21
Added more rest examples
Jan 18, 2024
15bdb6c
Fix logging
Jan 18, 2024
fc26e71
Fix logging
Jan 18, 2024
e6dd3a1
Bump apacheds-server-jndi-version and set CORS header for klass-web
Jan 19, 2024
07f1409
Expand self links so that klass-web can use the links directly
Jan 22, 2024
40d8e45
Fixed tests
Jan 22, 2024
483d1b3
Ensure that links inherit https when running behind a LB/reverse proxy
Jan 22, 2024
c321ab7
Enforce https in API docs
Jan 22, 2024
2d3a022
Enforce https in API docs
Jan 22, 2024
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
Prev Previous commit
Next Next commit
Fix test
Skaar, Bjørn-Andre committed Dec 14, 2023
commit ca40be69fdfdf25a9383a24bc0b0db9a0b2b1c9f
41 changes: 41 additions & 0 deletions .github/workflows/tests-klass-forvaltning.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Tests
run-name: "Build, tests and package"

on:
push:
branches:
- master
pull_request:
paths-ignore:
- '**.md'

jobs:
build:
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest' ]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: maven

# Need to downgrade Maven in order to allow HTTP (not HTTPS) packages to be downloaded.
# This is necessary as HTTP repositories were blocked in Maven 3.8.1
# HTTP repositories are used in some outdated dependenciesns
# This step can be removed once KLASS packages have been updated to more recent versions
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.6.3

- name: Build, test and package with Maven
run: mvn --batch-mode --update-snapshots package -P nexus
# Build only klass-forvaltning with JDK 1.8
- name: Build, test and package with Maven
run: mvn --batch-mode --update-snapshots package -pl 'klass-forvaltning' -P nexus
12 changes: 2 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -25,14 +25,6 @@ jobs:
java-version: '17'
cache: maven

# Need to downgrade Maven in order to allow HTTP (not HTTPS) packages to be downloaded.
# This is necessary as HTTP repositories were blocked in Maven 3.8.1
# HTTP repositories are used in some outdated dependenciesns
# This step can be removed once KLASS packages have been updated to more recent versions
#- name: Set up Maven
# uses: stCarolas/setup-maven@v4.5
# with:
# maven-version: 3.6.3

# Build all modules except klass-forvaltning since it is not compatible with JDK 17
- name: Build, test and package with Maven
run: mvn --batch-mode --update-snapshots package -P nexus
run: mvn --batch-mode --update-snapshots package -pl '!:klass-forvaltning' -P nexus