summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/crud/dao/champ
AgeCommit message (Collapse)AuthorFilesLines
2018-07-19Auto-resolve edge typesblimkie1-28/+48
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)1-2/+3
Issue-ID: AAI-1190 Change-Id: I72894665b288416069d3c2eb84185fcc303976f7 Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
2018-07-10Increase code coverageSotiropoulos, Ioannis (is948x)1-7/+3
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-06-27Apply multiplicity Rule upon Edge creationmichaere1-5/+5
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-18Fix Fortify scan violationMichael Arrastia1-3/+3
Change-Id: Ia99b0a9b60b1b4eebfb47640c410f6c684393599 Issue-ID: AAI-1196 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-06-18ETags on resourcesSotiropoulos, Ioannis (is948x)1-57/+55
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-03-27Pass error message through on vertex addDaniel Silverthorn1-1/+1
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-13Update license date and textsblimkie3-21/+12
Update license date and disable license plugin Change-Id: Ieb54f4fe8dc939bf57af88fb7a71fd510bd20509 Issue-ID: AAI-865 Signed-off-by: sblimkie <steven.blimkie@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-14For supporting t_k queryGurjeet Bedi1-14/+36
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 Silverthorn1-5/+4
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-01-31Config to be able to route GET through datarouterGurjeet Bedi1-12/+22
Option to route GET through data router Issue-ID: AAI-482 Change-Id: I6b9a3621d5e3a5ec83d69a948917865941ede833 Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-01-22Fix issue with patch requestssblimkie1-28/+28
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 Silverthorn1-1/+18
Issue-ID: AAI-685 Change-Id: Id06a08ef668591560d276ef8a79c095f31d8c85b Signed-off-by: Daniel Silverthorn <daniel.silverthorn@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 microservicesblimkie3-674/+443
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-20Refactor to move from openecomp to onapBansal, Nitin (nb121v)1-0/+883
Refactor to move from openecomp to onap IssueID: AAI-486 Change-Id: I1d5634739514acf11d5fbdf5e2c7865aaccd864e Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>