aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
AgeCommit message (Collapse)AuthorFilesLines
2021-07-08Add Camel Endpoint ControlLoop Instantiationbrunomilitzer2-0/+68
Added Camel Endpoint so that it connects with the ControlLoop Rest endpoint to create a new instantiation. Issue-ID: POLICY-3436 Change-Id: Idf3bda8a6226f57836d887f9d7a7b66327446858 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-07-06Fixed failing camel endpoint testsaul.gill1-1/+1
Previously passed integration test failing Simple fix of the URL in the route Issue-ID: POLICY-3440 Change-Id: Icd1fcd3e27c3ec632ee07c2ae1bdb2126342cf16 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-07-05Merge "Added ITs for Commissioning Camel Endpoints"Liam Fallon10-144/+167
2021-07-02Added ITs for Commissioning Camel Endpointssaul.gill10-144/+167
Changed emulator to deal with new endpoint tests Added spring property to deal with camel endpoint issue Fixed lingering checkstyle violations Issue-ID: POLICY-3440 Change-Id: I5810913c4418e7893f3ad848618deec1b1a85a0f Signed-off-by: saul.gill <saul.gill@est.tech>
2021-07-01Restore swagger generation in CLAMPliamfallon5-69038/+21
THis patch restores the Swagger generation in CLAMP. It changes the target directory for the swagger generation to be the target directory rather than storing the generated Swagger files in the source repository. The reason for this is that it avolds the swagger.json, the swagger.html, and the swagger.pdf files being generated each time a build is done and being checked in multiple times. The swagger files will be produced as an artifact from the build in a later review when all the swagger documentation for CLAMP is consolidated. Issue-ID: POLICY-3209 Change-Id: I6ccb446d01509232bbd4230b76bd7950858e1437 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-30Update CLAMP: checkstyle 8.43/Spring dependenciesliamfallon11-651/+555
Updates are indentation changes on annotations and rationallization of the dependencies for Spring/Springboot Generation of swagger.json, swagger.html and swagger.pdf temporarily disabled due to a missing dependency in the generation toolchain. Issue-ID: POLICY-3209 Change-Id: Iff5881df45ef54b20fa30f63e2393cc1cdbf4bfe Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-22Added Camel Endpoint for Tosca Instantiationbrunomilitzer2-0/+58
Endpoint redirects GET to runtime instantiation Issue-ID: POLICY-3357 Change-Id: Idf733c2803be2f6ab5cc681d583c1c6b46b2ce96 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-06-22Merge "Re clean up clamp project properties and dependencies"Liam Fallon1-37/+15
2021-06-21Merge "Added Camel Endpoint for Tosca Template Upload"Jim Hahn6-3018/+4161
2021-06-20Merge "Clean up CLAMP Sonar and checkstyle issues"Liam Fallon35-329/+328
2021-06-18Re clean up clamp project properties and dependenciesryanSheehan1-37/+15
Remove version duplication from clamp projects runtime, dcae kubernetes, policy participant and simulator Issue-ID: POLICY-3308 Change-Id: I316b3b0313608c5d17c9692f44d653afabc2d596 Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
2021-06-17Added Camel Endpoint for Tosca Template Uploadsaul.gill6-3018/+4161
Endpoint redirects a POST to runtime commissiong API Tosca Service Template is written to the database Issue-ID: POLICY-3222 Change-Id: I9ca6b0b3fdbef4bf9a182795112de5280ec7f9ff Signed-off-by: saul.gill <saul.gill@est.tech>
2021-06-17Clean up CLAMP Sonar and checkstyle issuesliamfallon35-329/+328
This commit cleans up sonar and checkstyle issues identified in the CLAMP repository. Issue-ID: POLICY-3206 Change-Id: I16b61bbe771cc17de15183a24b2a5e82a8d35872 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-17Prepare controlloop docker imagesSirisha_Manchikanti1-10/+0
Generate runtime, policy-participant and dcae-participant docker images. Issue-ID: POLICY-3320 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I310fd2a098aa48a6a50a9bf6bd2bcb55328f4973
2021-06-16Merge "Remove duplicate properties in clamp repo"Liam Fallon1-30/+8
2021-06-15Merge "Create camel endpoint to get tosca from runtime"Liam Fallon10-118/+63637
2021-06-11Create camel endpoint to get tosca from runtimesaul.gill10-118/+63637
Endpoint points to Runtime Tosca Service Template endpoint Added new authorization role for control loop Credentials in configuration file Issue-ID: POLICY-3222 Change-Id: I86f8cc5751547abfa15e10903d7e2fb2854f1ece Signed-off-by: saul.gill <saul.gill@est.tech>
2021-06-10Remove duplicate properties in clamp reporyanSheehan1-30/+8
Removes properties, dependency and plugin versioning duplication from dcae-participant and runtime, future reviews will handle other participants like kubernetes Issue-Id: POLICY-3308 Change-Id: I98f9a36e9f984766b469c862f3298ca9120657e4 Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
2021-06-09Initial commit for kubernetes participant in CLAMPliamfallon1-1/+0
Spring application that exposes REST end points for installing, uninstalling, onboarding and deleting of helm charts to/from local directory. CL runtime can also trigger installation and uninstallation of helm charts from both local and configured helm repositories. Junits will be committed as a separate review. Issue-ID: POLICY-3240 Change-Id: I7633b6fd6ad41fc8fa55d3722e44f1b2ec132e50 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-05-26Transfer tosca-poc onto masterliamfallon1-1/+1
This is the third if three commits, this commit makes the content of the master branch the same as the tosca-poc branch. This commit adds the "src" files for TOSCA control loops to the modules in master. Difference between this commit and the current master: ------------------------------------------------------ diff -qr clamp clamp-master |diff_filter.sh Only in clamp/common: src Only in clamp/models: src Files clamp/participant/participant-impl/participant-impl-dcae/pom.xml and clamp-master/participant/participant-impl/participant-impl-dcae/pom.xml differ Only in clamp/participant/participant-impl/participant-impl-dcae: src Only in clamp/participant/participant-impl/participant-impl-policy: src Only in clamp/participant/participant-impl/participant-impl-simulator: src Files clamp/participant/participant-impl/pom.xml and clamp-master/participant/participant-impl/pom.xml differ Only in clamp/participant/participant-intermediary: src Files clamp/participant/pom.xml and clamp-master/participant/pom.xml differ Files clamp/pom.xml and clamp-master/pom.xml differ Files clamp/runtime/pom.xml and clamp-master/runtime/pom.xml differ Only in clamp: runtime-controlloop Difference between this commit and the current tosca-poc branch: ---------------------------------------------------------------- diff -qr clamp clamp-tp |diff_filter.sh Files clamp/INFO.yaml and clamp-tp/INFO.yaml differ Only in clamp/releases: 6.0.1-container.yaml Only in clamp/releases: 6.0.1.yaml Only in clamp/releases: 6.0.2-container.yaml Only in clamp/releases: 6.0.2.yaml Only in clamp/releases: 6.1.0-container.yaml Only in clamp/releases: 6.1.0.yaml Only in clamp/releases: 6.1.1-container.yaml Only in clamp/releases: 6.1.1.yaml Files clamp/runtime/src/main/resources/META-INF/resources/swagger.html and clamp-tp/runtime/src/main/resources/META-INF/resources/swagger.html differ Issue-ID: POLICY-3215 Change-Id: Ica1aa3fe5d6110df2396ea856703102e800fa770 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-05-13Modular structure of clamp including controlloopSirisha_Manchikanti449-0/+63871
This commit is the first commit that puts in multi module structure while changing the existing CLAMP code as little as possible. It adds a structure where common, models, participant and runtime are direct children under clamp, and current clamp code is moved under runtime. This runtime directory will host controlloop runtime code in later commits. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7 Signed-off-by: liamfallon <liam.fallon@est.tech>