aai/aai-common.git
5 years agoFix typos and clean up docs 03/88803/1
Jimmy Forsyth [Wed, 29 May 2019 19:46:45 +0000 (15:46 -0400)]
Fix typos and clean up docs

Issue-ID: AAI-2461
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: I8ac06c9c6f15fea9edb33294d441cf4c8d07e4be

5 years agoMerge "Updating Dublin docs" into dublin
Venkata Harish Kajur [Wed, 29 May 2019 13:41:27 +0000 (13:41 +0000)]
Merge "Updating Dublin docs" into dublin

5 years agoUpdating Dublin docs 92/88492/1
Jimmy Forsyth [Fri, 24 May 2019 20:10:01 +0000 (16:10 -0400)]
Updating Dublin docs

Issue-ID: AAI-2461
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: Ied0b40e9e92789d1dcfc419743f59653be71085e

5 years agoUpdating Dublin docs 87/88487/1
Jimmy Forsyth [Fri, 24 May 2019 17:32:00 +0000 (13:32 -0400)]
Updating Dublin docs

Issue-ID: AAI-2461
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: I5c483067268eda2425bb0cea4a3066a65e2133e5
(cherry picked from commit 1bef250998b7f5bf628b099dd55235ba0f30e003)

5 years agoUpversion for Dublin release 09/86909/1 4.0.0-ONAP
Jimmy Forsyth [Fri, 3 May 2019 15:38:00 +0000 (11:38 -0400)]
Upversion for Dublin release

Issue-ID: AAI-2403
Change-Id: Id8de2e5a09e47d90d604642f818e56461f177731
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoCorrect Dockerfile missing command instruction 16/85116/1
Harish Venkata Kajur [Thu, 11 Apr 2019 18:55:36 +0000 (14:55 -0400)]
Correct Dockerfile missing command instruction

Issue-ID: AAI-2235
Change-Id: I3d945e33bb5176a993ce001ebbe5ff0ebf639cdd
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
5 years agoAdd haproxy Dockerfile related files 93/85093/2
Kajur, Harish (vk250x) [Thu, 11 Apr 2019 16:13:59 +0000 (12:13 -0400)]
Add haproxy Dockerfile related files

Issue-ID: AAI-2235
Change-Id: If4d4439aa0e61e0f00ae4e2b6f1dcfdf50a79dff
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoAAI-1523 Batch reformat aai-annotations 89/82889/2
Keong Lim [Thu, 21 Mar 2019 04:34:37 +0000 (15:34 +1100)]
AAI-1523 Batch reformat aai-annotations

Use maven plugins from AAI-2198 to do batch reformat of aai-annotations
to consistent code style.

Change-Id: If1793b45f688d86b47771c154843be6f071f1df7
Issue-ID: AAI-1523
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1523 Batch reformat aai-auth 88/82888/2
Keong Lim [Thu, 21 Mar 2019 04:34:15 +0000 (15:34 +1100)]
AAI-1523 Batch reformat aai-auth

Use maven plugins from AAI-2198 to do batch reformat of aai-auth
to consistent code style.

Change-Id: I7ea7c6e991b81b3d8b167bdd0889aa5674a42001
Issue-ID: AAI-1523
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1523 Batch reformat aai-core 87/82887/2
Keong Lim [Thu, 21 Mar 2019 04:33:44 +0000 (15:33 +1100)]
AAI-1523 Batch reformat aai-core

Use maven plugins from AAI-2198 to do batch reformat of aai-core
to consistent code style.

Change-Id: If43889a61778f3a766c3663098064cdcc8e507bf
Issue-ID: AAI-1523
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1523 Batch reformat aai-rest 86/82886/2
Keong Lim [Thu, 21 Mar 2019 04:33:15 +0000 (15:33 +1100)]
AAI-1523 Batch reformat aai-rest

Use maven plugins from AAI-2198 to do batch reformat of aai-rest
to consistent code style.

Change-Id: I7eba1928cbc0958e2dae369547cba262e019d4d0
Issue-ID: AAI-1523
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-1523 Batch reformat aai-schema-ingest 85/82885/2
Keong Lim [Thu, 21 Mar 2019 04:32:25 +0000 (15:32 +1100)]
AAI-1523 Batch reformat aai-schema-ingest

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>
5 years agoAAI-1523 Batch reformat aai-utils 84/82884/2
Keong Lim [Thu, 21 Mar 2019 04:31:32 +0000 (15:31 +1100)]
AAI-1523 Batch reformat aai-utils

Use maven plugins from AAI-2198 to do batch reformat of aai-utils
to consistent code style.

Change-Id: Ia67b73b69427799bfb3198f1cded820840e9ee6d
Issue-ID: AAI-1523
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoUpdate DBSerializer to properly deal 47/84947/1 1.4.3
Kajur, Harish (vk250x) [Wed, 10 Apr 2019 20:44:17 +0000 (16:44 -0400)]
Update DBSerializer to properly deal

with adding relationships to edge rules in
older versions of the api that might not be
in the latest versions of the API

Issue-ID: AAI-2325
Change-Id: I78fa1c747c4c52a01d2d6ed762e0dc4cdf448fee
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoRemove the generation code for swagger and xsd 34/84934/1
Kajur, Harish (vk250x) [Wed, 10 Apr 2019 19:24:11 +0000 (15:24 -0400)]
Remove the generation code for swagger and xsd

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>
5 years agoMerge "AAI-1523 Tweak onap-java-formatter.xml" 1.4.2
James Forsyth [Tue, 9 Apr 2019 18:14:08 +0000 (18:14 +0000)]
Merge "AAI-1523 Tweak onap-java-formatter.xml"

5 years agoMerge "Upgrade to springboot 1.5.20.RELEASE"
Venkata Harish Kajur [Tue, 9 Apr 2019 17:01:27 +0000 (17:01 +0000)]
Merge "Upgrade to springboot 1.5.20.RELEASE"

5 years agoUpgrade to springboot 1.5.20.RELEASE 99/84699/2
Jimmy Forsyth [Tue, 9 Apr 2019 15:36:35 +0000 (11:36 -0400)]
Upgrade to springboot 1.5.20.RELEASE

Issue-ID: AAI-2349
Change-Id: I6d21736b4da4483a5bf94f18ff4c3fc8e5624ba6
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoFix wrapped line formatting 16/84716/1
mark.j.leonard [Tue, 9 Apr 2019 15:53:15 +0000 (16:53 +0100)]
Fix wrapped line formatting

Update the setting "Default indentation for wrapped lines" to be 2 units
of indentation (as per the standard Google style guide formatter).
This causes a continued line to be indented differently to the following
code block and distinguishes a wrapped line from a non-wrapped line.

Also update the array initializer indentation to match, so that array
values are horizontally aligned with other initializers such as List
contructors and also with standard expressions.

Both settings are now identical with the Google-supplied formatter.

Change-Id: I05dd2b3ff522c75bb6aaf2c03017874d42e215c7
Issue-ID: AAI-2198
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
5 years agoMerge "Update dmaap to use logging context"
James Forsyth [Tue, 9 Apr 2019 15:21:50 +0000 (15:21 +0000)]
Merge "Update dmaap to use logging context"

5 years agoMerge "Fix logic in Schema Generator to properly"
James Forsyth [Tue, 9 Apr 2019 15:19:26 +0000 (15:19 +0000)]
Merge "Fix logic in Schema Generator to properly"

5 years agoMerge "Optimize the areas where its creating extra memory"
James Forsyth [Tue, 9 Apr 2019 15:16:35 +0000 (15:16 +0000)]
Merge "Optimize the areas where its creating extra memory"

5 years agoMerge "Fix Eclipse Java Formatter settings"
Tian Lee [Tue, 9 Apr 2019 15:05:13 +0000 (15:05 +0000)]
Merge "Fix Eclipse Java Formatter settings"

5 years agoUpgrade httpclient version 93/84693/2
Jimmy Forsyth [Tue, 9 Apr 2019 14:28:22 +0000 (10:28 -0400)]
Upgrade httpclient version

Issue-ID: AAI-2348
Change-Id: I6cab4dfe53d7f843ffb73676bd499486dd32a7c8
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoMerge "Update schema service to fail to start"
James Forsyth [Tue, 9 Apr 2019 14:47:59 +0000 (14:47 +0000)]
Merge "Update schema service to fail to start"

5 years agoFix Eclipse Java Formatter settings 16/84516/3
mark.j.leonard [Mon, 8 Apr 2019 11:24:36 +0000 (12:24 +0100)]
Fix Eclipse Java Formatter settings

Update settings to match those described in the wiki:
https://wiki.onap.org/display/DW/Setting+Up+Your+Development+Environment
section SettingUpYourDevelopmentEnvironment-ONAPEclipseJavaFormatter

Use a line width of 120.
Do not reformat the license declaration in the file header.

Change-Id: I9587f0599e6c297315dfc8a6f9f9f20e27936bee
Issue-ID: AAI-2198
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
5 years agoUpdate 3.0.2 release notes 70/84670/1
Jimmy Forsyth [Tue, 9 Apr 2019 12:16:14 +0000 (08:16 -0400)]
Update 3.0.2 release notes

Issue-ID: AAI-2342
Change-Id: Ic1cc92ad8b8cbd57cff72ce0800a797295be2ea5
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpdate schema service to fail to start 41/84441/3
Kajur, Harish (vk250x) [Sun, 7 Apr 2019 22:50:42 +0000 (18:50 -0400)]
Update schema service to fail to start

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>
5 years agoUpdate dmaap to use logging context 51/84451/2
Kajur, Harish (vk250x) [Mon, 8 Apr 2019 00:52:35 +0000 (20:52 -0400)]
Update dmaap to use logging context

Change from using the MDC to use Logging Context
When an update happens on a vertex,
there is no need to update the aai-node-type
as a vertex type will not be modified and
this causes some issues with how janusgraph works

Issue-ID: AAI-2325
Change-Id: Iee51fea0dcd5e80636b8303f5f69346f8d653aa0
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoFix logic in Schema Generator to properly 50/84450/1
Kajur, Harish (vk250x) [Mon, 8 Apr 2019 00:38:42 +0000 (20:38 -0400)]
Fix logic in Schema Generator to properly

check if indexes are needed on dbaliased properties
Added test to verify indexes are created.

Issue-ID: AAI-2333
Change-Id: Ib80de5cce3dfc99277d7cbd6e1a51530ff588478
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoOptimize the areas where its creating extra memory 48/84448/1
Kajur, Harish (vk250x) [Mon, 8 Apr 2019 00:18:24 +0000 (20:18 -0400)]
Optimize the areas where its creating extra memory

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>
5 years agoAdd the logging statements for when 47/84447/1
Kajur, Venkata Harish (vk250x) [Tue, 2 Apr 2019 15:05:31 +0000 (11:05 -0400)]
Add the logging statements for when

application is doing implicit delete so if an
user did a PUT on cloud region in which they implicitly
delete 100 tenants, it would log the specific tenants that got deleted with depth all on
tenants because a cloud region could also have thousands of other child
objects and there is no reason to log that if we can just log the
objects that were lost in the implicit delete process

Issue-ID: AAI-2332
Change-Id: I8cd0c876670f8687b6485d3735f9f47e84c38286
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoFix a potential bug in DBSerializer 46/84446/1
Kajur, Harish (vk250x) [Sun, 7 Apr 2019 23:24:53 +0000 (19:24 -0400)]
Fix a potential bug in DBSerializer

where the assumption is the aai-node-type property will
exist on the node types. There is a case where a vertex
is in the process of being deleted and during that time
the vertex will be missing some properties and during
that time the GET with depth all will result in exception
This is possible because of our database being
an eventually consistent database

Issue-ID: AAI-2330
Change-Id: I2b11c9a2ec5c3b6bffd2690a0c075962e80781cc
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoUpgrade to springboot 1.5.19.RELEASE 01/83401/1
Jimmy Forsyth [Tue, 26 Mar 2019 19:10:05 +0000 (15:10 -0400)]
Upgrade to springboot 1.5.19.RELEASE

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>
5 years agoAAI-1523 Tweak onap-java-formatter.xml 83/82883/1
Keong Lim [Thu, 21 Mar 2019 04:29:01 +0000 (15:29 +1100)]
AAI-1523 Tweak onap-java-formatter.xml

Tweak onap-java-formatter.xml to pass checkstyle audit.

Change-Id: I2254d381724047ad0082297e557f3c1bf4b6992c
Issue-ID: AAI-1523
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoRemove the aai-schema dependency from aai-utils 52/79752/1
Kajur, Harish (vk250x) [Wed, 6 Mar 2019 03:25:33 +0000 (22:25 -0500)]
Remove the aai-schema dependency from aai-utils

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>
5 years agoMerge "Add missing INFO.yaml blocks"
Venkata Harish Kajur [Tue, 5 Mar 2019 21:12:43 +0000 (21:12 +0000)]
Merge "Add missing INFO.yaml blocks"

5 years agoAdd missing INFO.yaml blocks 35/79535/1
Jessica Wagantall [Sat, 2 Mar 2019 02:34:41 +0000 (18:34 -0800)]
Add missing INFO.yaml blocks

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>
5 years agoAAI-2171 duplicates in aai-schema-ingest pom 13/79313/1
Keong Lim [Thu, 28 Feb 2019 00:45:08 +0000 (11:45 +1100)]
AAI-2171 duplicates in aai-schema-ingest pom

remove duplicate gson versions

Issue-ID: AAI-2171
Change-Id: I26b5252560ffe861ef917ee61ce867be07b6b0f5
Signed-off-by: Keong Lim <keong.lim@huawei.com>
5 years agoAAI-2198 Consistent code style in aai-common 12/79312/1
Keong Lim [Thu, 28 Feb 2019 00:46:32 +0000 (11:46 +1100)]
AAI-2198 Consistent code style in aai-common

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>
5 years agoMerge "AAIAuthCore-replace duplicate literal by constant"
James Forsyth [Wed, 27 Feb 2019 21:07:15 +0000 (21:07 +0000)]
Merge "AAIAuthCore-replace duplicate literal by constant"

5 years agoRemove schema service dependency and add oxm 38/79238/2 1.4.1
Kajur, Harish (vk250x) [Wed, 27 Feb 2019 04:13:48 +0000 (23:13 -0500)]
Remove schema service dependency and add oxm

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>
5 years agoAAI-1523 checkstyle warnings for aai-core rest 93/78793/1
Keong Lim [Thu, 1 Nov 2018 06:08:45 +0000 (17:08 +1100)]
AAI-1523 checkstyle warnings for aai-core rest

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>
5 years agoAAI-1523 checkstyle warnings for aai-core query 92/78792/1
Keong Lim [Thu, 1 Nov 2018 06:08:02 +0000 (17:08 +1100)]
AAI-1523 checkstyle warnings for aai-core query

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>
5 years agoRemove the license check goal 17/78717/1
Jimmy Forsyth [Mon, 18 Feb 2019 22:48:29 +0000 (17:48 -0500)]
Remove the license check goal

Issue-ID: AAI-2167
Change-Id: I4be9427b3f8ea905837c24fc9744c9118da45216
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoMerge "Remove the aai-schema from aai-common"
James Forsyth [Mon, 18 Feb 2019 21:39:03 +0000 (21:39 +0000)]
Merge "Remove the aai-schema from aai-common"

5 years agoMerge "Removed sysout and replaced with logger"
James Forsyth [Mon, 18 Feb 2019 21:24:49 +0000 (21:24 +0000)]
Merge "Removed sysout and replaced with logger"

5 years agoMerge "AAI-1523 checkstyle warnings for aai-core parsers"
James Forsyth [Mon, 18 Feb 2019 13:09:01 +0000 (13:09 +0000)]
Merge "AAI-1523 checkstyle warnings for aai-core parsers"

5 years agoMerge "AAI-1523 checkstyle warnings for aai-core logging"
James Forsyth [Mon, 18 Feb 2019 13:08:55 +0000 (13:08 +0000)]
Merge "AAI-1523 checkstyle warnings for aai-core logging"

5 years agoMerge "AAI-1523 checkstyle warnings for aai-core introspe"
James Forsyth [Mon, 18 Feb 2019 13:08:45 +0000 (13:08 +0000)]
Merge "AAI-1523 checkstyle warnings for aai-core introspe"

5 years agoAdd bulkApi documentation 74/78574/1
Jimmy Forsyth [Fri, 15 Feb 2019 16:30:33 +0000 (11:30 -0500)]
Add bulkApi documentation

Issue-ID: AAI-2157
Change-Id: Ic4e7a1b2ae56036c2ce475608b524c3329c481d4
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoRemove the aai-schema from aai-common 61/78361/1
Harish Venkata Kajur [Wed, 13 Feb 2019 05:54:42 +0000 (00:54 -0500)]
Remove the aai-schema from aai-common

Issue-ID: AAI-1871
Change-Id: I0d836c8105083f511877f74f08044cc86905e7be
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
5 years agoAdded additional bugs and known issue to relnotes 44/78344/1
Jimmy Forsyth [Tue, 12 Feb 2019 20:54:32 +0000 (15:54 -0500)]
Added additional bugs and known issue to relnotes

Issue-ID: AAI-2090
Change-Id: Id30a5d013a73e57ba5289b6bc801c8cc5947570a
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoAAI-1523 checkstyle warnings for aai-core parsers 50/77550/1
Keong Lim [Thu, 1 Nov 2018 06:06:59 +0000 (17:06 +1100)]
AAI-1523 checkstyle warnings for aai-core parsers

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>
5 years agoAAI-1523 checkstyle warnings for aai-core logging 49/77549/1
Keong Lim [Thu, 1 Nov 2018 06:06:07 +0000 (17:06 +1100)]
AAI-1523 checkstyle warnings for aai-core logging

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>
5 years agoAAI-1523 checkstyle warnings for aai-core introspe 48/77548/1
Keong Lim [Thu, 1 Nov 2018 06:05:21 +0000 (17:05 +1100)]
AAI-1523 checkstyle warnings for aai-core introspe

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>
5 years agoRemoved sysout and replaced with logger 00/77500/1
Chandan Ghosh [Tue, 29 Jan 2019 09:12:40 +0000 (14:42 +0530)]
Removed sysout and replaced with logger

Removed sysout and replaced with logger

Issue-ID: AAI-2085
Change-Id: I0f90b137d3d46ae80a4de2492cf335cd5016a521
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
5 years agoMerge "AAI-1523 checkstyle warnings for aai-core exceptio"
Venkata Harish Kajur [Fri, 25 Jan 2019 23:52:09 +0000 (23:52 +0000)]
Merge "AAI-1523 checkstyle warnings for aai-core exceptio"

5 years agoMerge "AAI-1523 checkstyle warnings for aai-core concurre"
James Forsyth [Wed, 23 Jan 2019 20:48:53 +0000 (20:48 +0000)]
Merge "AAI-1523 checkstyle warnings for aai-core concurre"

5 years agoMerge "Add .gitignore for swagger"
James Forsyth [Fri, 18 Jan 2019 20:50:02 +0000 (20:50 +0000)]
Merge "Add .gitignore for swagger"

5 years agoAAI-1523 checkstyle warnings for aai-core exceptio 58/74558/2
Keong Lim [Thu, 1 Nov 2018 06:04:28 +0000 (17:04 +1100)]
AAI-1523 checkstyle warnings for aai-core exceptio

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>
5 years agoAAI-1523 checkstyle warnings for aai-core concurre 57/74557/2
Keong Lim [Thu, 1 Nov 2018 06:03:08 +0000 (17:03 +1100)]
AAI-1523 checkstyle warnings for aai-core concurre

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>
5 years agoMerge "ListEndpoints-added logger with System.err"
James Forsyth [Tue, 15 Jan 2019 14:15:32 +0000 (14:15 +0000)]
Merge "ListEndpoints-added logger with System.err"

5 years agoRemove the classes that were originally singleton 59/75759/1
Kajur, Harish (vk250x) [Mon, 14 Jan 2019 16:47:40 +0000 (11:47 -0500)]
Remove the classes that were originally singleton

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>
5 years agoSync up the changes for v15 98/75698/5
Kajur, Harish (vk250x) [Fri, 11 Jan 2019 19:13:38 +0000 (14:13 -0500)]
Sync up the changes for v15

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>
5 years agoAAIAuthCore-replace duplicate literal by constant 99/75599/1
Driptaroop Das [Thu, 10 Jan 2019 06:36:06 +0000 (12:06 +0530)]
AAIAuthCore-replace duplicate literal by constant

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>
5 years agoListEndpoints-added logger with System.err 64/75564/2
Driptaroop Das [Wed, 9 Jan 2019 14:11:56 +0000 (19:41 +0530)]
ListEndpoints-added logger with System.err

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>
5 years agoMerge "Update DBSerializer for relationships retrieving"
James Forsyth [Wed, 2 Jan 2019 22:01:23 +0000 (22:01 +0000)]
Merge "Update DBSerializer for relationships retrieving"

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 agoAdd .gitignore for swagger 26/75126/1
kurczews [Fri, 28 Dec 2018 08:58:34 +0000 (09:58 +0100)]
Add .gitignore for swagger

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>
5 years agoUpdate aai-core use new schema ingest library 97/74697/1
Kajur, Harish (vk250x) [Thu, 13 Dec 2018 14:02:53 +0000 (09:02 -0500)]
Update aai-core use new schema ingest library

Issue-ID: AAI-2003
Change-Id: I9234b6b594e559b58e445a97b78a4658190e6527
Signed-off-by: Kajur, Harish (vk250x) <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>
6 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>
6 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>
6 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>
6 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>
6 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"

6 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>
6 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>
6 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>
6 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>