aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-03Fix log reportingsebdet4-9/+9
Fix loop log reported in UI, in case of failure it's not working correclty Issue-ID: CLAMP-360 Change-Id: I4533c650134b254619523d8c9cfe2791e9b6584b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-02Rework the Model Jsonsebdet9-237/+1212
Rework the model Json returned by the backend to the UI Issue-ID: CLAMP-365 Change-Id: I8b4e24292d62140b4b2e105d8b18042f84e1fd38 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-29Fix bad microservice windowsebdet3-5/+5
Fix the bug where operational policy window is opened in the UI instead of the right microservice one Issue-ID: CLAMP-364 Change-Id: I2fd64f0dd2de54e8498f4cdce2c55fd912fd5f21 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-29Return to alpinesebdet1-8/+12
Add missing library to alpine so the Font libraries can be found by the JVM Issue-ID: CLAMP-361 Change-Id: Ic8f59e614d6eeec234a5ea06073e107194ba22ae Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-29Rollback to Ubuntusebdet1-5/+8
Rollback to ubuntu as alpine seems to lead to issues due to font missing Change-Id: Idca154725701d9bbdae70037a6c35842b5b95e2c Issue-ID: CLAMP-361 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-29Remove http port by defaultsebdet1-1/+1
Remove the http port opened 8080 by default from the build Issue-ID: CLAMP-363 Change-Id: I2079d7e07086278afaa69725005ea0bf050c3a00 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-29Fix csar crashsebdet1-0/+2
Fix the csar crash during csar installation, the crash was located in the sun library probably due to Font missing Issue-ID: CLAMP-361 Change-Id: I0275320240e561c05dad4b8fbbfb3ff7b7baedb4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-26Kick oparent for nowsebdet1-5/+7
Kick oparent so that we can build docker images for testing Issue-ID: CLAMP-359 Change-Id: I85cae11e86c36d38ce508facebb5a6211aa93154 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-26Fix policy Hostssebdet4-25/+36
Add support for PAP(for PDP group) and API host/creds (for policy create/delete) Issue-ID: CLAMP-359 Change-Id: I304193c4f1e77bd6676b32ca3d611da57106e655 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-26Merge "Change Yaml to Json payload"Xue Gao5-5/+25
2019-04-26Merge "Clamp uses new Loop implementation by default"Sébastien Determe12-32/+51
2019-04-26Change Yaml to Json payloadsebdet5-5/+25
Change the operational policy payload from Yaml to a JSon, yaml being embedded as URLEncoded Issue-ID: CLAMP-359 Change-Id: I8c97bb155e6136ce37c29a65a7d9d85e21fedd61 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-26Rework the loggingsebdet2-470/+419
Rework the logging of the policy calls so it's easier to debug it Issue-ID: CLAMP-357 Change-Id: I0ad955de05fef45c4eaae3a6770baefe8e7f0a1f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-25Fix policy callssebdet8-506/+588
Fix policy calls so that the url is now right + update camel version to latest Issue-ID: CLAMP-357 Change-Id: Iffc83f53eb2361d7551b43b28c8e822fbf38c619 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-25Rework code for policy typesebdet11-12/+12
Rework unit tests + test resources and code for policy type renaming Issue-ID: CLAMP-356 Change-Id: Id64c620b42347d6f5535523f33a0a04a54a60fa2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-25Merge "Added more unit tests to reach the minimum threshold of 65 % coverage"Adam Krysiak1-0/+103
2019-04-24Clamp uses new Loop implementation by defaultKrysiak Adam12-32/+51
Change-Id: I274a946af91f6b06d3aa53b8127c94010274e353 Issue-ID: CLAMP-354 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-04-24Added more unit tests to reach the minimum threshold of 65 % coveragep.borelowski1-0/+103
Added unit tests for the class TcaPolicyDeleteDelegate Change-Id: Iadd6e6f0600f3400f29ad21d7b84da09945b36cc Issue-ID: CLAMP-355 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-04-23Fixed various sonar identified code smellsp.borelowski4-308/+300
- introduced a few String constants, - removed unused code, - added @FunctionalInterface annotation, - made most fields private (when possible) Change-Id: If8c523125de6a5e5c756e18bd04efd548b19ba91 Issue-ID: CLAMP-346 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-04-23Merge "Fix logging issues"Sébastien Determe7-571/+1141
2019-04-23Merge "Update tosca lib"Xue Gao1-1/+1
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-23Update tosca libsebdet1-1/+1
Update tosca lib to 1.5.1 in order to have the fix for policy model Issue-ID: CLAMP-352 Change-Id: Id72d54eed2afabcf45ae95866927f398659f7967 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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 Determe9-96/+91
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.kedron9-96/+91
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-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>