aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)5-5/+5
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I313ef2ae8e429663071ef4efeef81a935ee71b10 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: Iccc1265c22130a7dd4c931ea1a8f29422213e641 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: Iac30f54e6b2f365f6a87fa40f1d2b11107defaca Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)8-8/+8
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I23bbaf19f4ba89e5ab5ecebcbe0116f20782cbe1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)5-5/+4
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I442689c8e34171b036215c6752407ddfed524283 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: If7cc479d8c94507272f6c357f550430e3f7a8ff8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I4de15a4b487098b1c7f5adf16bd809bbbf8d7de0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)7-7/+7
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: Ideba8a781bbea8c94e1eb43ce65a042d50c11c93 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)7-7/+7
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: Icd5b3501fb9b13276e9482047b8d12c225299348 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)2-2/+2
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: If8970d7055fe5ee1195f1af9040b42d8accd6cf0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)5-5/+5
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I8d3d385b4db2b821ddc94c5be0e04f8475e2b90f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I65b9c1153919a7bed31ba7bfb4627f6b1a917b04 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I7790a568a8b9105d147372fa46fa61bd741276a5 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I8bf77f4c0cf884bdab2f9f1c1d56f91d98c6967d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)7-7/+7
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I248d3d02b8b1725038ce2612bf1fa90b4427269d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I397898a5aa9dc87f4304833f2ec25a051ed01652 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)7-7/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I1af1e08178e1e36f90289771327b3c2d2b419f20 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I335596a43a7207e6e28cf03f0b2c765e0498bc0f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)8-8/+8
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I4a3923fab24f017a0072cc13d2a573860d1ea59d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove eNodeB Determe, Sebastien (sd378r)2-15/+1
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)3-189/+5
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-23Remove bad testDeterme, Sebastien (sd378r)1-19/+15
Remove test that prevent publishing the policies Issue-ID: CLAMP-153 Change-Id: Ib974f9432ad29651a189b978ce6aa7da976ff5e0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-19Fix CsarInstallerDeterme, Sebastien (sd378r)5-32/+71
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-19Fix null fieldsDeterme, Sebastien (sd378r)1-4/+1
Fix fields that become null due to wrong db code in clds template saving Issue-ID: CLAMP-151 Change-Id: I06ec18786a092c769dd5b124e79038679a48ca91 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-19Rollback paramsDeterme, Sebastien (sd378r)1-8/+8
Rollback parameters for the third parties components Issue-ID: CLAMP-153 Change-Id: I6b555876ccd0357db47d77997cc84321e4a9b6ba 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-18Add Prefix to ModelNameDeterme, Sebastien (sd378r)1-3/+5
Add a "CLAMP" prefix to model name as this is used by clamp to generate the policy Scope. This prefix will be used by DCAE to filter clamp policies Issue-ID: CLAMP-153 Change-Id: I0c2e7e064df1be0de3c7e12d6e853956a70bbe64 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-18Flexible Policy codeDeterme, Sebastien (sd378r)2-18/+23
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-17Fix Sdc ControllerDeterme, Sebastien (sd378r)1-2/+2
Fix the name for policy push because the model name was containing . for version and that was not accepted by policy. Issue-ID: CLAMP-153 Change-Id: I768b765f42385bc93c4e77e1dc5c469908ad031f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-16Set policy scopeDeterme, Sebastien (sd378r)4-6/+4
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-12Fix sonarDeterme, Sebastien (sd378r)1-4/+5
Fix sonar bugs reported in the new code Issue-ID: CLAMP-147 Change-Id: I77d686ddfd561f260aeb52f82085b73e3e1f1249 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-12Refactor code Sdc-controllerDeterme, Sebastien (sd378r)3-23/+16
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 build issue Determe, Sebastien (sd378r)1-2/+3
Fix build issue due to rebase conflict resolution Issue-ID: CLAMP-151 Change-Id: Id65f78a03b54a9e30263c1d560f444cd58be780b Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-12Add default configDeterme, Sebastien (sd378r)1-2/+2
Add the default configuration for sdc-controller so that it can work with oom or docker instances Issue-ID: CLAMP-151 Change-Id: Ia69c740efceddfaec6d7e0d5e31cc3d7eecb4545 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-12Add some logsDeterme, Sebastien (sd378r)3-7/+22
Add some logs for sdc-controller code so that it's easier to follow the csar deployment Issue-ID: CLAMP-151 Change-Id: I73f8ecea4140da57bda6daeaf721ab99dacadc40 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-12Fix the sdc-controllerDeterme, Sebastien (sd378r)4-64/+144
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 "Remove the nosonar"Sébastien Determe2-4/+5
2018-04-12Merge "Fix potential issue while install CSAR"Sébastien Determe4-5/+45
2018-04-12Fix potential issue while install CSARxg353y4-5/+45
Add random waiting timer for treat notification, so that no 2 threads will treate the notif at the same time; Add the retry mechanism for the DCAE Inventory api call. Change-Id: I9bd8a58001d638c589309a9d65e4df6a2e437209 Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-151
2018-04-12Merge "Improve policy Config"Sébastien Determe5-45/+150
2018-04-11Improve policy ConfigDeterme, Sebastien (sd378r)5-45/+150
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-11Remove the nosonarDeterme, Sebastien (sd378r)2-4/+5
Remove the nosonar from the code as Sonar has been updated to version 6 Issue-ID: CLAMP-147 Change-Id: I8c5e9b0e4b3d9a303dfab7a1434cd5f9307d9d05 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-10Fix transaction issuexg353y1-0/+2
Add the transaction annotation, so that template and model will be saved within the same transaction. Issue-ID: CLAMP-151 Change-Id: Ia0c50967317c3c158b401175dc1fbc166610518b Signed-off-by: xg353y <xg353y@intl.att.com>
2018-04-09Fix SDC deploymentDeterme, Sebastien (sd378r)1-7/+7
Fix the SDC deployment, inversion of the "already existing" check Issue-ID: CLAMP-151 Change-Id: I2d83033dd5df373965196dd00ead6fcab9bdc260 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-06Fix the SDC controllerDeterme, Sebastien (sd378r)2-3/+3
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-4/+4
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/+5
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-06Fix Sonar issuesDeterme, Sebastien (sd378r)1-5/+6
Fix issues reported by Sonar on CldsService class Issue-ID: CLAMP-147 Change-Id: I9eef9ccf4e69b19e2f63db1ef8634c29a84f3c56 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-06Update SDC libraryDeterme, Sebastien (sd378r)5-47/+37
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-03New parameter Sdc controllerDeterme, Sebastien (sd378r)2-7/+20
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>