aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
AgeCommit message (Collapse)AuthorFilesLines
2018-04-19Merge "Rollback policyScope"Sébastien Determe2-2/+2
2018-04-19Merge changes I0c2e7e06,I7fa79a6c,I768b765fSébastien Determe1-9/+11
* changes: Add Prefix to ModelName Flexible Policy code Fix Sdc Controller
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-9/+11
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-17Rollback policy scopexg353y1-0/+1
Rollback the policy scope under configBody and set it to CLAMP Issue-ID: CLAMP-153 Change-Id: I2446839329d367ad031852a9c0a33f7b29741740 Signed-off-by: xg353y <xg353y@intl.att.com>
2018-04-16Set policy scopeDeterme, Sebastien (sd378r)3-5/+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-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-12Fix the sdc-controllerDeterme, Sebastien (sd378r)1-4/+4
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 "Fix potential issue while install CSAR"Sébastien Determe1-0/+2
2018-04-12Fix potential issue while install CSARxg353y1-0/+2
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 Determe2-38/+16
2018-04-11Improve policy ConfigDeterme, Sebastien (sd378r)2-38/+16
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-06Update SDC libraryDeterme, Sebastien (sd378r)1-20/+10
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)1-4/+6
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-03-28Merge "Add simulator cases for (un)deploy/stop + typo"Sébastien Determe1-1/+1
2018-03-28Add simulator cases for (un)deploy/stop + typoehautot1-1/+1
Change-Id: I0a3b8f1e812f6199c5a7fbbabd88c6c5ec4217cc Signed-off-by: ehautot <eh552t@intl.att.com> Issue-ID: CLAMP-111
2018-03-27Fix UI DCAE DeployDeterme, Sebastien (sd378r)1-5/+5
The Json format sent in CldsModel was not correct, the correct format must be with key name and key value. Issue-ID: CLAMP-142 Change-Id: I2802112702ff2e1f149932d59109f22654c581aa Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-23Merge changes from topic 'security'Sébastien Determe5-218/+5
* changes: Remove client usage of md5 Bcrypt as password hashing method in the backend
2018-03-23Remove client usage of md5ac25505-217/+4
Md5 usage introduce a security flow by reducing the amount of test needed for a brute force attack. Change-Id: Ifa4e6259d0a3fb06c91c03d1c67470ddd02284fc Issue-ID: CLAMP-143 Signed-off-by: ac2550 <ac2550@intl.att.com>
2018-03-23Merge "Allow additional parameters to deployment"Sébastien Determe4-2/+112
2018-03-22Bcrypt as password hashing method in the backendac25501-3/+3
Change-Id: I5ed802c35ade8ba5da4d21f2a8c22d0198490885 Signed-off-by: ac2550 <ac2550@intl.att.com> Issue-ID: CLAMP-143
2018-03-22Allow additional parameters to deploymentac25504-2/+112
Change-Id: I760d0f0d54f83282d8556b74a588361669fa5375 Issue-ID: CLAMP-142 Signed-off-by: ac2550 <ac2550@intl.att.com>
2018-03-22Add properties to modelDeterme, Sebastien (sd378r)1-1/+1
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)1-1/+0
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 "Cleanup duplicate/unused code"Sébastien Determe3-568/+0
2018-03-21Merge "CsarInstaller introduction"Eddy Hautot6-0/+829
2018-03-21Cleanup duplicate/unused codeac25503-568/+0
Change-Id: Ib3707b85285ad688ef4e8d94d6f035668b9b1b93 Issue-ID: CLAMP-140 Signed-off-by: ac2550 <ac2550@intl.att.com>
2018-03-16CsarInstaller introductionDeterme, Sebastien (sd378r)6-0/+829
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-15false positive license issue on nexus IQ + unusedac25506-1661/+0
Change-Id: Idf91cdbb2a49ffdb5cafc66c413f53e0b62c1081 Signed-off-by: ac2550 <ac2550@intl.att.com> Issue-ID: CLAMP-135
2018-03-14Merge "Add csar Handler"Eddy Hautot1-0/+1
2018-03-12Add csar HandlerDeterme, Sebastien (sd378r)1-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-08Fix issue in Menu not refreshing in crash caseehautot1-0/+1
Tested for SUBMIT crash case, still need to be tested for deploy and undeploy when test can go further Change-Id: I1f96528ab8de8fdfd399696758ba53637440782e Signed-off-by: ehautot <eh552t@intl.att.com> Issue-ID: CLAMP-69
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-05Remove globalClds.propertiesDeterme, Sebastien (sd378r)3-25/+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-05Remove the clds-reference.propertiesDeterme, Sebastien (sd378r)2-115/+89
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-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-02Upgrade lib to recentDeterme, Sebastien (sd378r)1-4/+3
Upgrade moment.min.js to latest known due to nexus IQ report Issue-ID: CLAMP-135 Change-Id: I6675c92c456ccc243fb3c3c2129b530874d52640 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-02Remove useless web.xmlDeterme, Sebastien (sd378r)1-29/+0
Remove the file that is not useful anymore since a while Issue-ID: CLAMP-85 Change-Id: Ib55095a80a95f1dc7107954aad03338577a00b33 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Fix Clamp runtimeDeterme, Sebastien (sd378r)1-0/+26
Add the missing file for SDC Config in resource and docker clamp.env. Issue-ID: CLAMP-81 Change-Id: Ie1a22fcc1a8d95fcc5dd826353e989c7e1707abd Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Rework CldsReferenceProp classDeterme, Sebastien (sd378r)1-0/+1
Refactor the code and insert new config for SDC client code Issue-ID: CLAMP-81 Change-Id: Ifabf220e7bf0067e689242f3f1ef09503b11fe87 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-21Rework DB connection URLDeterme, Sebastien (sd378r)1-1/+1
Add timeout parameters to the DB URL Issue-ID: CLAMP-85 Change-Id: I4cb3f2b4f8744bc240a49440f720b11328927dd6 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-14Remove Camunda and replace by CamelDeterme, Sebastien (sd378r)6-451/+44
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-14Remove useless filesDeterme, Sebastien (sd378r)7-68915/+0
Remove files that were not used by UI, neither by clamp Backend Issue-ID: CLAMP-85,CLAMP-115 Change-Id: I3b40bc6cfcfdd8efa11b879a9ea3fd45ff8385aa Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-14Remove designer in Clamp UIDeterme, Sebastien (sd378r)17-574/+58
Remove the designer of Clamp UI as the DCAE Designer will be used now Issue-ID: CLAMP-115 Change-Id: Ice5bae6cdfe9d37dc5d61d2df7ec475821425e7a Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-02-07Remove AJSC container.Determe, Sebastien (sd378r)5-81/+7
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-16Rework the UIDeterme, Sebastien (sd378r)1-23/+23
Rework the Javascript code and global properties Change-Id: Ie8a4590d155b9f826d3228627d7dd3d8e0996696 Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-11-16Rework CryptoUtilsDeterme, Sebastien (sd378r)4-7/+10
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-16Remove swagger for nowDeterme, Sebastien (sd378r)46-28124/+0
Remove swagger code for now as it's not used at all Change-Id: I63c5cad5048f71eb51686e96eb9d7f35b55abf1d Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>