-
Notifications
You must be signed in to change notification settings - Fork 118
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
Sputnik 2.3.0 fails after migrating to Gerrit 3.3.0/3.3.1 #226
Comments
Hi, thanks for reporting. This is strange and I don't know why it happens. We should check exactly HTTP request and response as urswolfer's library is a wrapper. You can capture HTTP traffic or you can check if urswolfer's library contains a logger that can log HTTP traffic. We can also ask @uwolfer himself :D @uwolfer can you share your thought if you can read this? 😎 |
@patbaumgartner does this help with debugging with your setup? |
Hi @uwolfer and @SpOOnman - thanks for your support so far. currently, I upgraded to Gerrit 3.3.1 which did not solve the issue yet. Adding an Interceptor like @uwolfer pointed out does not work since the request body does not get printed. I also used reflection to get access to the HttpEntity. So I increased the log level like this where I see plenty of logging.
Continue on this, keeping you posted. |
Trying to fetch the original request against Gerrit 3.3.1 looks like this
It looks like they changed the ReviewInput API in 2.15 - no longer offers the strict_labels option. |
Hey @patbaumgartner, I've just released 2.5.0 with gerrit-rest-java-client updated to 0.9.3 (#227). Can you try if this helps? |
Thanks @SpOOnman with this upgrade, it works again! |
After migrating, Jenkins fails with the following message. The Gerrit release documentation provided a hint - Breaking Changes in the REST API -> https://www.gerritcodereview.com/3.3.html#rest-api-changes
with the following properties. Even after commenting the score key it did not work.
Any idea how to fix this? I would love to help but have no clue how to start.
Best,
Patrick
The text was updated successfully, but these errors were encountered: