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

(PE-35511) Update to tk-webserver-jetty-10 #3915

Merged

Conversation

rileynewton
Copy link
Contributor

No description provided.

@rileynewton rileynewton requested review from a team as code owners November 28, 2023 21:50
@rileynewton rileynewton force-pushed the PE-35511-update-to-jetty-10 branch 4 times, most recently from 2a95668 to 8d82c6b Compare November 28, 2023 21:59
"libjetty9-java",
"libjetty10-java",
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure you wanted to make this change here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Was thinking it's a doc so doesn't matter though not sure about that, reverted it

[puppetlabs.trapperkeeper.services.webserver.jetty9 :as jetty9]
[puppetlabs.trapperkeeper.services.webserver.jetty10 :as jetty10]
Copy link
Contributor

Choose a reason for hiding this comment

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

Both requires can be removed. It was just used for the name spacing, which doesn't exist in jetty10.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed this one, which is the other?

@rileynewton rileynewton force-pushed the PE-35511-update-to-jetty-10 branch 14 times, most recently from a42e2db to ca7bd20 Compare November 30, 2023 00:34
@jonathannewman
Copy link
Contributor

I think your parent version needs to be updated too.

@@ -177,8 +177,8 @@
[puppetlabs/stockpile "0.0.4"]
[puppetlabs/structured-logging]
[puppetlabs/trapperkeeper]
[puppetlabs/trapperkeeper-webserver-jetty9]
[puppetlabs/trapperkeeper-metrics]
[com.puppetlabs/trapperkeeper-webserver-jetty10]
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't forget to update the version here too if you want to test!

@rileynewton
Copy link
Contributor Author

I think your parent version needs to be updated too.

Didn't release a new one yet--seeing if this fixes the issue whenever tk-metrics manages to release.

@rileynewton rileynewton force-pushed the PE-35511-update-to-jetty-10 branch 2 times, most recently from f97b7d3 to 683e569 Compare November 30, 2023 22:05
@austb
Copy link
Contributor

austb commented Dec 5, 2023

If you rebase this on the current main I think both integration tests will be able to pass.

We just merged some work to further separate puppetdb/puppetserver in our integration tests #3919 that should help with testing this jetty work.

@rileynewton rileynewton force-pushed the PE-35511-update-to-jetty-10 branch 4 times, most recently from 81be291 to 7d60668 Compare December 5, 2023 22:21
;; See https://www.ietf.org/rfc/rfc4627.txt, UTF-8 is assumed as a default
;; encoding.
json? #(= ctype "application/json")]
(if (some-> ctype (or json-utf8-ctype? json?))
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
(if (some-> ctype (or json-utf8-ctype? json?))
(if (and ctype (or json? (json-utf8-ctype? ctype)))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@rileynewton rileynewton force-pushed the PE-35511-update-to-jetty-10 branch 3 times, most recently from e57d71d to e8dd8cf Compare December 5, 2023 22:59
@jonathannewman jonathannewman merged commit f7a70d8 into puppetlabs:main Dec 6, 2023
10 checks passed
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