summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-10-06Fixing typo in parameter namesDeterme, Sebastien (sd378r)1-1296/+1296
Fix formated to formatted parameter names Change-Id: I01e78b99eabea8b098d9c9dfca9f77116e0dd62a Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-06Increase the test portabilityDeterme, Sebastien (sd378r)3-4/+6
This test was testing the class name provided in the yaml, if it changes the test is dead. So it's more generic now Change-Id: I72ba7ac087da137b0e43628c99b5d92a1696078a Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-06Remove useless codeDeterme, Sebastien (sd378r)1-64/+0
This code was always returning an empty map so it has been removed Change-Id: I7691d2a52b2ea50d4cb8586b2e66b6ecfdd6fe13 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-06Set Cache Timeout to 30Determe, Sebastien (sd378r)1-4/+4
Reduce the expiration timeout of the sdc model cache to 30 Change-Id: If44852f807bd65e5494a95d64e90985967e55eef Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-06Remove useless methodDeterme, Sebastien (sd378r)1-1/+5
One method one private and not used anymore in the code so it has been removed Change-Id: Id6754eb446a781b691184ace07a68ce26c8ed684 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-06Update Holmes related featurexg353y10-32/+102
No blueprint need to be send to SDC; Add configuration policy name in holmes UI; Update the config body sent to Policy. Change-Id: I4bf5b0c32d64f4acf28ac6f24128e463e28e5779 Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-27
2017-09-29Merge "Removed redundant code"Sébastien Determe1-1300/+1299
2017-09-29Merge "Fixed major sonar issues"Sébastien Determe1-2/+2
2017-09-28Merge "Removal of useless test"Sébastien Determe1-53/+0
2017-09-28Merge "Change SDC address to openecomp"Sébastien Determe1-3/+3
2017-09-28Merge "Fix the Checkstyle issues"Sébastien Determe12-441/+71
2017-09-28Removal of useless testDeterme, Sebastien (sd378r)1-53/+0
This file is deleted as not used at all Change-Id: I257c7410d5864890ed4d0258baa90f3061e294b6 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Change SDC address to openecompDeterme, Sebastien (sd378r)1-3/+3
Change SDC address to openecomp one as required for integration tests Change-Id: Ib8661f0755df6af5b07fc0f693ee5e6f2dc61d11 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Merge "TCA Window initialization not possible anymore"Sébastien Determe1-1/+4
2017-09-28Fix the Checkstyle issuesDeterme, Sebastien (sd378r)12-441/+71
Fix all checkstyle issues in all unit tests + rename all IT and remove useless tests Change-Id: I8d1244c26d4d2ca490ba8ffcf2236f484c783394 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28TCA Window initialization not possible anymoreAnaël Closson1-1/+4
Change-Id: I56750cebf5345f89eb11158c0cbd6325d83a283e Issue-ID: CLAMP-58 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-28Merge "Set localhost in config"Sébastien Determe1-14/+3
2017-09-28Set localhost in configDeterme, Sebastien (sd378r)1-14/+3
Set to localhost in clds config file Change-Id: Ic8595e0fcfd7a4481464b1facc8bcb4cbeac92fb Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Merge "Fix spelling mistakes"Sébastien Determe2-14/+10
2017-09-28Merge "Change the model to fix TCA"Sébastien Determe17-407/+704
2017-09-28Merge "new method for policy client"Sébastien Determe2-6/+41
2017-09-28Merge "Fix the a log in Model Properties"Sébastien Determe1-1/+1
2017-09-28Merge "Removal of useless tests"Sébastien Determe1-15/+1
2017-09-28Merge "Add an exception for new class TcaRequestFormatter"Sébastien Determe1-0/+61
2017-09-28Merge "New Files added for future unit tests"Sébastien Determe3-0/+164
2017-09-28Fix spelling mistakesDeterme, Sebastien (sd378r)2-14/+10
Spelling mistakes fixed with formater word Change-Id: I2e5e44e3de6ac1c8f2a5a6aee0ec7ec713cf139f Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Change the model to fix TCADeterme, Sebastien (sd378r)17-407/+704
Fix TCA model and JSON model for TCA + rework the JUNIT Change-Id: I35099633e89f9f95f1957afeffa915feda4045f3 Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28new method for policy clientDeterme, Sebastien (sd378r)2-6/+41
A new method to send JSON in other type to policy Change-Id: I24b2d36464fa3c9786007ea3772c6a2c4b7c7b66 Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Fix the a log in Model PropertiesDeterme, Sebastien (sd378r)1-1/+1
One of the log did not contain the stacktrace for Model properties Change-Id: I5f269bb1744343ef9646cf818babfd77ea237b76 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Removal of useless testsDeterme, Sebastien (sd378r)1-15/+1
These IT are not useful anymore as covered by others test classes Change-Id: I6691c944f3ec98d4685229ce4758ba79c6bfa0ae Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Add an exception for new class TcaRequestFormatterDeterme, Sebastien (sd378r)1-0/+61
This new exception will be used in a new class that will manage TCA Change-Id: I4ae2c33929c81a141b59dabe6e2d1db371cfc188 Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28New Files added for future unit testsDeterme, Sebastien (sd378r)3-0/+164
New files that will uses by new junit on TCA code Change-Id: Icfd991da3210cc2a9534815ec5d1671fcd72a0d8 Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Fix fields corruption on saveAnaël Closson2-48/+18
Change-Id: I02c8fe662698ce943ce3eed8cd1e0b78b1311cc8 Issue-ID: CLAMP-58 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-28Fix fields not restored on tca openAnaël Closson1-1/+3
Change-Id: I18bb36d7df0aa982f941c9153a86ab17a48f4295 Issue-ID: CLAMP-58 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-28Remove debugger + fix missing infoAnaël Closson2-22/+40
Change-Id: Ic6e016eef81fbad70d3ac61c435cd47feb23cf3b Issue-ID: CLAMP-58 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-28Fixed major sonar issuesshashikanth1-2/+2
Fix major sonar issues in clamp module https://sonar.onap.org/component_issues?id=org.onap.clamp%3Aclds#resolved=false|severities=MAJOR|rules=squid%3AS1132%2Csquid%3AS1858 "get" returns a string, there's no need to call "toString()". Issue-Id:CLAMP-54 Change-Id: I36cadab8e60122e1b4e244768d345cf04568d134 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-28More flexible styling + fix cannot save tcaAnaël Closson1-22/+28
Change-Id: Ice937ce4a56218981976e6ad777b3e4e71963680 Issue-ID: CLAMP-58 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-28Remove tab headerAnaël Closson1-63/+2
Change-Id: I6c0fd3e46b3e7062521b0274cadae620719f0d4b Issue-ID: CLAMP-58 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-28Removed redundant codeshashikanth1-1300/+1299
Fix major sonar issues in clamp module https://sonar.onap.org/component_issues?id=org.onap.clamp%3Aclds#resolved=false|severities=MAJOR|rules=squid%3AS1132%2Csquid%3AS1858 Move the "csv" string literal on the left side of this string comparison. Issue-Id:CLAMP-54 Change-Id: If24d56fd5f539718e12241d4c1d4d83d8a079c0e Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-27Code Improvementxg353y43-2802/+96
Change-Id: I703aabf234cb656b1faea3b5c0776d034d8ec807 Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-54
2017-09-22Fix bug at runtimeDeterme, Sebastien (sd378r)4-11/+4
There was a missing class due to policy dependency changed Change-Id: Id8d85a8925c1ac2164528333672a552cb55ca5ca Issue-ID: CLAMP-48 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Remove the Policy Dep SnapshotDeterme, Sebastien (sd378r)2-5/+5
The policy dependencies have been changed to refer to non snapshot packages. Some java packages have been updated too. Change-Id: Id70a0247b859368c642a73fa59bbda93bf9904ae Issue-ID: CLAMP-55 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Remove HashMap definitionDeterme, Sebastien (sd378r)1-2/+2
Change HashMap to Map for variable declaration Change-Id: Ia352ab40c087e26ed43a2e69ad5ef60b6bb68a87 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Add the target resource IDDeterme, Sebastien (sd378r)12-223/+567
Add target resource ID in operational policy code as requested. It changes the UI, the Policy code, the model and the tests. Change-Id: Ie72badde55e7f8b5c2e5234099a09b95958205cf Issue-ID: CLAMP-55 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Remove useless code in testDeterme, Sebastien (sd378r)1-3/+0
Some variables were created and not used, this has been removed Change-Id: I40f28f4a991989b3759b2adf8842cebcfd9ac207 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Rename a test classDeterme, Sebastien (sd378r)1-5/+3
Rename a test class by using the name of the class tested Change-Id: Ic2dc993ec874872b3acc9ef95fdfdb540ff61742 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Remove Camunda auto conf for JunitDeterme, Sebastien (sd378r)1-1/+1
Camunda autoconf classes removed for SPring junit IT tests Change-Id: Ia71574520bd88144efaf95c3a22fcb74d91e6fb9 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Add different log in AbstractModelElementDeterme, Sebastien (sd378r)1-8/+11
Log changed when the Json attribute value is null or empty Change-Id: Ie0321efbbcc7f9c637f1bd8ea44001e5036987d3 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-19Removal of useless files & bugfixDeterme, Sebastien (sd378r)15-461/+228
Removal of DCAE useless files, and bugfixes SDC calls(+CldsDAO bug), and insertion of the search engine for Model Properties window in UI Change-Id: Ia68117bb917807eaf8e8e317f391f90b6d948135 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-18Reformat the JSON and fix checkstyle issueDeterme, Sebastien (sd378r)10-3425/+3398
All Json used in the tests have been reformatted. Also some checkstyle bugs have been fixed Change-Id: I48373d9d53d39244c62b9b88b1cf62c15c766cb3 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>