summaryrefslogtreecommitdiffstats
path: root/src/main/resources
AgeCommit message (Collapse)AuthorFilesLines
2019-03-11Rework authorization controller xg353y8-91/+21
Rework the authorization controller, put the authorization code into a camel box, so that it could be put and remove from other methods easily and not tightly connected with other logic; Remove unused CldsTemplateService.js Issue-ID: CLAMP-305 Change-Id: I5e01f1fa4534e78e0996b4b8acaf33f1875e95f0 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-08Rework the UIxg353y9-159/+111
Rework the UI, fixing some bugs, update the method to get the CL image, rework the URL used to communicate with backend, remove the save CL/update/validationTest/resubmit menu. Issue-ID: CLAMP-312, CLAMP-318 Change-Id: I3e167a5432b99f851382e36c1b56189c18e43476 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-08Rework the UI Menuxg353y4-75/+93
Create a menuHandler to handle enable/disable all the menu actions. Also rework the method to determine the permittedActions based on the current CL status. Issue-ID: CLAMP-311 Change-Id: Iecc194eb62a6546d53ad6121c73f9d3946a135a2 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-08Rework UIxg353y14-300/+196
Rework Clamp UI to cooperate with the internal data model changes. Issue-ID: CLAMP-310 Change-Id: Ic3fdbdf5e405b57ef1537672a1d4528325b68a74 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-07created Api for closed loop managingKrysiak Adam2-28/+62
Change-Id: Ib6bd92d1ae3119a857c5a63df10e8f9bb130f75f Issue-ID: CLAMP-301 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-03-04Merge "Introduce new entities"Sébastien Determe2-1/+31
2019-02-28Introduce new entitiessebdet2-1/+31
Introduce new database entities to support the new Clamp model Change-Id: I6c8d7fdaf8201c2bc7878f8a807c89002525857f Issue-ID: CLAMP-299 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-22Merge "Remove old MS UI"Sébastien Determe6-737/+6
2019-02-22Merge "Fix the bugs"Sébastien Determe2-1/+2
2019-02-22Merge "Allow only 1 Operational Policy"Sébastien Determe4-229/+72
2019-02-20Fix the bugsxg353y2-1/+2
Fix the bugs in tosca model related code, due to the json removal activity. Issue-ID: CLAMP-292 Change-Id: I6306930052b876b1ba8b0e1ce71689d4499e165c Change-Id: I6306930052b876b1ba8b0e1ce71689d4499e165c Signed-off-by: xg353y <xg353y@intl.att.com>
2019-02-19Remove old MS UIxg353y6-737/+6
Remove the isSimple flag, so that the old hard coded MS UI will be disabled totally and clamp will only support automatically generated UI from the tosca model for MS configuration. Issue-ID: CLAMP-264 Change-Id: I1bf4a27c89ae5ddc97c87671daf13b97d5a2f373 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-02-19Allow only 1 Operational Policyxg353y4-229/+72
Rework the operational policy UI, only allow to create 1 operational policy and fix some bugs. Issue-ID: CLAMP-294 Change-Id: Iec09451d9437b299028bf63304f90c893ecc1d3e Signed-off-by: xg353y <xg353y@intl.att.com>
2019-02-18Fix health check action nameawudzins1-1/+1
Fix name of the health check action which is sent to policy Change-Id: I38536d2194963b58d1cf4b3e123142dddbfe9dd1 Issue-ID: CLAMP-296 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com>
2019-02-15Run as non rootsebdet1-6/+10
Modify the CLAMP docker image so that it does not run as root but as clamp user Issue-ID: CLAMP-298 Change-Id: I0bf7bed9cb76a2fcde72f2e23b66e03f03e5fe0e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-13Remove SDC queryxg353y13-703/+149
Remove the query to SDC to get Service/VF related parameters. Also remove the UI which triggers the SDC query. Issue-ID: CLAMP-290 Change-Id: Ie7864942b91c022a3a7329c17ab2785448aae9ff Signed-off-by: xg353y <xg353y@intl.att.com>
2019-02-07Merge "Automatic Config Policy Ui generation"Sébastien Determe11-275/+17123
2019-02-07Merge "Replace jackson usages with GSON"Sébastien Determe1-0/+1
2019-02-07Automatic Config Policy Ui generationxg353y11-275/+17123
Automatic GUI generation based on json output of policy-model. And remove the Create CL related code. Change-Id: I42f7e8da46052e01bda33593434f8794f0e430c5 Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-264
2019-02-06Replace jackson usages with GSONKrysiak Adam1-0/+1
Issue-ID: CLAMP-286 Change-Id: I3492811e248cbcf502656a992cea4f76deed46dc Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-01-22Remove lodash in UIsebdet2-57/+0
Remove the lodash library as it's not used by any code Issue-ID: CLAMP-279 Change-Id: I51793dae87401952054c6dee3dc8179ab7def696 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-01-14Fix no AAF configsebdet1-3/+7
Add missing config for no AAF properties file Issue-ID: CLAMP-252 Change-Id: Iba8b0ed7119460a192cf30fcadb6e1b7b7e50b5d Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-19Add flexibilitysebdet1-0/+1
Add flexibility to the code for the authentication part Issue-ID: CLAMP-252 Change-Id: Id13275c37b44f6934057000743f40fb531313cca Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-14Fix log locationsebdet2-2/+2
Fix log location in the CLAMP container Issue-ID: CLAMP-255 Change-Id: Icf36dca0412a4d416760152728a729abf6efb680 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-11Additional tosca methodsebdet1-1/+1
new tosca method for future code Issue-ID: CLAMP-252 Change-Id: I1fbd15e8a76ccb7629c800d8c64e2d526bd77554 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-11Fix concurrent buildsebdet1-1/+1
Fix concurrent build issue that may occur and generate random ports automatically in the build Issue-ID: CLAMP-252 Change-Id: If1b67a3a03fea52971b494621a4ba3ba44ee6a01 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-30Removal of useless stuffsebdet4-621/+3
Removal of useless files and configuration Issue-ID: CLAMP-252 Change-Id: If2c81708d4158404151740ba719fe2dd666c6152 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-26correct vulnerabilityosgn422w1-2/+7
put the correct release version and vulnerability html page Issue-ID: CLAMP-249 Change-Id: I767843965445ac833a9b8805dd5156d18f9a618d Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2018-11-09Fix DCAE status refreshsebdet1-5/+10
Fix the DCAE status refresh that was not done during the loading of the model in Clamp Issue-ID: CLAMP-246 Change-Id: I61ec1de74d46879ba638833bcab5143966d37228 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-02Fix Policy Yamlsebdet1-8/+11
Fix Policy Yaml generation, remove service and resource section + update the actor/recipe Issue-ID: CLAMP-243 Change-Id: Ia1adad6e653e7e85576858f2971f60f7903bfae2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-01Update TCA paramssebdet1-2/+2
Update the TCA parameters as needed for DCAE TCA Issue-ID: CLAMP-242 Change-Id: If55fff4f14bf145d8962ec70c31dd0e25249de54 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-31Fix Payload in policysebdet2-3/+3
Fix payload field in Op Policy, must now be YAML format + fix SO actor value Issue-ID: CLAMP-241 Change-Id: Icce97a0c396fb9ae11c98ace66893066494fcf73 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-24Upgrade to 4.1.3sebdet6-480/+4
Upgrade bootstrap to 4.1.3 (latest) and remove useless bootstrap-theme css Issue-ID: CLAMP-238 Change-Id: I79e9396b8905fbc09eb61fee66e076287068ff53 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-23Update doc and swaggersebdet1-27/+766
Update the reStructuredText doc and swagger Issue-ID: CLAMP-200 Change-Id: I542498410546f3258f1bb01caca85ac025177412 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-16Reformat Dashboard codesebdet1-81/+85
Just reformating the javascript code Change-Id: Ia6a680070151ed0a8d718434893e7219e1f48e7c Issue-ID: CLAMP-235 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-11Fix UI behaviorsebdet2-980/+1098
Fix UI not seeing that the backedn has failed the request + add support to display the errorMessage from backend Issue-ID: CLAMP-228 Change-Id: I6fc58f6d6888a4e140cdf70f403bbcfa07e40ac0 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-08Fix target resourceIdsebdet1-6/+10
Fix target resource id impacted by the code change done for Guard ui bug fix Issue-ID: CLAMP-227 Change-Id: I73751074b7414892ed4de30f894f09be3b72eb17 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-08Fix bug in policy UIsebdet1-32/+44
The notion of formId was not used , therefore only one ResourceTargetId and Guard policytype was supported. Issue-ID: CLAMP-227 Change-Id: Ic60f46e275f59f5598f60158988e9a2f27e20169 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-05Fix aaf addresssebdet1-1/+1
Fix aaf address for HEAT deployment Issue-ID: CLAMP-216 Change-Id: I4fbd2b58670e2cec04692e60a9ed6bd5a8e9ea27 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-03Fix Guard policy Pushsebdet1-7/+5
Fix push to policy of Guard policies due to interface changes Issue-ID: CLAMP-225 Change-Id: If0832385c20824ad86ca53bcaa07e6fa1ad61691 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-09-27Change aaf urlsebdet1-1/+1
Change aaf url according to test on HEAT deployment Issue-ID: CLAMP-216 Change-Id: Idf52778fc250730d45b15304d0e5451684969f46 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-21Add delete testsebdet2-20/+5
Add a test and fix the delete model code that was not working Issue-ID: CLAMP-217 Change-Id: I235200ee0e7dc25ed759b88568333882bfb90c50 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-17Guard policy Backendsebdet4-8/+28
Introduce Guard policy backend code Issue-ID: CLAMP-190 Change-Id: I7d60c6dd700c84607329f5449287465379b94807 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-12Introduce new changes to UIsebdet2-64/+95
Introduce changes to support Guard policy Issue-ID: CLAMP-190 Change-Id: I4bffd2ee2a777ee43884fbf03b6128c0198f98ba Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-12Remove useless codesebdet5-159/+1
Remove useless code in javascript for CLAMP UI Issue-ID: CLAMP-220 Change-Id: Ie08799370079b9c9edaaff9a567458d81ef22eb4 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-05Fix healthchecksebdet5-136/+193
Fix healthcheck and creds system due to AAF changes Issue-ID: CLAMP-213 Change-Id: Idcc9a369ab384a1bba86b80f81a75a4631d8604e Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-03Introduce tosca savingsebdet1-1/+38
Introduce tosca saving for generic Config policy + rest apis Issue-ID: CLAMP-214 Signed-off-by: sebdet <sd378r@intl.att.com> Change-Id: I34431d256b195071ea6f7581fc20aff9a6b9aaf7
2018-09-03Fix Healthchecksebdet2-6/+7
Remove the certificate requirement in Clamp so that healthcheck works Issue-ID: CLAMP-213 Change-Id: I4190f3db475d819d2e5f804b77cba480c4c172cb Signed-off-by: sebdet <sd378r@intl.att.com>
2018-08-17Rework AAF classesDeterme, Sebastien (sd378r)3-21/+22
Rework AAF integration to be more Spring specific + change console log to previous pattern Issue-ID: CLAMP-210 Change-Id: I689269668f64996f2d07491e420062f5ca0ca1db Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-08-14Update Logging Specificationsxg353y1-2/+3
Create our own logging constants to remove the dependency to org.onap.logging-analytics:logging-library Issue-ID: CLAMP-203, CLAMP-204, CLAMP-205 Change-Id: Id231dec1e91390f8f2d10a8eef03528da8ab9be5 Signed-off-by: xg353y <xg353y@intl.att.com>