Closed Xiangs18 closed 7 months ago
@MrCreosote https://github.com/kbase/workspace_deluxe/actions/runs/7978938773/job/21785169860?pr=715#step:6:1881 Have you seen errors like this before? There are 5 tests failed for the same reason.
It looks like the authcontroller isn't starting up properly. Does everything work with Mongo 3? If not we may need to update the auth jar once it's released before the tests will pass
Everything works with Mongo 3.
wait, are you saying we should use new auth2 jar to test?
If tests pass w/ mongo 3 and fail with 7 it looks like we'll need the new auth jar, yeah. Check the auth server logs to be sure
we need to do the following:
us.kbase.test.auth2
to us.kbase.auth2
main
I'm not sure why any changes are needed - I got the WS tests to pass with the new auth jar.
May I know how did you import AuthController class from the new auth jar?
I didn't have to change the imports at all from what I recall - unfortunately I deleted the changes once I confirmed it worked. Let me know if you can't get things working and I'll set things up again
Here is what I am struggling:
./gradlew jar
in auth2 to create the new auth2 jar import us.kbase.test.auth2.authcontroller.AuthController;
I would love to know how did you make it work. Ah, us.kbase.test is not even inside the new auth2 jar.
You need to use the fatTestJar target: https://github.com/kbase/auth2/blob/develop/build.gradle#L111
@MrCreosote I made a temp branch in jars repo to test against v7 on ws. Once you think auth2 is completely ready, I can submit a fat jar PR in jars repo and revert -b changes on build.xml and Dockerfile in the current PR.
Updated as the last commit
Looks good, but I just realized it needs release notes & a version bump to 0.14.3
Codecov Report
Additional details and impacted files
```diff @@ Coverage Diff @@ ## develop #715 +/- ## ========================================== Coverage 87.66% 87.66% - Complexity 5328 5329 +1 ========================================== Files 228 228 Lines 17646 17648 +2 Branches 2573 2573 ========================================== + Hits 15469 15471 +2 Misses 1714 1714 Partials 463 463 ```