aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-11-28Merge "Link the AutomationComposition with AutomationCompositionDefinition"Liam Fallon34-937/+537
2022-11-24Link the AutomationComposition with AutomationCompositionDefinitionFrancescoFioraEst34-937/+537
In AutomationComposition replace the link to ToscaNodeTemplate whit a link to AutomationCompositionDefinition using compositionId. Issue-ID: POLICY-4464 Change-Id: I66878f04ef93fb0754d0066e78bd074ce082f891 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-23Add model to save ToscaServiceTemplate as Json in ACMFrancescoFioraEst22-0/+2828
Issue-ID: POLICY-4462 Change-Id: I81a5a8922b0e980143a8da4b6d0572767620fb36 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-18Link the existing CommissioningController with the generated codeFrancescoFioraEst25-1162/+840
Link the existing CommissioningController endpoint implementation code with the generated code in Acm. Issue-ID: POLICY-4454 Change-Id: Ie10296b6af8c8bfdbfa7f54714b22ca4804a2eef Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-17Update participans to swagger v3FrancescoFioraEst3-172/+80
Participant Kubernetes Rest Controller is enabled only for testing and ACM Element is an application for testing, so they not need yaml endpoints definition and Contract testing. Issue-ID: POLICY-4459 Change-Id: Ibdab1b1fb6522e615eba182e8e3a332dec5b96fc Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-15Merge "Remove redundant endpoints in ACM"Ramesh Murugan Iyer12-1435/+7
2022-11-14Merge "Modify OpenAPI yaml to fix swagger editor errors"Liam Fallon2-138/+131
2022-11-14Merge "Add AutomationCompositionDefinition model"Ramesh Murugan Iyer5-1/+176
2022-11-14Remove redundant endpoints in ACMFrancescoFioraEst12-1435/+7
Remove redundant endpoints in ACM not present in the new generated Api code. Issue-ID: POLICY-4453 Change-Id: I4b843c2637e934f8a29f71d8031bdfe903ff20dc Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-11Modify OpenAPI yaml to fix swagger editor errorsliamfallon2-138/+131
Using this approach for schemas fixes the errors in the online Swagger Editor and the code generation still obeys the import mappings and uses the Java classes. Issue-ID: POLICY-4450 Change-Id: Ifc3064f8258c4281c9e6bfde16a812ffccd125c1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-11Add AutomationCompositionDefinition modelFrancescoFioraEst5-1/+176
Add AutomationCompositionDefinition model for Commissioned Automation Composition endpoints. Issue-ID: POLICY-4452 Change-Id: I73fc5b06cb75ed578a40ea618f1f5a0eec616b08 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-10Align Code Generation to Commissioned Automation Composition endpointsFrancescoFioraEst2-253/+319
Issue-ID: POLICY-4450 Change-Id: Ic1bbc83611c2fb743f71d1d7ddb735756a37a6e6 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-10Merge "Remove clamp-backend url forwarding support"Liam Fallon356-47032/+0
2022-11-09Remove clamp-backend url forwarding supportliamfallon356-47032/+0
The functionality to forward the requests from the UI to the other microservices has been moved to the gui-server microservice. Issue-ID: POLICY-4138 Change-Id: I3120e54894ab51194b20098c4c4d63679c15b06f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-09Fix typo in ACM swaggerlapentafd1-1/+7
Added code error 406 for POST, and fix typo Issue-ID: POLICY-4430 Change-Id: I8328830d87cdc98a8b6caa222c062a90583d2912 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-11-08Add Maven Build for Code Generationlapentafd1-0/+36
Issue-ID: POLICY-4159 Change-Id: I51b1dd182c878a44e1b3f8c205221ae434459f5a Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-11-08Merge "Add ACM OpenApi Specifications"Liam Fallon1-0/+1167
2022-11-07Add ACM OpenApi Specificationslapentafd1-0/+1167
Commissioning and Instantiation endpoints Issue-ID: POLICY-4430 Change-Id: I69d8525615c165dc450da7d5bfcc4953e2d7b3bc Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-11-03Add Prometheus metric messages for ACM participantsFrancescoFioraEst16-34/+240
Issue-ID: POLICY-4433 Change-Id: I625c9ee26bb2451e0dcfbb4bbf7288dcc0effb50 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-11-01Remove old implementation of statistics in ACM modelsFrancescoFioraEst26-1902/+6
The old implementation of statistics in ACM can be removed due the Prometheus metrics support. Issue-ID: POLICY-4422 Change-Id: Ia2681b9a3ca59d532cd5c0d1ce4edd3e8f9f98e3 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-10-30Merge "Remove old implementation of statistics in ACM participants"Liam Fallon14-246/+5
2022-10-28Remove old implementation of statistics in ACM participantsFrancescoFioraEst14-246/+5
The old implementation of statistics in ACM-participants can be removed due the Prometheus metrics support. Issue-ID: POLICY-4420 Change-Id: I0785b269614aba51f94e71a3fe931541c1918b0c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-10-27Remove old implementation of statistics in ACM-runtimeFrancescoFioraEst8-1198/+18
The old implementation of statistics in ACM-runtime can be removed due the Prometheus metrics support. Issue-ID: POLICY-4419 Change-Id: Idecad04b4a5dd32ce2ebc1149eb99e4fdc6f0db1 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-10-21Set snapshot and/or references of policy/clamp for new releaseliamfallon22-26/+26
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic5dba007602ae27989cc20ef59f512b1e06fa892
2022-10-21Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon22-25/+25
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I230f8695c7a87f4bbffdcc3102c1922e6354f804
2022-10-21Release docker images for policy/clamp: 6.3.1liamfallon1-0/+16
This commit releases docker images for repo policy/clamp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5d882daf43e9983690b7f10f5f056abdf778a75e
2022-10-21Release policy/clamp: 6.3.1liamfallon1-0/+5
This commit releases repo policy/clamp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I29a2ed13ac8ce3178e9fb049dda42dea4fc51a5c
2022-10-21update references in policy/clamp pomliamfallon6-8/+8
updated references in the policy/clamp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1bc7f5544d7d479ed844a74c72a618cfe19e4a42
2022-10-14Clean up dependencies in CLAMP POMsliamfallon6-128/+53
External dependencies should in general be in the root POMs of repos and internal dependencies only in child POMs. There are exceptions whare a child modle is dealing with a specific technology. This commit tidies up the CLAMP POMs. Issue-ID: POLICY-4289 Change-Id: I0493daf1d737222bd724333ab8baab9226da6121 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-11Use spring-boot-starter-actuator managed versionliamfallon4-6/+1
Issue-ID: POLICY-4393 Change-Id: I31399942e603b2f29921c38c7dc1b9ab18be0d09 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-10Make the ACM REST endpoint preamble configurable via springrameshiyer275-3/+12
ACM REST endpoint preamble "/onap/policy/clamp/acm/" needs to be configurable by the user via spring boot properties file. Issue-ID: POLICY-4381 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I1a82b22bb7b06f856d09089204d79dcfccb528a8
2022-09-28Increase code coverage in runtime-acmFrancescoFioraEst3-48/+156
Issue-ID: POLICY-4370 Change-Id: If017da7bfe555dcbc9c7be62628751dbf9707623 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-09-27Merge "Add Kafka dependency"Liam Fallon1-0/+5
2022-09-27Merge "Increase code coverage in Acm element"Liam Fallon3-4/+56
2022-09-27Merge "Improve code coverage on policy-participant module in clamp"Liam Fallon5-10/+354
2022-09-27Increase code coverage in Acm elementFrancescoFioraEst3-4/+56
Issue-ID: POLICY-4367 Change-Id: I63e1bede019c102b7f448935f63eb9991e54e128 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-09-27Improve code coverage on policy-participant module in clamprameshiyer275-10/+354
Added junits for handler and policy client classes which improves the overall module covergae from 38.8% to 92% Issue-ID: POLICY-4365 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I0a860cff870b77a29a66f04645c64fdd8cf66313
2022-09-26Add Kafka dependencySirisha_Manchikanti1-0/+5
Issue-ID: POLICY-4134 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I7e08251a6331f3b47552f2db8bff9cb1ae74933e
2022-09-26Refactor Mock Server in httpParticipant Unit TestsFrancescoFioraEst3-47/+154
Replace MockServerRest, that failing and causing all tests ignored. Issue-ID: POLICY-4366 Change-Id: Icc86cf26f4cd329b0d24b3dd05b85143e6621517 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-09-23Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon23-26/+26
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I37502e4d1d64661ae82b2a9a92330691ec69e634
2022-09-23Release docker images for policy/clamp: 6.3.0liamfallon1-0/+18
This commit releases docker images for repo policy/clamp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia3f21de85c78e62650c9fe27cbb4c149c664e950 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-23Release policy/clamp: 6.3.0liamfallon1-0/+5
This commit releases repo policy/clamp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ice70fa0125041b9a16350808571e1aee21980eb1
2022-09-22update references in policy/clamp pomliamfallon6-8/+8
updated references in the policy/clamp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icff82d13846c151c0908cba3a6e8892fb4d11b7a
2022-09-20Fix PodStatus Validator failing in K8sParticipantFrancescoFioraEst6-38/+276
Fix PodStatus Validator failing in K8sParticipant using service template for Test and Verification of ACM State Management. Issue-ID: POLICY-4355 Change-Id: I63f8ed2c4991422dd43749151387ff54ba7d6071 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-09-12Fix log of Element container is not visible at Standard OutputFrancescoFioraEst7-11/+20
Issue-ID: POLICY-4351 Change-Id: I5f06c7158654fc14c2549772f8416eb1fc5bb07b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-09-09Remove inactive committers from INFO.yamlliamfallon1-12/+11
Remove inactive committers from INFO.yaml *** This commit is generated by a PF release script *** Issue-ID: POLICY-4354 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7dfe1f25d4fe0732785b262b60bcc8737afbb15e
2022-09-06Add helm chart for test ACM element microservicerameshiyer278-0/+324
Adding helm chart for the ac element microservice under the examples directory for testing ACM workflow. This helm chart can be uploaded to a local helm repository and deployed using kubernetes participant in ACM. The input configuration is provided in the Tosca service template for ACM. Issue-ID: POLICY-4306 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I6ac702f67cad6a8dbd04c626a5af91aa0bd00a58
2022-09-02Merge "Refactor Element ACM for prometheus configuration"Liam Fallon8-21/+227
2022-09-02Allow setting external dockerfiles for clampdanielhanrahan3-12/+30
Added maven properties to allow overriding each dockerfile during build, for example: mvn clean install -Pdocker \ -Ddocker.clamp-runtime.dockerFile=/path/to/Dockerfile Issue-ID: POLICY-4334 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I648b83b53cb65a9b6fc762af715ec1b959792992
2022-09-01Refactor Element ACM for prometheus configurationFrancescoFioraEst8-21/+227
Issue-ID: POLICY-4337 Change-Id: Ic8e43748bc8ffc9a9513f7f278afae9f3f393bc9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>