aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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>
2018-11-29Update aai release notesJimmy Forsyth1-2/+17
Issue-ID: AAI-1914 Change-Id: Ief1f951c6b20543c5f2f16af07d27bb62f8d02a1 Signed-off-by: Jimmy Forsyth <jf2512@att.com> (cherry picked from commit 73ff5292241bb2c58ef52fb06f373140481058db)
2018-11-22AAI-1523 checkstyle warnings for aai-core authKeong Lim2-199/+199
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-core test auth (part of 24k lines of output) Change-Id: I634a49d499f5a6605510633ec2ab6069a04cccba Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-11-22AAI-1926 Fix EdgeRules for DublinKeong Lim5-0/+60
Issue-ID: AAI-1926 Fix EdgeRules for Dublin, rework AAI-1925 instead of cherry-pick. Fix EdgeRule for allotted-resource to allotted-resource in main json. Fix EdgeRule for allotted-resource to p-interface in ccvpn json. Change-Id: I32c404f48583fc7d770e65fbff0b23afb0320245 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-11-19AAI-1523 checkstyle warnings for aai-coreKeong Lim4-79/+79
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-core test (part of 24k lines of output) Change-Id: I3b33fbe46458e4f0f3273c48ff9cfb0673ae18f4 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-11-16Merge "Update:Typo Issue-ID: AAI-1911"James Forsyth1-1/+1
2018-11-16AAI-1923 Problem deleting due to EdgeRulesKeong Lim1-13/+13
Issue-ID: AAI-1923 Fixed EdgeRules for ext-aai-info to esr-system-info Fixed EdgeRules for lan-port-config to dhcp-service Fixed EdgeRules for pnf to network-resource Fixed EdgeRules for logical-link to ext-aai-network Fixed EdgeRules for vpn-binding to ext-aai-network Fixed EdgeRules for pnf to ext-aai-network Fixed EdgeRules for connectivity to ext-aai-network Fixed EdgeRules for lan-port-config to ext-aai-network Fixed EdgeRules for network-resource to ext-aai-network Fixed EdgeRules for site-resource to ext-aai-network Fixed EdgeRules for sdwan-vpn to ext-aai-network Fixed EdgeRules for device to ext-aai-network Fixed EdgeRules for wan-port-config to ext-aai-network Appears to be a problem with this combo in EdgeRules: - "delete-other-v": "${direction}", - "prevent-delete": "!${direction}", Break the dependency by making one of these values "NONE". (cherry picked from commit 04694a8e17d599bc8fd8b7732c648acfb2378f82) Change-Id: Idc220c88742144a8ad091f316b3afef7be4537f6 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-11-15Update:TypoManish Kumar1-1/+1
Issue-ID: AAI-1911 Change-Id: I5185a4051d7e76c0be67f7f53099bd0fd6b95e1a Signed-off-by: Manish Kumar <manishjpiet@gmail.com>
2018-11-14Update R3 release notesJimmy Forsyth1-0/+34
Issue-ID: AAI-1914 Change-Id: Iffed2a049e4b1e746d845a73da31432e6e9c74dc Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-11-08Add icons for offeredapis docJimmy Forsyth3-0/+0
Issue-ID: AAI-1878 Change-Id: I96bf71a3fb4547532cd7720cbaf9b2aaf3a6af80 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-11-07Update offeredapis docJimmy Forsyth2-2/+415
Issue-ID: AAI-1878 Change-Id: Ida28026f4d7edddd901fa3c6e5b6c2327b33c084 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-11-07Update API doc and custom query docJimmy Forsyth2-10/+1244
Issue-ID: AAI-1878 Change-Id: I597eed7bfc64f73b2ac4300ca63f77384e727813 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-11-07Update API doc and add custom query docJimmy Forsyth3-2/+700
Issue-ID: AAI-1878 Change-Id: I55d29b3a4ad6c5b4a641644a82fe1848b3a10b7c Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-11-07Merge "Add Casablanca API Doc"Venkata Harish Kajur1-0/+1033
2018-11-06Add Casablanca API DocJimmy Forsyth1-0/+1033
Issue-ID: AAI-1878 Change-Id: I5fd0cb3d1aa90a2db282fd390d45bad3d5f44048 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-11-01Fix bug on create created ts and modified tsKajur, Harish (vk250x)2-11/+52
where on create the values should be the same but it ends up being different sometimes Issue-ID: AAI-1832 Change-Id: Ia8cfb75a5812e6b59f8000a820cf3605ab17eb2b Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Add capability to record timestampKajur, Harish (vk250x)4-1/+352
Issue-ID: AAI-1831 Change-Id: Ifcadf1caa0f7764c759997f10f3f789b1a702872 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Add edge rule to support vnf groupingKajur, Harish (vk250x)1-0/+13
Issue-ID: AAI-1829 Change-Id: I994a31ac2d737be1db3e5a0821dbc09a32b473c6 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Update to add relationship to aggregate routeKajur, Harish (vk250x)2-1/+5
Issue-ID: AAI-1824 Change-Id: I68e5e900db8f6a1a3489c66cd8ae71bbe977e98f Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Add upgrade cycle to cloud regionKajur, Harish (vk250x)2-0/+12
Issue-ID: AAI-1828 Change-Id: Ifee15d4824a26319f159ed030b0c7f1ab8500041 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Add required properties to schemaKajur, Harish (vk250x)20-16843/+17658
Issue-ID: AAI-1826 Change-Id: Ifc7122880e2c98888aa6b478cba3f70fb4c62e52 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Replace platform specific line seperators SystemKajur, Harish (vk250x)5-189/+196
Issue-ID: AAI-1463 Change-Id: Ibdd3803dd825342d54dfa1b008f1a8c2d78d6198 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Add aggregate route objectKajur, Harish (vk250x)3-1/+123
Issue-ID: AAI-1824 Change-Id: I3b1fd2b0dca1add9736b49b26ede67e413aa2586 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Support generic-vnf vendor informationKajur, Harish (vk250x)3-0/+142
Issue-ID: AAI-1823 Change-Id: Ifa4ab02584bf99565286dcbaab38339030c70228 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Add orchestration status to pnfKajur, Harish (vk250x)2-0/+12
Issue-ID: AAI-1822 Change-Id: Ic78c2f272d25cd0068241db409c0927aaa622471 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Add priority property to l-interfaceKajur, Harish (vk250x)2-0/+12
Issue-ID: AAI-1820 Change-Id: Iea36a1d1e4c94ea2bc1cd698c482b4fd1db163a9 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Add vrf schema and edge rulesKajur, Harish (vk250x)3-0/+208
Issue-ID: AAI-1813 Change-Id: I1c0f53d9c75ea9d568bd8020680b75ef0a4bf3f6 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-11-01Add support for v15 APIsKajur, Harish (vk250x)9-10/+21804
Issue-ID: AAI-1812 Change-Id: I2542371baf8f33da1ab2ea3b19073b1f1dc870f4 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-10-22Merge "fix xsd generation when obj crosses oxm files"James Forsyth11-110/+566
2018-10-13fix xsd generation when obj crosses oxm filesLaMont, William (wl2432)11-110/+566
Issue-ID: AAI-1654 Change-Id: I118b0d94099c7f986303fc9dd9e5dae5144b4bbb Signed-off-by: LaMont, William (wl2432) <wl2432@us.att.com>
2018-10-13Merge "some test cases added"James Forsyth1-32/+57