From 9833876720ff14517ee78bda557e6021df723800 Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Thu, 17 Sep 2020 12:02:19 +0100 Subject: Cleanup related to removal of legacy format support in APEX This review basically just removes all "policyModelFileName" occurences which are not used anymore. Change-Id: Ibac8ec776dd989a5d677ff27a99eb7a36110773f Issue-ID: POLICY-2835 Signed-off-by: a.sreekumar --- .../apex/service/parameters/engineservice/EngineServiceParameters.java | 3 +-- .../services-engine/src/test/resources/main/prodConsBadCTParClass.json | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'services') diff --git a/services/services-engine/src/main/java/org/onap/policy/apex/service/parameters/engineservice/EngineServiceParameters.java b/services/services-engine/src/main/java/org/onap/policy/apex/service/parameters/engineservice/EngineServiceParameters.java index d67c44ef5..afede627e 100644 --- a/services/services-engine/src/main/java/org/onap/policy/apex/service/parameters/engineservice/EngineServiceParameters.java +++ b/services/services-engine/src/main/java/org/onap/policy/apex/service/parameters/engineservice/EngineServiceParameters.java @@ -51,7 +51,6 @@ import org.onap.policy.common.parameters.ValidationStatus; *
  • engineParameters: Parameters (a {@link EngineParameters} instance) that all of the engines in the engine service * will use. All engine threads use the same parameters and act as a pool of engines. Engine parameters specify the * executors and context management for the engines. - *
  • policyModelFileName: The full path to the policy model file name to deploy on the engine service. *
  • periodicEventPeriod: The period in milliseconds at which the periodic event PERIOIC_EVENT will be generated by * APEX, 0 means no periodic event generation, negative values are illegal. * @@ -161,7 +160,7 @@ public class EngineServiceParameters implements ParameterGroup { /** * Validate numeric parameters. - * + * * @param result the result of numeric parameter validation */ private void validateNumericParameters(final GroupValidationResult result) { diff --git a/services/services-engine/src/test/resources/main/prodConsBadCTParClass.json b/services/services-engine/src/test/resources/main/prodConsBadCTParClass.json index 48c2dc905..deb8725aa 100644 --- a/services/services-engine/src/test/resources/main/prodConsBadCTParClass.json +++ b/services/services-engine/src/test/resources/main/prodConsBadCTParClass.json @@ -5,7 +5,6 @@ "id": 45, "instanceCount": 19, "deploymentPort": 65522, - "policyModelFileName": "src/test/resources/policymodels/SmallModel.json", "engineParameters": { "executorParameters": { "JAVASCRIPT": { -- cgit 1.2.3-korg