aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2018-03-23Rework the SDC testDeterme, Sebastien (sd378r)4-42/+85
Rework the uni tests so that SDC controller is more tested, also dcae code has been reworked for improving sonar report Issue-ID: CLAMP-81 Change-Id: Ia6ec272e1bf86e72d9d7294aeec0695b861f78af Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-23Naming conventionDeterme, Sebastien (sd378r)1-26/+26
Refactor the names in SDC controller Issue-ID: CLAMP-81 Change-Id: I715e0274efe5ac10e8bcc1f5b8a0171231e55265 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-23Sonar fixesDeterme, Sebastien (sd378r)1-30/+38
Rework the class due to sonar report Issue-ID: CLAMP-81 Change-Id: I5f99728b3aa1c194d0bf7b2cf727e8dbdf99684f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-23Remove client usage of md5ac25501-1/+1
Md5 usage introduce a security flow by reducing the amount of test needed for a brute force attack. Change-Id: Ifa4e6259d0a3fb06c91c03d1c67470ddd02284fc Issue-ID: CLAMP-143 Signed-off-by: ac2550 <ac2550@intl.att.com>
2018-03-22Bcrypt as password hashing method in the backendac25501-1/+22
Change-Id: I5ed802c35ade8ba5da4d21f2a8c22d0198490885 Signed-off-by: ac2550 <ac2550@intl.att.com> Issue-ID: CLAMP-143
2018-03-22resolve issues due to conflictDeterme, Sebastien (sd378r)3-95/+20
Resolve the issues due to the conflicts and rework the Sdc startup Issue-ID: CLAMP-81 Change-Id: I3f6fa5268140e902b445c316bc40f326256d17c0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-22Add properties to modelDeterme, Sebastien (sd378r)4-16/+125
Add properties to model created in db + Auto start configuration for spring Issue-ID: CLAMP-81 Change-Id: I6598872c6b47963e97c63730a4b6499e2b1a2de2 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-22Rework of the csarinstallerDeterme, Sebastien (sd378r)4-47/+127
Csarinstaller rework to save Template and Model to database Issue-ID: CLAMP-81 Change-Id: I5edf9716146975ed3751a93b78f5c9b0b9ff2af9 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-22Remove the test flagDeterme, Sebastien (sd378r)1-0/+72
Remove test flag from deploy and undeploy. Also remove useless variable definition Issue-ID: CLAMP-141 Change-Id: I49bd3e88b9a37d891fce243dbadb9a5f890c06cf Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-22Fix the JaxRsDeterme, Sebastien (sd378r)1-4/+4
Fix the JaxRs endpoints that were wrong Issue-ID: CLAMP-141 Change-Id: Ibb2598e0c3460f72961048edbf93d1717473b0bb Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-21Merge "Draft single controller"Eddy Hautot1-0/+310
2018-03-21Merge "CsarInstaller introduction"Eddy Hautot2-0/+180
2018-03-21Merge changes from topic 'feature/sdc-controller'Sébastien Determe5-28/+164
* changes: Rework the code CsarHandler rework Add new config classes
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)2-0/+180
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)2-13/+2
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)1-15/+45
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-15Merge changes from topic 'bugfix/nexus-iq'Eddy Hautot4-15/+15
* changes: Fix Checkstyle issues Update jackson-databind
2018-03-15Fix Checkstyle issuesDeterme, Sebastien (sd378r)4-15/+15
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-15Merge "Add swagger generation for jaxrs api"Sébastien Determe1-0/+42
2018-03-14Add swagger generation for jaxrs apiBertozzi, Julien (jb379x)1-0/+42
Issue-ID: CLAMP-137 Change-Id: I0b1e088a99a7e1c63dc0b0f4a36b16020181bf1f Signed-off-by: Bertozzi, Julien (jb379x) <jb379x@att.com>
2018-03-14Merge "Fix the CsarHandler"Eddy Hautot1-2/+1
2018-03-14Merge "Rework the SDC Config"Eddy Hautot1-48/+38
2018-03-14Merge "Add csar Handler"Eddy Hautot2-0/+165
2018-03-14Merge "Rework the SDC config"Eddy Hautot2-3/+2
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)2-0/+165
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-12Deprecated Methods Clean Up.YuanHu1-3/+3
Change deprecated method PolicyParameters.setEcompName to PolicyParameters.setOnapName Issue-ID: CLAMP-138 Change-Id: I26afc1118a14272c5b0a1960fafe9bc1cc8336d1 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-08Fix issue in Menu not refreshing in crash caseehautot1-162/+195
Tested for SUBMIT crash case, still need to be tested for deploy and undeploy when test can go further Change-Id: I1f96528ab8de8fdfd399696758ba53637440782e Signed-off-by: ehautot <eh552t@intl.att.com> Issue-ID: CLAMP-69
2018-03-07Rework configDeterme, Sebastien (sd378r)5-22/+28
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)2-46/+10
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)15-79/+52
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)6-13/+165
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-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-01Rework CldsReferenceProp classDeterme, Sebastien (sd378r)1-2/+11
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)1-0/+94
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 SDC single configDeterme, Sebastien (sd378r)1-0/+285
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-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-15Revert back wrong codeDeterme, Sebastien (sd378r)1-1/+1
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)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>