summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-04-23Merge "Fixed Sonar issues in the onap.clamp.clds.client packages"Sébastien Determe4-11/+20
2019-04-22Fix Checkstyle issuesVidyashree Rama28-149/+237
Fix Checkstyle issues Issue-ID: CLAMP-328 Change-Id: Ic03e0a00094a5de8b592ecd3ce3b9ae0ecdb59f8 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-04-19Merge "Fix Checkstyle issues"Xue Gao26-141/+166
2019-04-19Merge "Improve test coverage in TcaRequestFormatter"Xue Gao1-0/+18
2019-04-19Fix Checkstyle issuesVidyashree Rama26-141/+166
Fix Checkstyle issues Change-Id: I67fa832cc1ac3e4992837a8022bb7673ab81913d Issue-ID: CLAMP-328 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-04-18Improve test coverage in TcaRequestFormatterm.kowalski31-0/+18
Issue-ID: CLAMP-349 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I617261a1a71f0a0007286be9cf09024c71419c68
2019-04-18Removed unused fields from AbstractModelElementp.borelowski6-53/+51
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-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-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 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 changes I6f714a87,If69e3ebb,Iad23cd23Eddy Hautot6-16/+77
* changes: Fix guard payload Add logs Remove the license issue
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 Hautot13-109/+468
* 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 Determe3-32/+32
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 dom4j issuesebdet3-104/+124
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 Gao12-346/+558
2019-04-05Merge "LoopLog repository"Xue Gao18-230/+464
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 Determe5-5/+2058
2019-04-05Introduce Camel routesebdet12-346/+558
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 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 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>