transaction logging through a feature 75/37975/2
authorJorge Hernandez <jh1730@att.com>
Fri, 23 Mar 2018 06:14:12 +0000 (01:14 -0500)
committerJorge Hernandez <jh1730@att.com>
Fri, 23 Mar 2018 17:40:02 +0000 (17:40 +0000)
commitc9f47efdffe00fc5f823b1c982e6b12d92f90276
treefbeea464665975960c53cd06a6f67fb6f58f6342
parent5c4675e5f6f7fe9b8d9e87976ac5f603ff61c268
transaction logging through a feature

This is the first of 2 code inspections.

This review contains though most of the work.
It keeps tracks of all in progress transactions
by intercepting all notifications.   From that
appropriate metrics can be obtained and logged.

The actual logging of the metrics and enablement
of the feature at install time will come in a
subsequent review.

Change-Id: Ie5c8adfbdeae72758da7da8a1b4133cd4818c6fb
Issue-ID: POLICY-533
Signed-off-by: Jorge Hernandez <jh1730@att.com>
controlloop/common/feature-controlloop-trans/pom.xml [new file with mode: 0644]
controlloop/common/feature-controlloop-trans/src/assembly/assemble_zip.xml [new file with mode: 0644]
controlloop/common/feature-controlloop-trans/src/main/feature/config/feature-controlloop-trans.properties [new file with mode: 0644]
controlloop/common/feature-controlloop-trans/src/main/java/org/onap/policy/drools/apps/controlloop/feature/trans/ControlLoopMetrics.java [new file with mode: 0644]
controlloop/common/feature-controlloop-trans/src/main/java/org/onap/policy/drools/apps/controlloop/feature/trans/ControlLoopMetricsFeature.java [new file with mode: 0644]
controlloop/common/feature-controlloop-trans/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyControllerFeatureAPI [new file with mode: 0644]
controlloop/common/feature-controlloop-trans/src/test/java/org/onap/policy/drools/apps/controlloop/feature/trans/ControlLoopMetricsFeatureTest.java [new file with mode: 0644]
controlloop/common/feature-controlloop-trans/src/test/resources/feature-controlloop-trans.properties [new file with mode: 0644]
controlloop/common/feature-controlloop-trans/src/test/resources/metrics-controller.properties [new file with mode: 0644]
controlloop/common/pom.xml