aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2018-02-15Code refactoringDeterme, Sebastien (sd378r)36-219/+217
Code refactoring, mainly Classes/Methods name renaming Issue-ID: CLAMP-85 Change-Id: I12bd190576e324ed33f057dc1a4ad32c16fcb6c2 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-14Remove Camunda and replace by CamelDeterme, Sebastien (sd378r)23-498/+524
The camunda has been replaced by Camel so that DB could be removed. Also the unit tests has been reworked and maven dependencies have been changed Issue-ID: CLAMP-85 Change-Id: I781c3c83cecbdae3535c7e036e62ae83c6b6852f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-14Rework the SDC cache Determe, Sebastien (sd378r)4-40/+49
Rework the SDC cache that was broken and add unit tests to validate it Issue-ID: CLAMP-85 Change-Id: I43503702733d8f8f0ddbf391f94fb4e5416be98f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-14Rework the commentDeterme, Sebastien (sd378r)1-8/+12
Rework the comments and variable names of CryptoUtils class Issue-ID: CLAMP-85 Change-Id: I45b94329f94ffbd6034384ccc63dea049aa95cb2 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-14Remove useless filesDeterme, Sebastien (sd378r)1-37/+0
Remove files that were not used by UI, neither by clamp Backend Issue-ID: CLAMP-85,CLAMP-115 Change-Id: I3b40bc6cfcfdd8efa11b879a9ea3fd45ff8385aa Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-14Remove useless filesDeterme, Sebastien (sd378r)3-167/+0
Remove example code that was still there and not used at all Issue-ID: CLAMP-85 Change-Id: I668e46e356a6bd071074dd5c9bc843bef3490f5c Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-07Remove AJSC container.Determe, Sebastien (sd378r)11-289/+267
Remove AJSC container and adapt the dependencies & unit tests Issue-ID: CLAMP-85 Change-Id: I4289dd8a13645df238f35d2791718639b04a509f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Improve Log Util class.Determe, Sebastien (sd378r)1-1/+14
Improve Log Util class to support RequestContext Issue-ID: CLAMP-85 Change-Id: Ied88b3824014592a8748aba80d429dab7ecdc670 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Improve Comments in code.Determe, Sebastien (sd378r)1-15/+30
Improve the comments for each crypto utils methods. Issue-ID: CLAMP-74 Change-Id: I3086a51a701c7d53a8b6d475d5008798b86ffb88 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Merge UserService into one.Determe, Sebastien (sd378r)2-53/+10
Merge userService and UserServceImpl into one single class. Issue-ID: CLAMP-74 Change-Id: I3c8b710808bbd85730aec8b3e96c98173740150e Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Support DCAE direct connection.Determe, Sebastien (sd378r)1-28/+66
Add code to support the DCAE direct connection action. Issue-ID: CLAMP-90 Change-Id: I030840003d8e9632a2e9996f2e1f0c353ce509eb Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Add ACTION_SUBMITDCAE constant.Determe, Sebastien (sd378r)1-3/+6
Add ACTION_SUBMITDCAE constant or DCAE direct action Issue-ID: CLAMP-90 Change-Id: If5aca8e349ca1a4d9611874a189ff78a566a9d76 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Add Policy Type to PolicyChain.Determe, Sebastien (sd378r)1-10/+22
Add Policy Type to PolicyChain as needed by future elements. Issue-ID: CLAMP-85 Change-Id: Id12d71e378319cf93220520cc51ef4cc57e5ff39 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Improve logs and comments.Determe, Sebastien (sd378r)1-33/+74
Additional info added to logs and comments reworked Issue-ID: CLAMP-85,CLAMP-74 Change-Id: Ic4cf9104ea1587cbfc3a8088f7e59f80ab65ffa0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Improve logs in Policy methods.Determe, Sebastien (sd378r)1-9/+26
Add info to the logs of the methods calling policy. Issue-ID: CLAMP-85 Change-Id: I6213b380ba66a93be3a0c06d62781b1e4934544b Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Open code for inherited classes.Determe, Sebastien (sd378r)1-14/+94
Open methods and class for code extension. Issue-ID: CLAMP-85 Change-Id: I01f421363b4783116ea81db09dab28edc6ff05da Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Improve code and comments.Determe, Sebastien (sd378r)1-6/+5
Improve the code and comments of the execute method. Issue-ID: CLAMP-74 Change-Id: I74a26f9daf1336aa36f1d31d7ac74e87b370d642 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Add Direct call DCAE.Determe, Sebastien (sd378r)1-21/+89
Rework the logs to add info, and add a method for DCAE direct call Issue-ID: CLAMP-85,CLAMP-90 Change-Id: Id75c89e1788a0ed829582a67013570003f5bf204 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-06Improve Logs in the methods.Determe, Sebastien (sd378r)1-8/+29
Add info to the logs inthe different methods Issue-ID: CLAMP-85 Change-Id: Idf2aa1a8e3178b2be55d5dbcc47b1a3a8d016f38 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-01-09Merge "Code refactoring"Sébastien Determe3-279/+29
2017-12-19Cleanup of utils classes.biniek6-188/+120
Removed javadoc without any information; enforced util class won't be initialized; extracted constants. Change-Id: Ie30156472d929dfc95819a1d5affaaf867eed611 Issue-ID: CLAMP-96 Signed-off-by: biniek <lukasz.biniek@nokia.com>
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>