X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=restapi-call-node%2Fprovider%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fccsdk%2Fsli%2Fplugins%2Frestapicall%2FRetryPolicyStore.java;h=f68b851d30ad7b0caec346d46da9e78e757c36d4;hb=565e49329424de19e35a142e54d1ee7f5c7c57ef;hp=b139da2793fd5ef3ba553b307b951675bcf13fc4;hpb=0c7f2223a42ae9f1a9ac8954e9b9194e929b72f6;p=ccsdk%2Fsli%2Fplugins.git diff --git a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RetryPolicyStore.java b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RetryPolicyStore.java index b139da27..f68b851d 100644 --- a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RetryPolicyStore.java +++ b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RetryPolicyStore.java @@ -4,6 +4,7 @@ * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights * reserved. + * Modifications Copyright © 2018 IBM. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,15 +24,14 @@ package org.onap.ccsdk.sli.plugins.restapicall; import java.util.HashMap; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - public class RetryPolicyStore { - private static final Logger log = LoggerFactory.getLogger(RetryPolicyStore.class); - HashMap retryPolicies; public String proxyServers; + public RetryPolicyStore() { + retryPolicies = new HashMap<>(); + } + public String getProxyServers() { return proxyServers; } @@ -42,10 +42,6 @@ public class RetryPolicyStore { RetryPolicy adminPortalRetry = new RetryPolicy(adminServersArray, adminServersArray.length); retryPolicies.put("dme2proxy", adminPortalRetry); } - - public RetryPolicyStore() { - retryPolicies = new HashMap(); - } public RetryPolicy getRetryPolicy(String policyName) { return (this.retryPolicies.get(policyName));