aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/test/java/org/onap/aai/rest
AgeCommit message (Collapse)AuthorFilesLines
2024-05-23Improve tests for exception handlingFiete Ostkamp1-16/+71
- add more assertions to ExceptionHandlerTest - add class definitions for error responses to allow the usage of object mappers for that Issue-ID: AAI-3691 Change-Id: I0a3f26c7f3a14bf536cc4f023b567aeb4191e963 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-05-22[AAI] Update aai-schema version to 1.12.4 in resourcesnandkishorpatke1-1/+1
- AAI schema addition for 3GPP RAN Network Slice Subnet - and Slice-Profile Attributes & FeasibilityCheckJob - Bump aai-schema pom version to 1.12.4 - Update aai-schema default version to v29 Issue-ID: AAI-3843 Change-Id: I2dcf0141163792cdc9bfdcdd2f7b42dc44f4cb5a Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2024-05-15Do not use an exception to communicate an ok response in the /echo endpointFiete Ostkamp1-11/+0
- do not use an AAIException to return a 200 OK response Issue-ID: AAI-3847 Change-Id: I29b20bb408fa55d5a18ab4e1981d7c2c435410a4 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-04-02Migrate resources to Junit 5Fiete Ostkamp24-280/+320
Issue-ID: AAI-3815 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I6d4acbbb38c7674656690978cc1e50106f0c15cf
2024-01-10Return an index of invalid bulk operation if there are missing parameters on ↵Michal Jagiello1-0/+13
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-11-15[AAI] Update aai-schema version into v28 for cell and neighbour attributesnandkishorpatke1-1/+1
- Update aai-schema pom version into 1.12.3 - Update aai-schema default version to v28 Issue-ID: AAI-3663 Change-Id: I06f3e7158c94dd1214a122a7d4eb7f88594f49f5 Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2023-11-07Model distribution from model-loader is failing with resources service ↵Fiete Ostkamp2-48/+120
version >= 1.12.1 - pin eclipse.persistence version to last-working 2.6.2 - add test case to validate correct behaviour - make api-version related assertions in LegacyMoxyConsumerTest dynamic based on default api version Issue-ID: AAI-3675 Change-Id: I655ed28b1d0a6f94c788d68ff2d05ba9f30c4793 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-10-19Upgrade spring-boot to 2.4Fiete Ostkamp2-32/+33
- 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>
2022-11-15Merge "Remove raw-type related warnings in resources"William Reehil12-33/+65
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 Ostkamp12-34/+65
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 Ostkamp8-20/+26
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 Ostkamp22-1459/+1092
- 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 Ostkamp6-54/+101
- 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 Kataria1-50/+102
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-2/+2
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 yuan1-0/+35
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-06-26support for v20LaMont, William (wl2432)1-5/+18
Issue-ID: AAI-2965 Change-Id: I87737d2cfcf6b499af6083c2355042d66278e73c Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
2020-06-22Update to spring boot 2Igor Dysko2-2/+2
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)12-58/+557
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 Kajur1-0/+56
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)4-5/+5
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-01-13Sync up the changes for v15Kajur, Harish (vk250x)3-66/+204
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)24-740/+1579
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-22Update the license for 2017-2018 licenseKajur, Harish (vk250x)16-48/+16
Issue-ID: AAI-858 Change-Id: I7bb4d3548801de2a9198307b812c7195573af615 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-02-28Turn ajsc 2 to using ajsc 6 spring bootVenkata Harish K Kajur6-5/+149
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 Kajur7-89/+159
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)2-0/+48
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)1-137/+259
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)3-157/+293
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 Kajur1-1/+1
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 Kajur1-1/+2
Issue-ID: AAI-462 Change-Id: I7a6c3dbfb9fd38f6c94f9ef12799e2c3f8d0dd23 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-28Change package names org.openecomp to org.onapVenkata Harish K Kajur15-0/+2221
Issue-ID: AAI-61 AAI-82 Change-Id: Ib1d937fb31b1e737c4651eac9c0193fd05d97f01 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>