From a2a5c9db5025b2326ecf739de77a66f6a348a85d Mon Sep 17 00:00:00 2001 From: Kai Date: Fri, 24 Jul 2020 15:09:04 +0800 Subject: policy upgrade Issue-ID: DCAEGEN2-2198 Signed-off-by: Kai Lu Change-Id: Idfa56412268f7e7a4682cdbba5645832b0746952 --- .../java/org/onap/dcae/analytics/tca/web/TcaAppProperties.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'dcae-analytics/dcae-analytics-tca-web') diff --git a/dcae-analytics/dcae-analytics-tca-web/src/main/java/org/onap/dcae/analytics/tca/web/TcaAppProperties.java b/dcae-analytics/dcae-analytics-tca-web/src/main/java/org/onap/dcae/analytics/tca/web/TcaAppProperties.java index d70922b..930a0a0 100644 --- a/dcae-analytics/dcae-analytics-tca-web/src/main/java/org/onap/dcae/analytics/tca/web/TcaAppProperties.java +++ b/dcae-analytics/dcae-analytics-tca-web/src/main/java/org/onap/dcae/analytics/tca/web/TcaAppProperties.java @@ -101,12 +101,8 @@ public class TcaAppProperties extends BaseConfigBindingServiceProperties { */ private String getPolicy() { - String policies = environment.getProperty(ConfigBindingServiceConstants.WITHPOLICIES); - if (policies == null) { - return environment.getProperty(ConfigBindingServiceConstants.POLICY); - } - - return policies; + String policy = environment.getProperty(ConfigBindingServiceConstants.POLICY); + return policy; } -- cgit 1.2.3-korg