diff options
author | liamfallon <liam.fallon@est.tech> | 2019-11-07 21:33:12 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2019-11-07 21:33:17 +0000 |
commit | ccf72b37d15930a8ede20ec4391b776cc60bf3c5 (patch) | |
tree | f032090c972f7a8f545ebe668a59847b74bc6bb9 /services | |
parent | 262c8cbc5d92d22afee12451dca72d13b514f826 (diff) |
Fix vCPE example apex-pdp policy
The changes in policy-models for appclcm had knock-on impacts on the
apex-pdp example policies. This patch fixes the vCPE policy to comply
with the new APPCLCM POJOs.
Issue-ID: POLICY-2043
Change-Id: Ieebc2cf97a05efde560a2f5a819924ff63dfd695
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'services')
-rw-r--r-- | services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/impl/EngineServiceImpl.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/impl/EngineServiceImpl.java b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/impl/EngineServiceImpl.java index 152425711..8247fd5f3 100644 --- a/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/impl/EngineServiceImpl.java +++ b/services/services-engine/src/main/java/org/onap/policy/apex/service/engine/runtime/impl/EngineServiceImpl.java @@ -230,20 +230,6 @@ public final class EngineServiceImpl implements EngineService, EngineServiceEven } /** - * {@inheritDoc}. - */ - @Override - public void updateModel(final AxArtifactKey incomingEngineServiceKey, final String apexModelString, - final boolean forceFlag) throws ApexException { - AxPolicyModel apexPolicyModel = createModel(incomingEngineServiceKey, apexModelString); - - // Update the model - updateModel(incomingEngineServiceKey, apexPolicyModel, forceFlag); - - LOGGER.exit(); - } - - /** * Method to create model. * * @param incomingEngineServiceKey incoming engine service key @@ -285,6 +271,20 @@ public final class EngineServiceImpl implements EngineService, EngineServiceEven * {@inheritDoc}. */ @Override + public void updateModel(final AxArtifactKey incomingEngineServiceKey, final String apexModelString, + final boolean forceFlag) throws ApexException { + AxPolicyModel apexPolicyModel = createModel(incomingEngineServiceKey, apexModelString); + + // Update the model + updateModel(incomingEngineServiceKey, apexPolicyModel, forceFlag); + + LOGGER.exit(); + } + + /** + * {@inheritDoc}. + */ + @Override public void updateModel(final AxArtifactKey incomingEngineServiceKey, final AxPolicyModel apexModel, final boolean forceFlag) throws ApexException { LOGGER.entry(incomingEngineServiceKey); |