summaryrefslogtreecommitdiffstats
path: root/src/test/resources
AgeCommit message (Collapse)AuthorFilesLines
2018-03-21Merge "Modify third party proxy to test the SUBMIT"Sébastien Determe55-129/+262
2018-03-21Merge "CsarInstaller introduction"Eddy Hautot9-0/+1208
2018-03-21Modify third party proxy to test the SUBMITehautot55-129/+262
Change-Id: I86dad99c141ef78b23e28cbb3eab6516d04000a8 Signed-off-by: ehautot <eh552t@intl.att.com> Issue-ID: CLAMP-100
2018-03-16CsarInstaller introductionDeterme, Sebastien (sd378r)9-0/+1208
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-14Merge "Add csar Handler"Eddy Hautot2-0/+1
2018-03-12Add csar HandlerDeterme, Sebastien (sd378r)2-0/+1
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-07Merge "Rework config"Eddy Hautot1-3/+3
2018-03-07Rework configDeterme, Sebastien (sd378r)1-3/+3
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-06Merge "Remove globalClds.properties"Eddy Hautot2-1/+106
2018-03-05Remove globalClds.propertiesDeterme, Sebastien (sd378r)2-1/+106
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-05Merge "Remove the clds-reference.properties"Sébastien Determe3-155/+204
2018-03-05Remove the clds-reference.propertiesDeterme, Sebastien (sd378r)3-155/+204
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-05Merge "Rework configuration"Eddy Hautot12-13/+758
2018-03-05Rework configurationDeterme, Sebastien (sd378r)12-13/+758
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-01Merge changes from topic 'feature/sdc-controller'Sébastien Determe3-0/+65
* changes: Rework CldsReferenceProp class Add controller config code Add new exceptions for SDC
2018-03-01Merge "Add files required for test"Eddy Hautot3-0/+36
2018-03-01Add controller config codeDeterme, Sebastien (sd378r)3-0/+65
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 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-02-22Add SDC proxy in docker-compose and templates exehautot1-0/+62
Change-Id: I365c279fd38fc229bcd3b872c753ca4d801f5e52 Signed-off-by: ehautot <eh552t@intl.att.com> Issue-ID: CLAMP-100
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)1-1/+1
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)17-800/+308
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)1-0/+161
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-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)3-72/+12
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>
2017-11-17Remove quotesDeterme, Sebastien (sd378r)1-2/+2
Remove the quotes in the properties file Change-Id: Id0f2c78dee291ab251fee41166645a0ede5298ec Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-17Change dcae addressesDeterme, Sebastien (sd378r)1-2/+2
Change https to http as it's http on the labs Change-Id: I0f177b71e988c5e303df3be798a4ee4fa4c9bb39 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-17Fix for CheckstyleDeterme, Sebastien (sd378r)1-38/+38
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-16Rework the cldsUserDeterme, Sebastien (sd378r)3-48/+44
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)4-7/+8
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-06Disable camunda fo https testDeterme, Sebastien (sd378r)1-2/+6
Disable camunda for the HTTP/HTTPS test Change-Id: Ia33fe315670ac616562460d18f5041d4db49e048 Issue-ID: CLAMP-65 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-05Fix the blueprint for TCADeterme, Sebastien (sd378r)1-3/+0
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-03Update the policyName send to Policyxg353y3-3/+4
Change-Id: Ib8ef7feb2404b15f215a1a7967d3af7d6ac89da0 Issue-Id: CLAMP-62 Signed-off-by: xg353y <xg353y@intl.att.com>
2017-11-03Update the content send to Policyxg353y2-32/+34
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)3-16/+1186
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-26Update TCA config json send to Policyxg353y4-10/+26
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 formatxg353y1-0/+3
Change-Id: Ib5b6fe1b46a509bea6c40ebc8ec9058990e5f64d Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-59
2017-10-06Increase the test portabilityDeterme, Sebastien (sd378r)2-4/+0
This test was testing the class name provided in the yaml, if it changes the test is dead. So it's more generic now Change-Id: I72ba7ac087da137b0e43628c99b5d92a1696078a Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-10-06Update Holmes related featurexg353y2-3/+3
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-28Change the model to fix TCADeterme, Sebastien (sd378r)7-107/+310
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 Files added for future unit testsDeterme, Sebastien (sd378r)3-0/+164
New files that will uses by new junit on TCA code Change-Id: Icfd991da3210cc2a9534815ec5d1671fcd72a0d8 Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-27Code Improvementxg353y14-685/+59
Change-Id: I703aabf234cb656b1faea3b5c0776d034d8ec807 Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-54
2017-09-22Fix bug at runtimeDeterme, Sebastien (sd378r)2-0/+2
There was a missing class due to policy dependency changed Change-Id: Id8d85a8925c1ac2164528333672a552cb55ca5ca Issue-ID: CLAMP-48 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Add the target resource IDDeterme, Sebastien (sd378r)6-68/+288
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-22Remove Camunda auto conf for JunitDeterme, Sebastien (sd378r)1-1/+1
Camunda autoconf classes removed for SPring junit IT tests Change-Id: Ia71574520bd88144efaf95c3a22fcb74d91e6fb9 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-19Removal of useless files & bugfixDeterme, Sebastien (sd378r)1-2/+0
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-18Reformat the JSON and fix checkstyle issueDeterme, Sebastien (sd378r)8-3370/+3370
All Json used in the tests have been reformatted. Also some checkstyle bugs have been fixed Change-Id: I48373d9d53d39244c62b9b88b1cf62c15c766cb3 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-18Add new tests to CLAMPDeterme, Sebastien (sd378r)1-0/+192
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 Hautot4-0/+786