aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
AgeCommit message (Collapse)AuthorFilesLines
2022-07-29Remove path from docker image namesliamfallon1-2/+2
Having the docker.io path in the image name can cause interference problems when building the images locally. Issue-ID: POLICY-4224 Change-Id: I6b606191fb91b64554ddfe471c9fe412a1c86508 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-07-14Remove usage of jackson libraries from clamp runtime acmFrancescoFioraEst3-77/+0
Issue-ID: POLICY-4105 Change-Id: I04488a8a246e4c161e9a9eca86634844aba27872 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-07-11Upgrade OpenSuse version to 15.4 for clampdanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I62c7823b6d14c6b3098f5bae6c6c141adbdba425
2022-06-28OCI image spec labels for clamp backenddanielhanrahan3-5/+46
Issue-ID: POLICY-4259 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic99842c14f26af5c58ff7000c13a1a5d19077869
2022-06-03Merge "Remove old clamp frontend files"Liam Fallon8-260/+1
2022-06-01OpenSuse docker file for policy-clamp-backenddanielhanrahan2-2/+66
Issue-ID: POLICY-4191 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ifba7377f64006c434c635c6439345a1cd4ce0729
2022-06-01Remove old clamp frontend filesdanielhanrahan8-261/+2
Delete unused dockerfile, config files, and certs for old clamp frontend Update README to remove references to old clamp frontend Issue-ID: POLICY-3358 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I33fa066c921526cdbb210fc576e2de04cb53dc75
2022-05-25Added Edit Instance Properties Functionalitybrunomilitzer4-9/+139
Issue-ID: POLICY-4094 Change-Id: Id52dba3c0912486fa551697be170c05542a0ee22 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-05-03Set snapshot and/or references of policy/clamp for new releaseliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icf5d09aafb4ff088dd9e6c3268859753c0a3c06a Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib28160e231fbfe1124cd49d29ca9e3d538a1cbfd
2022-04-22Use policy/parent for dependency managementliamfallon2-18/+12
We use policy/parent for dependency management so that we can control the spring and spring boot versions that are pulled in. Issue-ID: POLICY-4070 Change-Id: I1f8da1f1eb660c748110ecc25ca445c3c9cb202e Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-12Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifd4eb766f4070811f8100eb27f58ef2618b1dd22
2022-04-12Fix CLAMP staging example dependencyliamfallon1-0/+5
The internal dependencies in CLAMP did not have the dependency from models and runtime to examples. Issue-ID: POLICY-4089 Change-Id: I0ce3176b5a346b1a8efdbc65e4773dd5f212b9fd Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I45033a8f834d30ce188f122519c56af92ca26847
2022-02-18Rename TOSCA Control Loop to ACMliamfallon9-94/+95
This commit renames the TOSCA Control Loop functionality in CLAMP to Automation Composition Management. This review is a direct renaming review and, as everything is renamed together it is large. Issue-ID: POLICY-3939 Change-Id: I28f0a6dd889bf3570a4c1365ae9e71fc58db6d6c Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-11Remove Clamp GUI from Clamp RepoFrancescoFioraEst94-13639/+9
Remove Clamp GUI code from CLAMP repo, as this is moved to a common policy GUI repo Issue-ID: POLICY-3358 Change-Id: Idcdc60086c448e1de0b00626337b51b599a8d08d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-01-27Fix for authorization error on clamp besaul.gill1-0/+2
Issue where requests from policy-gui were intermittently rejected toscaControlLoop path was not registered cadi filter Issue-ID: CLAMP-1029 Change-Id: I142ecdc255b0b917202e4ec3471199bf7992928d Signed-off-by: saul.gill <saul.gill@est.tech>
2021-11-29Update snapshot of policy/clamp to 6.2.1-SNAPSHOTliamfallon1-1/+1
*** This commit is generated by a PF release script *** policy/clamp is update from 6.2.0-SNAPSHOT to 6.2.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I17a89cf934c6319392d2a9304f10763d29cca8bd
2021-11-26Merge "Code Coverage clamp runtime"Ajith Sreekumar2-0/+159
2021-11-25Code Coverage clamp runtimelapentafd2-0/+159
Issue-ID: POLICY-3452 Change-Id: I2ef9edd6bbbf5bdf12e9dccfde0d170d01191336 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-22Added Camel Unit Testsbrunomilitzer4-13/+52
Added two camel unit tests related to deleting tosca instance properties and the other to change the order state. Removed name and version paramaters in create instance properties camel rest endpoint. Issue-ID: POLICY-3568 Change-Id: I6cec03545263055eb7c6be2798dd5c8fe5a646b6 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-11-22Merge "Added Camel Unit Tests"Liam Fallon7-12/+43
2021-11-19Merge "Align ui-react file in policy-clamp and policy-gui"Ajith Sreekumar2-147/+147
2021-11-18Added Camel Unit Testsbrunomilitzer7-12/+43
Added Camel Unit Tests to test creation of instance properties Updated credentials for Rest End point Issue-ID: POLICY-3565 Change-Id: I0899d3052588822f02a8a003eb4bc406bc887713 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-11-17Align ui-react file in policy-clamp and policy-guiliamfallon2-147/+147
When the ui-react code was transferred to policy-gui, the white space was cleaned up and reformatted. This makes it difficult to track the real functional changes if any between ui-react in policy-clamp and policy-gui. This review brings more white space changes into ui-react in policy-clamp to make file comparisons easier. Issue-ID: POLICY-3358 Change-Id: I22bc07f795c725097adba20c3dac176a39a54c91 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-17Merge "Added Camel Unit Tests For Monitoring"Liam Fallon3-2/+104
2021-11-16Added Camel Unit Tests For Monitoringbrunomilitzer3-2/+104
Issue-ID: POLICY-3562 Change-Id: I2270d4c24988258c3ac3428cd70eff29a873df17 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-11-15Align ui-react file in policy-clamp and policy-guiliamfallon4-687/+695
When the ui-react code was transferred to policy-gui, the white space was cleaned up and reformatted. This makes it difficult to track the real functional changes if any between ui-react in policy-clamp and policy-gui. This review brings more white space changes into ui-react in policy-clamp to make file comparisons easier. Issue-ID: POLICY-3358 Change-Id: Ie65d5bb664e6f43fe2f8a4342cf679e34ced18b8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-15Merge "Fixed Third Party Proxy File"Liam Fallon1-54/+58
2021-11-12Fixed Third Party Proxy Filebrunomilitzer1-54/+58
Fixed third_party_proxy file which needed to wrap the content inside print with brackets Updated gitignore to ignore python enviroment files Issue-ID: POLICY-3818 Change-Id: I608868b55b693375c69b17eb11aa47bfd9908747 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-11-10Align ui-react file in policy-clamp and policy-guiliamfallon51-4627/+4732
When the ui-react code was transferred to policy-gui, the white space was cleaned up and reformatted. This makes it difficult to track the real functional changes if any between ui-react in policy-clamp and policy-gui. This review brings the white space changes into ui-react in policy-clamp to make file comparisons easier. Issue-ID: POLICY-3358 Change-Id: Ic303e71b341e5c0f7ca0de0ed4c4962ebf2f988a Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/clamp to Jakarta 6.2.0-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I4dfc0532e30106478c89182f7c2cd573c168a634 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/clamp to 6.1.4-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: Icef72d76b53fa09c0f88d71431ae5a13d441c787 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-11Fix delete action in design statesebdet3-11/+11
It can still happen due to DCAE deployment, so this patch should fix it. + Fix test due to changes done in DCAE camel flows Issue-ID: POLICY-3707 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I0f439fc029354a0632b2b17a452b7811df90492a
2021-10-08Fix delete instance in Design statesebdet4-4/+14
The "delete" flow should not crash when policies have not been deployed yet. + Fix DCAE logs (set to DCAe component) + Fix the STDOUT that should contain the error logs as requested by OOM team Issue-ID: POLICY-3707 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I15951106280f4e781ee2f3140fa72a935d54f241
2021-10-01Suppress useless nginx error messages in clamp-fedanielhanrahan1-2/+2
Log only warnings and higher in nginx error log Issue-ID: POLICY-3683 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If5d56ceb4d63381616c747d68e231566d7ecc03c
2021-09-29Add Instant Serializer/deserializersebdet2-7/+43
In order to decode the PdpGroup Json properly the instant serializer/deserializer must be added. Issue-ID: POLICY-3684 Issue-ID: POLICY-3682 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I25d96fa3293d8338a2cb6073083121c7663f19b4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-09-15Bump policy-clamp snapshot version to 6.1.3-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: Ie3e6aba3a2dd64f36fcf5cbd860fe9b63ee4e8aa Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Disable swagger pdf/html generationliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I8a6ad2f18e8de71c03b6729c241c3c64a480c4f1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-14Fixed Maven Clean Issue with Node Dependenciesbrunomilitzer2-0/+63
Issue-ID: POLICY-3641 Change-Id: I55f8cb95b21690834dcb8fce29dadd809a944705 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-09-09Fixed Delete Instance Properties Endpointbrunomilitzer2-3/+158
Fixed issue regarding that control loops was not getting instantiated Fixed issue regarding state change that was not receiving paramaters Added appropriate Camel Endpoints Unit tests will be applied on POLICY-3568 and POLICY-3567 Issue-ID: POLICY-3558 Change-Id: I11a1093bdb16651fe1c0ad8e267ded5390267a30 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-09-02Fix eclipse warnings in clampJim Hahn11-117/+108
Fixed some of these warnings, just in policy-clamp-runtime: - equals() with wrong argument type in junit - remove unneeded "SuppressWarning" - unused fields - deprecated classes/methods Fixed some sonars, too: - use isEqualByComparingTo() - method complexity: used eclipse to auto-extract methods Fixed checkstyle issues: - indentation level Did not address all deprecation issues (e.g., SSLSocketFactory). Issue-ID: POLICY-3200 Change-Id: Ibd92e5326854002dc0ca2d7b3b777699cafb5e98 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-27clamp sonar fix on test code and the restTaka Cho48-155/+142
- rename files to "...ItTestCase" to comply SONAR and checkstyle - surefire plugin include *Test.java files - failsafe plugin include *ItTestCase.java files - use assertEquals etc. - replace to "var" - remove unused import Issue-ID: POLICY-3452 Change-Id: I2e6e829726c4585f5f8bc985f4e8f2b88d17aef1 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-24Merge "clamp sonar fix on runtime dir"Jorge Hernandez55-302/+328
2021-08-24Merge "Add Create Instance Rest Endpoint"Liam Fallon2-1/+69
2021-08-23clamp sonar fix on runtime dirTaka Cho55-302/+328
- most of fixes are changed to "var" - Exceptions should be either logged or rethrown but not both - Ternary operators should not be nested - "String#replace" should be preferred to "String#replaceAll" - Annotation repetitions should not be wrapped - "throws" declarations should not be superfluous Issue-ID: POLICY-3452 Change-Id: I8894539aa25a8271410fe79c8d898a45a7a4db31 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-23Add Create Instance Rest Endpointbrunomilitzer2-1/+69
Added Camel Endpoint Will Apply Unit Tests on POLICY-3537, since focus is to get the functionalities completed. Issue-ID: POLICY-3436 Change-Id: I8305896b24c30fc0403c57b3925af983065a5ec2 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-08-20sonar fix for clampTaka Cho2-4/+3
- bug: added InterruptedException for sleep - vulns: two false positve - removed some unused import - changed to use var for local variable Issue-ID: POLICY-3452 Change-Id: I8b4be1378a2aad8f68562b63f70853832673ce97 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-20ADD Change State Control Loop Definitionbrunomilitzer2-0/+61
Issue-ID: POLICY-3425 Change-Id: I0898feefd0d63802e90c1c191d1ac1f14f7df389 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-08-11refactor LoggerMarkerFilter to common repoTaka Cho1-3/+3
logback.xml should point to common repo instead Issue-ID: POLICY-3087 Change-Id: I5cdf1ea081274737870c6456e9fa0ee601ee741e Signed-off-by: Taka Cho <takamune.cho@att.com>