summaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-04-18Removed unused fields from AbstractModelElementp.borelowski5-50/+47
Removed 3 unused private fields from the class org.onap.clamp.clds.model.properties.AbstractModelElement along with the following changes within 4 other classes and 1 test class Change-Id: Id4cc30964ca5478add446601f642c6c0ed190ab7 Issue-ID: CLAMP-347 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-04-17Merge "Removed unused code from GuardPolicyDelegate and ↵Xue Gao2-27/+14
GuardPolicyDeleteDelegate"
2019-04-17Removed unused code from GuardPolicyDelegate and GuardPolicyDeleteDelegatep.borelowski2-27/+14
Removed unused code from GuardPolicyDelegate and GuardPolicyDeleteDelegate according to Sonar Change-Id: I9a58765b4bcf7015b0ca2e3b1dce272358657052 Issue-ID: CLAMP-345 Signed-off-by: p.borelowski <p.borelowski@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 Hautot12-257/+363
* 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 supportsebdet5-182/+89
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 supportsebdet5-11/+73
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 changes I6f714a87,If69e3ebb,Iad23cd23Eddy Hautot3-13/+28
* changes: Fix guard payload Add logs Remove the license issue
2019-04-09Fix guard payloadsebdet1-6/+8
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-09Merge changes Idfa005ff,If9033cfa,I8921cf0dEddy Hautot5-35/+217
* changes: Update sql files Create submit route Fix tomcat issue
2019-04-08Merge "Update cadi to 2.1.10 and updated keystore"Sébastien Determe3-32/+32
2019-04-08Create submit routesebdet5-35/+217
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 dom4j issuesebdet2-66/+96
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 policysebdet2-4/+6
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 Gao7-346/+360
2019-04-05Merge "LoopLog repository"Xue Gao12-122/+256
2019-04-05Update cadi to 2.1.10 and updated keystoreChrisC3-32/+32
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 Determe2-3/+26
2019-04-05Introduce Camel routesebdet7-346/+360
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 repositorysebdet12-122/+256
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 Ngueko58-49/+24
2019-04-04Add new visualizations + new kibana + new LogstashKrysiak Adam58-49/+24
Change-Id: If49336c8402ee826863237f996a659bf6ea7b08d Issue-ID: CLAMP-341 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-04-03Update Csar handlerxg353y2-3/+26
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-29Refactoringsebdet8-54/+40
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 Determe15-26/+426
2019-03-29Merge "Rework the UI"Sébastien Determe2-68/+21
2019-03-29Merge "Rework deploy/undeploy UI"Sébastien Determe9-333/+117
2019-03-29Merge "Rework the deploy/undeploy method"Sébastien Determe6-18/+340
2019-03-29Merge "Create common library for REST"Sébastien Determe2-4/+151
2019-03-28Rework the submit operationxg353y15-26/+426
Rework the logic to create/delete ms config policies. Issue-ID: CLAMP-303 Change-Id: I317e262ab68280a7518a6e31e82e5fcb0a7f94ed Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-26Update SSL certificate for DublinChrisC4-30/+30
Updated keystore for use with Dublin release Expiry is March 26th 2020 Issue-ID: CLAMP-337 Change-Id: Ifd044b02a94bd93fa2320281638c4b3e7daa1d9c Signed-off-by: ChrisC <christophe.closset@intl.att.com>