aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2024-04-04Constructor inject the jakarte ee ClientBuilderHEADmasterFiete Ostkamp4-16/+26
- do not create the ClientBuilder inside the classes but rather constructor inject it - this way instrumentation of the client could be possible when tracing is enabled Issue-ID: AAI-3817 Change-Id: I4c6d1faf8da98283e8bbae66bd0b3207786a4ce5 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2022-10-26Use the 1.9.4 parent pom in rest-clientFiete Ostkamp1-12/+12
- work around metrics logging, a proper solution would probably involve updating eelf-core in the logging service Issue-ID: AAI-3564 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I8a21089d9b41e9a973c62c9eac22503ad32fa731
2018-11-21Rewrite rest-client to use Jersey 2.x API1.4.0Lee, Tian (tl5884)6-1290/+1223
This is to fix clashes with the rs-api 2.x jars that Spring Boot requires on the classpath. Change-Id: Ic36cdf0d650f96c54824e2f51c7f8060b2588c66 Issue-ID: AAI-1939 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2018-11-12remove ability to disable cert chain validationrenealr3-37/+7
Remove the ability to disbale certificate chain validation Issue-ID: AAI-1908 Change-Id: I5803cec657594bfbc814be1e0122a67206d28cc4 Signed-off-by: renealr <reneal.rogers@amdocs.com>
2018-08-15added test case to RestfulClientTest.javaSandeep J1-1/+9
to increase code coverage Issue-ID: AAI-1451 Change-Id: I76a8a3a84b3218b038fda2a240d121481f64a03a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-03Fix bugs in Rest ClientWiktor Garbarek1-1/+5
Fixed handling InterruptedException and NullPointerException Change-Id: I4a7f0d73394bc8c7cbdce5bc424104edcc036fe4 Issue-ID: AAI-1359 Signed-off-by: Wiktor Garbarek <wiktor.garbarek@nokia.com>
2018-05-23Merge "SSL_BASIC getting 403 error"James Forsyth1-1/+3
2018-05-04SSL_BASIC getting 403 errorAshoka M G1-1/+3
Issue-ID: AAI-1097 Change-Id: I19e57b5414f84abcb177d632ac568a88229ccb92 Signed-off-by: Ashoka M G <ashok.g@arris.com>
2018-04-16Fixes in RestClientburdziak1-30/+45
Change-Id: I6409dbac1cb8640e406830f36c0ad3ce152638ed Issue-ID: AAI-1032 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-03-13Update license date and textsblimkie7-28/+14
Update license date and disable license plugin Issue-ID: AAI-868 Change-Id: I8f3a5bf9619dd036853be298a553337a8ce5e843 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2017-09-28Fixed null pointer Blocker/Critical sonar issuesshashikanth1-8/+10
Fix Blocker/Critical sonar issues in rest-client module https://sonar.onap.org/component_issues?id=org.openecomp.aai%3Arest-client#resolved=false|severities=BLOCKER NullPointerException might be thrown as 'result' is nullable Issue-Id: AAI-394 Change-Id: If52eb1868d68a8b285507845877fa3cc44382aec Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-21Renaming openecomp to onapArul.Nambi2-7/+7
Issue-ID: AAI-208 Change-Id: I043f4824e8998028a9cd92b7eb113a49d59bcea5 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2017-09-21Expose ssl protocol configdave.adams (da490c)4-6/+63
Issue-ID: AAI-127 Change-Id: I657144887df8ec36b73d0506902ca4d324dd794a Signed-off-by: dave.adams (da490c) <dave.adams@amdocs.com>
2017-09-14Renaming openecomp to onapArul.Nambi12-19/+25
Issue-ID: AAI-208 Change-Id: I852fda30e0b44e73da8ae3e4748b49c663e544d0 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2017-09-08Add name to the top level pom for rest-clientVenkata Harish K Kajur4-0/+88
Issue-ID: AAI-271 Change-Id: I1a66b2042a2a775c55fc8cde021e56bd45a5ef3a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-07-31Changing the license and trademarkARUL NAMBI7-42/+28
Issue-ID: AAI-88 Change-Id: I3a5641a294c4072734aca565369cf759a9030cf9 Signed-off-by: ARUL NAMBI <arul.nambi@amdocs.com>
2017-07-11Extract a constant in place of a hardcoded valueRyan Goulding1-1/+2
This is a bit cleaner IMO but open to suggestions. Change-Id: I074f18eb93aee5582629d04c21295a07bc45c089 Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
2017-07-11Fix incorrect result for a server response of 204mark.j.leonard2-697/+314
The Rest Client will not always call the method getEntity() on a com.sun.jersey.api.client.ClientResponse object, which is documented to throw a UniformInterfaceException if the HTTP server response status is 204 (No Content). This fix prevents the Rest Client handling the thrown exception by returning a 500 response to the caller, which would wrongly indicate an Internal Server Error. Change-Id: I7b78d2b43213e330593bbea559025f790db6264f Issue-ID: AAI-48 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2017-06-09Modify authentication mode defaultdave.adams (da490c)1-2/+2
Change-Id: I751af549f37200b6e12cf2b6f1319f3d4d5f628a Signed-off-by: dave.adams (da490c) <dave.adams@amdocs.com>
2017-05-24Update rest-client with additional operationsdave.adams (da490c)14-635/+1605
Change-Id: Ia19c5156d40c816dc1ee77cece92c43f40791c59 Signed-off-by: dave.adams (da490c) <dave.adams@amdocs.com>
2017-05-08Initial OpenEcomp A&AI Rest Client commit.Shwetank Dave9-0/+1878
Change-Id: Ic6949778061bdf141431c4b14ea2417da6aa1e57 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>