aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2020-09-17 12:02:19 +0100
committera.sreekumar <ajith.sreekumar@bell.ca>2020-09-17 14:38:33 +0100
commit9833876720ff14517ee78bda557e6021df723800 (patch)
treef377fa67a4da7056fdd38d0fa1ffeaf6c67dd0a6 /services
parent1fa517c8b4babb231e448021e58c5d57f96b574c (diff)
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 <ajith.sreekumar@bell.ca>
Diffstat (limited to 'services')
-rw-r--r--services/services-engine/src/main/java/org/onap/policy/apex/service/parameters/engineservice/EngineServiceParameters.java3
-rw-r--r--services/services-engine/src/test/resources/main/prodConsBadCTParClass.json1
2 files changed, 1 insertions, 3 deletions
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;
* <li>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.
- * <li>policyModelFileName: The full path to the policy model file name to deploy on the engine service.
* <li>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.
* </ol>
@@ -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": {