Skip to content

Conversation

@kushalagrawal
Copy link
Contributor

Description: 1. Updated Apache httpclient version and corresponding code for IPv6+ https issue.
2. Added support for IgnoreSSLVerification and custom SSLHostnameVerifier.

Description: 1. Updated Apache httpclient version and corresponding code for IPv6+ https issue.
             2. Added support for IgnoreSSLVerification and custom SSLHostnameVerifier.
@vinodborole
Copy link
Contributor

LGTM

@kushalagrawal
Copy link
Contributor Author

@gondor @auhlig can you guys please check and approve the pull request.

@auhlig
Copy link
Member

auhlig commented Jul 24, 2017

Will take a look tomorrow.

@auhlig auhlig added this to the 3.1.0 Release milestone Jul 25, 2017
Copy link
Member

@auhlig auhlig left a comment

Choose a reason for hiding this comment

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

Besides question LGTM

<artifactId>httpclient</artifactId>
<groupId>org.apache.httpcomponents</groupId>
</exclusion>
</exclusions>
Copy link
Member

@auhlig auhlig Jul 25, 2017

Choose a reason for hiding this comment

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

Why excluding the httpclient from resteasy? Wouldn't upgrading resteasy itself be the cleaner solution?

Copy link
Contributor Author

@kushalagrawal kushalagrawal Jul 25, 2017

Choose a reason for hiding this comment

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

We tried using higher version of resteasy jar. But it did not work because of the version resteasy usage of httpclient. There are few SSL related bug fix only in 4.5.3 version.
https://archive.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-4.5.x.txt

Maybe in near future when resteasy provides corresponsing implementation. we can upgrade resteasy and remove execlusion.

Copy link
Member

Choose a reason for hiding this comment

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

Which version of resteasy did you try?

Copy link
Contributor Author

@kushalagrawal kushalagrawal Jul 26, 2017

Choose a reason for hiding this comment

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

I used 3.1.3.Final. now I can see that they have released new version (3.1.4.Final). I will try to use this version and will upgrade if it works.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @auhlig , Even new one also come with httpcomponents:httpclient:jar:4.5.2

[INFO] ------------------------------------------------------------------------
[INFO] Building OpenStack4j RestEasy Connector 3.0.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ openstack4j-resteasy ---
[INFO] org.pacesys.openstack4j.connectors:openstack4j-resteasy:jar:3.0.5-SNAPSHOT
[INFO] +- org.jboss.resteasy:resteasy-jaxrs:jar:3.1.4.Final:compile
[INFO] | +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.0_spec:jar:1.0.1.Beta1:compile
[INFO] | +- org.jboss.resteasy:resteasy-jaxrs-services:jar:3.1.4.Final:compile
[INFO] | +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] | +- javax.activation:activation:jar:1.1.1:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.2:compile

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @auhlig, tried setting up IntelliJ but couldn't get succeed. got stuck in regular office tasks.
I can send you git patch if you are ok. I will try to get some time this weekend and finish the task otherwise.

Copy link
Member

Choose a reason for hiding this comment

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

No worries. I'm also happy to take this in it's current state. Just wanted to know, so do not postpone the release unnecessarily. Many thanks for all the work!
So is it good to merge from your side @kushalagrawal1?

Choose a reason for hiding this comment

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

it works for me

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@aiziyuer can you please apply this patch and try?
<change the extension of the file to ".patch">
https://github.com/ContainX/openstack4j/files/1291381/issue_1070_patch.txt

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @auhlig @vinodborole, I have done all required changes from my side. can you please review it once so it can be merged, or if there is any change need to be done will not affect release.

@auhlig auhlig mentioned this pull request Sep 6, 2017
Description: Updated Resteasy client version  from 2.x to 3.x.
@kushalagrawal
Copy link
Contributor Author

kushalagrawal commented Sep 11, 2017

Hi @auhlig @vinodborole , I tried fixing the issue but I failed.. Here is the patch for the same. Can you please check what is the silly mistake I am doing ?
<change the extension of the file to ".patch">
issue_1070_patch.txt

Description: Fixed Test cases.
@kushalagrawal
Copy link
Contributor Author

kushalagrawal commented Sep 13, 2017

@auhlig @vinodborole it is ready to merge. can you please review it once.

@auhlig
Copy link
Member

auhlig commented Sep 18, 2017

Very cool @kushalagrawal1 💯
Any notpicks or objections from your side @vinodborole?

@vinodborole
Copy link
Contributor

LGTM @auhlig, good work @kushalagrawal1 👍

@auhlig auhlig merged commit 044608b into ContainX:master Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants