aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-17Update to use Schema ServiceRavi Geda13-239/+251
The code supports both Schema Service and local schema files. The property schema.translator.list drives which one to use. Change-Id: Idc9c5832d7286e7904ddf0b2637c83b0a3cfa15c Issue-ID: AAI-2008 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-12-13Optionally disable authorization via policyStela Stoykova2-1/+16
Added support for optional config parameter to disable authorization via policy. Change-Id: I79e3decee7ed4c5c02ceafa1e8655282c0e5fd3a Issue-ID: AAI-2005 Signed-off-by: Stela Stoykova <Stela.Stoykova@amdocs.com>
2018-11-29Upgrade version of aai-commonRavi Geda47-1374/+41335
Update OXM Model Loader and Edge Rules Loader to use the 1810 schema ingestion mechanism. Update tests accordingly. Change-Id: I979951fcdcaf901c508c30d770b83dfa3d52bde4 Issue-ID: AAI-1952 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-11-16Upversion to Spring Boot 1.5.17Sanchez, Gabriel (gs882h)1-1/+1
In order to fix NexusIQ vunerabilities Issue-ID: AAI-1892 Change-Id: I50d0a3139059b7590bb7c28cebb721d78638ffe6 Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
2018-11-09Merge "fix typos"James Forsyth1-2/+2
2018-11-08Updated event-client to 1.3.1Shwetank Dave1-2/+15
- Added rabbit-mq as a dependency (from event-cleint version 1.3.1) Change-Id: Ibb45d6a79f1981fab0ce49a1636f298d0456f4f9 Issue-ID: AAI-1796 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-11-08fix typosStanislav Chlebec1-2/+2
Change-Id: I340e8ace6c443667e5e0f1f23ac49f8bf790e781 Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Issue-ID: AAF-582
2018-11-07 Add swagger docs for gizmo APIsBansal, Nitin (nb121v)9-52/+460
Improve the way node type is resolved from OXM jaxbContext. Issue-ID: AAI-1882 Change-Id: Ia72fea0ac286dc96bb3b29d117b241b58b7eece7 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2018-11-05Upversion to 1.4.0 - Dublin branchSanchez, Gabriel (gs882h)2-3/+3
Upversion to 1.4.0 Issue-ID: AAI-1851 Change-Id: I714432cd38e9b72f25c1725ee08642acb147a746 Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
2018-11-01upversion to 1.3.2sblimkie2-2/+2
Change-Id: Ic33ca5fc58f6cf76123c18cae2200338ebafe405 Issue-ID: AAI-1816 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-10-12Merge "Return X-TransactionId header in REST response"1.3.1Tian Lee2-709/+787
2018-10-11Upversion to 1.3.1Lee, Tian (tl5884)2-2/+2
Change-Id: I0506b30944a5ac4896e20ba198ac8b0877238b92 Issue-ID: AAI-1745 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2018-10-10Return X-TransactionId header in REST responseMichael Arrastia2-709/+787
If the transaction ID is not provided the reverse-proxy creates it. This ensures that the transaction ID is provided back to the client. Change-Id: I033a23bbb3920e264a51322a81f23ad220e59d34 Issue-ID: AAI-1732 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-09-19Update event-client dependencies to 1.3.03.0.0-ONAP1.3.0michaere1-1/+12
Fix for security vunerability and also reinstate event-client-kafka dependency Issue-ID: AAI-1647 Change-Id: I1419def660014ceec2c78c71745d6bca2c563bbf Signed-off-by: michaere <michaere@amdocs.com>
2018-09-19Fix NexusIQ security vunerabilitiesmichaere1-11/+0
Additional fix to exclude unused kafka dependency Issue-ID: AAI-1613 Change-Id: I2f1085b503c049b587de7c3b77aaff85357815cd Signed-off-by: michaere <michaere@amdocs.com>
2018-09-18Fix for security vunerabilitiesmichaere1-9/+2
Update or exclude dependencies causing security vunerabilities from pom xml Issue-ID: AAI-1613 Change-Id: Ib36459733cc86b109c16d0d0606adfe84e329e74 Signed-off-by: michaere <michaere@amdocs.com>
2018-09-11Upgrade to Spring Boot 1.5.15Michael Arrastia1-1/+1
Change-Id: I960eda706725da28e1543950ef00688ed14eaa53 Issue-ID: AAI-1514 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-08-21Set trust storeIoannis Sotiropoulos1-0/+24
Set required system parameters to specify the correct trust store to use for outgoing HTTPS connections. Change-Id: I455c5c217a976c3b99cc8ff28883f34215caf47c Issue-ID: AAI-1526 Signed-off-by: Ioannis Sotiropoulos <Ioannis.Sotiropoulos@amdocs.com>
2018-08-13Fixing the achtype variable nameArul.Nambi1-1/+1
Issue-ID: AAI-1449 Change-Id: I52414ceddf14dec5ae55695bbf317afd2a1b1e88 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2018-08-13Fixing the docker jenkins jobArul.Nambi2-8/+1
Issue-ID: AAI-1449 Change-Id: I4f4e03f4db51a01d6f50b74bcb365e99844d0068 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2018-08-07Update dependency versions in pomMichael Arrastia2-102/+116
* 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>
2018-08-01Re-enable vertex edges retrieval for bulkmichaere1-23/+8
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>
2018-07-19Auto-resolve edge typesblimkie14-79/+286
Auto-resolve edge type based on EdgeRules file. Change-Id: Ic6de47f5172bc410efcdd5f08c1ea5c4f822610e Issue-ID: AAI-1396 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-07-12Fix sonar violationsSotiropoulos, Ioannis (is948x)9-30/+38
Issue-ID: AAI-1190 Change-Id: I72894665b288416069d3c2eb84185fcc303976f7 Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
2018-07-10Increase code coverageSotiropoulos, Ioannis (is948x)37-90/+4301
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>
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>