summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-08Update schema service to fail to startKajur, Harish (vk250x)78-257/+688
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-03-26Upgrade to springboot 1.5.19.RELEASEJimmy Forsyth3-9/+9
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-03-05Remove the aai-schema dependency from aai-utilsKajur, Harish (vk250x)1-11/+0
Removing the unnecessary dependency to aai-schema from the aai-utils submodule Issue-ID: AAI-1871 Change-Id: Ibf6fbe26c0120a0e8d8c0bbf3d5c45b73fdf3d74 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-03-05Merge "Add missing INFO.yaml blocks"Venkata Harish Kajur1-6/+45
2019-03-01Add missing INFO.yaml blocksJessica Wagantall1-6/+45
Add missing information so that the new verify job passes. Fix indentation. Change-Id: Iac9e8d8e5744f7123e59b9f382dbb42cd10d9a5d Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
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-02-28AAI-2198 Consistent code style in aai-commonKeong Lim2-0/+328
Add plugins to aai-common/pom.xml Add Eclipse formatter configuration file Issue-ID: AAI-2198 Change-Id: Ie415f3fa0a408f775133f27a3bf8904a1f65a8a3 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-02-27Merge "AAIAuthCore-replace duplicate literal by constant"James Forsyth1-3/+5
2019-02-26Remove schema service dependency and add oxm1.4.1Kajur, Harish (vk250x)20-40/+47790
and edgerules for the junits that are dependent on them Issue-ID: AAI-2193 Change-Id: I310ad37b14fb1296016ebbde2cf8eedd9c9c8aff Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-02-20AAI-1523 checkstyle warnings for aai-core restKeong Lim1-18/+18
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-core test rest (part of 24k lines of output) Change-Id: I610a40db3f9a79e31a210718bfe830c38809d9f3 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-02-20AAI-1523 checkstyle warnings for aai-core queryKeong Lim13-1280/+1280
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-core test query (part of 24k lines of output) Change-Id: I2be142e000d9620a035092fdca5509ba5245f962 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-02-18Remove the license check goalJimmy Forsyth1-9/+0
Issue-ID: AAI-2167 Change-Id: I4be9427b3f8ea905837c24fc9744c9118da45216 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-02-18Merge "Remove the aai-schema from aai-common"James Forsyth45-134258/+4
2019-02-18Merge "Removed sysout and replaced with logger"James Forsyth1-3/+2
2019-02-18Merge "AAI-1523 checkstyle warnings for aai-core parsers"James Forsyth12-2640/+2640
2019-02-18Merge "AAI-1523 checkstyle warnings for aai-core logging"James Forsyth5-208/+208
2019-02-18Merge "AAI-1523 checkstyle warnings for aai-core introspe"James Forsyth8-794/+794
2019-02-15Add bulkApi documentationJimmy Forsyth2-1/+276
Issue-ID: AAI-2157 Change-Id: Ic4e7a1b2ae56036c2ce475608b524c3329c481d4 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-02-13Remove the aai-schema from aai-commonHarish Venkata Kajur45-134258/+4
Issue-ID: AAI-1871 Change-Id: I0d836c8105083f511877f74f08044cc86905e7be Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2019-02-12Added additional bugs and known issue to relnotesJimmy Forsyth1-120/+122
Issue-ID: AAI-2090 Change-Id: Id30a5d013a73e57ba5289b6bc801c8cc5947570a Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-01-30AAI-1523 checkstyle warnings for aai-core parsersKeong Lim12-2640/+2640
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-core test parsers (part of 24k lines of output) Change-Id: I9908650b6fccfca9657b0b2ca75f74dc6b469449 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-01-30AAI-1523 checkstyle warnings for aai-core loggingKeong Lim5-208/+208
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-core test logging (part of 24k lines of output) Change-Id: I10e558911e8088cdf088f757a62fc4d3a79752c7 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-01-30AAI-1523 checkstyle warnings for aai-core introspeKeong Lim8-794/+794
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-core test introspection (part of 24k lines of output) Change-Id: I3b5341661be9f7adc73b87eeaf88cc2d911985fa Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-01-29Removed sysout and replaced with loggerChandan Ghosh1-3/+2
Removed sysout and replaced with logger Issue-ID: AAI-2085 Change-Id: I0f90b137d3d46ae80a4de2492cf335cd5016a521 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2019-01-25Merge "AAI-1523 checkstyle warnings for aai-core exceptio"Venkata Harish Kajur2-197/+197
2019-01-23Merge "AAI-1523 checkstyle warnings for aai-core concurre"James Forsyth1-19/+19
2019-01-18Merge "Add .gitignore for swagger"James Forsyth1-0/+3
2019-01-18AAI-1523 checkstyle warnings for aai-core exceptioKeong Lim2-197/+197
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-core test exceptions (part of 24k lines of output) Change-Id: Ib577b1b26604e47b75466ff980c7aab0dcebebc3 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-01-18AAI-1523 checkstyle warnings for aai-core concurreKeong Lim1-19/+19
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-core test concurrent (part of 24k lines of output) Change-Id: I82d2a46eeefa806b8ce433ecc8e373afaac8e0eb Signed-off-by: Keong Lim <keong.lim@huawei.com>
2019-01-15Merge "ListEndpoints-added logger with System.err"James Forsyth1-3/+6
2019-01-14Remove the classes that were originally singletonKajur, Harish (vk250x)3-336/+0
GremlinGroovy shell singleton and groovy builder singleton were changed from being singleton because we found that the classes that were dynamically loaded were never cleaned up by the garbage collector which caused a huge increase in the memory consumption for the traversal microservice which uses this The conversions from singleton was already committed but the singleton was not cleaned up earlier Issue-ID: AAI-1811 Change-Id: Ib74d85be4c1053e7b482fa5b89b562b2352ff803 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-01-13Sync up the changes for v15Kajur, Harish (vk250x)79-980/+28743
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>
2019-01-10AAIAuthCore-replace duplicate literal by constantDriptaroop Das1-3/+5
Sonar Fix (AAIAuthCore.java - Define a constant instead of duplicating this literal "AAI_4001" 3 times.) Issue-ID: AAI-2065 Change-Id: Ic9c343f814dc220fe118b21ae08f29a65a337da7 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-10ListEndpoints-added logger with System.errDriptaroop Das1-3/+6
ListEndpoints.java - added logger along with system.err Issue-ID: AAI-2062 Change-Id: Icc0953ae8061a068a1dec978d657e40cad49552d Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-02Merge "Update DBSerializer for relationships retrieving"James Forsyth2-32/+38
2018-12-28Update DBSerializer for relationships retrievingHarish Venkata Kajur2-32/+38
Enhance the code for how the db serializer works when it comes to dealing with the relationships For a particular vertex, when retrieving its relationship vertexes it doesn't need to get all the properties of the relationship vertex as it only cares about the aai-uri and named properties so only partially retrieving those props that is needed for relationships Issue-ID: AAI-1987 Change-Id: I1440c561d187ff180a599a3f52ac5c8715d5c8e3 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2018-12-28Add .gitignore for swaggerkurczews1-0/+3
Prevent swagger generated resources to be included in commits by accident. Issue-ID: AAI-2042 Change-Id: If9eddd69a1dc496167b7f275a8a25a8674f4a566 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-12-17Update aai-core use new schema ingest libraryKajur, Harish (vk250x)7-38/+97
Issue-ID: AAI-2003 Change-Id: I9234b6b594e559b58e445a97b78a4658190e6527 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-12-11Merge "AAI-1523 checkstyle warnings for aai-core auth"James Forsyth2-199/+199
2018-12-10Bump patch version in version.propertiesjimmy1-1/+1
Issue-ID: AAI-1900 Change-Id: I29e56e0deaa3d201795c5326d7358ce2d4b652de Signed-off-by: jimmy <jf2512@att.com>
2018-12-10Update to latest spring and spring bootJimmy Forsyth4-15/+15
Issue-ID: AAI-1900 Change-Id: Ie6fa1338fd88fcd7ce3f3d350277f82b8f90138f Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-12-06Merge "Update schema ingest library call schema service"James Forsyth120-1140/+10455
2018-12-05Update schema ingest library call schema serviceKajur, Harish (vk250x)120-1140/+10455
Issue-ID: AAI-1994 Change-Id: Icc9910db0371eeb8289abd4381ae1936a281a5df Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-12-05Add nodesQuery documentJimmy Forsyth2-0/+104
Issue-ID: AAI-1993 Change-Id: Ic18ed4be11ce654214cffd7f2e0180f078eee9ed Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-12-05Improve the performance of resoures microservice1.4.0Kajur, Harish (vk250x)34-2365/+5911
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-12-03Merge "Make instance-group description optional"James Forsyth2-6/+6
2018-12-03Merge "Add support for generic vnf to cloud region"James Forsyth2-0/+48
2018-11-30Move epics into New Features sectionjimmy1-19/+34
Change-Id: Ie265699bdfe61b3b58f7c5f01397c0accf319069 Issue-ID: AAI-1914 Signed-off-by: jimmy <jf2512@att.com> (cherry picked from commit 9859c648e1d601b3398d40562bacce0068177030)
2018-11-29Make instance-group description optionalKajur, Harish (vk250x)2-6/+6
Issue-ID: AAI-1982 Change-Id: Ie572a40a7d0590a62d4919a76753a632c52c4766 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-29Add support for generic vnf to cloud regionKajur, Harish (vk250x)2-0/+48
Issue-ID: AAI-1980 Change-Id: Ic1a5689a891dac0ca13ab1b26760174985f304de Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>