aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-09-11AAI-1523 checkstyle warnings for aai-schema-ingestKeong Lim34-1169/+1169
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-schema-ingest (part of 24k lines of output) Change-Id: I1d3785fcbfa9cc53680129506daa2c392950de31 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-06Sonar fixes in EdgeRuleQuery.javaasgar1-256/+261
Change-Id: I46029a19b3f495bebdf714b26c72739355dda8e8 Issue-ID: AAI-1559 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-08-12Integrate aai-schema-ingest library into aai-coreKajur, Harish (vk250x)89-689/+11640
Integrate the aai-core into using the aai-schema-ingest library to be agnostic to the schema changes Remove any references to aai-schema dependency in aai-core Reorder the components so the aai-schema-ingest is first installed Moved the edge rules to the aai-schema as they are linked to schema Rework the generation of the aai-schema to using aai-schema-ingest library Also remove the yaml and html folders as they get generated on the fly So when maven pushes the aai-schema jar, the jar contains the generated yaml, html and xsd files at runtime due to the gerrit limit of filesize Issue-ID: AAI-1455 Change-Id: I87ecd9eb2fc96a09d3a6399955637674f6e7fb21 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-06-29Refactor of EdgeIngestorWiktor Garbarek1-6/+0
Removed unusued imports Change-Id: I84984a566d339a1b366fa14eb387b21d94c14a34 Issue-ID: AAI-1347 Signed-off-by: Wiktor Garbarek <wiktor.garbarek@nokia.com>
2018-05-23Upversion common for CasablancaJimmy Forsyth1-2/+2
Issue-ID: AAI-1169 Change-Id: Id80fd4b8c7af48dde78b441fb6ec2b6619c608bc Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-05-02Update pom to use 1.2.5-SNAPSHOTKajur, Harish (vk250x)1-2/+2
Issue-ID: AAI-965 Change-Id: I25575c7519407f84f78c5e647b8eb32b9e3492f6 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-24Upversion aai-common to 1.2.4 after releaseJimmy Forsyth1-2/+2
Issue-ID: AAI-1090 Change-Id: Ic041380839a98790a02a2c5c0cf8720e39e08067 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-04-23Generate xsd for v12 and v13 with esrKajur, Harish (vk250x)1-2/+2
Also update the version to 1.2.3-SNAPSHOT Issue-ID: AAI-1090 Change-Id: I7649416340f0a670ec9e83cfef355dc4ef40a1b3 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-19Fix the spring core and netty handler issueKajur, Harish (vk250x)1-1/+10
Issue-ID: AAI-586 Change-Id: I69efb05f9fb82ffe1a97042e493c754b55bfb269 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-18Update the pom to use the spring boot 1.5.12Kajur, Harish (vk250x)1-2/+2
Issue-ID: AAI-1036 Issue-ID: AAI-968 Issue-ID: AAI-975 Change-Id: Iad8ad4f6e5f71c969b99356b7c909dc585e97a98 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-29added schema validation toolsThreefoot, Jane (jt6620)72-171/+3593
Issue-ID: AAI-879 Change-Id: I028547c97450372252b76286a8b10f4dbed4d2bf Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
2018-03-26Update the poms to 1.2.2-SNAPSHOTKajur, Harish (vk250x)1-2/+2
Issue-ID: AAI-947 Change-Id: I51cff5507a030a68468ba04654b93c508ce4d5ed Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-26Update the schema ingest to 1.2.1-SNAPSHOTv1.2.1Kajur, Harish (vk250x)1-2/+35
Issue-ID: AAI-393 Change-Id: Ia2f68025a9f622d277c7416c4f4a9e4170ffdf5d Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-26Add the staging plugin for schema ingestKajur, Harish (vk250x)1-0/+17
Issue-ID: AAI-393 Change-Id: Icea23b20f49c1f997f0eef6fa2c81417bbc59eb0 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-22Merge "Update the license for 2017-2018 license"James Forsyth29-143/+105
2018-03-22Update the license for 2017-2018 licenseKajur, Harish (vk250x)29-143/+105
Issue-ID: AAI-856 Change-Id: I6711ff48314133abd7d03ea4b73a4f55606442bb Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-15schemaIngest file no longer mandatory on classpathThreefoot, Jane (jt6620)1-1/+1
Fixed bug where users had to have schemaIngest.properties on the classpath even if they were using schemaIngestPropLoc instead. Issue-ID: AAI-887 Change-Id: Id8f15871f945d0a575203f7c3ce0679b6dbb2242 Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
2018-03-15added new aai-schema-ingest libraryThreefoot, Jane (jt6620)44-0/+3353
New, lightweight, configurable library for OXM and edge rules json ingest. Allows for broken-up OXM and json for increased model-driven capabilities. Issue-ID: AAI-875 Change-Id: I987c7dc2ad9a68ef3ccaac8da8d3b5b0205dc264 Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>