aai/gizmo.git
5 years agoUpdate dependency versions in pom 19/59419/2
Michael Arrastia [Tue, 7 Aug 2018 10:22:18 +0000 (11:22 +0100)]
Update dependency versions in pom

* Correct inconsistent use of aai-common version
* Align with ONAP version manifest:
  https://git.onap.org/integration/tree/version-manifest/
  src/main/resources/java-manifest.csv
* Organise for readability

Change-Id: Ie17625e0f1ad3773bcf950a937f5eed6367d4b1f
Issue-ID: AAI-1442
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoRe-enable vertex edges retrieval for bulk 55/58455/1
michaere [Wed, 1 Aug 2018 16:41:00 +0000 (17:41 +0100)]
Re-enable vertex edges retrieval for bulk

Following changes to champ to retrieve edges in context of transaction
for bulk. This issue was caused as a result of multiplicity rules check.

Issue-ID: AAI-1439

Change-Id: If68efa4b531644bf4297b08f566b18b5bd21c2b8
Signed-off-by: michaere <michaere@amdocs.com>
5 years agoAuto-resolve edge type 59/56959/1
sblimkie [Thu, 19 Jul 2018 20:03:44 +0000 (16:03 -0400)]
Auto-resolve edge type

Auto-resolve edge type based on EdgeRules file.

Change-Id: Ic6de47f5172bc410efcdd5f08c1ea5c4f822610e
Issue-ID: AAI-1396
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
5 years agoFix sonar violations 71/56271/1
Sotiropoulos, Ioannis (is948x) [Thu, 12 Jul 2018 10:02:18 +0000 (11:02 +0100)]
Fix sonar violations

Issue-ID: AAI-1190

Change-Id: I72894665b288416069d3c2eb84185fcc303976f7
Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
5 years agoIncrease code coverage 29/56129/1
Sotiropoulos, Ioannis (is948x) [Tue, 10 Jul 2018 16:57:43 +0000 (17:57 +0100)]
Increase code coverage

Add tests to increase code coverage above 60 percent.

Issue-ID: AAI-1198

Change-Id: I4c2f964ce41d01521cc1313e32e34fb6460d49bf
Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
5 years agoMerge "Fix code architecure in CrudAsyncResponseConsumer"
Tian Lee [Mon, 9 Jul 2018 12:20:42 +0000 (12:20 +0000)]
Merge "Fix code architecure in CrudAsyncResponseConsumer"

5 years agoFix code architecure in CrudAsyncResponseConsumer 35/55935/3
Bogumil Zebek [Fri, 6 Jul 2018 08:38:45 +0000 (10:38 +0200)]
Fix code architecure in CrudAsyncResponseConsumer

- fix code complexity
- make code testable
- add missing tests

Change-Id: I542e7f603a5ffe956ae3fc3f58874b7dd2ce87a1
Issue-ID: AAI-1365
Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
5 years agoMerge "Fix sonar violations"
Tian Lee [Mon, 9 Jul 2018 09:08:59 +0000 (09:08 +0000)]
Merge "Fix sonar violations"

5 years agoFix sonar violations 77/55877/1
Bogumil Zebek [Thu, 5 Jul 2018 12:15:44 +0000 (14:15 +0200)]
Fix sonar violations

Change-Id: I0f2b7f58cb2176a017c0adf0bacdea2252d8026b
Issue-ID: AAI-1364
Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
5 years agoMerge "Fix sonar issues in crud/logging/LoggingUtil"
Tian Lee [Wed, 27 Jun 2018 10:46:33 +0000 (10:46 +0000)]
Merge "Fix sonar issues in crud/logging/LoggingUtil"

5 years agoMerge "Fix sonar issues in /crud/util/CrudProperties.java"
Tian Lee [Wed, 27 Jun 2018 10:43:30 +0000 (10:43 +0000)]
Merge "Fix sonar issues in /crud/util/CrudProperties.java"

5 years agoMerge "Fix sonar issues in /crud/service/CrudRestService"
Tian Lee [Wed, 27 Jun 2018 10:41:13 +0000 (10:41 +0000)]
Merge "Fix sonar issues in /crud/service/CrudRestService"

5 years agoApply multiplicity Rule upon Edge creation 65/55465/1
michaere [Wed, 27 Jun 2018 08:51:34 +0000 (09:51 +0100)]
Apply multiplicity Rule upon Edge creation

Uses multiplicity type from dbedge rules json to validate whether to and
from vertices meet the multiplicity constraint e.g. ONE2MANY.

This validation is applied when creating or updating an edge.

Issue-ID: AAI-1197

Change-Id: Id6e78635c5cbea66d8a35e6901b7e1b673125e4e
Signed-off-by: michaere <michaere@amdocs.com>
5 years agoFix sonar issues in /crud/service/CrudRestService 27/55327/1
Switon Tomasz [Mon, 25 Jun 2018 12:49:42 +0000 (14:49 +0200)]
Fix sonar issues in /crud/service/CrudRestService

Change-Id: Ib221593a6ff9e7fbd355eb4ff97ce6a5d1a5e0e0
Issue-ID: AAI-1241
Signed-off-by: Switon Tomasz <tomasz.switon@nokia.com>
5 years agoFix sonar issues in /crud/util/CrudProperties.java 25/55325/1
Switon Tomasz [Mon, 25 Jun 2018 12:35:38 +0000 (14:35 +0200)]
Fix sonar issues in /crud/util/CrudProperties.java

Change-Id: Id98e68f70af525adc4894bfe92884a590e32b664
Issue-ID: AAI-1240
Signed-off-by: Switon Tomasz <tomasz.switon@nokia.com>
5 years agoFix sonar issues in crud/logging/LoggingUtil 21/55321/1
Switon Tomasz [Mon, 25 Jun 2018 12:16:51 +0000 (14:16 +0200)]
Fix sonar issues in crud/logging/LoggingUtil

Change-Id: I539a60204dd6da73a549e2a995b89f6a0febc2fc
Issue-ID: AAI-1238
Signed-off-by: Switon Tomasz <tomasz.switon@nokia.com>
5 years agoFix Fortify scan violation 13/55013/1
Michael Arrastia [Mon, 18 Jun 2018 15:13:27 +0000 (16:13 +0100)]
Fix Fortify scan violation

Change-Id: Ia99b0a9b60b1b4eebfb47640c410f6c684393599
Issue-ID: AAI-1196
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoETags on resources 67/54967/3
Sotiropoulos, Ioannis (is948x) [Fri, 15 Jun 2018 14:32:01 +0000 (15:32 +0100)]
ETags on resources

An etag should be generated (by Champ) when creating
a resource (edge or vertex). The Champ microservice should return
this etag in the response header. Gizmo should also return the etag
in it's response header (Gizmo will receive the etag from Champ).

Issue-ID: AAI-1196

Change-Id: Ie16f871eccbceeccde037e73e0de0d96eeba18bd
Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
5 years agoGizmo to load multiple Db Edge Rules files 41/54641/1
Shwetank Dave [Wed, 13 Jun 2018 12:40:26 +0000 (08:40 -0400)]
Gizmo to load multiple Db Edge Rules files

There is an Edge Rule file for each OXM file.
For every OXM version that is loaded, an edge rule file
should also be loaded.

Issue-ID: AAI-1201
Change-Id: I728e577ea8152623d3c5e2f0e8edf677f0eb9ef4
Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
5 years agoMerge "Fix GET ALL for vertices created asynchronously"
Steven Blimkie [Tue, 12 Jun 2018 17:29:17 +0000 (17:29 +0000)]
Merge "Fix GET ALL for vertices created asynchronously"

5 years agoFix GET ALL for vertices created asynchronously 11/51211/1
Ravi Geda [Tue, 12 Jun 2018 13:54:41 +0000 (14:54 +0100)]
Fix GET ALL for vertices created asynchronously

Vertices created asynchronously are not being returned in the GET ALL
vertices. This commit addresses this problem

Change-Id: I83ee7a59dc2005447706fa0a43ba2c9d2f0e4592
Issue-ID: AAI-1223
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoProcess multi-OXM files 19/51119/1
Sotiropoulos, Ioannis (is948x) [Mon, 11 Jun 2018 08:54:54 +0000 (09:54 +0100)]
Process multi-OXM files

Gizmo service uses common OXM consumer to process multi-OXM files

Issue-ID: AAI-1196

Change-Id: If6dd50413a914984948272cd6bd98e2eeeaecedb
Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
5 years agoAdd tests for X-FromMsId 99/50699/1
Sotiropoulos, Ioannis (is948x) [Wed, 6 Jun 2018 14:37:35 +0000 (15:37 +0100)]
Add tests for X-FromMsId

Add tests for X-FromMsId header parameter changes

Issue-ID: AAI-1198

Change-Id: I6342cf95e5c635b500245bfa90040376ffa1b992
Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
5 years agoAdd validation for request header 43/50643/1
Sotiropoulos, Ioannis (is948x) [Wed, 6 Jun 2018 09:56:36 +0000 (10:56 +0100)]
Add validation for request header

Add validation for inclusion of X-FromAppId
and X-TransactionId in request header

Issue-ID: AAI-1190

Change-Id: Ie1d2b64a7243c013982992196048e1d6635d5e66
Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
5 years agoAdding "_reserved_" properties in the query params 85/50185/1
Shwetank Dave [Mon, 4 Jun 2018 17:56:08 +0000 (13:56 -0400)]
Adding "_reserved_" properties in the query params

Adding "_reserved_version" and "_reserved_aai-type" to the query parameters
when making downstream queries.

Change-Id: Ibabf671618ac10813740d835d368ce30195f7937
Issue-ID: AAI-1202
Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
5 years agoFix logDir in logback.xml file 21/50121/1
Sanchez, Gabriel (gs882h) [Mon, 4 Jun 2018 15:04:04 +0000 (16:04 +0100)]
Fix logDir in logback.xml file

Change logDir value to APP_HOME/logs

Issue-ID: AAI-1199

Change-Id: I4fc10a6ab422be50aaf3333b67f404e2c1589f75
Signed-off-by: Sanchez, Gabriel (gs882h) <gabriel.sanchez@amdocs.com>
5 years agoAdd gizmo logback in local 37/49537/1
Daniel Silverthorn [Wed, 30 May 2018 17:44:20 +0000 (13:44 -0400)]
Add gizmo logback in local

Change-Id: I024dd5aaba04f15169e19be008a6aa7c88fbc706
Issue-ID: AAI-1180
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
5 years agoRemove gizmo logback, use mounted one 35/49135/1
Daniel Silverthorn [Fri, 25 May 2018 14:37:42 +0000 (10:37 -0400)]
Remove gizmo logback, use mounted one

Change-Id: I256d2038c554aecc193b96661e080cd3bac82636
Issue-ID: AAI-1180
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
5 years agoDynamically determine image architecture 79/43179/2
Mohammed Naser [Mon, 16 Apr 2018 20:36:16 +0000 (13:36 -0700)]
Dynamically determine image architecture

The image architecture is currently hardcoded, this patch removes
that hardcoded value to allow for ARM64 builds to go through.

Change-Id: I50b7d3a270165852930c0ce5786121edbef61d08
Issue-ID: CIMAN-154
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
5 years agoPin jnr-unixsocket for Docker plugin to 0.13 77/43177/2
Mohammed Naser [Mon, 16 Apr 2018 20:35:21 +0000 (13:35 -0700)]
Pin jnr-unixsocket for Docker plugin to 0.13

The current verison of jnr-unixsocket is 0.12 from the Docker
plugin however in order to be able the images for ARM64, it needs
the newer version which has support for it.

There is work upstream to switch the version to 0.18[0] however
it seems that this is still pending, so we can pin it for now until
that merges.

[0]: https://github.com/spotify/docker-maven-plugin/pull/379

Change-Id: Ic2559c8371b249f5a3f7de01d30d773d9b5d876f
Issue-ID: CIMAN-154
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
5 years agoUpversion for Casablanca 47/48747/1
Jimmy Forsyth [Wed, 23 May 2018 17:18:55 +0000 (13:18 -0400)]
Upversion for Casablanca

Issue-ID: AAI-1169
Change-Id: I5f38cbc86210adc2e8b2c4e0d885ab83a4f03cde
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpversion for Casablanca 27/48727/1
Jimmy Forsyth [Wed, 23 May 2018 16:24:34 +0000 (12:24 -0400)]
Upversion for Casablanca

Issue-ID: AAI-1169
Change-Id: I9ff388471e5ed1cb9980ac6eb95bce6e8bb75377
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpversion to latest released event-client 21/46321/2 2.0.0-ONAP 2.0.0-ONAP v1.2.0
Jimmy Forsyth [Sat, 5 May 2018 00:11:52 +0000 (20:11 -0400)]
Upversion to latest released event-client

Issue-ID: AAI-1122
Change-Id: I18dd08b79bc9873ab342cc3495bf5cd71007b7b3
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoMerge "Upversion gizmo deps in prep for release"
Tian Lee [Fri, 4 May 2018 13:53:03 +0000 (13:53 +0000)]
Merge "Upversion gizmo deps in prep for release"

5 years agoUpversion gizmo deps in prep for release 11/46211/2
Jimmy Forsyth [Fri, 4 May 2018 13:07:56 +0000 (09:07 -0400)]
Upversion gizmo deps in prep for release

Issue-ID: AAI-1122
Change-Id: I67697b8aa1ba8904535c8a8997befb855251c48f
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoAdd explicit dependency for logback-access 93/46193/1
Ravi Geda [Fri, 4 May 2018 11:37:59 +0000 (12:37 +0100)]
Add explicit dependency for logback-access

Add explicit depedency on version 1.2.3 as 1.1.11 is being brought in
otherwise

Change-Id: Ie0d8f70c54132a187c5d1760734828b2b96d6410
Issue-ID: AAI-1118
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoUpdate aai-common artifact versions to 1.2.4 87/46187/1
Ravi Geda [Fri, 4 May 2018 10:50:44 +0000 (11:50 +0100)]
Update aai-common artifact versions to 1.2.4

Change-Id: Ib73a22e8452d35393cb58ecab4800556b50233f6
Issue-ID: AAI-1118
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoRemove jacoco config in the pom 81/45681/1
Ravi Geda [Wed, 2 May 2018 17:27:11 +0000 (18:27 +0100)]
Remove jacoco config in the pom

Change-Id: Icf875d4d6ec701199f96b4a0e5bf3e063bcb4a04
Issue-ID: AAI-1120
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoUpdate aai-common artifact versions 65/45665/1
Ravi Geda [Wed, 2 May 2018 15:27:12 +0000 (16:27 +0100)]
Update aai-common artifact versions

Change-Id: I77b8124cab14c273164d16e1128bbded491c0279
Issue-ID: AAI-1118
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoAddress critical security issues 57/45657/1
Ravi Geda [Wed, 2 May 2018 14:26:46 +0000 (15:26 +0100)]
Address critical security issues

Address security vulnerabilities identified by Nexus IQ

Change-Id: I0a795bb0c0e8a53438b83e8aadce72a316163cc4
Issue-ID: AAI-1116
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoMigrate to Spring Boot 83/45283/2
Ravi Geda [Mon, 30 Apr 2018 15:54:51 +0000 (16:54 +0100)]
Migrate to Spring Boot

Convert from AJSC to Spring Boot micro service

Change-Id: I17bed6d10a00b35dbc63f5dd2b93642b1b3eb7a5
Issue-ID: AAI-1040
Signed-off-by: Ravi Geda <gravik@amdocs.com>
6 years agoCorrect INFO.yaml to pass YAML Lint 23/42023/1
Eric Debeau [Tue, 10 Apr 2018 20:10:14 +0000 (20:10 +0000)]
Correct INFO.yaml to pass YAML Lint

Change-Id: Ie3c0db2005bce521a2b87d62eeb614bb47caf693
Issue-ID: AAI-1022
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
6 years agoUpdate version 27/40927/1
Ravi Geda [Wed, 4 Apr 2018 10:06:41 +0000 (11:06 +0100)]
Update version

Update version to Beijing

Change-Id: I1f68124d1862384caf2bea4056d99730f366a276
Issue-ID: AAI-994
Signed-off-by: Ravi Geda <gravik@amdocs.com>
6 years agoUpdate published event to include header and body 37/39737/2
Michael Arrastia [Wed, 28 Mar 2018 16:22:56 +0000 (17:22 +0100)]
Update published event to include header and body

Originally, the published event only contained the raw graph
request payload.
This has now been updated to include the following changes:
- encapsulate the graph request in a body property
- add new event header with details such as timestamp, request-id,
  event-type

Issue-ID: AAI-954

Change-Id: I780b6f52a01aafdcd7d09156e9d3a99c25be90a3
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
6 years agoPass error message through on vertex add 33/38633/3
Daniel Silverthorn [Mon, 26 Mar 2018 18:27:47 +0000 (14:27 -0400)]
Pass error message through on vertex add

Change-Id: I55bc4aaa8fdb31900d8a62d846bdd9d70764610c
Issue-ID: AAI-945
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
6 years agoFix transaction id not being passed to champ 65/37865/1
Daniel Silverthorn [Thu, 22 Mar 2018 19:35:20 +0000 (15:35 -0400)]
Fix transaction id not being passed to champ

Change-Id: I5752bb5671922d78076781d34e006aa98e4f3a1b
Issue-ID: AAI-929
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
6 years agoAllow ingestion of edge schema at deploy time 75/36275/1
sblimkie [Fri, 16 Mar 2018 19:29:41 +0000 (15:29 -0400)]
Allow ingestion of edge schema at deploy time

Gizmo to optionally allow a deployer to drop in a custom
edge schema at deploy time.

Change-Id: I5b7ccca79bc4fdb79629d308f517d4446adeb971
Issue-ID: AAI-889
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoAdd junit tests 45/36045/2
sblimkie [Thu, 15 Mar 2018 17:53:15 +0000 (13:53 -0400)]
Add junit tests

Add junit tests

Change-Id: Iaa22b0faa206114ef39648d451a5275205d14d9a
Issue-ID: AAI-885
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoUpdate license date and text 19/35519/1
sblimkie [Tue, 13 Mar 2018 15:52:13 +0000 (11:52 -0400)]
Update license date and text

Update license date and disable license plugin

Change-Id: Ieb54f4fe8dc939bf57af88fb7a71fd510bd20509
Issue-ID: AAI-865
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years ago[AAI-604] Documenting response. 67/33467/1
Shwetank Dave [Wed, 28 Feb 2018 20:22:18 +0000 (15:22 -0500)]
[AAI-604] Documenting response.

Documenting different responses in the ASYNC pipeline.

Change-Id: I9d704a6eb74f49f5006a9b1ac2341a1198990cdb
Issue-ID: AAI-604
Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
6 years agoAdd INFO.yaml file 05/33005/1
Jessica Wagantall [Tue, 27 Feb 2018 01:03:32 +0000 (17:03 -0800)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I097eac497e467821f66518d986230b8f9eff2a27
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoMake container parameters configurable 95/32695/1
sblimkie [Fri, 23 Feb 2018 17:33:06 +0000 (12:33 -0500)]
Make container parameters configurable

Params such as number of threads, Queue sizes, Heap size
are now configurable when deploying Gizmo

Change-Id: Ib58ff9cdf9e96378db7feaf3e7168267d05fd1e9
Issue-ID: AAI-807
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoFix the path used to add files into docker image 47/32547/1
Ravi Geda [Thu, 22 Feb 2018 13:47:14 +0000 (13:47 +0000)]
Fix the path used to add files into docker image

The existing path is wrong.

Change-Id: I55b3895bf7ca89a9a3358daff326e36afadf7f42
Issue-ID: AAI-790
Signed-off-by: Ravi Geda <gravik@amdocs.com>
6 years agoFix docker build image issue 23/32423/1
Ravi Geda [Wed, 21 Feb 2018 17:01:05 +0000 (17:01 +0000)]
Fix docker build image issue

The fix allows aai-gizmo-master-aai-docker-java-daily job to produce the
docker image

Change-Id: I88e6778c5de2a4354853c13c97a9ddcac9515bd2
Issue-ID: AAI-790
Signed-off-by: Ravi Geda <gravik@amdocs.com>
6 years agoGizmo to use latest schema 25/32325/1
sblimkie [Tue, 20 Feb 2018 21:22:24 +0000 (16:22 -0500)]
Gizmo to use latest schema

Update Gizmo to use the latest version of the aai-schema and
aai relationships

Change-Id: I2a8b408b2e55f1bd13ee8800a0d78bdf2c59ecb8
Issue-ID: AAI-482
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoRevert change for passing params 71/32271/2
Gurjeet Bedi [Fri, 16 Feb 2018 18:28:56 +0000 (13:28 -0500)]
Revert change for passing params

Move logic to downstream to handle params

Issue-ID: AAI-482
Change-Id: I25b1170447783fd753c83a619b00681cb4ef481f
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoFix junit test 25/32225/1
Sotiropoulos, Ioannis (is948x) [Tue, 20 Feb 2018 09:47:41 +0000 (09:47 +0000)]
Fix junit test

The relation type wasn't present in the DbEdgeRules file.

Issue-ID: AAI-780
Change-Id: I1fbcc2b53d9df62b0339605d94ba628f4abd7146
Signed-off-by: Sotiropoulos, Ioannis (is948x) <ioannis.sotiropoulos@amdocs.com>
6 years agoAdd event client dependency 85/31985/1
Sotiropoulos, Ioannis (is948x) [Fri, 16 Feb 2018 15:37:57 +0000 (15:37 +0000)]
Add event client dependency

Change dependencies from SNAPSHOT to RELEASE.

Change-Id: If8a46177f294d1129f30e578c31cbe0bb2deeb31
Issue-ID: AAI-780
Signed-off-by: Sotiropoulos, Ioannis (is948x) <ioannis.sotiropoulos@amdocs.com>
6 years agoPropagate correct error codes 87/31887/1
Gurjeet Bedi [Fri, 16 Feb 2018 01:05:41 +0000 (20:05 -0500)]
Propagate correct error codes

Downstream error codes propagation

Issue-ID: AAI-482
Change-Id: I034a8178bf55393a3c0754a3de15bf9a2c82c11c
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoSupport t_k queries from gizmo 45/31845/1
Gurjeet Bedi [Thu, 15 Feb 2018 16:42:15 +0000 (11:42 -0500)]
Support t_k queries from gizmo

Only adding parameters for supported API

Issue-ID: AAI-482
Change-Id: I30a22336824f2e3041b1c71857c481b7fcc08273
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoFor supporting t_k query 55/31755/1
Gurjeet Bedi [Wed, 14 Feb 2018 18:56:58 +0000 (13:56 -0500)]
For supporting t_k query

Passing queryparameters from GET

Issue-ID: AAI-482
Change-Id: I7db51c6549fe5f7e4d61ad96121e7da3a57ff325
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoAllow filtering by reserved properties 23/30523/1
Daniel Silverthorn [Tue, 6 Feb 2018 20:19:01 +0000 (15:19 -0500)]
Allow filtering by reserved properties

Allow filtering by reserved properties and return them in group and single gets

Change-Id: I897a6e807d93f6fe9f6875519dd433e52c2a1705
Issue-ID: AAI-702
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
6 years agoConfig to be able to route GET thru datarouter 47/30047/1
Gurjeet Bedi [Thu, 1 Feb 2018 19:56:21 +0000 (14:56 -0500)]
Config to be able to route GET thru datarouter

Data router file name change

Issue-ID: AAI-482
Change-Id: I349fb3414357903f5fd5c667103e2aecb20fe194
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoMerge "Config to be able to route GET through datarouter"
Tian Lee [Thu, 1 Feb 2018 16:02:43 +0000 (16:02 +0000)]
Merge "Config to be able to route GET through datarouter"

6 years agoAllow reserved properties in get 87/29887/1
Daniel Silverthorn [Wed, 31 Jan 2018 21:54:06 +0000 (16:54 -0500)]
Allow reserved properties in get

Change-Id: Ia3c81df8ea9da5b49f1344726c799757678791eb
Issue-ID: AAI-702
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
6 years agoConfig to be able to route GET through datarouter 81/29881/1
Gurjeet Bedi [Wed, 31 Jan 2018 20:05:30 +0000 (15:05 -0500)]
Config to be able to route GET through datarouter

Option to route GET through data router

Issue-ID: AAI-482
Change-Id: I6b9a3621d5e3a5ec83d69a948917865941ede833
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoAllow filtering by reserved properties 55/29555/1
Daniel Silverthorn [Mon, 29 Jan 2018 21:44:38 +0000 (16:44 -0500)]
Allow filtering by reserved properties

Change-Id: Ie43de57b63651fccb13147c9086276f0867a828c
Issue-ID: AAI-702
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
6 years agoUpdate gizmo to set jersey impl for ClientBuilder 13/29213/1
Bansal, Nitin (nb121v) [Thu, 25 Jan 2018 20:18:19 +0000 (15:18 -0500)]
Update gizmo to set jersey impl for ClientBuilder

Update gizmo to specify the jersey impl for javax.ws.rs.client.ClientBuilder to resolve http chunking issue while publishing to dmaap

Change-Id: If74dad209ca47db8a3c4eaf362659137e24d1103
Issue-ID: AAI-695
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
6 years agoFix issue patching edges 31/28931/1
sblimkie [Tue, 23 Jan 2018 14:56:05 +0000 (09:56 -0500)]
Fix issue patching edges

Fix an issue where edge patch fails

Change-Id: Ia6987b5ced127bb2d475c3c13dcf9dabf2242ff0
Issue-ID: AAI-685
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoFix issue with patch requests 33/28833/1
sblimkie [Tue, 23 Jan 2018 00:29:18 +0000 (19:29 -0500)]
Fix issue with patch requests

Fix issue where patch commands were failing for non-string vertex
properties

Change-Id: I1cf25565fc121745e817c8292c99d4cdc89c4a35
Issue-ID: AAI-685
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoAdd query parameters to get properties 95/28795/1
Daniel Silverthorn [Mon, 22 Jan 2018 16:28:42 +0000 (11:28 -0500)]
Add query parameters to get properties

Issue-ID: AAI-685
Change-Id: Id06a08ef668591560d276ef8a79c095f31d8c85b
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
6 years agoAllow patch operation in bulk request 69/28069/1
sblimkie [Fri, 12 Jan 2018 19:50:36 +0000 (14:50 -0500)]
Allow patch operation in bulk request

Support the patch operation in a bulk request.

Change-Id: I10054f60315632812bed18997272a5c9728a3f67
Issue-ID: AAI-482
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoFix for bulk deletes 63/28063/1
sblimkie [Fri, 12 Jan 2018 16:40:18 +0000 (11:40 -0500)]
Fix for bulk deletes

Ensure that in a bulk delete, edges are deleted before vertexes

Change-Id: I00716139ebc53fe7ef855e80c4ae908bbffff83d
Issue-ID: AAI-482
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoReturn 400 instead of 403 when missing X-FromAppId 31/27831/1
Daniel Silverthorn [Wed, 10 Jan 2018 14:51:18 +0000 (09:51 -0500)]
Return 400 instead of 403 when missing X-FromAppId

Change-Id: I67500a7a98aa8cd3a86d5713c2d94df9599261b5
Issue-ID: AAI-482
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
6 years agoValidate the FromAppID when populating SOT props 75/27675/2
Gurjeet Bedi [Mon, 8 Jan 2018 23:43:56 +0000 (18:43 -0500)]
Validate the FromAppID when populating SOT props

Rejecting request when FromAppID is not set

Issue-ID: AAI-482
Change-Id: I34862ed17146dc8bf3ecaa13afd9a76a20c9476c
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoOXM which tracks provenance 01/27601/1
Gurjeet Bedi [Mon, 8 Jan 2018 02:07:50 +0000 (21:07 -0500)]
OXM which tracks provenance

Support for source-of-truth and last-mod-source-of-truth

Issue-ID: AAI-482
Change-Id: Idc7ec47c0561f2dad6f930d0ac0dd3fff9585b4f
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoOXM which tracks provenance 73/27473/1
Gurjeet Bedi [Thu, 4 Jan 2018 18:53:58 +0000 (13:53 -0500)]
OXM which tracks provenance

support for source-of-truth and last-mo-source-of truth

Issue-ID: AAI-482
Change-Id: Ida88374cf4cbfc6c21e95896dcc0fcf059349381
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoSupport for bulk API in async mode 57/27457/1
sblimkie [Thu, 4 Jan 2018 16:35:51 +0000 (11:35 -0500)]
Support for bulk API in async mode

Allow bulk request processing in Gizmo's async mode

Change-Id: I2aa86aaee9534e7a84bd360e97513ac5077485f2
Issue-ID: AAI-482
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoDocument Async event payloads. 11/27311/2
Shwetank Dave [Wed, 3 Jan 2018 20:00:04 +0000 (15:00 -0500)]
Document Async event payloads.

For vertices and edges document respective
payloads for Adding, Updating, and Deleting
edges and vertices.

Issue-ID: AAI-604
Change-Id: I9f8802e5bcd9083d786d71db2457caa682304133
Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
6 years agoBetter handling for exception logs 11/26811/1
Gurjeet Bedi [Fri, 22 Dec 2017 15:44:29 +0000 (10:44 -0500)]
Better handling for exception logs

Handling for dmaap not supporting offsets

Issue-ID: AAI-552
Change-Id: I0af737d92861b7c6c22421a106d32c9b2c4fca7b
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoConsolidate syncrounous and asyncronous APIs 33/26633/1
sblimkie [Wed, 20 Dec 2017 15:15:36 +0000 (10:15 -0500)]
Consolidate syncrounous and asyncronous APIs

Gizmo to present a single API, and the mode in which it interacts with
the backend is configurable at deploy time.

Change-Id: Iab96f71c9f99dd1d8d70f01a90478a975c50bff1
Issue-ID: AAI-482
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoPort async pipeline for gizmo 43/25743/1
Gurjeet Bedi [Wed, 6 Dec 2017 20:16:34 +0000 (15:16 -0500)]
Port async pipeline for gizmo

Port async pipeline for gizmo

Issue-ID: AAI-552
Change-Id: I255127174d1154849f440bab8b1f0bda3311ec9f
Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
6 years agoUse rebranded version of auth library 13/25713/1
sblimkie [Wed, 6 Dec 2017 18:22:56 +0000 (13:22 -0500)]
Use rebranded version of auth library

Use the new version of the auth library which has been renamed from
openecomp to onap

Issue-ID: AAI-10
Change-Id: Ie5f9520f6218b7550dd68844600b683e30ec6424
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoGizmo use correct version of rest-client 71/25471/1
sblimkie [Mon, 4 Dec 2017 19:13:10 +0000 (14:13 -0500)]
Gizmo use correct version of rest-client

Gizmo needs to use the version of the client with the onap package name

Issue-ID: AAI-525
Change-Id: Ib2dc7e15e0f81fd8255cff0f7c409f1b921563f6
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoGizmo uses Champ the microservice 41/25341/2
sblimkie [Fri, 1 Dec 2017 21:00:50 +0000 (16:00 -0500)]
Gizmo uses Champ the microservice

Gizmo modified to use the Champ ms REST API instead of the Champ library

Issue-ID: AAI-525
Change-Id: Ifc5d0302eebfe4eccbe805ecf6cfd059fb6e700b
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoMerge "Update README"
Tian Lee [Thu, 23 Nov 2017 09:35:54 +0000 (09:35 +0000)]
Merge "Update README"

6 years agoMerge "Remove hardcoded keystore password"
Tian Lee [Thu, 23 Nov 2017 09:35:07 +0000 (09:35 +0000)]
Merge "Remove hardcoded keystore password"

6 years agoUpdate README 19/24919/1
sblimkie [Wed, 22 Nov 2017 19:57:29 +0000 (21:57 +0200)]
Update README

Add description of new Bulk API to README

Issue-ID: AAI-482
Change-Id: Icd5c39282644986f5677f67fa1101c54d8ee56f7
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoRefactor to move from openecomp to onap 87/24587/2
Bansal, Nitin (nb121v) [Mon, 20 Nov 2017 21:02:06 +0000 (16:02 -0500)]
Refactor to move from openecomp to onap

Refactor to move from openecomp to onap
IssueID: AAI-486

Change-Id: I1d5634739514acf11d5fbdf5e2c7865aaccd864e
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
6 years agoRemove hardcoded keystore password 43/24143/1
sblimkie [Fri, 17 Nov 2017 19:37:55 +0000 (21:37 +0200)]
Remove hardcoded keystore password

There was a hardcoded keystore password which needed to be removed.

Change-Id: I6f567e95ff70a0b4fbc309b2f0bcd708d9695758
IssueID: AAI-482
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoFixing the formatting 13/23913/1
Bansal, Nitin (nb121v) [Thu, 16 Nov 2017 20:19:58 +0000 (15:19 -0500)]
Fixing the formatting

Fixing the formatting

IssueID: AAI-481

Change-Id: I45c53cd24913707716f2dd34f9fc282786ce03b6
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
6 years agoAdd bulk API to gizmo 07/23907/1
Bansal, Nitin (nb121v) [Thu, 16 Nov 2017 19:56:59 +0000 (14:56 -0500)]
Add bulk API to gizmo

Add bulk API to gizmo

IssueID: AAI-481

Change-Id: Iff9df1a8fdc73c87d726da7294c2eb9f471080f1
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
6 years agoGizmo to use the new edge rule label format 75/23675/1
sblimkie [Wed, 15 Nov 2017 19:48:20 +0000 (21:48 +0200)]
Gizmo to use the new edge rule label format

Some unit tests still used the old style label and they needed to be
fixed.

IssueID: AAI-465
Change-Id: I6d669c93d00c32dacf3ed923c28a110fd6f4630d
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
6 years agoAdding safegaurd when adding new relationships. 65/23365/1
Shwetank Dave [Mon, 13 Nov 2017 15:31:07 +0000 (10:31 -0500)]
Adding safegaurd when adding new relationships.

When creating new relationships use POST,
if PUT is used, it should return 400 BAD_REQUEST.

When deleting relationships, ID should be passed
in the URL.

IssueID: AAI-463
Change-Id: I6dbe84707d54c509da3a01feb52e1b52f462f9bc
Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
6 years agoREADME typo changes 35/19735/1
Gurjeet Bedi [Wed, 18 Oct 2017 21:04:11 +0000 (17:04 -0400)]
README typo changes

README corrections for typo and examples

Issue-ID:AAI-26
Change-Id: I16673390fe99f61c413dcef150b5ab518ba5cc53
Signed-off-by: Gurjeet Bedi <GURJEETB@amdocs.com>
6 years agoFix import issue on unit test 73/17373/1
abatos [Thu, 5 Oct 2017 20:05:06 +0000 (16:05 -0400)]
Fix import issue on unit test

The re-enabled unit test was depending on an older version of the champ
package so this has been updated to the newest version.

Change-Id: I80c6c8b930280e2a3aa534c73234b1f277fd8b67
Issue-Id: AAI-295
Signed-off-by: Adrian Batos <adrian.batos-parac@amdocs.com>#
6 years agoFix dependency issue on older version of Tinkerpop 69/15569/1
abatos [Tue, 26 Sep 2017 13:43:07 +0000 (09:43 -0400)]
Fix dependency issue on older version of Tinkerpop

Removed the explicit dependency on the older versions of the Tinkerpop
stack. This was causing problems with both the Titan and Janusgraph
implementations of the deployment.

Change-Id: I873ad3e9c92239774aa5ee30cf755700de52267b
Issue-ID: AAI-295
Signed-off-by: Adrian Batos <adrian.batos-parac@amdocs.com>
6 years agoMerge "Add documentation for new edge endpoints."
Steven Blimkie [Wed, 13 Sep 2017 17:07:05 +0000 (17:07 +0000)]
Merge "Add documentation for new edge endpoints."

6 years agoChange dependencies to pass tests 13/12213/1
Daniel Silverthorn [Wed, 13 Sep 2017 14:29:14 +0000 (10:29 -0400)]
Change dependencies to pass tests

Fix a typo and change another dependency to get ChampDao tests to pass

Issue ID: AAI-295
Change-Id: I5e69e6385fe598cb9aa04e79955844fe80a77df5
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
6 years agoCleanup project's name in Sonar 73/11273/1
Jessica Wagantall [Fri, 8 Sep 2017 19:58:13 +0000 (12:58 -0700)]
Cleanup project's name in Sonar

The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.

Change-Id: I4f56c4c6704ebf724a04c772e30aae962d46001c
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>