-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
(PUP-8591) Remove webrick #6794
Conversation
jenkins please test this |
5533c26
to
ff17d86
Compare
CLA signed by all contributors. |
This removes the basic webrick and rack code. There may be other code that is made dead by this commit.
ff17d86
to
fd372ff
Compare
jenkins please test this |
fd372ff
to
1ddb109
Compare
jenkins please test this |
2 similar comments
jenkins please test this |
jenkins please test this |
1ddb109
to
354e9be
Compare
jenkins please test this |
it "should fail if the indirection does not have the correct version" do | ||
expect(lambda { handler.uri2indirection("GET", "#{Puppet::Network::HTTP::CA_URL_PREFIX}/v3/certificate/foo", params) }).to raise_error(bad_request_error) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test seems valuable, eg trying to get version 4 of the regular puppet
routes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Some limited knowledge of the ca routes remains so that the agent can talk to puppetserver which still implements these.
I originally found this method hard to read. I've tried to have this function at a single level of abstraction. The only apparent functional difference is removing the call to cleanup. This is no longer used by anything.
354e9be
to
6cc73d5
Compare
added back the one unit test, not going to rerun acceptance since no code has changed |
No description provided.