What I'd like to have in Lyo [message #1800041] |
Wed, 19 December 2018 05:18  |
Eclipse User |
|
|
|
For some REST APIs that are not completely OSLC, it is sometimes necessary to add headers. Jim suggested to use HttpRequestInterceptor to do this. this works really well at the moment but has the deprecation flag set. There is no option how to use this with newer HTTPClients.
Several functionality used in current lyo versions are deprecated. Especially parts around being able to run against self signed or wrong certificates. It would be nice if that could be fixed. I have created some code that seemed to work and does not use the deprecated parts. Let me know if you want me to share.
One thing that I had issues with was that I am unable to see what I would be sending in some calls, especially the request body. I was looking at the server log of the server I was talking to, however the server does processing before printing the request data and I was not seeing what I was sending.
I know that it would be possible to have a proxy in the middle, but the effort to set that up is huge, I think. I am also running all apps on one client machine, so I don't even know if this is possible.
It would be beneficial if it would be somehow possible to generate a test request that can be dumped into a log so that one can see the headers and the request payload.
|
|
|
|
Re: What I'd like to have in Lyo [message #1801663 is a reply to message #1800189] |
Thu, 24 January 2019 06:01  |
Eclipse User |
|
|
|
Thanks Jad, I will check the link. I somehow missed that.
Thanks for the offer, I will wait for a more stable stream.
As a remark, some of the deprecation is due to deprecation in SSL handling, especially how to allow working against test servers with invalid SSL certificates. This is based on the Apache libraries and not WINK. That was something I had looked at.
|
|
|
Powered by
FUDForum. Page generated in 0.03341 seconds