summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2024-01-19Upgrade aai-common dependency to 1.13.1 in resourcesFiete Ostkamp1-1/+1
- upgrade aai-common dependency from 1.13.0 to 1.13.1 - bump version to 1.13.1 Issue-ID: AAI-3733 Change-Id: Ifddadaf916da63f2dada25c71d01618f2bf10e8b Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-10Return an index of invalid bulk operation if there are missing parameters on ↵Michal Jagiello1-8/+10
request Catch AAIException on AAI Bulk poplulateIntrospectors method to prepare an exception body with failing operation number. Issue-ID: AAI-3722 Change-Id: I38b2e1c802ae7f2843cda5c188365890a86f65af Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2023-10-19Upgrade spring-boot to 2.4Fiete Ostkamp3-4/+4
- update spring-boot to latest available 2.4.X release - Content-Type's on GET requests now result in 415 (instead of being ignored) which necessitates changes to the ConfigurationTest Issue-ID: AAI-3667 Change-Id: If6cbce8185b443a79b5e3b32fa3ffede5cabee60 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-10-18Update spring-boot to 2.2Fiete Ostkamp7-10/+29
- 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 Reehil2-2/+2
2022-11-15Merge "Reduce the number of problems in resources by removing unused imports"William Reehil5-16/+0
2022-11-15Remove raw-type related warnings in resourcesFiete Ostkamp2-2/+2
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 Ostkamp5-16/+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 Ostkamp5-14/+42
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 Ostkamp55-3153/+3235
- 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-26Use the 1.9.4 parent pom in resourcesFiete Ostkamp1-4/+8
- upgrade apache commons-configuration to commons-configuration2 to resolve test failures Issue-ID: AAI-3566 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I26657f326c15de33c65abb9ae7c9bb9608defbaf
2022-09-21Add aai-resources healthcheck based on Cassandra DB HealthcheckRaghav Kataria3-90/+331
Issue-ID: AAI-3528 Signed-off-by: Rommel Pawar <rommel.pawar@bell.ca> Change-Id: I21022bd81c5cd9eed2dd841f96812855adebe528
2021-08-18[AAI] Integrate Micrometer to identify slow APIs (Making aai_uri tag ↵Dimple Soni1-0/+4
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 yuan8-0/+74
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
2021-02-23Pass roles at delete methodEric Santos1-2/+2
Issue-ID: AAI-3290 Signed-off-by: Santos, Eric <eric.santos@yoppworks.com> Change-Id: If7f3aa4977230150cb9315b99c6e0eaad155aa10
2021-01-12Using new OwnerCheck implementationM.Hosnidokht2-9/+24
- Bump up aai-common version Issue-ID: AAI-3226 Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com> Change-Id: I7c74bf65a8a8218d172d865b19fb672a1b87e988
2020-11-03fix sonar issuesMariano Diaz2-2/+3
Issue-ID: AAI-2882 Signed-off-by: Mariano Diaz <mariano.diaz@yoppworks.com> Change-Id: I9d48b036ca7e0f50ecc775ea6ecb6503d4688165
2020-09-17Update to use aai-common 1.7.2 and use common aaf authMaharajh, Robby (rx2202)4-217/+0
Issue-ID: AAI-3128 Change-Id: Iae516212cce319f4aad48a833c76499d8041903d Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2020-09-11Pass roles to HttpEntryNeil Derraugh1-11/+30
- Pass roles to HttpEntry so that OwnerCheck can verify owning-entity Issue-ID: AAI-3177 Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com> Change-Id: Ie1536c625be3637fc62658d74690bddcde0a4cba
2020-09-10Fix aaf startup issue for spring boot updateMaharajh, Robby (rx2202)6-189/+221
Issue-ID: AAI-2886 Change-Id: I7aeec1fe74ec16eff1b131c9fbd40385312afdf4 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2020-09-08Add keycloak integrationRodrigo Lima1-0/+86
- 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-06-26support for v20LaMont, William (wl2432)3-9/+11
Issue-ID: AAI-2965 Change-Id: I87737d2cfcf6b499af6083c2355042d66278e73c Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
2020-06-22Update to spring boot 2Igor Dysko3-13/+11
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-04-15update resources processing for v19LaMont, William(wl2432)1-8/+9
Issue-ID: AAI-2865 Change-Id: I2431b1414fe44e0df2874e516f551ac4c596c575 Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
2020-03-03Update resources to use aai-common changesKajur, Harish (vk250x)22-759/+621
Issue-ID: AAI-2750 Change-Id: I33ea2b3d7b4b706edc59c3d45c9957d05effd306 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-09-23Update the code to read aaf generated passwordsKajur, Harish (vk250x)1-8/+79
Issue-ID: AAI-2476 Change-Id: I196f3da1f3f82c5d4b4707b97ffd4a4e36868088 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-04-10Make changes to integrate latest changesKajur, Harish (vk250x)2-26/+74
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-07Update resources to log transactionsKajur, Harish (vk250x)1-91/+90
only when there is an write instead of during an GET where it is unnecessary creating extra memory Issue-ID: AAI-2331 Change-Id: Ia1e531c0bd7f3ba8e3bfbefb413fcaaad30e18b7 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-02-18Update the bulk single transaction codeKajur, Harish (vk250x)1-11/+23
to fix the memory leak due to not properly rolling back when there is an exception in the code Issue-ID: AAI-2168 Change-Id: Iaea6b1942547ae9da94b70cf29bc7a405ddabbea Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-01-16Merge "Improve JerseyConfiguration by use of generics"James Forsyth1-89/+88
2019-01-13Sync up the changes for v15Kajur, Harish (vk250x)3-64/+229
Issue-ID: AAI-1811 Change-Id: I5c397d5907bb0711977f62ba84abe454f410a3b7 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-12-05Improve JerseyConfiguration by use of genericskurczews1-89/+88
Issue-ID: AAI-1974 Change-Id: If48cc66b19aa2fdb6f6e64ddbd6059a88fe7296f Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-10-05Update resources to use realtime connection1.3.0Kajur, Harish (vk250x)3-8/+42
as the default and change it via config later to disable or enable this Issue-ID: AAI-1705 Change-Id: Ie0526e642ffa1c06d480d6ff1b5dd93ab87a7bb2 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-09-20Update the code to use realtime connectionMaharajh, Robby (rx2202)3-6/+6
for PUT/PATCH/DELETE to make it less likely to cause duplicates in the AAI Database Issue-ID: AAI-1667 Change-Id: I029c505193ff6d9533743732375e9a669ed9d1ca Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2018-09-17Disable authorization for /util/echoKajur, Harish (vk250x)3-3/+14
Issue-ID: AAI-1612 Change-Id: I12a14eacb85ed33296e1db5edf77d8abb250d239 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-09-05Adding AAF authorization filterPavel Paroulek4-17/+150
Adding a AAF authorization filter. Authorization checks a preconfigured permission org.onap.aai.resources Change-Id: I83766fc79ef4d65ede73599408a1fce4353b6488 Issue-ID: AAI-32 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
2018-08-23Adding AAF basic auth filterPavel Paroulek2-0/+78
Adding a AAF Cadi filter. AAF is configured to communicate with Beijing AAF instance in the Windriver lab. To activate AAF filter set the profile aaf-auth Change-Id: I1489f1b4e22658c3513ac89ff2e57302bfe265c8 Issue-ID: AAI-32 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
2018-08-13Update resources ms to use ingest libraryKajur, Harish (vk250x)78-8400/+2082
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-07-19Add collection under network for v13 and v14Kajur, Harish (vk250x)6-6/+6
Issue-ID: AAI-1395 Change-Id: I6d18c9686093e70c106efa22afbd536658231a29 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-07-04Fix bugs in AAI-ResourcesWiktor Garbarek6-89/+91
Fixed handling InterruptedException and NullPointerException; added closing connection with graph Change-Id: I8c317842550f62955b68347fd6f4e954e390ad1a Issue-ID: AAI-1362 Signed-off-by: Wiktor Garbarek <wiktor.garbarek@nokia.com>
2018-06-27Sonar fix in ModelVersionTransformerAdam Wudzinski1-1/+1
Added logging Change-Id: Ib74f0429deaab8608f88341ed709ca6bd6490003 Issue-ID: AAI-1244 Signed-off-by: awudzins <adam.wudzinski@nokia.com>
2018-05-03Update to remove loadbalancer codeKajur, Harish (vk250x)1-2/+0
Also add the realtime client SO Issue-ID: AAI-965 Issue-ID: AAI-1121 Change-Id: Ie94c53f1cb0c4f5e60dbd77c8ae100c52ad9c055 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-19Fix the X-HTTP-Method-Override issueKajur, Harish (vk250x)2-1/+53
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)3-1/+183
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)19-349/+1547
Issue-ID: AAI-949 Change-Id: I841ac5e1734742af863c6bffd0cc3b1951dfa321 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-27Merge "Fixes in ForceDeleteTool.java"James Forsyth1-43/+45
2018-03-26Merge "Fixes in DataSnapshot"James Forsyth1-251/+243
2018-03-23Fixes in ForceDeleteTool.javaburdziak1-43/+45
Change-Id: If59580f59465d44df73f748110bfec85d1ec22ca Issue-ID: AAI-931 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-03-23Fixes in DataSnapshotburdziak1-251/+243
Change-Id: Id0dd43252575af5d9352123f25cc471e9259ebe2 Issue-ID: AAI-930 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-03-22Fixes in DataSnapshotburdziak1-21/+23
Change-Id: If6f40ab2c34d6813f134805ebe50e2025d1c0fe5 Issue-ID: AAI-926 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>