Thank you Jochen . Not Sure how I can provide a standalone application. Let me have a try.
What I observed further is as below;
I have two microservices -
1. microservice1 - nodejs based microservice.
2. microservice2 - Dropwizzard based which contains all our REST api's/resources.
microservice1 is the entry point for us, hence for the REST API invoke, request goes from microservice1 to microservice2. The same with response which is sent back via microservice1.
Observation:
1. Invoke REST API via microservice1. Fails. Its truncated.
2. Replace dropwizzard with oracle helidon in microservice2, Now invoke REST API via microservice1, it works with out any issue.
3. I can also invoke microservice2(with dropwizard) directly with some hack. it works and I can see full json response in this case.
The difference in Response headers between case1 and case2 is as below. The working one contains two additional headers.
Transfer-Encoding: chunked
Content-Encoding: gzip
Any encoding has to be set in Dropwizzard? Any clue please.
regards,
Robin Kuttaiah