aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2017-12-15Code refactoringLukasz Muszkieta3-279/+29
Change-Id: Iadcaf1006ccf400d41cfa5aa5674ce4af1376668 Issue-ID: CLAMP-93 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2017-12-15Code refactoringLukasz Muszkieta6-289/+81
Change-Id: Ic2737bf71f8b236939e9aa46ed619e6ad0e40b3a Issue-ID: CLAMP-93 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2017-12-12Code refactoringmuszkiet2-34/+15
remove duplication, methods improvements Change-Id: Ifadb3ed931892f93ef6fb9ad128232c851828314 Issue-ID: CLAMP-93 Signed-off-by: muszkiet <lukasz.muszkieta@nokia.com>
2017-11-20Add test cases for CldsTemplateService methodsxg353y1-1/+1
Change-Id: I4bad9a328e1f13c84ad70bff042a577dc2ad768e Issue-ID: CLAMP-74 Signed-off-by: xg353y <xg353y@intl.att.com>
2017-11-17Fix sonar issueDeterme, Sebastien (sd378r)1-3/+17
Attempt to remove the Blocker sonar issue Change-Id: I9ce4eea668579acbc19e9fc0e64f82688322dd49 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-17Remove sonar checkDeterme, Sebastien (sd378r)1-1/+1
Remove sonar check due to 1.8 java stream uses Change-Id: Id4ec4577169593a64781d339a13701737f0d24f1 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-17Fix remaining SOnarDeterme, Sebastien (sd378r)3-33/+35
Resolve remaining sonar issues reported in Critical and Blocker Change-Id: Id80bf15c78e93a454f2446cb563f5c29a186b3d4 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-17Add javadoc codeDeterme, Sebastien (sd378r)1-5/+30
Add javadoc code to fix remaining checkstyle issues Change-Id: I425b03d0cbde54314a3c7b1be7de4dd7baa2efdc Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-17Fix for CheckstyleDeterme, Sebastien (sd378r)1-10/+14
Fix the checkstyle issues reported by the tool Change-Id: Ia330dcf6eead508b0c250d85617ea599c3ce42aa Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Refactor the java packagesDeterme, Sebastien (sd378r)22-532/+489
Refactor the java packages, moving classes to others packages Change-Id: I5cd2a6477876ce187502afff37a862029a081ab3 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Fix sonar issueDeterme, Sebastien (sd378r)1-0/+1
Fix sonar issue in XslTransformer Change-Id: If8517096596aef0246df23b38341c1739af32ae2 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Remove exception throwingDeterme, Sebastien (sd378r)1-4/+3
Remove exception throwing in configure method Change-Id: Ie567071573c59f93e141ef27f7005f09f46280fd Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Rework ModelPropertiesDeterme, Sebastien (sd378r)2-26/+82
Rework ModelProperties and add a new exception for BPMN Change-Id: I5fc184c7833d419944cb15f10ca34461a865213f Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Rework the cldsUserDeterme, Sebastien (sd378r)1-6/+3
Reformat the JSON files and update the code in CldsUser Change-Id: If82e5e21695189532d7352912db4d4a7be504852 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Rework CryptoUtilsDeterme, Sebastien (sd378r)2-50/+63
CryptoUtils now takes the key from a file located in the resource not in spring file Change-Id: I002978d292550e6173efb4324cbb977f35d7e753 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
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>