summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/test
AgeCommit message (Collapse)AuthorFilesLines
2023-10-18Update spring-boot to 2.2Fiete Ostkamp2-4/+4
- update spring-boot to latest available 2.2.X release - pom inheritance via aai-parent pom makes it necessary to also explicitly specify spring framework versions - replace deprecations around Profiles Issue-ID: AAI-3665 Change-Id: I74b22a76ef14217b888ae6bb12cb83d86f9e4241 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2022-11-15Merge "Remove raw-type related warnings in resources"William Reehil13-40/+77
2022-11-15Merge "Reduce the number of problems in resources by removing unused imports"William Reehil1-1/+0
2022-11-15Remove raw-type related warnings in resourcesFiete Ostkamp13-41/+77
Issue-ID: AAI-3597 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I62b183fe5b19a232b48623e26ba3be04433fbb4c
2022-11-14Reduce the number of problems in resources by removing unused importsFiete Ostkamp1-1/+0
- add removeUnusedImports option to spotless - update spotless plugin to latest version Issue-ID: AAI-3596 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I2c4c4b71a9c6b1a719f171194c631a88c70c221e
2022-11-14Replace deprecated methods in resourcesFiete Ostkamp11-27/+39
Issue-ID: AAI-3595 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I848bd78338f9a8b15576e11718abbf64a1980663
2022-10-26Run the formatter for the resources serviceFiete Ostkamp31-1641/+1265
- reduces the format violations from ~7000 to ~400 Issue-ID: AAI-3567 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I570805692bfbd3f80a43c0813831adcdb98016d4
2022-10-10Migrate Mockito 1 to version 2 in the resources serviceFiete Ostkamp7-65/+119
- update mockito to version 2.4.0 - update eelf-core since it has a compile time dependency to mockito 1.10.19 in version 1 Issue-ID: AAI-3546 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I6ba724fe26b57e9a468bdeb89cadaa6f51e68634
2022-09-21Add aai-resources healthcheck based on Cassandra DB HealthcheckRaghav Kataria4-51/+187
Issue-ID: AAI-3528 Signed-off-by: Rommel Pawar <rommel.pawar@bell.ca> Change-Id: I21022bd81c5cd9eed2dd841f96812855adebe528
2022-08-16[AAI] Upversion to 1.9.6 to include v27wr148d1-1/+1
Issue-ID: AAI-3489 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Id5b843284fa475ea9536ace9f07a6c3c7df78d7d
2022-02-14[AAI] Update resources to use the new v26 schema and upversion to 1.9.4wr148d1-1/+1
Issue-ID: AAI-3435 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Ic631a118869421f388ceb1405eaf9ba1c172d3b1
2021-09-22Fix integration testsM.Hosnidokht7-0/+492
- Fixed the issue regarding docker image dependencies https://gerrit.onap.org/r/c/aai/resources/+/123653 - Cleaned up pom file Issue-ID: AAI-3324 Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com> Change-Id: I0e068e33756bd0cb0e66a7e19594070ab821c4ef
2021-08-18[AAI] Integrate Micrometer to identify slow APIs (Making aai_uri tag ↵Dimple Soni2-2/+3
configurable) Issue-ID: AAI-3367 Signed-off-by: Dimple Soni <dimple.soni@yoppworks.com>" Change-Id: I7879c7e6a5ae9b3a3943f4accceede0c7ba2ade0
2021-05-19[AAI] Export relevant key metrics for monitoring in Prometheusroger yuan2-1/+42
Make the key metrics available to the monitoring system by instrumenting the code. The Key metrics are available via /actuator/prometheus /actuator/info /actuator/health Issue-ID: AAI-3343 Signed-off-by: Roger Yuan <roger.yuan@yoppworks.com> Change-Id: I69f7eafb5105a04369526c70902ac7b676038c36
2020-09-08Add keycloak integrationRodrigo Lima1-1/+5
- The feature can be enabled by adding keycloak spring profile in application properties. - Add keycloak springboot and spring security adapter to pom - Exclude keycloak and spring security autoconfiguration in application properties - Add keycloak application properties that is activated when keycloak profile used - Add WebSecurityConfig to config authorization Issue-ID: AAI-3129 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: Iaa086b4075c03237388a997274d01bf8b8114b4d
2020-07-07Update to spring boot 2Igor Dysko1-1/+1
Replaced unsupported property Issue-ID: AAI-2526 Signed-off-by: Igor Dysko <igor1.dysko@orange.com> Change-Id: I98bde0863a4c473175f5f19c19f9b36d101a2ec1
2020-06-26support for v20LaMont, William (wl2432)2-5/+20
Issue-ID: AAI-2965 Change-Id: I87737d2cfcf6b499af6083c2355042d66278e73c Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
2020-06-22Update to spring boot 2Igor Dysko3-3/+3
Update of code and dependencies, no changes in functionality Issue-ID: AAI-2526 Signed-off-by: Igor Dysko <igor1.dysko@orange.com> Change-Id: I62c1a5b5e8439f1a076b0507b3834a53bc084637
2020-03-03Update resources to use aai-common changesKajur, Harish (vk250x)42-283/+1274
Issue-ID: AAI-2750 Change-Id: I33ea2b3d7b4b706edc59c3d45c9957d05effd306 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2020-02-11Add an unit test for the bug with children1.6.4Harish Venkata Kajur2-0/+68
Issue-ID: AAI-2790 Change-Id: I976384de5fe4300b7793850ef416cef9d2e013c7 Signed-off-by: Harish Venkata Kajur <vk250x@att.com> Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-10Make changes to integrate latest changesKajur, Harish (vk250x)6-32/+38
Add perm flags with metaspace flags as permgen has been replaced by metaspace in java 8 Update junits to remove the certificate Fix password configruation and schema changes to work with the increase nodes tool Correct service.name for making sure the correct DB connection name is set Add aaiconfig properties for the deleted objects to log Issue-ID: AAI-2327 Change-Id: I5a8a70f6d6630960b0e8ec4780fce3e1baf79cc1 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-04-09Update resources to use schema ingest changesKajur, Harish (vk250x)1-2/+2
for the application to not start if it doesn't start properly Issue-ID: AAI-2329 Change-Id: I2f04282c2faf07de46b4dd6ecf7e494d442bcf87 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-01-13Sync up the changes for v15Kajur, Harish (vk250x)16-77/+292
Issue-ID: AAI-1811 Change-Id: I5c397d5907bb0711977f62ba84abe454f410a3b7 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-08-13Update resources ms to use ingest libraryKajur, Harish (vk250x)97-6446/+2922
Change the code to replace ModelIngestor with the NodeIngestor and replace the EdgeRules with the EdgeIngestor and EdgeSerializer Edge Ingestor for getting the rules from json files Edge Serializer for creating the edges between vertexes Node Ingestor is responsible for the multiple oxm files Issue-ID: AAI-1462 Change-Id: I555916911dc4076ac017173d63478b3b76b36e42 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-19Fix the X-HTTP-Method-Override issueKajur, Harish (vk250x)1-0/+153
Issue-ID: AAI-1084 Change-Id: Ife49befcbcd9c35c30f3c2b33558cf665f4ab7df Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-11Fix the basic auth issue which got brokenKajur, Harish (vk250x)1-1/+6
with spring boot Issue-ID: AAI-1019 Change-Id: I59c7351c381be07ae1be5abe6473d9c8614a0673 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-28Update titan code to janus graph codeKajur, Harish (vk250x)22-77/+1794
Issue-ID: AAI-949 Change-Id: I841ac5e1734742af863c6bffd0cc3b1951dfa321 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-22Update the license for 2017-2018 licenseKajur, Harish (vk250x)41-130/+95
Issue-ID: AAI-858 Change-Id: I7bb4d3548801de2a9198307b812c7195573af615 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-02Update to remove remaining nexus iq pomVenkata Harish K Kajur1-3/+3
Also change from using AJSC 6 to Spring Boot Issue-ID: AAI-595 Change-Id: I0a4d7cdbe01bb35ca4dc28124483e1abf165a979 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-28Turn ajsc 2 to using ajsc 6 spring bootVenkata Harish K Kajur20-1089/+949
Issue-ID: AAI-800 Change-Id: Id174ec5088ddea57f18e605d004c417bee8fbf33 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-12Sync up the latest logging code changesVenkata Harish K Kajur28-27812/+1780
Issue-ID: AAI-493 Change-Id: I778acf7726b1f9881dee62b128b1fbc457bf7a7e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-12-05Add limit override for bulk api'sMaharajh, Robby (rx2202)1-1/+0
Issue-ID: AAI-535 Change-Id: Ie248a85541f77b786973be54a7791f6e4e7dff16 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Update the aai-resources to verify bulk limitsMaharajh, Robby (rx2202)6-0/+502
Issue-ID: AAI-529 Change-Id: Ia87e3298ce9c46f3b409587df6e9bd6e2065ec8a Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Add support to bulk api for patch/deletesMaharajh, Robby (rx2202)5-137/+307
reationships Issue-ID: AAI-534 Change-Id: I5334bb047ff1977474cd7b653e61d47ee7e99220 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Support bulk api for patch/deletesMaharajh, Robby (rx2202)8-235/+376
Issue-ID: AAI-533 Change-Id: I86ece3494985da48606f356dada267fac14a7aad Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-11-27Add v12 api changes for the new release codeVenkata Harish K Kajur3-5/+6079
Issue-ID: AAI-514 Change-Id: I8494ec854f7dddd51748da884b74b4196c7ab704 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-10Change the junits to inherit from AAISetupVenkata Harish K Kajur5-5/+10
Issue-ID: AAI-462 Change-Id: I7a6c3dbfb9fd38f6c94f9ef12799e2c3f8d0dd23 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-10-03Add unit tests to interceptors increase coverageVenkata Harish K Kajur4-12/+268
Issue-ID: AAI-213 Change-Id: I181ea41c3fb752e8566dbd0a0e27e39767006df3 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-28Change package names org.openecomp to org.onapVenkata Harish K Kajur47-467/+568
Issue-ID: AAI-61 AAI-82 Change-Id: Ib1d937fb31b1e737c4651eac9c0193fd05d97f01 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-17Fix update edge tags got broken in cleanupVenkata Harish K Kajur18-15/+375
Also add the license tag that didn't get added Need to ensure new files need to have license since the plugin to automatically add license got removed Issue-ID: AAI-213 Change-Id: I85c1208c5800f624b23b24feadf66b2fe1833e6d Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-12Add unit test cases to increase coverage to 30%Venkata Harish K Kajur63-18703/+4362
Remove classes that are already removed internally Use a unified AAISetup class that uses common configuration Issue-ID: AAI-213 Change-Id: If99b5230140ea300cd70eeaf9fd4064e4a07d99a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-28Remove the att references in the resourcesVenkata Harish K Kajur7-692/+600
Issue-ID: AAI-217 Change-Id: I6833d63cde6c83e0497c92155db499bc684e8792 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-15[AAI-171 Amsterdam] Move rest db to aai-commonVenkata Harish K Kajur2-0/+4
Change-Id: I70301abf0bee7157e851d6c866c90b38fc43c68a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-14[AAI-149 Amsterdam] migrate vpeLin, Jerry (jl319x)7-1047/+64
Change-Id: Ifad2a7000a732a6ff4b6842be9365ed0bdd52971 Signed-off-by: Lin, Jerry (jl319x) <jl319x@att.com>
2017-08-14[AAI-168 Amsterdam] add simple format testur326r8-7/+68
Change-Id: Ie9a569ddd6cd414f7fa29c787f1e5c379e08c407 Signed-off-by: ur326r <ur326r@att.com>
2017-08-11[AAI-154 Amsterdam] Check in titan refactorMuller, Andrew (am8383)10-30/+101
Change-Id: I955ac630071680e690c523e005d289d8fc40ba6c Signed-off-by: Muller, Andrew (am8383) <am8383@us.att.com>
2017-07-14[AAI-50 Amsterdam] Add support for v11 version APIMaharajh, Robby (rx2202)3-4/+11560
Update rest controller paths to include v11 update version in app props to v11 Update default api version for dmaap to v11 Update oxms in the test dir to v11 Update version of schema and core for resources Change-Id: Ic1604f75a00fdafbda3de30ce5421efecdc128d9 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-06-27[AAI-14] Force delete tool now uses TinkerpopMaharajh, Robby (rx2202)1-361/+0
vertex vs titan vertex Updates now always add aai-node-type to vertex Stop using hbase.table.timestamp.format=YYYYMMdd-HH:mm:ss:SSS for date format Define new endpoint in ajsc to process the v8 models from Model Loader Change-Id: I7f6986e12d0f4c74256fe24629e1f1851541d7e4 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-06-16[AAI-ONAP] Keep the onap updated and remove codeVenkata Harish K Kajur5-14/+14
Change-Id: I2eee989cf835d45a84b2edf2d3ec342e9411f1e5 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-06-07[AAI-ONAP] Get latest changes from develop syncVenkata Harish K Kajur12-651/+0
Change-Id: I2bf80b4af4e3db84cf61fd98bc0ad6efb5e0551b Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>