aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2017-11-16Rework the CldsUserJsonDeterme, Sebastien (sd378r)1-5/+11
Rework the CldsUserJson and associated Unit tests Change-Id: I0be23ef8c6a44bc7cec7f7011b08a32d2662c56f Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Move SSL verification to testDeterme, Sebastien (sd378r)2-78/+13
Move the SSL verification to the unit test instead of having it in the main class Change-Id: I574a4ba380ef62171cc6ba0c23eb41dee8a8cc18 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Remove useless classDeterme, Sebastien (sd378r)1-44/+0
This class swagger related so can be removed Change-Id: Ibcc4ba3d424d83f6bfc5021895be6ddb7a916dee Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Remove useless classDeterme, Sebastien (sd378r)1-66/+0
Remove a class not used by the code Change-Id: I07b18cfe07c5237660660d0a027854c49b261de8 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-09Fix Properties CL UI issuexg353y1-1/+1
Fix the issue in Properties CL window, where the first service doesn't show the corresponding vf settings Change-Id: I59f1f5117f453f1cb385d4789288a5b8a690e7e9 Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-68
2017-11-07Fix Clamp crashDeterme, Sebastien (sd378r)1-18/+4
Fix clamp crash during database initialization due to CryptoUtils not properly initialized. Change-Id: Iff080c7ab482cda98eb9ec58f2648cfce877bb96 Issue-ID: CLAMP-70 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-05Fix the blueprint for TCADeterme, Sebastien (sd378r)1-31/+27
FIx the blueprint for TCA, policy section removed + Locations changes to DatacenterX Change-Id: Ia438bbfaf1cdf25bdadb897c39b68934cf1f52a3 Issue-ID: CLAMP-66 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-05Fix DCAE connection issueDeterme, Sebastien (sd378r)3-248/+257
Code has been added to support http/https protocols for DCAE Change-Id: Ib1259310b801a19cacd08c22292509156624ac9b Issue-ID: CLAMP-65 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-03Update the policyName send to Policyxg353y4-6/+12
Change-Id: Ib8ef7feb2404b15f215a1a7967d3af7d6ac89da0 Issue-Id: CLAMP-62 Signed-off-by: xg353y <xg353y@intl.att.com>
2017-11-03Rework the Spring starting orderxg353y1-0/+2
Change-Id: I30c930b0abc724a8da57657dfede940efa69aae0 Issue-ID: CLAMP-62 Signed-off-by: xg353y <xg353y@intl.att.com>
2017-11-03Update the content send to Policyxg353y1-1/+1
Adding tca_policy tag under content section, while sending configBody to Policy. Change-Id: I184d366b0cda24ff6b95c4e8c29d0a90bde7ba06 Issue-ID: CLAMP-62 Signed-off-by: xg353y <xg353y@intl.att.com>
2017-10-30Add encryption for passwordsDeterme, Sebastien (sd378r)10-343/+460
Add encrypted password on all values specified in the properties files, unit tests have been reworked. Change-Id: I619ff67fe1025f69af733b776f055914f949f26a Issue-ID: CLAMP-64 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-30More secure XSLTDeterme, Sebastien (sd378r)1-0/+2
Add security to XSLT class as reported by Fortify Change-Id: I90af6ad54aaf45a3d743638466f29492ca04841b Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-30Add new class for DAODeterme, Sebastien (sd378r)2-0/+91
Add a new class to map differently the existing DB data and check duplicates Change-Id: I1eef75775a2d5a7bee82320171d04956b1e94412 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-30Remove useless methodsDeterme, Sebastien (sd378r)1-54/+0
Thos methods were not used in code or by users. Change-Id: I2134b6bcd198d63b3dd6326fe7e8f83ecfcbd589 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-30Fix logger of camunda filterDeterme, Sebastien (sd378r)1-15/+6
The filter did not have the right logger set Change-Id: I1d890346d7b4e7d4567a21eb200a57c4325da291 Issue-ID: CLAMP-64 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-30New datasource classDeterme, Sebastien (sd378r)1-0/+67
New datasource class that can handle encrypted password Change-Id: Ia5c4517b5cc1817f86e2fb07baa732d8b9003148 Issue-ID: CLAMP-64 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-30Policy client fixesDeterme, Sebastien (sd378r)1-6/+5
Some fixes on policy, new exception, new params for BRMS. Change-Id: Ia30bf68ec492c448249c1634f3790712a27631e4 Issue-ID: CLAMP-62 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-30Fix the bad request issue for operational policyxg353y1-0/+2
Change-Id: Ie3275adf6ed549fe4a8488f84ca3ff5bd429069b Signed-off-by: xg353y <xg353y@intl.att.com> ISSUE-Id:CLAMP-62
2017-10-26Update TCA config json send to Policyxg353y4-34/+58
Update the format of the TCA configuration send to Policy Issue-ID: CLAMP-62 Change-Id: I53cbfcb1f8f8772856b645e8aec0db2a8a94d15e Signed-off-by: xg353y <xg353y@intl.att.com>
2017-10-11Update the TCA blueprint formatxg353y2-2/+12
Change-Id: Ib5b6fe1b46a509bea6c40ebc8ec9058990e5f64d Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-59
2017-10-06Remove useless methodDeterme, Sebastien (sd378r)1-40/+0
This method was private and not used so it has been removed Change-Id: I8d4799dfd499fcc6b046ff59b449d79abd28dc40 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-06Restoring try catch for policy requestDeterme, Sebastien (sd378r)1-8/+11
This exception log was not useful so it has been removed and replaced by an easier log to understand Change-Id: Ie25426d3b8b44b55a3fd2dd3807620d98fad5bbf Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
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-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-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 featurexg353y5-23/+32
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-28Fix spelling mistakesDeterme, Sebastien (sd378r)1-5/+7
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)7-284/+236
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)1-2/+39
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-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-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-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 Improvementxg353y14-524/+17
Change-Id: I703aabf234cb656b1faea3b5c0776d034d8ec807 Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-54
2017-09-22Remove the Policy Dep SnapshotDeterme, Sebastien (sd378r)1-3/+3
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)3-37/+58
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-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)9-245/+51
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-18Add new tests to CLAMPDeterme, Sebastien (sd378r)3-8/+12
New tests added on ModelProperties, CldsModel and ITs (CldsService tests) Change-Id: I75a29c11ec66e0eef7c80f76cf90c30b2fc29972 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-14Merge "Add new tests for DAO"Eddy Hautot1-3/+1
2017-09-14Merge "Some rework around DAO classes"Eddy Hautot2-4/+1
2017-09-14Add new tests for DAODeterme, Sebastien (sd378r)1-3/+1
New test to validate some methods of the DAO and attempt to disable Camunda in IT when it was not required to have it Change-Id: I231230a7a4818f4bfd7887319a321625f66ffcae Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-14Some rework around DAO classesDeterme, Sebastien (sd378r)2-4/+1
Remove the useless return parameter in setModel, remove the runtimeService in cldsTemplateService Change-Id: Ia6d82cc3167f2e82b0da9cdb14d93c64ccee19c4 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-14Merge "Add test to Holmes"Eddy Hautot1-3/+14
2017-09-14Merge "Clean unnecessary files using camunda"Eddy Hautot2-333/+0
2017-09-14Merge "Rework the datasource access"Eddy Hautot1-3/+4