Please check if the PR fulfills these requirements
[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
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?
[x] Yes
[ ] No
If yes, please check if the following requirements are fulfilled
[x] The Breaking Change or Deprecated label has been added
[ ] The migration steps are described in the following section
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
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