commit | 632899642b6a1d1489a0b96932c9c38863a53a26 | [log] [tgz] |
---|---|---|
author | Rashmi Pujar <rashmi.pujar1@bell.ca> | Sat Jan 22 00:37:28 2022 -0500 |
committer | Rashmi Pujar <rashmi.pujar1@bell.ca> | Mon Jan 24 14:06:57 2022 -0500 |
tree | ab9665853aa637ab1d76d7c25523c77835d3ca3e | |
parent | c719ee941bd4202b617544e351a11a35b20b8a6a [diff] |
Add TOSCA policy status header field to APEX event create CLI In order to expose the processing status of a TOSCA policy to APEX-PDP, a new header field for APEX concept "event" has been introduced to track this within an APEX policy implementation. This field will be leveraged to extract the TOSCA policy execution metrics. Note, that the field is marked as optional for backward compatibility. Unit tests have been augmented to test for the field wherever applicable and the default empty value is retained for the others. "example-grpc" module has been updated to include this field. Exposing the TOSCA policy execution metrics is outside the scope of this patch since the current changes are already very large owing to the atomic nature of the change introduced. Issue-ID: POLICY-3845 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: Ief6d70f9abcfc8414e10aa51a27815ee9028e4c8
Copyright (C) 2016-2018 Ericsson. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy APEX PDP Engine code. The settings file only needs to support the standard Maven repositories (e.g. central = http://repo1.maven.org/maven2/), and any proxy settings needed in your environment.
To build it using Maven 3, run: mvn clean install