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

(PUP-8591) Remove webrick #6794

Merged
merged 4 commits into from
Apr 26, 2018
Merged

Conversation

pcarlisle
Copy link
Contributor

No description provided.

@pcarlisle pcarlisle changed the title (PUP-8591) Remove webrick [do not merge] (PUP-8591) Remove webrick Apr 18, 2018
@pcarlisle
Copy link
Contributor Author

jenkins please test this

@puppetcla
Copy link

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.
@pcarlisle
Copy link
Contributor Author

jenkins please test this

@pcarlisle pcarlisle changed the title [do not merge] (PUP-8591) Remove webrick (PUP-8591) Remove webrick Apr 23, 2018
@pcarlisle
Copy link
Contributor Author

jenkins please test this

2 similar comments
@pcarlisle
Copy link
Contributor Author

jenkins please test this

@pcarlisle
Copy link
Contributor Author

jenkins please test this

@pcarlisle
Copy link
Contributor Author

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

Copy link
Contributor

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?

Copy link
Contributor Author

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.
@pcarlisle
Copy link
Contributor Author

added back the one unit test, not going to rerun acceptance since no code has changed

@joshcooper joshcooper merged commit 3dec474 into puppetlabs:master Apr 26, 2018
@pcarlisle pcarlisle deleted the remove-webrick branch July 10, 2018 17:27
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