aboutsummaryrefslogtreecommitdiffstats
path: root/rest-services
AgeCommit message (Collapse)AuthorFilesLines
2019-08-28Update DMaapMR image versionIzabela Zawadzka1-1/+1
Now it is the same as in dmaap/messageservice project Change-Id: Id4c5186261635ea0fb408858df6928a6b02c2240 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1746
2019-08-20Use local docker-compose in testcontainersIzabela Zawadzka1-1/+2
Issue-ID: DCAEGEN2-1726 Change-Id: Icc3ed801909750de5d6ba2f65f042e05e39797e1 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-08-01Correct path in AaiGetServiceInstanceClientJoanna Jeremicz3-4/+11
Change-Id: Id8dd6e21092de900aa0c4524339566b16b913db9 Issue-ID: DCAEGEN2-1699 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-06-28JJB alignment across DCAE components - DCAE-SDK (fixes)Piotr Jaszczyk6-6/+6
Fixes after https://gerrit.onap.org/r/#/c/dcaegen2/services/sdk/+/89902/ Change-Id: Ibcde065e8b52d7fa90d1772758f3089cfe7a527a Issue-ID: DCAEGEN2-1578 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-06-26Merge "Add text/plain content type handling in Publisher"Piotr Jaszczyk7-125/+522
2019-06-26Add text/plain content type handling in PublisherIzabela Zawadzka7-125/+522
Change-Id: I51e17d64f813e16b81385abb8aa862ee1f927d35 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1630
2019-06-19Merge "Remove slash from endpoint builder"Piotr Wielebski1-1/+1
2019-06-19Remove slash from endpoint builderMarcin Migdal1-1/+1
Change-Id: Icfd2e0e5c2fd7e5eacefbddf7e21f51b856925ae Issue-ID: DCAEGEN2-1636 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-06-18Merge "Switch from dummy server to testcontainers in DMaapClient integration ↵Piotr Jaszczyk5-597/+375
tests"
2019-06-17JJB alignment across DCAE components - DCAE-SDKrajendrajaiswal1-1/+1
Change-Id: Ieebb4f882f563d1539dbd1af512eb198db66ecde Issue-ID: DCAEGEN2-1578 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
2019-06-14Switch from dummy server to testcontainers in DMaapClient integration testsIzabela Zawadzka5-597/+375
Change-Id: I1f75a0e1f85a91401d99e6f57fa648259d057b81 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1616
2019-06-12Merge "Monitoring API - write framework adapters"Piotr Wielebski4-1/+16
2019-06-12Monitoring API - write framework adaptersPiotr Jaszczyk4-1/+16
Change-Id: Iaba9c4ef6022d01c1f572055316700a3a4dfa8f2 Issue-ID: DCAEGEN2-1589 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-06-11Bulk queries (transactions) for PRHkurczews6-0/+212
Issue-ID: DCAEGEN2-1608 Change-Id: I9cff39a05657120de2741a7f9a584c189d8cfe91 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-06-11Merge "Deprecate AAI pnfUrl"Piotr Wielebski2-11/+29
2019-06-11Deprecate AAI pnfUrlkurczews2-11/+29
Issue-ID: DCAEGEN2-1608 Change-Id: I4efdcdcde4e3905e369cec171bcd7e629e1b7bee Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-06-10Refactor MRSubscribeResponse interface to return list of parsed JsonElementsIzabela Zawadzka4-40/+43
Also now MRSubscriber also uses io.vavr.collection.List for consistency Change-Id: Id420f1c2627b305f871ab0bb566060884b1aa3f1 Issue-ID: DCAEGEN2-1607 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-06-06Write sample integration tests that use testcontainersIzabela Zawadzka2-72/+224
Also refctor MRPublisher unit tests to pass json messages in correct format Change-Id: Ia8246ded00e11d8ce90c2d84091249134548be01 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1536
2019-05-30Omit CBS lookup in ConsulFilip Krzywka12-232/+135
This is first iteration of changes related to switching from "CBS lookup" mechanism to direct CBS usage. Change-Id: I910612c689e10be5d9506643c61ae3cd8ffd0dca Issue-ID: DCAEGEN2-1521 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-05-28Add sample tests that runs DMaap MR in containerIzabela Zawadzka5-0/+325
Testcontainers framework can be used to test integration with Dmaap MR Change-Id: I5ef7b792226da09eb7cc0ea441f528e236e41053 Issue-ID: DCAEGEN2-1512 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-05-27Restore access modifiers due to errors in PRHpwielebs3-3/+3
Change-Id: If7113b8d52dc340e317bf4532892786c73636d0a Issue-ID: DCAEGEN2-1533 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-05-27Refactor of AAI modelpwielebs6-55/+7
Unused fields removed from AAI model in SDK Change-Id: Ie46c98edd2ccbcff146b210c715f472d15e26bef Issue-ID: DCAEGEN2-1533 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-05-23Remove CloudHttpClient classJakub Dudycz4-365/+1
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1528 Change-Id: I340d566913daaefb998482e4b097d5cc8b5eae14
2019-05-23Remove CloudHttpClient usages from dmaap-client moduleJakub Dudycz21-1437/+0
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1527 Change-Id: I8b5ddbf5231cb4848eb288300cf786bb549950cf
2019-05-23Remove CloudHttpClient usages from aai-client moduleJakub Dudycz12-228/+221
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1526 Change-Id: Ic83dab9f61c0b8ebc54d291002c3036ff85867ca
2019-05-21Create tests for MR PublisherIzabela Zawadzka1-15/+157
Change-Id: Ic4c2b0e7331753b3b774db9becd92b54df1ab25f Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1423
2019-05-16Write unit tests for MR Subscriberkjaniak3-32/+97
Change-Id: I9ce78cc74898ded8ba6b01513cca9463cb78c345 Issue-ID: DCAEGEN2-1422 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-05-14Add tests for MR SubscriberIzabela Zawadzka2-16/+220
Change-Id: I705bcd5c0a75d9ac637afdb8cd6ac17b0af55c78 Issue-ID: DCAEGEN2-1422 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
2019-05-09Release DMaaP client APIPiotr Jaszczyk52-95/+580
* remove @ExperimentalApi annotation * deprecate old API * extract http-client module + refactor * change DmaapClientFactory so it's more configurable Change-Id: I710d20558eece8cc3d7c0740e765d34737134b3a Issue-ID: DCAEGEN2-1492 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-05-09Mask password in Data Routerkjaniak3-0/+6
Change-Id: I57a7cb841e8007464d45f11f3e9c6608f1b83bd4 Issue-ID: DCAEGEN2-1449 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-05-07Update versions for ElAlto releasePiotr Jaszczyk6-6/+6
Change-Id: Id22c316d18fcaf6a28464524b6ad8b9da9f404bd Issue-ID: DCAEGEN2-1475 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-04-23Add masking to AAF user and passwordkjaniak1-0/+3
Change-Id: I21d5037394852e8802d84cbbf029fe24646f1793 Issue-ID: DCAEGEN2-1449 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2019-04-11Enhance dmaap-client v2Piotr Jaszczyk10-118/+397
* include sent messages in dmaap mr response * split publisher and subscriber * write some unit tests Issue-ID: DCAEGEN2-1421 Change-Id: Ie71e9344efd4a520406b87923413a45d51c28225 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-04-10Add endpoint Url do DmaapCustomConfigMarcin Migdal3-2/+18
Change-Id: Ibe397e474964c0012068a3ab4606e441562464d9 Issue-ID: DCAEGEN2-1310 Signed-off-by: mmigdal <marcin.migdal@nokia.com> Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-09Merge "Get rid of deprecated SslFactory"Piotr Wielebski10-189/+141
2019-04-09Get rid of deprecated SslFactoryIzabela Zawadzka10-189/+141
Change-Id: I928d6911a2516ffbfc05e9193e5d2d8467ec2545 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1408
2019-04-09Change SDK version to 1.1.5Filip Krzywka6-6/+6
Change-Id: Ief09284baaef6692e5739fc31c223f145779c0dd Issue-ID: DCAEGEN2-1021 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-04-08Fix DmaapClientIzabela Zawadzka2-3/+5
Change-Id: I9cd1dd62ccbedeead2655a4abe8f3e9bad5fb660 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1404
2019-04-08Merge "Handle non-sucessfull CBS http responses"R4.0.01.1.4Piotr Wielebski2-6/+25
2019-04-08Handle non-sucessfull CBS http responsesPiotr Jaszczyk2-6/+25
Change-Id: I8bdd730af80e343503aee64305ca432d933774a6 Issue-ID: DCAEGEN2-1401 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-04-05Add pnfUrl fieldpwielebs2-0/+14
* Due to changes in the aai client configuration json old parameters: aaiHost, aaiProtocol, aaiPort, aaiBasePath, aaiPnfPath will be replaced by pnfUrl Change-Id: I709445015ae8528777db3052ffa4431eb90a226e Issue-ID: DCAEGEN2-1398 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2019-04-03Merge "Replace CloudHttpClient with RxHttpClient in ↵Piotr Jaszczyk4-54/+157
ReactiveCloudConfigurationProvider"
2019-04-03Replace CloudHttpClient with RxHttpClient in ReactiveCloudConfigurationProviderIzabela Zawadzka4-54/+157
Change-Id: I319622dce34999e637553ffbd0d31e91110cc3c3 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1383
2019-04-02Improve code coverage in aai-client moduleJakub Dudycz16-29/+588
Change-Id: I6c840e136d39fbeca72e943d81cb3638927f89b0 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1375
2019-04-02Merge "Implement toString for Gson's objects wrappers"Piotr Jaszczyk2-0/+18
2019-04-01Stub of the DMaaP Client 2.0 implementationPiotr Jaszczyk12-29/+345
This is untested. Treat it as a proof of concept. Change-Id: Ieeef7c9481324984c9772b216d001254dec11ae9 Issue-ID: DCAEGEN2-1368 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2019-04-01Implement toString for Gson's objects wrappersFilip Krzywka2-0/+18
Change-Id: Ie28753ba8146d63cd7d9d9c05680bc0640e64cf4 Issue-ID: DCAEGEN2-1315 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
2019-03-28Modified CloudHttpClient in order to be more genericandrzejszukuc12-78/+215
New AaiClients and AaiModels have been added Change-Id: I80151e8296482e39f7f36123210861702c205b7b Signed-off-by: andrzejszukuc <andrzej.szukuc@nokia.com> Issue-ID: DCAEGEN2-1059
2019-03-27Merge "DMaaP consumer more generic Added logging to Cloud Http Client"Piotr Wielebski3-48/+59
2019-03-27DMaaP consumer more genericMarcin Migdal3-48/+59
Added logging to Cloud Http Client Change-Id: I443163b3ec292370c39cd10229c3479e36f6c9c1 Issue-ID: DCAEGEN2-1310 Signed-off-by: mmigdal <marcin.migdal@nokia.com> Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>