Age | Commit message (Collapse) | Author | Files | Lines |
|
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 assertions to existing tests
Issue-ID: POLICY-3452
Change-Id: I653b899f31595ef2bd1164e6caa6a736399c947a
Signed-off-by: lapentafd <francesco.lapenta@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>
|
|
|
|
|
|
|
|
|
|
|
|
Issue-ID: POLICY-3411
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: If139d34f70f626e45a7865b7a8e9e3dae0a61daf
|
|
Issue-ID: POLICY-3355
Change-Id: Ie1667b749eed28b7e526cd4695f45d8ed736c4e7
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
This patch makes some minor updates to the TOSCA definitions, mainly the
introduction of common parameters.
It also introduces the first draft of a "Gentle Guidance" control loop
that can be used for testing, verification, documenting and explaining
the TOSCA control loop framework.
Issue-ID: POLICY-3341
Change-Id: Ie2d5379bd362f088d7c500402f83745cc7e6aca3
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
This commit adds models for ParticipantRegister, ParticipantDeregister
and ParticipantUpdate messages. Handling of these messages will be
taken care in a later commit.
Issue-ID: POLICY-3414
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I622b98b03df09eecaac160ba564c8a21b449c642
|
|
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>
|
|
|
|
The swagger models dependency is required to generate the swagger for
the Swagger endpoint in Springboot applications.
Springboot needs Jackson annotations as well.
Issue https://jira.onap.org/browse/POLICY-3465 opened for the general
Swagger upgrade work.
Issue-ID: POLICY-3424
Change-Id: Ie86db5652be26df085234f0699f0363081d06af0
Signed-off-by: liamfallon <liam.fallon@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>
|
|
|
|
|
|
The Policy, DCAE, HTTP, Kubernetes, and CDS Control Loop Elements run on
participants delivered with and packaged with ONAP. These TOSCA files
define the properties for Control Loop Elements on these participants as
TOSCA node types.
Developers who wish to run Control Loop Elements on these participants
write a TOSCA Topology Template, which uses the Control Loop Element
Node Types defined in these files.
These Node type definitions should be preloaded into the
Runtime database, which will be done in a future review.
Issue-ID: POLICY-3341
Change-Id: Icc565bdfa1a59e1c1c551f13c48348ee6a8a4e27
Signed-off-by: liamfallon <liam.fallon@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>
|
|
JUnit 4 tests do not fire when JUnit 5 is activated.
Issue-ID: POLICY-3452
Change-Id: I5efb8ee996b06dc7f57107b8f77408adc1a4f22f
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
JUnit 4 tests do not fire when JUnit 5 is activated.
Issue-ID: POLICY-3452
Change-Id: I82396f918c69d9c27d0a00fa0e97b3e6b138e951
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Overall coverage for the module: 85%
Issue-ID: POLICY-3241
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I00c7866ae598b9768d1616468a4c9bfe4cc76166
|
|
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>
|
|
|
|
|
|
Issue-ID: POLICY-3370
Change-Id: I1541fc47b35c91f9ec86ab768bc3cec2cd78647c
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-3268
Change-Id: I02b03fd9f9f4399e045e766baace203f42e678cf
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
|
|
|
|
This file contains the fundamental concepts that must exist in the TOSCA
universe in order for a Control Loop to be defined in TOSCA
Issue-ID: POLICY-3341
Change-Id: I4c1be9162b84f42388e56fea051a07f901bf92a6
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
|
|
Issue-ID: POLICY-3343
Change-Id: Id78c00a5a241337f684a70feeee543f3a88fc01c
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-3403
Change-Id: Ic66b52da8a6256d2a65c2c2767b939e94a417875
Signed-off-by: waynedunican <wayne.dunican@est.tech>
|
|
Files under /main/resources/ have moved to /test/resources/
Issue-ID: POLICY-3242
Change-Id: I96fa71e1af2c026bfb08db889de8608fe8acbd18
Signed-off-by: waynedunican <wayne.dunican@est.tech>
|
|
Endpoint redirects GET to runtime instantiation
Issue-ID: POLICY-3357
Change-Id: Idf733c2803be2f6ab5cc681d583c1c6b46b2ce96
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
|
|
|
|
|
|
|
|
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>
|
|
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>
|