ews-java-api icon indicating copy to clipboard operation
ews-java-api copied to clipboard

Fix HttpClientWebRequest so that it supports both GET and POST requests.

Open dconnelly opened this issue 10 years ago • 16 comments

Should fix #452

dconnelly avatar Nov 16 '15 23:11 dconnelly

Hi @dconnelly, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution! In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;

azurecla avatar Nov 16 '15 23:11 azurecla

Current coverage is 10.68%

Merging #461 into master will increase coverage by +0.26% as of bbab906

@@            master    #461   diff @@
======================================
  Files          550     550       
  Stmts        20432   20440     +8
  Branches      2625    2628     +3
  Methods          0       0       
======================================
+ Hit           2131    2183    +52
- Partial        153     157     +4
+ Missed       18148   18100    -48

Review entire Coverage Diff as of bbab906

Powered by Codecov. Updated on successful CI builds.

codecov-io avatar Nov 16 '15 23:11 codecov-io

@dconnelly, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, AZPRBOT;

azurecla avatar Nov 16 '15 23:11 azurecla

@dconnelly thanks for your contribution. Maybe you can add tests that declares initialization of HttpClientWebRequest to be working with different request methods.

serious6 avatar Nov 17 '15 08:11 serious6

Sure I can add some unit tests.

Also, are there plans for actual integration tests with real accounts? Perhaps Office365 with some test accounts would be a good start, and should improve code coverage numbers considerably.

dconnelly avatar Nov 17 '15 18:11 dconnelly

Yes that would be nice. AFAIK we might ran into troubles while credentials must not be exposed and Microsoft needs to donate some accounts.

serious6 avatar Nov 17 '15 20:11 serious6

Isn't this a Microsoft project? ;-)

Probably all is needed is a few O365 test accounts and Travis does support storing encrypted items in .travis.yml (see http://docs.travis-ci.com/user/encryption-keys/).

dconnelly avatar Nov 17 '15 20:11 dconnelly

maybe @vboctor can check on the integration testing topic and the related accounts. Meanwhile some unit-tests could be added to have this merged ;-)

serious6 avatar Nov 18 '15 16:11 serious6

@dconnelly are you planning any changes so far?

serious6 avatar Dec 02 '15 21:12 serious6

Hey sorry André been swamped. Will get to it this weekend.

  • David

On Wed, Dec 2, 2015 at 1:41 PM, André Behrens [email protected] wrote:

@dconnelly https://github.com/dconnelly are you planning any changes so far?

— Reply to this email directly or view it on GitHub https://github.com/OfficeDev/ews-java-api/pull/461#issuecomment-161442485 .

dconnelly avatar Dec 05 '15 19:12 dconnelly

@dconnelly it would be nice if we could merge your contribution. Please provide the mentioned changes if you are able to.

serious6 avatar Dec 28 '15 10:12 serious6

running into this issue too in my opinion this should just be merged. I verified the fix worked so we are running on master + this change on our production instance

kentongray avatar Jan 11 '16 18:01 kentongray

André, I added some unit test coverage although it's difficult to test fully without an actual server connection. Let me know what you think.

dconnelly avatar Feb 15 '16 03:02 dconnelly

@dconnelly once license header has been added this will be merged. Thanks for your contribution.

serious6 avatar Mar 19 '16 11:03 serious6

@serious6 can you tell me the line of text you want added and the file to add it and I will make a commit? madness that this has not been merged for over a year

MarkRBM avatar Dec 02 '16 19:12 MarkRBM

still waiting on this one

kentongray avatar Sep 18 '17 20:09 kentongray