aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-09Merge "Fix code architecure in CrudAsyncResponseConsumer"Tian Lee4-77/+220
2018-07-09Fix code architecure in CrudAsyncResponseConsumerBogumil Zebek4-77/+220
- 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>
2018-07-09Merge "Fix sonar violations"Tian Lee2-6/+23
2018-07-05Fix sonar violationsBogumil Zebek2-6/+23
Change-Id: I0f2b7f58cb2176a017c0adf0bacdea2252d8026b Issue-ID: AAI-1364 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-06-27Merge "Fix sonar issues in crud/logging/LoggingUtil"Tian Lee1-2/+2
2018-06-27Merge "Fix sonar issues in /crud/util/CrudProperties.java"Tian Lee1-11/+1
2018-06-27Merge "Fix sonar issues in /crud/service/CrudRestService"Tian Lee1-2/+5
2018-06-27Apply multiplicity Rule upon Edge creationmichaere36-326/+19978
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>
2018-06-25Fix sonar issues in /crud/service/CrudRestServiceSwiton Tomasz1-2/+5
Change-Id: Ib221593a6ff9e7fbd355eb4ff97ce6a5d1a5e0e0 Issue-ID: AAI-1241 Signed-off-by: Switon Tomasz <tomasz.switon@nokia.com>
2018-06-25Fix sonar issues in /crud/util/CrudProperties.javaSwiton Tomasz1-11/+1
Change-Id: Id98e68f70af525adc4894bfe92884a590e32b664 Issue-ID: AAI-1240 Signed-off-by: Switon Tomasz <tomasz.switon@nokia.com>
2018-06-25Fix sonar issues in crud/logging/LoggingUtilSwiton Tomasz1-2/+2
Change-Id: I539a60204dd6da73a549e2a995b89f6a0febc2fc Issue-ID: AAI-1238 Signed-off-by: Switon Tomasz <tomasz.switon@nokia.com>
2018-06-18Fix Fortify scan violationMichael Arrastia2-92/+3
Change-Id: Ia99b0a9b60b1b4eebfb47640c410f6c684393599 Issue-ID: AAI-1196 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-06-18ETags on resourcesSotiropoulos, Ioannis (is948x)20-435/+953
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>
2018-06-13Gizmo to load multiple Db Edge Rules filesShwetank Dave25-534/+5832
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>
2018-06-12Merge "Fix GET ALL for vertices created asynchronously"Steven Blimkie1-0/+1
2018-06-12Fix GET ALL for vertices created asynchronouslyRavi Geda1-0/+1
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>
2018-06-11Process multi-OXM filesSotiropoulos, Ioannis (is948x)18-56/+13727
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>
2018-06-06Add tests for X-FromMsIdSotiropoulos, Ioannis (is948x)11-16/+145
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>
2018-06-06Add validation for request headerSotiropoulos, Ioannis (is948x)4-20/+89
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>
2018-06-04Adding "_reserved_" properties in the query paramsShwetank Dave3-22/+30
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>
2018-06-04Fix logDir in logback.xml fileSanchez, Gabriel (gs882h)1-3/+3
Change logDir value to APP_HOME/logs Issue-ID: AAI-1199 Change-Id: I4fc10a6ab422be50aaf3333b67f404e2c1589f75 Signed-off-by: Sanchez, Gabriel (gs882h) <gabriel.sanchez@amdocs.com>
2018-05-30Add gizmo logback in localDaniel Silverthorn3-0/+189
Change-Id: I024dd5aaba04f15169e19be008a6aa7c88fbc706 Issue-ID: AAI-1180 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-05-25Remove gizmo logback, use mounted oneDaniel Silverthorn3-216/+2
Change-Id: I256d2038c554aecc193b96661e080cd3bac82636 Issue-ID: AAI-1180 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-05-23Dynamically determine image architectureMohammed Naser1-1/+1
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>
2018-05-23Pin jnr-unixsocket for Docker plugin to 0.13Mohammed Naser1-0/+7
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>
2018-05-23Upversion for CasablancaJimmy Forsyth1-1/+1
Issue-ID: AAI-1169 Change-Id: I5f38cbc86210adc2e8b2c4e0d885ab83a4f03cde Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-05-23Upversion for CasablancaJimmy Forsyth1-5/+5
Issue-ID: AAI-1169 Change-Id: I9ff388471e5ed1cb9980ac6eb95bce6e8bb75377 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-05-05Upversion to latest released event-clientv1.2.02.0.0-ONAP2.0.0-ONAPJimmy Forsyth1-1/+1
Issue-ID: AAI-1122 Change-Id: I18dd08b79bc9873ab342cc3495bf5cd71007b7b3 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-05-04Merge "Upversion gizmo deps in prep for release"Tian Lee0-0/+0
2018-05-04Upversion gizmo deps in prep for releaseJimmy Forsyth1-4/+4
Issue-ID: AAI-1122 Change-Id: I67697b8aa1ba8904535c8a8997befb855251c48f Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-05-04Add explicit dependency for logback-accessRavi Geda1-4/+9
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>
2018-05-04Update aai-common artifact versions to 1.2.4Ravi Geda1-4/+4
Change-Id: Ib73a22e8452d35393cb58ecab4800556b50233f6 Issue-ID: AAI-1118 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-05-02Remove jacoco config in the pomRavi Geda1-37/+0
Change-Id: Icf875d4d6ec701199f96b4a0e5bf3e063bcb4a04 Issue-ID: AAI-1120 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-05-02Update aai-common artifact versionsRavi Geda1-4/+4
Change-Id: I77b8124cab14c273164d16e1128bbded491c0279 Issue-ID: AAI-1118 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-05-02Address critical security issuesRavi Geda1-2/+24
Address security vulnerabilities identified by Nexus IQ Change-Id: I0a795bb0c0e8a53438b83e8aadce72a316163cc4 Issue-ID: AAI-1116 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-05-01Migrate to Spring BootRavi Geda57-1505/+348
Convert from AJSC to Spring Boot micro service Change-Id: I17bed6d10a00b35dbc63f5dd2b93642b1b3eb7a5 Issue-ID: AAI-1040 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-04-10Correct INFO.yaml to pass YAML LintEric Debeau1-24/+24
Change-Id: Ie3c0db2005bce521a2b87d62eeb614bb47caf693 Issue-ID: AAI-1022 Signed-off-by: Eric Debeau <eric.debeau@orange.com>
2018-04-04Update versionRavi Geda1-2/+2
Update version to Beijing Change-Id: I1f68124d1862384caf2bea4056d99730f366a276 Issue-ID: AAI-994 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-03-29Update published event to include header and bodyMichael Arrastia16-537/+1169
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>
2018-03-27Pass error message through on vertex addDaniel Silverthorn2-7/+7
Change-Id: I55bc4aaa8fdb31900d8a62d846bdd9d70764610c Issue-ID: AAI-945 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-03-22Fix transaction id not being passed to champDaniel Silverthorn1-1/+2
Change-Id: I5752bb5671922d78076781d34e006aa98e4f3a1b Issue-ID: AAI-929 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-03-16Allow ingestion of edge schema at deploy timesblimkie4-1984/+61
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>
2018-03-15Add junit testssblimkie17-81/+1469
Add junit tests Change-Id: Iaa22b0faa206114ef39648d451a5275205d14d9a Issue-ID: AAI-885 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-03-13Update license date and textsblimkie40-253/+229
Update license date and disable license plugin Change-Id: Ieb54f4fe8dc939bf57af88fb7a71fd510bd20509 Issue-ID: AAI-865 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-02-28[AAI-604] Documenting response.Shwetank Dave1-0/+199
Documenting different responses in the ASYNC pipeline. Change-Id: I9d704a6eb74f49f5006a9b1ac2341a1198990cdb Issue-ID: AAI-604 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-02-26Add INFO.yaml fileJessica Wagantall1-0/+51
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>
2018-02-23Make container parameters configurablesblimkie2-18/+24
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>
2018-02-22Fix the path used to add files into docker imageRavi Geda1-2/+2
The existing path is wrong. Change-Id: I55b3895bf7ca89a9a3358daff326e36afadf7f42 Issue-ID: AAI-790 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-02-21Fix docker build image issueRavi Geda1-0/+1
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>
2018-02-20Gizmo to use latest schemasblimkie2-4/+4
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>