summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-06-05Rework the loop statesebdet14-339/+694
Rework the state loop so there is no bug in the loop state anymore, now the components are scanned + upgrade to 4.0.4 Issue-ID: CLAMP-384 Change-Id: If7649238ee52864c84bfb9b6b8471d1738752e29 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-04Merge "Text Inside Clamp box is not resizing"Sébastien Determe3-9/+28
2019-06-04Merge "Added more unit tests and fix import"Sébastien Determe1-2/+2
2019-06-04Merge "Improve unit tests and sonar fixes"Sébastien Determe3-1/+15
2019-06-04Text Inside Clamp box is not resizingPiotr Darosz3-9/+28
Resizable text in Clamp boxes, better drawing space utilization. Change-Id: If6c79b22729730a8c243845b3288724f1c611b8a Issue-ID: CLAMP-402 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-06-04Merge "Fixed Checkstyle issues"Adam Krysiak5-42/+54
2019-05-28Fix the op policy payloadDeterme, Sebastien (sd378r)5-15/+193
Fix the operational policy payload as it was not the one expected by policy engine + rollback staging plugin Issue-ID: CLAMP-395 Change-Id: I7b690eb02f50617b7aa402266c13aafa82f5b59b Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-24Fix op policy payloadDeterme, Sebastien (sd378r)1-1/+8
The payload should contain a different content value, not the entire yaml Issue-ID: CLAMP-395 Change-Id: I7311caffed554f3c97ef7e07c729266a4fe30940 Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-20Merge "Improve the loop logs view"Sébastien Determe1-1/+1
2019-05-17Improve the loop logs viewxg353y1-1/+1
Move the loop log table down; color the log level; adjust the proportion of the log attributes; adjust the location of the Loop view and the log table. Issue-ID: CLAMP-388 Change-Id: Ifec6da8dfb330304c8adffbb3257d325e234aa17 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-16Fixed Checkstyle issuesp.borelowski5-42/+54
Fixed most audit checkstyle issues in the five java files Change-Id: I73862820e662893106bfa1493e5be4791e98011b Issue-ID: CLAMP-328 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-05-13Fix loop ordersebdet1-1/+1
Change the field for the sorting so that we see the logs in the right order Issue-ID: CLAMP-383 Change-Id: I1b423315f64252ac3dca1c34d2207f16f3a85418 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-13Update the order of the loop logxg353y1-0/+2
Update the order of the loop log, so that the latest log will be shown on the top. Issue-ID: CLAMP-383 Change-Id: I8d377f923f2bdd80deb5db1828f36cc4adc76a9f Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-09Fix dcae url statussebdet1-6/+7
Set it to null when undeploy is successful Issue-ID: CLAMP-376 Change-Id: I0c7f7b2e1464bcd72ece47f5d89730de1718b636 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Generate Random UUID for DCAEsebdet1-26/+48
Generate random UUI for DCAE deployment during deploy action Issue-ID: CLAMP-376 Change-Id: Idfc1959891738f0142d2c20e1f43f1ad45d8eaa7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Merge "Fix the deploy cl payload issue"Sébastien Determe1-62/+7
2019-05-09Fix the deploy cl payload issuexg353y1-62/+7
Update the deploy cl payload to contain only the deployment parameters instead of the whole blue print. Issue-ID: CLAMP-375 Change-Id: Iecc13bf8d43c87f9ff7792a76170d36ea972dbd5 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-09Fix model type searchingsebdet1-16/+23
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 model_type missingsebdet2-25/+33
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-06Improve unit tests and sonar fixesk.kedron3-1/+15
Add more test to CryptoUtilsTest and JsonUtilsTest. Correct sonar issue in CldsServiceItCase test - checking if stream is not null. Remove unused import in CldsHealthcheckServiceItCase. Remove unused field in DocumentBuilderTest. Add private constructor in PrincipalUtils and XmlTools. Add FEATURE_SECURE_PROCESSING feature to TransformerFactory. Change-Id: Ieeb561352697c131ebf11bc43162f63ea7096e81 Issue-ID: CLAMP-355 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-05-06Fix Guard policy payloadsebdet2-1/+57
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-03Merge "Fix log reporting"Christophe Closset1-1/+1
2019-05-03Fix log reportingsebdet1-1/+1
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 logicxg353y1-9/+31
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 Closset1-11/+41
2019-05-02Rework the Model Jsonsebdet1-11/+41
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 Determe2-93/+154
2019-04-30Fix the get loop state logicxg353y2-93/+154
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-30Added more unit tests and fix importk.kedron1-2/+2
Added more unit tests to the AuthorizationControllerCase Fix import in the AuthorizationController class Change-Id: I197015f522b3f07963cec2a23d568ed8b943f504 Issue-ID: CLAMP-355 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-04-29Fix bad microservice windowsebdet1-1/+1
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-26Merge "Change Yaml to Json payload"Xue Gao2-3/+17
2019-04-26Merge "Clamp uses new Loop implementation by default"Sébastien Determe7-29/+36
2019-04-26Change Yaml to Json payloadsebdet2-3/+17
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-25Fix policy callssebdet1-11/+9
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 typesebdet2-2/+2
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-24Clamp uses new Loop implementation by defaultKrysiak Adam7-29/+36
Change-Id: I274a946af91f6b06d3aa53b8127c94010274e353 Issue-ID: CLAMP-354 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.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 Determe4-387/+535
2019-04-23Fix logging issuesxg353y4-387/+535
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-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-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"