aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/example
AgeCommit message (Collapse)AuthorFilesLines
2018-03-16CsarInstaller introductionDeterme, Sebastien (sd378r)3-0/+379
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-12Add csar HandlerDeterme, Sebastien (sd378r)1-0/+0
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-02-14Remove Camunda and replace by CamelDeterme, Sebastien (sd378r)14-723/+285
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>
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 Policyxg353y2-3/+3
Change-Id: Ib8ef7feb2404b15f215a1a7967d3af7d6ac89da0 Issue-Id: CLAMP-62 Signed-off-by: xg353y <xg353y@intl.att.com>
2017-11-03Update the content send to Policyxg353y1-31/+33
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)1-0/+1166
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 Policyxg353y3-8/+22
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)5-10/+306
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 Improvementxg353y12-663/+54
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-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 Hautot3-0/+628
2017-09-14Add new tests for DAODeterme, Sebastien (sd378r)3-0/+628
New test to validate some methods of the DAO and attempt to disable Camunda in IT when it was not required to have it Change-Id: I231230a7a4818f4bfd7887319a321625f66ffcae Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-13Add test to HolmesDeterme, Sebastien (sd378r)2-0/+226
New test for holmes and refactor of the application.java class according to Sonar reports Change-Id: I2117b403c18e2cb2cd902018db951025a1db9bae Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-11Fix Holmes delegates and sdcDeterme, Sebastien (sd378r)3-0/+2868
Fix holmes delegates not declared in the cldsconfiguration and SDC IT tests that reports some exceptions Change-Id: I19dae11ad994e78e1f71fc78a2ff4627d91e66c1 Issue-Id: CLAMP-27 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-08Add Holmes to the BackendDeterme, Sebastien (sd378r)3-110/+194
Add support for Holmes boxes defined in GUI, Holmes model has been added and also policy calls. Change-Id: I2bbef0030b5174075792b459b7ced74aa2e8aad2 Issue-Id: CLAMP-27 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework of the unit tests (mainly IT)Determe, Sebastien (sd378r)5-348/+1248
Rework of the unit tests (mainly IT) + new example files and test resource config Change-Id: I4970b3710c7decdc8a3265a86115097d4394ad80 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework SDC calls and modelDeterme, Sebastien (sd378r)10-0/+4530
Rework the SDC model and queries + Add unit tests with JSON to validate the SDC model Change-Id: I93f08cdc883f5357e3a08e9c246ed30be50a3492 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-06-21[CLAMP-1] Initial ONAP CLAMP seed code commitChrisC4-0/+490
Change-Id: I2e8070a590618a06070f393d7b2c011029af5e8a Signed-off-by: ChrisC <cc697w@intl.att.com>