aai/aai-common.git
5 years agoUpdate DBSerializer for relationships retrieving 45/75145/1
Harish Venkata Kajur [Fri, 28 Dec 2018 22:25:05 +0000 (17:25 -0500)]
Update DBSerializer for relationships retrieving

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>
5 years agoMerge "AAI-1523 checkstyle warnings for aai-core auth"
James Forsyth [Tue, 11 Dec 2018 12:38:29 +0000 (12:38 +0000)]
Merge "AAI-1523 checkstyle warnings for aai-core auth"

5 years agoBump patch version in version.properties 76/74476/1
jimmy [Tue, 11 Dec 2018 00:56:17 +0000 (19:56 -0500)]
Bump patch version in version.properties

Issue-ID: AAI-1900
Change-Id: I29e56e0deaa3d201795c5326d7358ce2d4b652de
Signed-off-by: jimmy <jf2512@att.com>
5 years agoUpdate to latest spring and spring boot 63/74463/1
Jimmy Forsyth [Mon, 10 Dec 2018 18:58:34 +0000 (13:58 -0500)]
Update to latest spring and spring boot

Issue-ID: AAI-1900
Change-Id: Ie6fa1338fd88fcd7ce3f3d350277f82b8f90138f
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoMerge "Update schema ingest library call schema service"
James Forsyth [Thu, 6 Dec 2018 19:13:02 +0000 (19:13 +0000)]
Merge "Update schema ingest library call schema service"

5 years agoUpdate schema ingest library call schema service 09/74309/3
Kajur, Harish (vk250x) [Wed, 5 Dec 2018 04:19:04 +0000 (23:19 -0500)]
Update schema ingest library call schema service

Issue-ID: AAI-1994
Change-Id: Icc9910db0371eeb8289abd4381ae1936a281a5df
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd nodesQuery document 06/74306/1
Jimmy Forsyth [Wed, 5 Dec 2018 21:00:42 +0000 (16:00 -0500)]
Add nodesQuery document

Issue-ID: AAI-1993
Change-Id: Ic18ed4be11ce654214cffd7f2e0180f078eee9ed
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoImprove the performance of resoures microservice 32/74232/3 1.4.0
Kajur, Harish (vk250x) [Tue, 4 Dec 2018 19:06:14 +0000 (14:06 -0500)]
Improve the performance of resoures microservice

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>
5 years agoMerge "Make instance-group description optional"
James Forsyth [Mon, 3 Dec 2018 21:55:02 +0000 (21:55 +0000)]
Merge "Make instance-group description optional"

5 years agoMerge "Add support for generic vnf to cloud region"
James Forsyth [Mon, 3 Dec 2018 21:08:18 +0000 (21:08 +0000)]
Merge "Add support for generic vnf to cloud region"

5 years agoMove epics into New Features section 61/74061/1
jimmy [Thu, 29 Nov 2018 20:53:24 +0000 (15:53 -0500)]
Move epics into New Features section

Change-Id: Ie265699bdfe61b3b58f7c5f01397c0accf319069
Issue-ID: AAI-1914
Signed-off-by: jimmy <jf2512@att.com>
(cherry picked from commit 9859c648e1d601b3398d40562bacce0068177030)

5 years agoMake instance-group description optional 97/73997/1
Kajur, Harish (vk250x) [Thu, 29 Nov 2018 22:40:59 +0000 (17:40 -0500)]
Make instance-group description optional

Issue-ID: AAI-1982
Change-Id: Ie572a40a7d0590a62d4919a76753a632c52c4766
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd support for generic vnf to cloud region 96/73996/1
Kajur, Harish (vk250x) [Thu, 29 Nov 2018 22:35:42 +0000 (17:35 -0500)]
Add support for generic vnf to cloud region

Issue-ID: AAI-1980
Change-Id: Ic1a5689a891dac0ca13ab1b26760174985f304de
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoUpdate aai release notes 16/73916/1
Jimmy Forsyth [Thu, 29 Nov 2018 03:32:48 +0000 (22:32 -0500)]
Update aai release notes

Issue-ID: AAI-1914
Change-Id: Ief1f951c6b20543c5f2f16af07d27bb62f8d02a1
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
(cherry picked from commit 73ff5292241bb2c58ef52fb06f373140481058db)

5 years agoAAI-1523 checkstyle warnings for aai-core auth 20/73620/1
Keong Lim [Thu, 1 Nov 2018 06:01:25 +0000 (17:01 +1100)]
AAI-1523 checkstyle warnings for aai-core auth

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>
5 years agoAAI-1926 Fix EdgeRules for Dublin 08/73308/1
Keong Lim [Thu, 22 Nov 2018 00:03:09 +0000 (11:03 +1100)]
AAI-1926 Fix EdgeRules for Dublin

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>
5 years agoAAI-1523 checkstyle warnings for aai-core 00/73000/1
Keong Lim [Thu, 1 Nov 2018 05:59:29 +0000 (16:59 +1100)]
AAI-1523 checkstyle warnings for aai-core

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>
5 years agoMerge "Update:Typo Issue-ID: AAI-1911"
James Forsyth [Fri, 16 Nov 2018 14:39:48 +0000 (14:39 +0000)]
Merge "Update:Typo Issue-ID: AAI-1911"

5 years agoAAI-1923 Problem deleting due to EdgeRules 79/72879/1
Keong Lim [Fri, 16 Nov 2018 06:04:49 +0000 (17:04 +1100)]
AAI-1923 Problem deleting due to EdgeRules

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>
5 years agoUpdate:Typo 22/72722/1
Manish Kumar [Thu, 15 Nov 2018 03:40:38 +0000 (09:10 +0530)]
Update:Typo
Issue-ID: AAI-1911

Change-Id: I5185a4051d7e76c0be67f7f53099bd0fd6b95e1a
Signed-off-by: Manish Kumar <manishjpiet@gmail.com>
5 years agoUpdate R3 release notes 08/72708/1
Jimmy Forsyth [Wed, 14 Nov 2018 22:08:48 +0000 (17:08 -0500)]
Update R3 release notes

Issue-ID: AAI-1914
Change-Id: Iffed2a049e4b1e746d845a73da31432e6e9c74dc
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoAdd icons for offeredapis doc 17/72217/1
Jimmy Forsyth [Thu, 8 Nov 2018 15:15:37 +0000 (10:15 -0500)]
Add icons for offeredapis doc

Issue-ID: AAI-1878
Change-Id: I96bf71a3fb4547532cd7720cbaf9b2aaf3a6af80
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpdate offeredapis doc 35/72135/1
Jimmy Forsyth [Wed, 7 Nov 2018 22:49:22 +0000 (17:49 -0500)]
Update offeredapis doc

Issue-ID: AAI-1878
Change-Id: Ida28026f4d7edddd901fa3c6e5b6c2327b33c084
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpdate API doc and custom query doc 26/72126/1
Jimmy Forsyth [Wed, 7 Nov 2018 21:53:02 +0000 (16:53 -0500)]
Update API doc and custom query doc

Issue-ID: AAI-1878
Change-Id: I597eed7bfc64f73b2ac4300ca63f77384e727813
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpdate API doc and add custom query doc 08/72108/1
Jimmy Forsyth [Wed, 7 Nov 2018 19:16:37 +0000 (14:16 -0500)]
Update API doc and add custom query doc

Issue-ID: AAI-1878
Change-Id: I55d29b3a4ad6c5b4a641644a82fe1848b3a10b7c
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoMerge "Add Casablanca API Doc"
Venkata Harish Kajur [Wed, 7 Nov 2018 04:06:24 +0000 (04:06 +0000)]
Merge "Add Casablanca API Doc"

5 years agoAdd Casablanca API Doc 32/72032/1
Jimmy Forsyth [Wed, 7 Nov 2018 03:19:01 +0000 (22:19 -0500)]
Add Casablanca API Doc

Issue-ID: AAI-1878
Change-Id: I5fd0cb3d1aa90a2db282fd390d45bad3d5f44048
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoFix bug on create created ts and modified ts 96/71696/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 21:50:54 +0000 (17:50 -0400)]
Fix bug on create created ts and modified ts

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>
5 years agoAdd capability to record timestamp 95/71695/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 21:46:56 +0000 (17:46 -0400)]
Add capability to record timestamp

Issue-ID: AAI-1831
Change-Id: Ifcadf1caa0f7764c759997f10f3f789b1a702872
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd edge rule to support vnf grouping 89/71689/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 20:27:00 +0000 (16:27 -0400)]
Add edge rule to support vnf grouping

Issue-ID: AAI-1829
Change-Id: I994a31ac2d737be1db3e5a0821dbc09a32b473c6
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoUpdate to add relationship to aggregate route 87/71687/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 20:23:21 +0000 (16:23 -0400)]
Update to add relationship to aggregate route

Issue-ID: AAI-1824
Change-Id: I68e5e900db8f6a1a3489c66cd8ae71bbe977e98f
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd upgrade cycle to cloud region 84/71684/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 20:17:50 +0000 (16:17 -0400)]
Add upgrade cycle to cloud region

Issue-ID: AAI-1828
Change-Id: Ifee15d4824a26319f159ed030b0c7f1ab8500041
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd required properties to schema 82/71682/2
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 19:56:56 +0000 (15:56 -0400)]
Add required properties to schema

Issue-ID: AAI-1826
Change-Id: Ifc7122880e2c98888aa6b478cba3f70fb4c62e52
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoReplace platform specific line seperators System 81/71681/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 19:44:03 +0000 (15:44 -0400)]
Replace platform specific line seperators System

Issue-ID: AAI-1463
Change-Id: Ibdd3803dd825342d54dfa1b008f1a8c2d78d6198
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd aggregate route object 73/71673/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 18:57:56 +0000 (14:57 -0400)]
Add aggregate route object

Issue-ID: AAI-1824
Change-Id: I3b1fd2b0dca1add9736b49b26ede67e413aa2586
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoSupport generic-vnf vendor information 70/71670/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 18:52:05 +0000 (14:52 -0400)]
Support generic-vnf vendor information

Issue-ID: AAI-1823
Change-Id: Ifa4ab02584bf99565286dcbaab38339030c70228
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd orchestration status to pnf 68/71668/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 18:44:54 +0000 (14:44 -0400)]
Add orchestration status to pnf

Issue-ID: AAI-1822
Change-Id: Ic78c2f272d25cd0068241db409c0927aaa622471
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd priority property to l-interface 66/71666/2
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 18:28:36 +0000 (14:28 -0400)]
Add priority property to l-interface

Issue-ID: AAI-1820
Change-Id: Iea36a1d1e4c94ea2bc1cd698c482b4fd1db163a9
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd vrf schema and edge rules 57/71657/1
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 15:00:28 +0000 (11:00 -0400)]
Add vrf schema and edge rules

Issue-ID: AAI-1813
Change-Id: I1c0f53d9c75ea9d568bd8020680b75ef0a4bf3f6
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAdd support for v15 APIs 40/71640/2
Kajur, Harish (vk250x) [Thu, 1 Nov 2018 14:47:23 +0000 (10:47 -0400)]
Add support for v15 APIs

Issue-ID: AAI-1812
Change-Id: I2542371baf8f33da1ab2ea3b19073b1f1dc870f4
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoMerge "fix xsd generation when obj crosses oxm files"
James Forsyth [Mon, 22 Oct 2018 23:13:20 +0000 (23:13 +0000)]
Merge "fix xsd generation when obj crosses oxm files"

5 years agofix xsd generation when obj crosses oxm files 45/68945/2
LaMont, William (wl2432) [Tue, 25 Sep 2018 19:31:25 +0000 (15:31 -0400)]
fix xsd generation when obj crosses oxm files

Issue-ID: AAI-1654
Change-Id: I118b0d94099c7f986303fc9dd9e5dae5144b4bbb
Signed-off-by: LaMont, William (wl2432) <wl2432@us.att.com>
5 years agoMerge "some test cases added"
James Forsyth [Sat, 13 Oct 2018 00:34:43 +0000 (00:34 +0000)]
Merge "some test cases added"

5 years agoMerge "exception scenario covered in AAIGraphTest.java"
James Forsyth [Sat, 13 Oct 2018 00:34:22 +0000 (00:34 +0000)]
Merge "exception scenario covered in AAIGraphTest.java"

5 years agoUpversion aai-common to 1.4.0-SNAPSHOT 27/70127/2
Kajur, Harish (vk250x) [Wed, 10 Oct 2018 02:40:17 +0000 (22:40 -0400)]
Upversion aai-common to 1.4.0-SNAPSHOT

Issue-ID: AAI-1726
Change-Id: Ia7fc62d72baefad98d0aa97ffb1f5df1d25693f1
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoPojos are now serializable 94/69594/1 1.3.1 3.0.0-ONAP
Benjamin, Max (mb388a) [Mon, 1 Oct 2018 15:44:46 +0000 (11:44 -0400)]
Pojos are now serializable

Change-Id: I562c05a4157708af8fdd7537e56bcadc5123d136
Issue-ID: AAI-1695
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "test case to check the singleton instance"
James Forsyth [Fri, 28 Sep 2018 13:12:03 +0000 (13:12 +0000)]
Merge "test case to check the singleton instance"

5 years agotest case to check the singleton instance 53/68853/5
asgar [Tue, 25 Sep 2018 12:39:19 +0000 (18:09 +0530)]
test case to check the singleton instance

Change-Id: I9c6472923df7ec6a250e3b81c6b5f833b53d5c29
Issue-ID: AAI-1646
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoMerge "Upversion to 1.3.1"
Venkata Harish Kajur [Thu, 27 Sep 2018 01:12:06 +0000 (01:12 +0000)]
Merge "Upversion to 1.3.1"

5 years agoUpversion to 1.3.1 97/69197/1
Jimmy Forsyth [Wed, 26 Sep 2018 23:10:55 +0000 (19:10 -0400)]
Upversion to 1.3.1

Issue-ID: AAI-1678
Change-Id: I2bafe046d5c99e3db63862dd5b1ca1ed2da5135b
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoAAI-1671 Update wan-port-config EdgeRules 97/68597/2 1.3.0
Keong Lim [Mon, 24 Sep 2018 04:29:38 +0000 (14:29 +1000)]
AAI-1671 Update wan-port-config EdgeRules

Issue-ID: AAI-1671
The EdgeRules for wan-port-config to service-instance should be "MANY2MANY".

Change-Id: Id76e8405d3ce9955d63280320807c4feffd58990
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoChange edge rule between vnfc and vfmodule 15/68315/1
Maharajh, Robby (rx2202) [Fri, 21 Sep 2018 01:48:01 +0000 (21:48 -0400)]
Change edge rule between vnfc and vfmodule

Issue-ID: AAI-1668
Change-Id: I36819ab70109cce7991824fe21ae154ca7b26a40
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
5 years agoUpdate cvlan-tag uri template 61/68261/1
Maharajh, Robby (rx2202) [Thu, 20 Sep 2018 20:00:03 +0000 (16:00 -0400)]
Update cvlan-tag uri template

Issue-ID: AAI-1665
Change-Id: I8e3a549382e68b9738e2732b6dee06726f6d64d6
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
5 years agoexception scenario covered in AAIGraphTest.java 19/68119/1
asgar [Thu, 20 Sep 2018 13:16:39 +0000 (18:46 +0530)]
exception scenario covered in AAIGraphTest.java

Change-Id: I63009b10aec1e1a73348eaeaa536b1a64dcc11b8
Issue-ID: AAI-1662
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoExclude groovy indy 05/68105/1
Venkata Harish K Kajur [Thu, 20 Sep 2018 12:52:56 +0000 (12:52 +0000)]
Exclude groovy indy

Issue-ID: AAI-1632
Change-Id: I4c52de06f20d1a89ff2403b98af73a89a04467ea
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
5 years agosome test cases added 01/68101/1
asgar [Thu, 20 Sep 2018 12:50:26 +0000 (18:20 +0530)]
some test cases added

Change-Id: Iaf98e45665979d156838d1c7596845108b015cc7
Issue-ID: AAI-1661
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoUpdate guava to 19.0 93/67893/2
Kajur, Harish (vk250x) [Wed, 19 Sep 2018 21:08:52 +0000 (17:08 -0400)]
Update guava to 19.0

Issue-ID: AAI-1298
Change-Id: I0a880be136f8ea3c0d780e0f9653006a5d5ebc61
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoUpdate pnp schema to right file 57/67857/2
Kajur, Harish (vk250x) [Wed, 19 Sep 2018 19:24:25 +0000 (15:24 -0400)]
Update pnp schema to right file

Issue-ID: AAI-1551
Change-Id: I2bcad1f60beae9ac192f5c2f3d11119272cae94a
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoMerge "Test cases added for RequestError.java"
James Forsyth [Wed, 19 Sep 2018 17:06:04 +0000 (17:06 +0000)]
Merge "Test cases added for RequestError.java"

5 years agoMerge "Added unit test for PolicyException.java"
James Forsyth [Wed, 19 Sep 2018 16:07:27 +0000 (16:07 +0000)]
Merge "Added unit test for PolicyException.java"

5 years agoMerge "Add pnp schema and edgerules files"
Venkata Harish Kajur [Wed, 19 Sep 2018 15:38:57 +0000 (15:38 +0000)]
Merge "Add pnp schema and edgerules files"

5 years agoAAI-1639 Update wan-port-config to support IPv4/v6 07/67607/1
Keong Lim [Wed, 19 Sep 2018 06:11:27 +0000 (16:11 +1000)]
AAI-1639 Update wan-port-config to support IPv4/v6

Issue-ID: AAI-1639
Update wan-port-config with ipv4-address, ipv6-address,
provider-ipv4-address and provider-ipv6-address.
For compatibility, keep ip-address and provider-ip-address as previously
published, but plan to deprecate and remove them.

Change-Id: Id96f90bb4034b8cb0c17f13a601ec881a67e9cf2
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1638 Update device schema to support IPv4/IPv6 01/67601/1
Keong Lim [Wed, 19 Sep 2018 05:39:31 +0000 (15:39 +1000)]
AAI-1638 Update device schema to support IPv4/IPv6

Issue-ID: AAI-1638
Update device with system-ipv4 and system-ipv6.
For compatibility, keep system-ip as previously published, but plan to
deprecate and remove it.

Change-Id: I740a58d4e4125983fc09af48bd0b4ba786af77f1
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1637 Update EdgeRules for sdwan-vpn 99/67599/2
Keong Lim [Wed, 19 Sep 2018 04:55:31 +0000 (14:55 +1000)]
AAI-1637 Update EdgeRules for sdwan-vpn

Issue-ID: AAI-1637
Update EdgeRules for sdwan-vpn to tenant and to vpn-binding

Change-Id: Ifab3416bf98f716ee69f2355c65a11ef1642d1e3
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1635 Add privateEdge to model-version-id 79/67579/1
Keong Lim [Wed, 19 Sep 2018 03:55:40 +0000 (13:55 +1000)]
AAI-1635 Add privateEdge to model-version-id

Issue-ID: AAI-1635
Add privateEdge to model-version-id in sp-partner, prepare for TOSCA
template from SDC.
Spurious line-ending changes in the generated XSD file.

Change-Id: I8de021b5d59ce88581ccdc01c9dabfc0afb5d1e1
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoMerge "Test case coverage for MapperUtil.java"
Venkata Harish Kajur [Wed, 19 Sep 2018 00:01:51 +0000 (00:01 +0000)]
Merge "Test case coverage for MapperUtil.java"

5 years agoMerge "AAI-1557 Update sp-partner properties"
James Forsyth [Tue, 18 Sep 2018 21:11:55 +0000 (21:11 +0000)]
Merge "AAI-1557 Update sp-partner properties"

5 years agoSpecify groovy 2.4.15 29/67429/1
Jimmy Forsyth [Tue, 18 Sep 2018 18:24:54 +0000 (14:24 -0400)]
Specify groovy 2.4.15

Issue-ID: AAI-1632
Change-Id: I4f6c566dcd2737424bcc42642147f912e745b94f
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpdate to latest versions of deps 81/67381/1
Jimmy Forsyth [Tue, 18 Sep 2018 16:46:57 +0000 (12:46 -0400)]
Update to latest versions of deps

Issue-ID: AAI-1628
Change-Id: I88cc21c2b3233eff34febda18497a5131deb4e05
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoExclude the dom4j dependency 59/67259/1
Kajur, Harish (vk250x) [Tue, 18 Sep 2018 11:01:51 +0000 (07:01 -0400)]
Exclude the dom4j dependency

Issue-ID: AAI-1298
Change-Id: Idc5c6652eb4bf11204f53f88193d0ca0c3b2cf5e
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoTest cases added for RequestError.java 39/67039/1
asgar [Mon, 17 Sep 2018 15:55:37 +0000 (21:25 +0530)]
Test cases added for RequestError.java

Change-Id: I16d1fbe7ca03ecd6659161ae9bfbf3d4bd5c59be
Issue-ID: AAI-1610
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoAdded unit test for PolicyException.java 37/67037/1
asgar [Mon, 17 Sep 2018 15:51:05 +0000 (21:21 +0530)]
Added unit test for PolicyException.java

Change-Id: I76ecc0d4e4193be1343afae2906fb179768dbbdb
Issue-ID: AAI-1607
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoMerge "minor fixes in GremlinQueryBuilder.java"
James Forsyth [Fri, 14 Sep 2018 17:49:39 +0000 (17:49 +0000)]
Merge "minor fixes in GremlinQueryBuilder.java"

5 years agoMerge "fixes in AAIResponseMessageData.java"
James Forsyth [Fri, 14 Sep 2018 15:19:04 +0000 (15:19 +0000)]
Merge "fixes in AAIResponseMessageData.java"

5 years agoMerge "HPA Telemetry Schema"
James Forsyth [Fri, 14 Sep 2018 15:18:06 +0000 (15:18 +0000)]
Merge "HPA Telemetry Schema"

5 years agominor fixes in GremlinQueryBuilder.java 11/66611/1
asgar [Fri, 14 Sep 2018 10:31:34 +0000 (16:01 +0530)]
minor fixes in GremlinQueryBuilder.java

Change-Id: Ifa94277e74486bc2086ce5cad5077d59cdbf0f29
Issue-ID: AAI-1595
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agofixes in AAIResponseMessageData.java 73/66073/1
asgar [Wed, 12 Sep 2018 10:58:08 +0000 (16:28 +0530)]
fixes in AAIResponseMessageData.java

Change-Id: I52a88526180acde91c6d9818d446e22ce175244d
Issue-ID: AAI-1569
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoTest case coverage for MapperUtil.java 63/66063/1
asgar [Wed, 12 Sep 2018 10:45:58 +0000 (16:15 +0530)]
Test case coverage for MapperUtil.java

Change-Id: I60628cd098911f945042f731b779ec9d49f84ecb
Issue-ID: AAI-1594
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoHPA Telemetry Schema 91/65991/2
Dileep Ranganathan [Tue, 11 Sep 2018 17:20:15 +0000 (10:20 -0700)]
HPA Telemetry Schema

Added HPA Capacity type in the schema.
Added Capacity information to Compute Nodes in the pserver object
Added relationships for pserver and flavor, pserver and hpa-capacity

Change-Id: I326ed9dd13d94082e532ebaf7286af7a43d9117c
Issue-ID: AAI-1593
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoAAI schema change for openstack-region-id 75/58175/2
Dileep Ranganathan [Mon, 30 Jul 2018 23:34:07 +0000 (16:34 -0700)]
AAI schema change for openstack-region-id

Decouples OpenStack Region ID and AAI cloud-region-id and reduces
constraint to onboard Openstack VIM. Added odd one more property
to "esr-system-info: object" to store the OpenStack Region ID which is
used by MultiCloud plugin to interact with an OpenStack instance.

Change-Id: I40d8eec74cf3d5c319c659fd3879f8dc371e2855
Issue-ID: MULTICLOUD-287
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoAAI-1557 Update sp-partner properties 91/64091/3
Keong Lim [Sat, 1 Sep 2018 14:01:11 +0000 (00:01 +1000)]
AAI-1557 Update sp-partner properties

Issue-ID: AAI-1557
Update sp-partner with properties:
- operational-status
- model-customization-id
- model-invariant-id
- model-version-id

Change-Id: Iae01c0ad8144bad26b8a308bfe3593ebe38ae82a
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoMerge "sonar fixes for AutoGenerateHtml.java"
James Forsyth [Tue, 11 Sep 2018 12:44:38 +0000 (12:44 +0000)]
Merge "sonar fixes for AutoGenerateHtml.java"

5 years agoMerge "constant instead of literal AJSC_HOME"
James Forsyth [Tue, 11 Sep 2018 12:14:43 +0000 (12:14 +0000)]
Merge "constant instead of literal AJSC_HOME"

5 years agoMerge "Sonar fixes in MapperUtil.java"
James Forsyth [Tue, 11 Sep 2018 12:13:06 +0000 (12:13 +0000)]
Merge "Sonar fixes in MapperUtil.java"

5 years agoMerge "Add a private constructor in AAIUtils.java"
James Forsyth [Tue, 11 Sep 2018 12:12:19 +0000 (12:12 +0000)]
Merge "Add a private constructor in AAIUtils.java"

5 years agosonar fixes for AutoGenerateHtml.java 89/65789/1
asgar [Tue, 11 Sep 2018 10:26:11 +0000 (15:56 +0530)]
sonar fixes for AutoGenerateHtml.java

Change-Id: If5ac08fa880d911bbe4f6115f98ea194fb9029cf
Issue-ID: AAI-1568
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoAdd a private constructor in AAIUtils.java 01/65701/1
asgar [Tue, 11 Sep 2018 08:38:43 +0000 (14:08 +0530)]
Add a private constructor in AAIUtils.java

Change-Id: I7a2beeede4cb8303b7f9801532a651895cbce389
Issue-ID: AAI-1566
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoconstant instead of literal AJSC_HOME 91/65691/1
asgar [Tue, 11 Sep 2018 07:52:52 +0000 (13:22 +0530)]
constant instead of literal AJSC_HOME

Change-Id: Ideacc3d44016f20700b2758aed35c8a552b39916
Issue-ID: AAI-1565
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoSonar fixes in MapperUtil.java 85/65685/1
asgar [Tue, 11 Sep 2018 07:28:15 +0000 (12:58 +0530)]
Sonar fixes in MapperUtil.java

Change-Id: If7d53a2f8c5199e9634e36a4ab018a78affb65f8
Issue-ID: AAI-1567
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
5 years agoAAI-1555 Fix remote-path in esr-system-info 71/63671/5
Keong Lim [Thu, 30 Aug 2018 03:57:12 +0000 (13:57 +1000)]
AAI-1555 Fix remote-path in esr-system-info

Issue-ID: AAI-1555
Fix remote-path in esr-system-info.
Should have been camelCase in java-attribute since v11.
Exposed in CCVPN testing of ext-aai-network.

Change-Id: I39b843307058b317972298f125aebc2593a126a7
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1552 Add resource-version property to CCVPN uc 75/63375/6
Keong Lim [Wed, 29 Aug 2018 05:32:13 +0000 (15:32 +1000)]
AAI-1552 Add resource-version property to CCVPN uc

Issue-ID: AAI-1552
Add resource-version property to all the new CCVPN schema elements.
The other ONAP components expect to have this property available for
optimistic concurrency control usage.

Change-Id: I69071d48cb0b784fe67498d51361bb304a22ead9
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1523 checkstyle warnings for aai-annotations 97/61497/8
Keong Lim [Tue, 21 Aug 2018 08:01:05 +0000 (18:01 +1000)]
AAI-1523 checkstyle warnings for aai-annotations

Issue-ID: AAI-1523
re-indent code with spaces to clean up some checkstyle warnings
for aai-annotations (part of 24k lines of output)

Add spaces around '='

Change-Id: I9ea43508e5e88140149ccc11d233fdb77c869964
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1523 checkstyle warnings for aai-schema-ingest 93/61493/8
Keong Lim [Tue, 21 Aug 2018 07:37:03 +0000 (17:37 +1000)]
AAI-1523 checkstyle warnings for aai-schema-ingest

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>
5 years agoAAI-1492 Add ext-aai-network schema for CCVPN uc 43/60843/11
Keong Lim [Thu, 16 Aug 2018 05:56:32 +0000 (15:56 +1000)]
AAI-1492 Add ext-aai-network schema for CCVPN uc

Issue-ID: AAI-1492
Add ext-aai-network element to network namespace.
Add components from network namespace.
Add esr-system-info component.
Add EdgeRules from ext-aai-network to esr-system-info, connectivity and
all the other schema elements.
Make esr-system-info dependentOn ext-aai-network.
Change sub-components of ext-aai-network to COUSIN edge as workaround.
Add relationship-list as workaround.

Change-Id: I8ec11660db7887c5aebcdbe2899c95c457f74e14
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1491 Add wan-port-config schema for CCVPN 37/60837/10
Keong Lim [Thu, 16 Aug 2018 05:22:40 +0000 (15:22 +1000)]
AAI-1491 Add wan-port-config schema for CCVPN

Issue-ID: AAI-1491
Add wan-port-config element in network namespace.
Add CCVPN EdgeRule for wan-port-config to service-instance.

Change-Id: I7c27b28ea2da72583f88b79eb035ab70cc86a64e
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1484 Add device schema for CCVPN usecase 89/60689/11
Keong Lim [Wed, 15 Aug 2018 07:47:50 +0000 (17:47 +1000)]
AAI-1484 Add device schema for CCVPN usecase

Issue-ID: AAI-1484
Add device element to network namespace.
Add CCVPN EdgeRules for device to service-instance and generic-vnf.

Change-Id: Iad4033dc5bba72cf0773cccbe19429cf965df0c5
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1483 Add sdwan-vpn for CCVPN usecase 73/60673/11
Keong Lim [Wed, 15 Aug 2018 06:24:12 +0000 (16:24 +1000)]
AAI-1483 Add sdwan-vpn for CCVPN usecase

Issue-ID: AAI-1483
Add sdwan-vpn element to network namespace.
Add CCVPN EdgeRules for sdwan-vpn to service-instance.

Change-Id: I541db79a0c02149c4f5371dc29f71c76478ba298
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1482 Add site-resource for CCVPN usecase 69/60669/11
Keong Lim [Wed, 15 Aug 2018 06:05:03 +0000 (16:05 +1000)]
AAI-1482 Add site-resource for CCVPN usecase

Issue-ID: AAI-1482
Add site-resource element in network namespace.
Add CCVPN EdgeRules for site-resource to service-instance,
allotted-resource and complex.
Fix typo in java-attribute for site-resource-id.

Change-Id: Ic2dbe9d7a7644bbc46bd95ad79fdb0bcd7124224
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1481 Add network-resource for CCVPN usecase 63/60663/10
Keong Lim [Wed, 15 Aug 2018 05:32:17 +0000 (15:32 +1000)]
AAI-1481 Add network-resource for CCVPN usecase

Issue-ID: AAI-1481
Add network-resource element to network namespace.
Add CCVPN EdgeRules for network-resource to vpn-binding and pnf.
Update multiplicity.
Change pnf from sub-component to COUSIN edge as workaround.

Change-Id: I4b288406a272ccdb6243d1e13555a02aa6354a83
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1468 -1480 Add Conn /lan-port-config for CCVPN 59/60659/10
Keong Lim [Mon, 13 Aug 2018 05:49:04 +0000 (15:49 +1000)]
AAI-1468 -1480 Add Conn /lan-port-config for CCVPN

Issue-ID: AAI-1480
Add lan-port-config schema element to network namespace
Add dhcp-service schema element
Add CCVPN EdgeRules for lan-port-config to service-instance and
dhcp-service
Update lan-port-config with ipv4-address and ipv6-address.
Update dhcp-service with server-ipv4-address and server-ipv6-address.

Accidentally squashed another two commits together:
Issue-ID: AAI-1468
Add connectivities sub-component to "network" namespace.
Add connectivities element, which is sequence of "connectivity".
Add connectivity element, which has numerous properties.
Add CCVPN EdgeRules for connectivity to service-instance and vpn-binding

Change-Id: I78f4cdc906e43750bb319ba4f3bdb6483ed7ea24
Signed-off-by: Keong Lim <keong.lim@huawei.com>