summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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 textsblimkie38-245/+200
Update license date and disable license plugin Change-Id: Ieb54f4fe8dc939bf57af88fb7a71fd510bd20509 Issue-ID: AAI-865 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-02-23Make container parameters configurablesblimkie1-15/+18
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-20Gizmo to use latest schemasblimkie1-2/+2
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>
2018-02-20Revert change for passing paramsGurjeet Bedi1-1/+1
Move logic to downstream to handle params Issue-ID: AAI-482 Change-Id: I25b1170447783fd753c83a619b00681cb4ef481f Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-02-20Fix junit testSotiropoulos, Ioannis (is948x)1-1/+1
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>
2018-02-16Add event client dependencySotiropoulos, Ioannis (is948x)2-3/+3
Change dependencies from SNAPSHOT to RELEASE. Change-Id: If8a46177f294d1129f30e578c31cbe0bb2deeb31 Issue-ID: AAI-780 Signed-off-by: Sotiropoulos, Ioannis (is948x) <ioannis.sotiropoulos@amdocs.com>
2018-02-15Propagate correct error codesGurjeet Bedi1-15/+21
Downstream error codes propagation Issue-ID: AAI-482 Change-Id: I034a8178bf55393a3c0754a3de15bf9a2c82c11c Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-02-15Support t_k queries from gizmoGurjeet Bedi1-1/+1
Only adding parameters for supported API Issue-ID: AAI-482 Change-Id: I30a22336824f2e3041b1c71857c481b7fcc08273 Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-02-14For supporting t_k queryGurjeet Bedi6-32/+71
Passing queryparameters from GET Issue-ID: AAI-482 Change-Id: I7db51c6549fe5f7e4d61ad96121e7da3a57ff325 Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-02-06Allow filtering by reserved propertiesDaniel Silverthorn5-19/+35
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>
2018-02-01Config to be able to route GET thru datarouterGurjeet Bedi1-1/+1
Data router file name change Issue-ID: AAI-482 Change-Id: I349fb3414357903f5fd5c667103e2aecb20fe194 Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-02-01Merge "Config to be able to route GET through datarouter"Tian Lee6-29/+104
2018-01-31Allow reserved properties in getDaniel Silverthorn1-8/+10
Change-Id: Ia3c81df8ea9da5b49f1344726c799757678791eb Issue-ID: AAI-702 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-01-31Config to be able to route GET through datarouterGurjeet Bedi6-29/+104
Option to route GET through data router Issue-ID: AAI-482 Change-Id: I6b9a3621d5e3a5ec83d69a948917865941ede833 Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-01-29Allow filtering by reserved propertiesDaniel Silverthorn2-5/+8
Change-Id: Ie43de57b63651fccb13147c9086276f0867a828c Issue-ID: AAI-702 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-01-25Update gizmo to set jersey impl for ClientBuilderBansal, Nitin (nb121v)2-1/+2
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>
2018-01-23Fix issue patching edgessblimkie1-0/+12
Fix an issue where edge patch fails Change-Id: Ia6987b5ced127bb2d475c3c13dcf9dabf2242ff0 Issue-ID: AAI-685 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-01-22Fix issue with patch requestssblimkie7-58/+113
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>
2018-01-22Add query parameters to get propertiesDaniel Silverthorn6-12/+83
Issue-ID: AAI-685 Change-Id: Id06a08ef668591560d276ef8a79c095f31d8c85b Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-01-12Allow patch operation in bulk requestsblimkie2-4/+34
Support the patch operation in a bulk request. Change-Id: I10054f60315632812bed18997272a5c9728a3f67 Issue-ID: AAI-482 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-01-12Fix for bulk deletessblimkie3-286/+238
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>
2018-01-10Return 400 instead of 403 when missing X-FromAppIdDaniel Silverthorn1-229/+218
Change-Id: I67500a7a98aa8cd3a86d5713c2d94df9599261b5 Issue-ID: AAI-482 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-01-09Validate the FromAppID when populating SOT propsGurjeet Bedi2-22/+36
Rejecting request when FromAppID is not set Issue-ID: AAI-482 Change-Id: I34862ed17146dc8bf3ecaa13afd9a76a20c9476c Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-01-07OXM which tracks provenanceGurjeet Bedi5-60/+84
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>
2018-01-04OXM which tracks provenanceGurjeet Bedi1-0/+57
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>
2018-01-04Support for bulk API in async modesblimkie2-85/+195
Allow bulk request processing in Gizmo's async mode Change-Id: I2aa86aaee9534e7a84bd360e97513ac5077485f2 Issue-ID: AAI-482 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2017-12-22Better handling for exception logsGurjeet Bedi2-1/+10
Handling for dmaap not supporting offsets Issue-ID: AAI-552 Change-Id: I0af737d92861b7c6c22421a106d32c9b2c4fca7b Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2017-12-20Consolidate syncrounous and asyncronous APIssblimkie7-820/+136
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>
2017-12-06Port async pipeline for gizmoGurjeet Bedi12-13/+1493
Port async pipeline for gizmo Issue-ID: AAI-552 Change-Id: I255127174d1154849f440bab8b1f0bda3311ec9f Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2017-12-06Use rebranded version of auth librarysblimkie2-2/+2
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>
2017-12-04Gizmo use correct version of rest-clientsblimkie1-3/+3
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>
2017-12-04Gizmo uses Champ the microservicesblimkie9-1971/+354
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>
2017-11-23Merge "Remove hardcoded keystore password"Tian Lee1-2/+2
2017-11-20Refactor to move from openecomp to onapBansal, Nitin (nb121v)34-163/+163
Refactor to move from openecomp to onap IssueID: AAI-486 Change-Id: I1d5634739514acf11d5fbdf5e2c7865aaccd864e Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2017-11-17Remove hardcoded keystore passwordsblimkie1-2/+2
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>
2017-11-16Fixing the formattingBansal, Nitin (nb121v)13-1539/+1556
Fixing the formatting IssueID: AAI-481 Change-Id: I45c53cd24913707716f2dd34f9fc282786ce03b6 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2017-11-16Add bulk API to gizmoBansal, Nitin (nb121v)17-685/+2006
Add bulk API to gizmo IssueID: AAI-481 Change-Id: Iff9df1a8fdc73c87d726da7294c2eb9f471080f1 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2017-11-15Gizmo to use the new edge rule label formatsblimkie3-11/+11
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>
2017-11-13Adding safegaurd when adding new relationships.Shwetank Dave1-0/+29
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>
2017-10-05Fix import issue on unit testabatos1-1/+1
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>#
2017-09-26Fix dependency issue on older version of Tinkerpopabatos2-609/+600
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>
2017-09-05Replace OxmModelLoader with aaiutilsDaniel Silverthorn4-193/+19
Issue ID: AAI-245 Change-Id: I38312e114a221686834303a81e6e21a49ee27b2a Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2017-09-01New endpoints to auto populate edge properties.gfraboni10-599/+1563
New endpoints created to allow v11 endpoints to have their properties automatically set based on db edge rules. Issue-Id: AAI-60 Change-Id: I9b41f654fa9924b1dcb863aca369725a763b3691 Signed-off-by: gfraboni <gino.fraboni@amdocs.com>
2017-08-29Remove files containing ATT referencesDaniel Silverthorn1-0/+0
Issue ID: AAI-217 Change-Id: Iefce5dcc9d4363fdd1211d7bd7b554cf04ab91a6 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2017-08-29Remove cadi.properties due to ATT referencesDaniel Silverthorn1-36/+0
Issue ID: AAI-217 Change-Id: Icb9744f455c77d78e5d4e714cd2c51311c2722bd Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2017-08-23Safeguard against deprecated DbEdgeRules versions.Shwetank Dave3-6/+11
Currently we require a DbEdgeRules_vX.json file and it's associated edge_properties_vX.json files. If an edge_properties file is not found for a DbEdgeRules file, it throws an exeption. We should log and entry stating DbEdgeRules and it's associaded edge_properties files is not found and not throw an error. Issue-ID: AAI-21 Change-Id: I05f5b4d14c3cef1586cefe579e38df03ca4fb438 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2017-08-22Split out Titan specific dependencies from coreabatos8-251/+40
Remove the Titan specific references within the gizmo core and prepare for dependency on new champ core library. Change-Id: I29a4e7b6528e8357715b095d8db5456cd01eb636 Issue-ID: AAI-21 Signed-off-by: abatos <adrian.batos-parac@amdocs.com>
2017-08-22Using DbEdgeRules.json files from aai-core jar.Shwetank Dave13-154/+7457
Before we were aai_relationship_vxx.json files. Now using the edge rules directly from aai-core jar. Issue-ID: AAI-21 Change-Id: Id62494caabc75bc29e4f3558268ec78897946937 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>