aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-17Fixed Sonar issues in the onap.clamp.clds.client packagesk.kedron4-11/+20
Fixed Sonar issues: - change the HasMap to more optimized(in this case) EnumMap in GuardPolicyAttributesConstructor - remove no necessary casting in the TcaRequestFormatter - remove not used value in the DcaeDispatcherServices Additionally correct javadoc in PolicyClient. Change-Id: I6435fe093248073fee9749366e98d5720a8fe375 Issue-ID: CLAMP-346 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-04-17Fixed Sonar vulnerabilities in CldsDaok.kedron1-33/+50
Fixed Sonar vulnerabilities in CldsDao: - used StringBuilder instead of String concatenation to build the query Change-Id: Idc5fb50eae240352edd93329398eca0ef1b3d1f8 Issue-ID: CLAMP-344 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-04-16Merge "Removed code duplication in PolicyClient"Xue Gao1-14/+7
2019-04-16Removed code duplication in PolicyClientk.kedron1-14/+7
Removed code duplication in PolicyClient according to Sonar analysis Change-Id: I7fd7bdee228eb80661a8416ffc0aab0b2e8c7e04 Issue-ID: CLAMP-343 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-04-16Fix Checkstyle issuesVidyashree Rama21-39/+75
Fix Checkstyle issues Issue-ID: CLAMP-328 Change-Id: Idecd87abbf3765a7e77e2219df1063e732bb04b0 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-04-11Fix PolicyID for DCAEsebdet1-5/+6
Replace PolicyID by the real microservice policy name as it's known in the csar installer code Issue-ID: CLAMP-304 Change-Id: Ifbd1796cb52b6271218fe63927af32ec392ed81a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-11Add Start/stop routessebdet2-28/+59
Add Start/stop routes for policy control, it's obviously working the PDP group Issue-ID: CLAMP-303 Change-Id: I16cafa46ee39b6114af9b36f7382b7c2401edaf1 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-11Add Log in UIsebdet6-385/+403
Add log in UI from Loop logs table so that user see what has been done Issue-ID: CLAMP-313 Change-Id: I673a46e7b867852179b32d163241de67b300b07c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-11Add pdp groupsebdet3-50/+136
Add pdp group code to add/remove policies from active PDP group Issue-ID: CLAMP-303 Change-Id: I3fcffd229bc7703231b813948aac14ce63437127 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-11Add Loop namesebdet4-148/+3
Add Loop name in UI + removal of useless javascript code Issue-ID: CLAMP-313 Change-Id: Iba72f3bfcf2a0bf2731120c77b17f41ed7ac77f6 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-10Merge changes I8c744a32,Id357ac37,I7df87e14,I2abd173c,Ie53b1dfdEddy Hautot15-259/+444
* changes: Add timeout + Creds Remove SQL Dump Add delete support Rework Gson in Camel PDP Group support
2019-04-10Add timeout + Credssebdet1-7/+7
Add Creds and timeout to queries done to policy Engine in CAMEL routes Issue-ID: CLAMP-303 Change-Id: I8c744a3272e139e5968751bcece7c53612c23904 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-10Remove SQL Dumpsebdet2-2/+2
Remove SQL dump in logs done by hibernate Issue-ID: CLAMP-254 Change-Id: Id357ac37dfa475a9774d0b2c3b5f254c84caa9d7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-10Add delete supportsebdet6-182/+132
Move delete code to Camel way so that it's more flexible + introduce removal of the loop + test Issue-ID: CLAMP-315 Change-Id: I7df87e1441d4511ad6b42d0d269c3b2c8c7d8eef Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-10Rework Gson in Camelsebdet4-64/+201
Create new Camel DataFormat class to handle the Clamp JSon model specific type Issue-ID: CLAMP-303 Change-Id: I2abd173c7d2a96a03d333a8def4307bc3cf082d7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-09PDP Group supportsebdet7-13/+111
Add support to push all policies to pdp group + log Issue-ID: CLAMP-303 Change-Id: Ie53b1dfd11ef8db9c2b5ccca0511e6f6343fb70a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-09Merge "update certificate"Gervais-Martial Ngueko1-0/+16
2019-04-09Merge changes I6f714a87,If69e3ebb,Iad23cd23Eddy Hautot6-16/+77
* changes: Fix guard payload Add logs Remove the license issue
2019-04-09update certificateosgn422w1-0/+16
update expiring AAF certificates Issue-ID: CLAMP-335 Change-Id: I99200cc1851ad9768ff01f008525633f9800c76f Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-04-09Fix guard payloadsebdet3-9/+57
Fix guard payload nullpointerException when guard list is empty or null Issue-ID: CLAMP-303 Change-Id: I6f714a877036cbc531dd35505202dde227cc224a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-09Add logssebdet2-7/+20
Add logs entries in loop database so that we can track what is going on Issue-ID: CLAMP-303 Change-Id: If69e3ebbb9f96e4bc3a95b06e61eaa301bd32007 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-09Remove the license issuesebdet1-0/+0
Remove license issue in csar that was generated by SDC Issue-ID: CLAMP-338 Change-Id: Iad23cd23b7c5ad79d2443188f461614b169f8d85 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-09Merge changes Idfa005ff,If9033cfa,I8921cf0dEddy Hautot14-110/+469
* changes: Update sql files Create submit route Fix tomcat issue
2019-04-09Update sql filessebdet2-62/+217
Update sql files to provision the new database and new loop model Issue-ID: CLAMP-276 Change-Id: Idfa005ff5eb431abea02a0ceea6c6a65f57b3f29 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-08Merge "Update cadi to 2.1.10 and updated keystore"Sébastien Determe6-40/+40
2019-04-08Create submit routesebdet11-47/+251
Create required components for Submit route in camel + unit tests + Policy payload generation + emulator feature for new policy api Issue-ID: CLAMP-303 Change-Id: If9033cfa3f4e346e2cbd7f891baff1f2c04a40a2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-08Fix tomcat issuesebdet1-1/+1
Fix tomcat severity issue reported by Nexus IQ due to dom4j fix Issue-ID: CLAMP-338 Change-Id: I8921cf0dbee5351c98d8b12ea3f3c0a76afed595 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-08Fix dom4j issuesebdet4-106/+127
Upgrade Spring and Camel to latest version so that it fixes thesecurity issues Issue-ID: CLAMP-338 Change-Id: I214ac3520be3c388ec2f7e715b7d37e0db5d5a9c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-08Fix config policysebdet6-6/+13
Fix saving of config policy due to refactoring + fix missing model type in config policy Issue-ID: CLAMP-303 Change-Id: I863f3bb6b2acef8ed7bf534e142c1730b1493b67 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-05Merge "Introduce Camel route"Xue Gao14-347/+562
2019-04-05Merge "LoopLog repository"Xue Gao18-230/+464
2019-04-05Update cadi to 2.1.10 and updated keystoreChrisC6-40/+40
Updated cadi for Dublin Issue-ID: CLAMP-337 Change-Id: I71e02369e8aa0a23250c94c68fcd9cf434de4414 Signed-off-by: ChrisC <christophe.closset@intl.att.com>
2019-04-05Rework the Op policy UIxg353y2-24/+74
Rework the op policy UI, fix some bugs while saving op policy properties. Issue-ID: CLAMP-330 Change-Id: Id21f86c239e4e880a0a7ea08d0ed4b56bc05b4fb Signed-off-by: xg353y <xg353y@intl.att.com>
2019-04-05Merge "E2E Automation"Sébastien Determe2-10/+101
2019-04-05Merge "E2E Automation"Sébastien Determe3-18/+74
2019-04-05Merge "Update Csar handler"Sébastien Determe5-5/+2058
2019-04-05Introduce Camel routesebdet14-347/+562
Camel route for Submit operation using http4 component Issue-ID: CLAMP-303 Change-Id: I29804a7db6286dfa84f7eed63813f25299a385e6 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-05LoopLog repositorysebdet18-230/+464
Introduction of the loop log repo + refactoring Issue-ID: CLAMP-303 Change-Id: I3e806993d35f82fd9258e55592391a48eb7e199f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-04E2E AutomationThamlurRaju2-10/+101
Modifications to operation policy with additional model related IDs Change-Id: Ic99b0646814a64682c7ea90c9a3638993e9d9c5c Issue-ID: CLAMP-309 Signed-off-by: ThamlurRaju <TR00568434@TechMahindra.com>
2019-04-04E2E AutomationThamlurRaju3-18/+74
GUI modifications for operation policy Change-Id: Icd2ff83a991899efaa986b4f15549c2bfd82b63e Issue-ID: CLAMP-308 Signed-off-by: ThamlurRaju <TR00568434@TechMahindra.com>
2019-04-04Merge "Add new visualizations + new kibana + new Logstash"Gervais-Martial Ngueko59-50/+25
2019-04-04Add new visualizations + new kibana + new LogstashKrysiak Adam59-50/+25
Change-Id: If49336c8402ee826863237f996a659bf6ea7b08d Issue-ID: CLAMP-341 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-04-03Update Csar handlerxg353y5-5/+2058
Update Csar handler, return the content of policies.yaml concatenateed with data.yaml while getting the policy model yaml. Issue-ID: CLAMP-261 Change-Id: I8ef7bcb9b2daaea37f13ca9d3ad9f38b889d6041 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-29Refactoringsebdet11-66/+51
Small refactoring of the Http library Issue-ID: CLAMP-333 Change-Id: I90a5488241ab84636bc0cec5849e97c4f98f3a38 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-29Draft operational policy reworksebdet6-636/+363
Operational policy Ui rework, removal of useless code and new json format output sent to backend Issue-ID: CLAMP-330 Change-Id: I2261f6bdcdb6b9864dddba26f5f7ec6c684ff018 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-29Move Javascript codesebdet4-868/+851
Move js code outstide of the html page so that we can debug it Issue-ID: CLAMP-330 Change-Id: Iba5a61f7a001f0bd73f99b340380b5d6a1383831 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-29Merge "Rework the submit operation"Sébastien Determe28-77/+492
2019-03-29Merge "Rework the UI"Sébastien Determe2-68/+21
2019-03-29Merge "Rework deploy/undeploy UI"Sébastien Determe12-361/+146
2019-03-29Merge "Rework the deploy/undeploy method"Sébastien Determe6-18/+340