summaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-04-23Merge "Fix logging issues"Sébastien Determe7-571/+1141
2019-04-23Fix logging issuesxg353y7-571/+1141
Fix the logging issues created by the api defined by camel. Adding the entering/exiting and invoking/invoking return logs as based on the ONAP Logging Requirement. Issue-ID: CLAMP-351 Change-Id: I5cb314ade5a716993206a917dfdbdab3f2572b3a Signed-off-by: xg353y <xg353y@intl.att.com>
2019-04-23Merge "Fixed generic Sonar issue in the clamp project Remove duplicated ↵Sébastien Determe1-4/+7
literal in DefaultUserConfiguration"
2019-04-23Merge "Replacing the VFC with VFModule"Sébastien Determe3-24/+25
2019-04-23Fixed generic Sonar issue in the clamp projectm.kowalski31-4/+7
Remove duplicated literal in DefaultUserConfiguration Change-Id: I8318b568d4dd093e9a57a30341ce607c6668c5d1 Issue-ID: CLAMP-346 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
2019-04-23Merge "Fixed generic Sonar issue in the clamp project"Sébastien Determe8-92/+87
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-19Replacing the VFC with VFModuleThamlurRaju3-24/+25
GUI modifications for operation policy Change-Id: I21fd7bc499ba799a0b8436b1946733608d9c62e2 Issue-ID: CLAMP-350 Signed-off-by: ThamlurRaju <TR00568434@TechMahindra.com>
2019-04-19Fixed generic Sonar issue in the clamp projectk.kedron8-92/+87
Fixed Sonar issue: - name convection for static field in AuthorizationController - optimize condition flow in AuthorizationController - remove not used import in BlueprintParserMappingConfiguration - remove not used field in AuthorizationController, SdcControllersConfiguration, CldsService - add private constructor to the AwtUtils - change redundant EnableAutoConfiguration annotation to SpringBootApplication annotation - remove duplications of code in the CldsDao Change-Id: I49d8be9ec44b5930f76bace0fc9d8cf61ee000f5 Issue-ID: CLAMP-346 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-04-19Merge "Fix Checkstyle issues"Xue Gao26-141/+166
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-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-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 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>