Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Added endpoint in camel for decommissioning
Changed get tosca service template get endpoint
to return snake case
Added endpoints in camel to retrieve control loop
definitions and element definitions
Added integration tests
Allowed error messages and status codes to come through
from runtime-controlloop backend
Small refactor of clamp python emulator
Issue-ID: POLICY-3443
Change-Id: I2f6103ca0f2058651a43e7ae1e0974cb1d3e69a7
Signed-off-by: saul.gill <saul.gill@est.tech>
|
|
Issue-ID: POLICY-3425
Change-Id: Ie8c5a5c169e3b24b2b74590e13539167d59f9545
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
|
|
The swagger documentation generation is moved to policy-parent. This
commit removes the CLAMP swagger document generation and replaces it
with the common handling.
It also fixes the following bug:
The current CLAMP build generates the swagger.json file using a unit
test case. That file is used later in the build to generate a
swagger.pdf and swagger.html file. If the tests are skipped, the
swagger.json file is not generated and the build fails on the PDF/html
generation step.
This change adds a profile to the build that only does the PDF/html
generation when the skipTests flag is off.
Issue-ID: POLICY-3424
Change-Id: Id195fc600d8fca7bfa5d9003272520d57414d646
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Added runtime-controlloop endpoint to return Json Schema
Schema returned can be for specified type within Tosca Service Template
Added Camel in runtime endpoint to proxy the Schema endpoint
Dependency added to pom for the json schema generation
Issue-ID: POLICY-3439
Change-Id: I2a98ce16dfb3761a174c90f4b965d1a37a0d8576
Signed-off-by: saul.gill <saul.gill@est.tech>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
Endpoint redirects GET to runtime instantiation
Issue-ID: POLICY-3357
Change-Id: Idf733c2803be2f6ab5cc681d583c1c6b46b2ce96
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|