aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-04-24Remove eNodeB Determe, Sebastien (sd378r)7-96/+5
Remove eNodeB in the config files for UI and tests Issue-ID: CLAMP-153 Change-Id: I090449869e83220777387d58b37ebcd3d7dec101 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove enodeB codeDeterme, Sebastien (sd378r)4-168/+47
Remove useless code for operational policy Issue-ID: CLAMP-153 Change-Id: Ib63b98f19656116935f0f8b325fc0f8b739f6c59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-19Fix CsarInstallerDeterme, Sebastien (sd378r)3-3/+3
Fix the CsarInstaller for policy input when deploying to DCAE, and fix UI so that default value is well displayed Issue-ID: CLAMP-153 Change-Id: I307d24782e6482590e709affe59bff84fb8a8526 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-18Rollback policyScopeDeterme, Sebastien (sd378r)2-2/+2
Rollback policy Scope to DCAE as required for the microservices Issue-ID: CLAMP-153 Change-Id: I6a4569f89167eb825c961f38f8a0a4aa5a2fec12 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-18Flexible Policy codeDeterme, Sebastien (sd378r)1-1/+2
Add more flexibility to the pattern used for GetConfig policy Issue-ID: CLAMP-153 Change-Id: I7fa79a6c3a6402ada451e07c851e4e3d78925334 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-16Set policy scopeDeterme, Sebastien (sd378r)5-10/+8
Change policy scope to CLAMP in policy code and tests Issue-ID: CLAMP-153 Change-Id: I4376e4d1d603033d0b3355d1115a21026d48beec Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-12Refactor code Sdc-controllerDeterme, Sebastien (sd378r)2-7/+10
Rework the Sdc-controller and mainly blueprintArtifact so that the resource attached is fully available in this class Issue-ID: CLAMP-151 Change-Id: I77210cfa90a04df505566ff7e5f093c768cbbda9 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-12Fix the sdc-controllerDeterme, Sebastien (sd378r)2-21/+59
The field Resource UUID war incorrectly set as the blueprint can't be found in the sdc notification, it must retrieved from the csar. Issue-ID: CLAMP-151 Change-Id: I5a80047bcc7f009f67a2dac1891f47bdde0e9bcc Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-12Merge "Improve policy Config"Sébastien Determe3-37/+45
2018-04-11Improve policy ConfigDeterme, Sebastien (sd378r)3-37/+45
Improve the policy configuration file and merge it to application.properties so that all configurations are located at the same place Issue-ID: CLAMP-136 Change-Id: I5654bbe61d483a4061540959ed0b7dbb1242b022 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-09Fix python scriptDeterme, Sebastien (sd378r)1-3/+4
Fix startup of the python script in the pom that was not properly set Issue-ID: CLAMP-147 Change-Id: Ia462be79dd053a9b39761e5bdf3248d0e28e65ee Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-06Fix the SDC controllerDeterme, Sebastien (sd378r)1-0/+2
Fix the Controller so that it can save the csar before checking that it has been installed, also fix the isCsarAlreadyDeployed method Issue-ID: CLAMP-151 Change-Id: I7d04ec4be3960b4c1673e4d8b656649c18cfcee1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-06Change CsarHandler behaviorDeterme, Sebastien (sd378r)1-0/+25
Change the Csarhandler so it does not raise an exception when it installs a file that already exist Issue-ID: CLAMP-151 Change-Id: I4b260bee95d2651e64bf4318957680918396be4d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-06Fix Sonar issueDeterme, Sebastien (sd378r)1-3/+3
Fix issues reported by SOnar on string values Issue-ID: CLAMP-147 Change-Id: I3ccf668b15106b32d56bc53d63b7688088561137 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-06Update SDC libraryDeterme, Sebastien (sd378r)6-16/+20
Upgrade SDC library to latest and remove the message bus condition, it's now a mandatory parameter as well Issue-ID: CLAMP-149 Change-Id: I4c7ddcca6ac176380821bd8f1e4e3ef3d9fcea30 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-06Fix csarInstaller testDeterme, Sebastien (sd378r)1-1/+1
Set the resource to an existing resource in this specific service Issue-ID: CLAMP-147 Change-Id: I19a5b181b3f3bd04497dc0273cb733cb0dc6ae21 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-04Fix Checkstyle issuesDeterme, Sebastien (sd378r)4-25/+25
Fix issues reported by checkstyle during build Issue-ID: CLAMP-147 Change-Id: I9d3a1a50b29cd068ecc3f65181ed44d25bcc5503 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-04Fix the python startup scriptDeterme, Sebastien (sd378r)1-16/+23
Fix the startup script for python simulator Issue-ID: CLAMP-148 Change-Id: Ia1906aa12f2354a45324553609a9e5e713d8a551 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-03New parameter Sdc controllerDeterme, Sebastien (sd378r)4-7/+34
There is a need to have that new parameter (message bus addresses) if the sdcAddress is not present Issue-ID: CLAMP-149 Change-Id: I336e7af6784a70b0b65c9610fc2e69e40126bdc0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-03Fix the start_http_cache.shDeterme, Sebastien (sd378r)1-4/+11
Fix the script call from Pom so that it can be configured Issue-ID: CLAMP-148 Change-Id: Id1120150c4fb993d70ffe2914c73a8fa24051e85 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-29Remove useles file in CSARDeterme, Sebastien (sd378r)1-0/+0
Remove the file in CSAR that was useless Issue-ID: CLAMP-146 Change-Id: Ia945af65bb8bfd39cdaf6631825b0480f1e6ad53 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-28Merge "Add simulator cases for (un)deploy/stop + typo"Sébastien Determe5-19/+97
2018-03-28Add simulator cases for (un)deploy/stop + typoehautot5-19/+97
Change-Id: I0a3b8f1e812f6199c5a7fbbabd88c6c5ec4217cc Signed-off-by: ehautot <eh552t@intl.att.com> Issue-ID: CLAMP-111
2018-03-27Add blueprint inputDeterme, Sebastien (sd378r)3-250/+293
Add blueprint json input support for DCAE call Issue-ID: CLAMP-142 Change-Id: I52657ff7ead38681eae2744a30271f0a1b825bb6 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-27Unit tests improvementDeterme, Sebastien (sd378r)1-4/+4
Add Id specified in the python third party script Issue-ID: CLAMP-142 Change-Id: Id804c83dbcb3dcdf485906f1b358554205e9e0e8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-27Security FixDeterme, Sebastien (sd378r)3-0/+184
Introduce a centralized ObjectMapper for Resteasy and Clamp code so that the automatic Ser/deserialization of all classes is disabled. Issue-ID: CLAMP-135 Change-Id: I1fb11c8fc8e7a53ef832774fa8c06af1c70d3dad Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-23Rework the SDC testDeterme, Sebastien (sd378r)4-33/+181
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-22resolve issues due to conflictDeterme, Sebastien (sd378r)1-1/+1
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)2-7/+11
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-2/+41
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-21Merge "Modify third party proxy to test the SUBMIT"Sébastien Determe55-129/+262
2018-03-21Merge "CsarInstaller introduction"Eddy Hautot10-0/+1310
2018-03-21Merge changes from topic 'feature/sdc-controller'Sébastien Determe2-16/+10
* changes: Rework the code CsarHandler rework Add new config classes
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)10-0/+1310
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)1-8/+1
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-8/+9
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-15Merge changes from topic 'bugfix/nexus-iq'Eddy Hautot7-27/+24
* changes: Fix Checkstyle issues Update jackson-databind
2018-03-15Fix Checkstyle issuesDeterme, Sebastien (sd378r)7-27/+24
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-14Merge "Add csar Handler"Eddy Hautot3-0/+105
2018-03-12Add csar HandlerDeterme, Sebastien (sd378r)3-0/+105
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 Determe8-165/+214
2018-03-05Remove the clds-reference.propertiesDeterme, Sebastien (sd378r)8-165/+214
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 Hautot13-14/+775
2018-03-05Rework configurationDeterme, Sebastien (sd378r)13-14/+775
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 Determe4-0/+151
* changes: Rework CldsReferenceProp class Add controller config code Add new exceptions for SDC