summaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest
AgeCommit message (Collapse)AuthorFilesLines
2021-08-18[AAI] Upversioning aai-common to 1.9.0 for Istanbulwreehil1-1/+1
Issue-ID: AAI-3361 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I516987a9ec57a744c7c2f1e153a37794bebdc4fa
2021-07-02Fix all blocker sonar issues and some checkstyleLiard Samuel4-31/+48
Issue-ID: AAI-3362 Signed-off-by: sliard <samuel.liard@gmail.com> Change-Id: I365be3e8afe75b54f5a65deadb054df73857274e
2021-04-14Up version aai-common to 1.8.2Niharika Sharma1-1/+1
Issue-ID: AAI-3308 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: If450ae0a9a171fcd09fc084a898faaee9640d258
2021-01-06Use data owner attribute instead of owning entity for OwnerCheckM.Hosnidokht1-1/+1
Issue-ID: AAI-3226 Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com> Change-Id: I8222546e7264e99ca3e53fe1212a45008c1064e6
2020-11-15Upversion artifacts to 1.8.0-SNAPSHOTHarish Venkata Kajur1-1/+1
Issue-ID: AAI-3222 Change-Id: I5b74e10ab600e7899c0043caf2390ca31728728b Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-10-07Up version 1.7.3Niharika Sharma1-1/+1
Issue-ID: AAI-3100 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: I38bde55f66fd27110f8a41aedb9be463263fa9f3
2020-09-15Add ownercheck side effect to enrichData method in dbserializerRodrigo Lima1-1/+1
Issue-ID: AAI-3184 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I3c8b3d33613c5345fc767fb03f1c4be79a321acc
2020-09-10Add side effect to check pnf owning entityRodrigo Lima1-1/+1
- Create side effect to check : user's groups contains pnf's owning entity name - Create unit tests for side effect - Add new process method in HttpEntry to pass set of groups - Pass set of groups to db serializer Issue-ID: AAI-3176 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I4bc7ab6e22bce8cbe60bd7ef6bb5db73dac3a1c4
2020-07-10Fix minor sonar issuesFrancis Toth2-49/+55
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: Iea540bb663429d55ce90879f9d9a22888c583833 Issue-ID: AAI-2128
2020-05-12aai-common support for v20LaMont, William(wl2432)2-4/+25
Issue-ID: AAI-2904 Change-Id: I6dca2f785882b38ca2b2474a11affaa0328c003a Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
2020-04-21AAI-common sonar fixesDavid Brilla5-42/+32
Issue-ID: AAI-2786 Change-Id: Ia37e660886fce56c8ab5c53888fcbf265692a359 Signed-off-by: David Brilla <david.brilla@tieto.com>
2020-04-14Upversion to 1.7.0Jimmy Forsyth1-1/+1
Issue-ID: AAI-2860 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I113f7a0874877b1815ec8bb47482d1911f23f836
2020-03-10Reenable spring-boot2 in aai-commonJimmy Forsyth5-6/+13
Issue-ID: AAI-2831 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I9f3f1d8d1d9ef45786d0f17afa5c824e90c77263
2020-03-10Move back to spring-boot 1.5 for bugfixJimmy Forsyth5-13/+6
Issue-ID: AAI-2831 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I1e3d278fe343e4f05cdfd71d2443aef19c8541c2
2020-03-03Update aai-common to be spring boot 2 compatibleHarish Venkata Kajur5-6/+13
Issue-ID: AAI-2806 Change-Id: Idad79373209ef25bb26551253aa8ad86e4a75549 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-03-02Change the mockito to use one versionKajur, Harish (vk250x)1-1/+1
Issue-ID: AAI-2806 Change-Id: I23dc5efa936d9efe2ecf326064ae5e5046764339 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2020-02-26Update to 1.6.7-SNAPSHOTHarish Venkata Kajur1-1/+1
Issue-ID: AAI-2806 Change-Id: I4b1f00e4e4b3cb576e76e03ba7e70d872b98e854 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-02-25Enhancements for the aai-common libraryKajur, Harish (vk250x)21-152/+463
Issue-ID: AAI-2806 Change-Id: I2dbb46b897b35136ac1bb802978d3f974af1b307 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2020-02-14[AAI-2528] | Update to spring-boot 2.1.6.RELEASESneha Dantkale3-2/+4
Issue-ID: AAI-2528 Change-Id: I87756450c12538af3f21e4affa24ef76724d232c Signed-off-by: Sneha Dantkale <Sneha.dantkale@amdocs.com> Change-Id: I9437899ba1c7f2aec816a8076c954b080f9512fb Signed-off-by: Sneha Dantkale <Sneha.dantkale@amdocs.com> Change-Id: If3ad26f98c815e4872320b2652cf6c2e0b675de0 Signed-off-by: Sneha Dantkale <Sneha.dantkale@amdocs.com>
2020-02-12Copy oparent sonar setupjimmy1-1/+1
Issue-ID: AAI-2793 Change-Id: Idd505418feec0021a57deabc54565b78a4e81dd0 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2020-02-10Change jacoco exec to xml report pathjimmy1-1/+1
Issue-ID: AAI-2793 Change-Id: Ic9b51adb31d8795c06b509333a83601504b9d9ea Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2020-01-28Upversion to 1.6.3 for schema-servicejimmy1-1/+1
Issue-ID: AAI-2687 Signed-off-by: jimmy <jf2512@att.com> Change-Id: I9ab661dc87b55aba9187e9d0a311b2d1ededadf3
2020-01-20Upversion to 1.6.2Forsyth, James (jf2512)1-1/+1
Issue-ID: AAI-2753 Signed-off-by: Forsyth, James (jf2512) <jf2512@att.com> Change-Id: Ie97f86653501fe2f0809cc8508bd06f3ea1cc77e
2019-11-11Upversion to 1.6.1Jimmy Forsyth1-1/+1
Issue-ID: AAI-2699 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Iae42d82b40c9763ff09674e83d35a65fe6bcc0df
2019-11-07Add parent and update modules to use it1.6.0Jimmy Forsyth1-199/+169
Issue-ID: AAI-2699 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I288cb51a4f654387d6ca078f7b4357e8ce2e43c5
2019-09-04Change the two way ssl to one way sslKajur, Harish (vk250x)1-1/+1
Issue-ID: AAI-2432 Change-Id: Iad8da31cefb32ed88a74f712d8ff509a2a3e9b6a Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-08-05Update to spring-boot 1.5.21Jimmy Forsyth1-2/+2
Issue-ID: AAI-2560 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Ifd9c4d10fe5bfcd3f23700557065ffa4d51e257a
2019-07-24Upversion aai-common for FrankfurtJimmy Forsyth1-2/+2
Issue-ID: AAI-2550 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Ic41137e89b9cd1d2e76f8d773e842d5b64cf2fbb
2019-06-25Upversion prior to global-jjbJimmy Forsyth1-2/+2
Issue-ID: AAI-2464 Change-Id: Icc67b4e2167a68db405bd7d632a33cc8fffe10fc Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-06-25Set oparent to 2.0.0Jimmy Forsyth1-4/+0
Issue-ID: AAI-2464 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I7eaef97c6c95063937b613711de48e3e692a22f4
2019-06-03Move to 1.5.1 due to previous partial releaseJimmy Forsyth1-2/+2
Issue-ID: AAI-2464 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Ic84cd67845d7872e2e1f48ff37f72382b5946900
2019-05-31Move to oparent and upversion to 1.5.01.5.0Jimmy Forsyth1-5/+22
Issue-ID: AAI-2464 Change-Id: I961491c316ad0bc135eff43b8c5ed8ff0686ca5c Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-05-03Upversion for Dublin release4.0.0-ONAPJimmy Forsyth1-2/+2
Issue-ID: AAI-2403 Change-Id: Id8de2e5a09e47d90d604642f818e56461f177731 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-11AAI-1523 Batch reformat aai-schema-ingestKeong Lim96-2201/+2294
Use maven plugins from AAI-2198 to do batch reformat of aai-schema-ingest to consistent code style. Change-Id: I9ad7aa66edcada25fbeba7658ff8f258dab9ca93 Issue-ID: AAI-1523 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-04-10Remove the generation code for swagger and xsdKajur, Harish (vk250x)1-2/+2
The following code has been moved to schema service Issue-ID: AAI-2313 Change-Id: I58911dffef70ab2c32a73de79ac971c3650106e6 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-04-09Upgrade to springboot 1.5.20.RELEASEJimmy Forsyth1-2/+2
Issue-ID: AAI-2349 Change-Id: I6d21736b4da4483a5bf94f18ff4c3fc8e5624ba6 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-09Merge "Optimize the areas where its creating extra memory"James Forsyth3-28/+140
2019-04-08Update schema service to fail to startKajur, Harish (vk250x)30-98/+327
when all of the schema failed to load so the microservice wouldn't be in a bad state and also have the microservice dictate what versions of schema they are using Issue-ID: AAI-2329 Change-Id: Ie2e6e2bb3bac37b2ad57ada613e7c0e65647b64e Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-04-07Optimize the areas where its creating extra memoryKajur, Harish (vk250x)3-28/+140
After doing some analysis using profiler found that the most cases where memory is being spent when doing an GET is during the conversion from one case to another case and instead cached that during the start of the application Issue-ID: AAI-2331 Change-Id: I291d5f953d4158daca293198cf6fc7f5cf86d25d Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-03-26Upgrade to springboot 1.5.19.RELEASEJimmy Forsyth1-3/+3
Upgrade eelf to 1.0.1-oss Issue-ID: AAI-2240 Issue-ID: AAI-2241 Change-Id: Ic08dd5a76ca9a1a7f37d0f430203625d834aa0a9 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-02-28AAI-2171 duplicates in aai-schema-ingest pomKeong Lim1-13/+0
remove duplicate gson versions Issue-ID: AAI-2171 Change-Id: I26b5252560ffe861ef917ee61ce867be07b6b0f5 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-01-13Sync up the changes for v15Kajur, Harish (vk250x)8-44/+143
Issue-ID: AAI-1811 Change-Id: I307731ee35d8a644ae995c4b372345a7ebeca0a1 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com> Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2018-12-10Update to latest spring and spring bootJimmy Forsyth1-5/+5
Issue-ID: AAI-1900 Change-Id: Ie6fa1338fd88fcd7ce3f3d350277f82b8f90138f Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-12-05Update schema ingest library call schema serviceKajur, Harish (vk250x)97-1080/+9683
Issue-ID: AAI-1994 Change-Id: Icc9910db0371eeb8289abd4381ae1936a281a5df Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-12-05Improve the performance of resoures microservice1.4.0Kajur, Harish (vk250x)6-155/+381
Currently the findSubGraph is being invoked and causing additional calls to the database by backing a tree backed vertex and slowing the performance of GET ALLs Original intention of both of them was to pre fetch depth 0, 1, and 2 at once so we don't have to get them at each depth but since that was not done right there is extra amount of time After the aai-uri migration to ensure all vertexes have the aai-uri and also to make sure they are unique across graph we don't need to traverse a vertex to find the parents to build aai-uri it was done previously when there was no aai-uri to derive the uri of a given vertex and its not necessary anymore so there would be performance improvements of vserver when there are a lot of relationships Currently the edge labels are retrieved for each vertex a and b and the performance of the GET with relationships will be propotional to the GET request and how many cousin edges it has and the more cousin edges there are the more slower the response time will be as for each cousin vertex its trying to get the edge in between so the code is modified to only go to the database for the edge label when there are multiple edge labels (cousin edges) between a and b If there are only one edge label and its a cousin vertex then we can use the edge rule to be able to figure out the edge label Improve PUT on the cloud region by modifying the getEdgesBetween method which currently was retrieving all the parent child edges between a and b and then only using the first edge The traversal itself was too complicated and was costly in terms of database retrieval and calls and optimized the code to utilize the edge information so we can modify the query to db at runtime based on the information provided so when a 10000 vservers under a tenant adding a new vserver under tenant would be slow because of the old query performance as it was taking some time there but with this optimization, its only spending at most a millisecond or 2 in that method Also noticed that when a PUT operation takes place, the method calls the related objects to create a dmaap event which was in turn calling the findParents and actually utilizing the parents to create the dmaap event and would spend quite a lot of time here because of the expensive call of the findParents in this case we need those vertexes So optimized the code so based on a given vertex, we have the aai-uri and the newly added metadata uriTemplate to break the aai-uri into its parent aai-uri and grand parent aai-uri and so forth With this breakdown, we can get the list of aai-uris which are parents, grandparents and then use the aai-uri to look them up which is O(1) lookup time due to the fact they are unique indexes The time it takes when doing a traversal to find the parents is propotional to the number of edges but this will be optimistic Another area which was improved was the json path execution of the edge rules so when the edge rules get loaded into memory it creates a document object, it utilizes the jsonpath to query information about the edge rules but the only thing here is each time it gets called the query gets invoked and uses jsonpath to retrieve the edge rules when we can cached them based on the filter so that the user executed and if the filter is the same as before, the expected edge rules will return the same Too much time was spent making the query and retrieving and building the edgerules So a cache is a perfect way to optimize this part Issue-ID: AAI-1987 Change-Id: Ieb8237de3fd31136ceac14bf4a8216a7ab3b7179 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-10-12Upversion aai-common to 1.4.0-SNAPSHOTKajur, Harish (vk250x)1-2/+2
Issue-ID: AAI-1726 Change-Id: Ia7fc62d72baefad98d0aa97ffb1f5df1d25693f1 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-09-26Upversion to 1.3.1Jimmy Forsyth1-2/+2
Issue-ID: AAI-1678 Change-Id: I2bafe046d5c99e3db63862dd5b1ca1ed2da5135b Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-09-19Update guava to 19.0Kajur, Harish (vk250x)1-1/+1
Issue-ID: AAI-1298 Change-Id: I0a880be136f8ea3c0d780e0f9653006a5d5ebc61 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-09-18Specify groovy 2.4.15Jimmy Forsyth1-0/+6
Issue-ID: AAI-1632 Change-Id: I4f6c566dcd2737424bcc42642147f912e745b94f Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-09-18Update to latest versions of depsJimmy Forsyth1-2/+2
Issue-ID: AAI-1628 Change-Id: I88cc21c2b3233eff34febda18497a5131deb4e05 Signed-off-by: Jimmy Forsyth <jf2512@att.com>