aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
AgeCommit message (Collapse)AuthorFilesLines
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
2017-09-14Add new tests for DAODeterme, Sebastien (sd378r)4-0/+786
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-13Restore the history log in camundaDeterme, Sebastien (sd378r)1-1/+1
Restore the history log in camunda as it has been disabled but the DB SQL files set that already Change-Id: Iba24a4cefdfb533046eed92e7ce1424a06d1c0fb Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-13Add test to HolmesDeterme, Sebastien (sd378r)3-10/+242
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-11Change to mariadb connectorDeterme, Sebastien (sd378r)1-4/+4
The tests application.properties had to be changed as well Change-Id: Ie2a4ca5e136aef3f2ae7ba55cbee705661374273 Issue-Id: CLAMP-52 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-29Fix the clds-reference jsonDeterme, Sebastien (sd378r)1-122/+121
FIx a mistake in the JSON provided in clds-reference.properties + Align the header of clds-version.properties Change-Id: I63905fa4a9fe3906c6ab9d4724928815dcb2cea1 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Add dynamic ports for HTTP/HTTPSDeterme, Sebastien (sd378r)2-0/+152
The ports can now be configured in the application.properties and the both protocols can run at the same time (HTTP+HTTPS) Change-Id: I57d1b5643df33da45af2f6798923d94bff1d560d Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework of the unit tests (mainly IT)Determe, Sebastien (sd378r)8-364/+1367
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 the authenticationDeterme, Sebastien (sd378r)3-0/+51
Add more granularity in the default authentication mechanism + Add some unit tests with Json to validate the json decoder Change-Id: I89d0ef94e99fc8aa0c1e8c6432b5aa30a0a5ac88 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 commitChrisC7-0/+677
Change-Id: I2e8070a590618a06070f393d7b2c011029af5e8a Signed-off-by: ChrisC <cc697w@intl.att.com>