powsybl / powsybl-afs

AFS modules for powsybl
Mozilla Public License 2.0
3 stars 1 forks source link

Update java17 and dependencies #138

Closed rolnico closed 7 months ago

rolnico commented 7 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem? No

What kind of change does this PR introduce? Dependency upgrade and associated changes

What is the current behavior? powsybl-afs is built on Java 11

What is the new behavior (if this is a feature change)? powsybl-afs is now built on Java 17. The tests on the module powsybl-afs-ws-server have been disabled due to errors coming from Mockito (see https://github.com/mockito/mockito/issues/2203). Since projects now use the afs-spring-server module, afs-ws-server might be later discarded too if the error is not resolved.

Does this PR introduce a breaking change or deprecate an API?

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps) PowSyBl-AFS now only supports Java 17 and higher. Please check that your installed SDK is still compatible. If you are using Ubuntu 20.04 LTS and the preinstalled Maven version, you will need to upgrade your Maven version too at least up to a version 3.8.x.

In afs.ws.server, the SimpleKeyGenerator now uses the Jwts.SIG.HS512 algorithm. Clients shall be changed accordingly

sonarcloud[bot] commented 7 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
78.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud