aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-03-16Draft single controllerDeterme, Sebastien (sd378r)1-0/+310
Draft class that handle one single controller based on the SDC JSon config Issue-ID: CLAMP-81 Change-Id: I3db6179c1cb00e21de8b1d58b6e36b49e053fadd Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-16CsarInstaller introductionDeterme, Sebastien (sd378r)18-0/+2319
This class is introduced to decode/deploy the dcae blueprint from SDC and save it to database. This is done based on json templates. Some unit tests added Issue-ID: CLAMP-81 Change-Id: I3fac5f7ef41d77aa244414407111b9cb602b50bd Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-16Rework the codeDeterme, Sebastien (sd378r)3-21/+3
Some reworking of different services classes Issue-ID: CLAMP-81 Change-Id: I7815e805f2a41954d633d3e3453af02d0de6b283 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-16CsarHandler reworkDeterme, Sebastien (sd378r)2-23/+54
Reworking of the csarHandler to support cache of dcae blueprint Issue-ID: CLAMP-81 Change-Id: Ic9c71d8f23ac75a6273781991f5ac7a60c4f328d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-16Add new config classesDeterme, Sebastien (sd378r)2-0/+117
Add classes to support the Blueprint mapping configuration Issue-ID: CLAMP-81 Change-Id: I78b42f90993700c299fd75a20f39aa16f632ff9d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-15Fix Checkstyle issuesDeterme, Sebastien (sd378r)11-42/+39
Fix the checkstyle issues reported by the build Issue-ID: CLAMP-74 Change-Id: Ia2b3e332808d59aefcc7140d9638c7a18ef24e65 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-14Fix the CsarHandlerDeterme, Sebastien (sd378r)1-2/+1
There was a reference to a class not yet committed Issue-ID: CLAMP-81 Change-Id: I63509fb898835788b3836fae48fa78c279396aa5 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-12Rework the SDC ConfigDeterme, Sebastien (sd378r)1-48/+38
Rework the code of the SDC configuration Issue-ID: CLAMP-81 Change-Id: I0460fe0a2de2f953e2ebe06f7a7e637c55798b3b Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-12Add csar HandlerDeterme, Sebastien (sd378r)6-0/+271
Add a csar handler to save the Csar downloaded from SDC Issue-ID: CLAMP-81 Change-Id: I59d33ea3754e8e6acbe107c32fdcf83c1f236171 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-12Rework the SDC configDeterme, Sebastien (sd378r)2-3/+2
Rework the SDC configuration code Issue-ID: CLAMP-81 Change-Id: Ic924f1c2c35e096bf3cd5b8e4075cbab83cc3f11 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-07Rework configDeterme, Sebastien (sd378r)7-28/+34
Rework the clds-user json and clds-controller json config Issue-ID: CLAMP-136 Change-Id: I5393394d7d878001dd9b5773051f38e927173d5d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-05Remove globalClds.propertiesDeterme, Sebastien (sd378r)7-72/+222
Remove the globalClds.properties and merge that to application.properties Issue-ID: CLAMP-136 Change-Id: I9c5bc8745b576ca8fad0cca3bff4c136329515d8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-05Remove the clds-reference.propertiesDeterme, Sebastien (sd378r)25-359/+355
Remove clds-reference.properties and merge it into application.properties Issue-ID: CLAMP-136 Change-Id: I8dc6deffdca47dc50d1473ccbe9a94dc91d7d5d9 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-05Rework configurationDeterme, Sebastien (sd378r)31-40/+1698
Move the JSON content from the properties file to json files for all configuration defined in clds-reference.properties Issue-ID: CLAMP-136 Change-Id: Idfb21be729d7260518756e5f585371de78d18944 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-02Upgrade lib to recentDeterme, Sebastien (sd378r)1-4/+3
Upgrade moment.min.js to latest known due to nexus IQ report Issue-ID: CLAMP-135 Change-Id: I6675c92c456ccc243fb3c3c2129b530874d52640 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-02Remove useless web.xmlDeterme, Sebastien (sd378r)1-29/+0
Remove the file that is not useful anymore since a while Issue-ID: CLAMP-85 Change-Id: Ib55095a80a95f1dc7107954aad03338577a00b33 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Fix issue with bmpnTextDeterme, Sebastien (sd378r)1-15/+6
The bpmnText is not provided by the UI anymore so it has been replaced by db template values. Issue-ID: CLAMP-115 Change-Id: Ifb3abb081560191e50b3267a0ceea0775d93b1ee Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Fix Clamp runtimeDeterme, Sebastien (sd378r)1-0/+26
Add the missing file for SDC Config in resource and docker clamp.env. Issue-ID: CLAMP-81 Change-Id: Ie1a22fcc1a8d95fcc5dd826353e989c7e1707abd Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Rework CldsReferenceProp classDeterme, Sebastien (sd378r)2-2/+12
Refactor the code and insert new config for SDC client code Issue-ID: CLAMP-81 Change-Id: Ifabf220e7bf0067e689242f3f1ef09503b11fe87 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Add controller config codeDeterme, Sebastien (sd378r)5-0/+245
Add SDC config parser code for mutliple SDC client configurations + unit tests Issue-ID: CLAMP-81 Change-Id: Ia97007463c6baf40456f97d9627da8b0ed3f4e49 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Add new exceptions for SDCDeterme, Sebastien (sd378r)4-0/+220
Add exceptions to support SDC client code Issue-ID: CLAMP-81 Change-Id: I8482a7fc9c59fe67a725ee8e6ded8cdab5f7016c Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Add files required for testDeterme, Sebastien (sd378r)3-0/+36
Add files required for unit tests of SingleConfiguration Issue-ID: CLAMP-81 Change-Id: Ic7d86f9c6f4797bdfef00695ece06a0169ec9079 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Add SDC single configDeterme, Sebastien (sd378r)2-0/+371
Add SDC configuration JSON parser that is linked to SDC client API Issue-ID: CLAMP-81 Change-Id: I8c1c9e93813bf1444b1df455cafe0aab60236300 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Fix the testsDeterme, Sebastien (sd378r)13-87/+67
Fix the Integration tests that were broken due to refactoring. Issue-ID: CLAMP-85 Change-Id: I75cd5327ff40a3cf831b42d98febef1af120e975 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-22Removal of classesDeterme, Sebastien (sd378r)4-323/+0
Removal of useless classes as they have been moved somewhere else. Issue-ID: CLAMP-85 Change-Id: Ibbafa7b51f35d9f6fab462a9a0fc5dee77f4ff16 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-22Refactoring of the codeDeterme, Sebastien (sd378r)7-3/+328
Package renaming and classes moved to new java packages Issue-ID: CLAMP-85 Change-Id: Icef4cac31b21e7d038a90ef206c799ed47228515 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-21Rework DB connection URLDeterme, Sebastien (sd378r)1-1/+1
Add timeout parameters to the DB URL Issue-ID: CLAMP-85 Change-Id: I4cb3f2b4f8744bc240a49440f720b11328927dd6 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-15Revert back wrong codeDeterme, Sebastien (sd378r)2-2/+2
Revert back policyClient client and port used by sdc cache Issue-ID: CLAMP-85 Change-Id: Ifd59e8530dea6032449d4c868286533cbcac8739 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-15Code refactoringDeterme, Sebastien (sd378r)48-265/+272
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-15Rework the SDC cacheDeterme, Sebastien (sd378r)9-124/+4
Rework the SDC cache used during the integration tests as it was not working on windows Issue-ID: CLAMP-85 Change-Id: I56f19e7dc5e817a21714c4a19609c1de8e76e8dc Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-14Remove Camunda and replace by CamelDeterme, Sebastien (sd378r)58-1951/+1020
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)8-45/+357
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)8-68952/+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-14Remove designer in Clamp UIDeterme, Sebastien (sd378r)17-574/+58
Remove the designer of Clamp UI as the DCAE Designer will be used now Issue-ID: CLAMP-115 Change-Id: Ice5bae6cdfe9d37dc5d61d2df7ec475821425e7a Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-14Add an HTTP cache for SDC testsDeterme, Sebastien (sd378r)46-0/+205
Add a python script with SDC cached file from a test lab Issue-ID: CLAMP-85 Change-Id: Ib932d5c80a399b85ae093dabb76c214e9f54ca63 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-07Remove AJSC container.Determe, Sebastien (sd378r)20-445/+288
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-07Improve code of unit tests.Determe, Sebastien (sd378r)1-3/+4
Improve code according to Sonar result Issue-ID: CLAMP-74 Change-Id: I73b06ce29ac58df160441b20129bd1a3574af9ef Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-07Improve Unit testsDeterme, Sebastien (sd378r)3-46/+59
Improve the unit tests on different cases. Issue-ID: CLAMP-74 Change-Id: If13558a540b22dc1156206111d1f33712249d1ac 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>