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

Migrate the project to use the Jakarta API making it compatible with recent Java versions or newer framework versions #78

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

bmariesan
Copy link
Contributor

We've noticed that the main SDK has compatibility with more recent Java versions or frameworks, however the iris SDK is using the older jaxb API. While the java migration is not required (I tested at least compatibility with Java 17 and seems to be working just fine), I assume the API can safely be migrated to the newer Jakarta API packages & runtimes.

There was one test that was failing after the migration and I also had to upgrade the wiremock API as it was causing some class cast exceptions (again due to it using jaxb/javax in the older versions).

Please let me know if there's anything else I need to test and/or change in order to cotribute the changes.

…recent Java versions or newer framework versions.
@bmariesan bmariesan requested review from a team as code owners January 6, 2025 10:49
@@ -55,7 +55,7 @@ public void testInvalidSiteDelete() throws Exception {
.withStatus(200)
.withBody(IrisClientTestUtils.validSiteResponseXml)));

Site s = Site.get(getDefaultClient(), "1234");
Site s = Site.get(getDefaultClient(), "2858");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test was working with the previous wiremock version, however after upgrading the lib, it started failing. Judging with my limited knowledge of bandwidth APIs I think the fix here makes sense, but again lmk if I missed something here

@ajrice6713
Copy link
Contributor

Hey @bmariesan - thanks for the contribution! we will look over the changes and get this tested and merged in!

@brianluisgomez brianluisgomez merged commit 0f4d2aa into Bandwidth:main Jan 6, 2025
4 checks passed
@ajrice6713
Copy link
Contributor

@bmariesan this change will get released tomorrow

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