Migrate from apache oltu in hermes test helper
moscicky opened this issue · 3 comments
Apache oltu is no longer maintained since 2018. It uses javax namespace (cant use jakarta namespace with it). We should migrate to different ouath solution.
In the first place please investigate why this dependency is used, consider removing it or using another dependency for that
@szczygiel-m Hi, I've looked into this issue and found that Apache Oltu is used only in package pl.allegro.tech.hermes.test.helper.oauth.server;
to create mock OAuth server. This server is used in pl.allegro.tech.hermes.integration.OAuthIntegrationTest
to test retrieving tokens when sending messages to OAuth-secured subscribtions. Additionally, if I am not mistaken, tokens are just UUIDs randomly generated (new OAuthIssuerImpl(new UUIDValueGenerator());
), so the issue is mostly about replacing data structures used by Apache Oltu with custom ones. I can try to do it.
Hi, thanks for the analysis, i will assign You 😄