Constructor inject the jakarte ee ClientBuilder 43/137643/1 master
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Thu, 4 Apr 2024 08:37:43 +0000 (10:37 +0200)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Thu, 4 Apr 2024 08:37:43 +0000 (10:37 +0200)
commit21e01d4ae2d5583112b23290a6d52f70951e70cd
tree54048723b17ba6eceee639680c64c7c11bac6cf4
parent338ea513407cac56c78678f6697a2e55b6bc22b9
Constructor inject the jakarte ee ClientBuilder

- 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>
pom.xml
src/main/java/org/onap/aai/restclient/client/RestClient.java
src/main/java/org/onap/aai/restclient/rest/RestClientBuilder.java
src/test/java/org/onap/aai/restclient/client/RestfulClientTest.java
src/test/java/org/onap/aai/restclient/rest/RestClientBuilderTest.java
version.properties