aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-09Fix model type searchingsebdet10-27/+39
Change the way we get the model type in the dcaeblueprint Issue-ID: CLAMP-370 Change-Id: I961a20e5d993049c73acd67b6cbfe245e1676dda Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Fix http4 componentsebdet2-57/+79
Fix usage of http4 camel component so that we can use the SSL https connection for any connection Issue-ID: CLAMP-374 Change-Id: Ice982e596f6ac283caef5da48482effa7652add3 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-08Fix URL for PDP Pushsebdet1-2/+2
Fix the URL to push all policies to PDP group so they are all deployed Issue-ID: CLAMP-369 Change-Id: I67c4ccdb597e5b3c67b98fe10a35550f66bd449b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-08Fix flows and error catchingsebdet2-34/+28
Fix flows, remove getLoop at the end and add better error catching in camel flows Issue-ID: CLAMP-369 Change-Id: I473d63d9189daf69e1e4e6d025f06ac586a9f2ab Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-08Merge "Improve test coverage in UserJsonDecoder"Sébastien Determe2-1/+13
2019-05-08Merge "Added unit tests for OperationalPolicyDeleteDelegate"Sébastien Determe1-0/+108
2019-05-08Merge "Fix model_type missing"Gervais-Martial Ngueko12-239/+356
2019-05-08Fix model_type missingsebdet12-239/+356
Fix model missing in some cases (new DCAE Blueprint), also removed useless fields in MicroService Object Issue-ID: CLAMP-370 Change-Id: Ia246b5d58309aceb3168107a4bf76b92b23add7a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-08Merge "Added unit tests for OperationalPolicyDelegate"Sébastien Determe1-0/+125
2019-05-08Add unit tests fot FlowLogOperationm.kowalski31-0/+41
Change-Id: I499ca3ffe5d5f9a6fca4f5b92fc3c5da6a424d37 Issue-ID: CLAMP-355 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
2019-05-07Added unit tests for OperationalPolicyDelegatep.borelowski1-0/+125
Added more unit tests for some of the Delegate classes in the clds/client package to reach the minimum threshold of 65 % coverage (5) Change-Id: I3de0d8580dabc6925c5c8c62ce6424231f20d192 Issue-ID: CLAMP-355 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-05-06Fix PDP group deletesebdet1-3/+3
Fix the PDP group deletion URL that was not correct Issue-ID: CLAMP-369 Change-Id: I552676692fdd7f201f595082a758cbb675ecabbd Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-06Added unit tests for OperationalPolicyDeleteDelegatep.borelowski1-0/+108
Added more unit tests for some of the Delegate classes in the clds/client package to reach the minimum threshold of 65 % coverage (4) Change-Id: Ifd3936f78c33bc0d847191319591a0aab5168e72 Issue-ID: CLAMP-355 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-05-06Fix for PDP groupsebdet1-1/+1
Attempt to fix PDP group push of all policies Issue-ID: CLAMP-369 Change-Id: I6512b1b3924552198bf1912c418ae3af1d929d3d Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-06Fix Guard policy payloadsebdet7-52/+108
Change the guard policy payload as some field were not correct Issue-ID: CLAMP-367 Change-Id: I3f6f200d736e8b3d890ec105849ff0e4506b1510 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-03Fix Policy URLSsebdet1-8/+8
Fix the policy URL as they were wrong for op and guard policies Issue-ID: CLAMP-366 Change-Id: Id6280bd368115665fafac3a1537dad8555ea07ba Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-03Merge "Fix log reporting"Christophe Closset4-9/+9
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-03Fix the bugs in loop state logicxg353y4-35/+294
Fix the bugs in the logic to get the loop state Issue-ID: CLAMP-362 Change-Id: I9d931f1a1ceed3d9e173b3ee742f8e349b7e653f Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-02Merge "Rework the Model Json"Christophe Closset9-237/+1212
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-30Merge "Fix the get loop state logic"Sébastien Determe8-95/+510
2019-04-30Fix the get loop state logicxg353y8-95/+510
Fix the logic to get the loop state and update the CL deploy/undeploy flow accordingly Issue-ID: CLAMP-362 Change-Id: I34f83bd241b1029417453908bf932c0b69f9f5b2 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-04-30Improve test coverage in UserJsonDecoderm.kowalski32-1/+13
Change-Id: I891e78720d47c015ab4f9e130f345797b0110d64 Issue-ID: CLAMP-348 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.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