X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=PolicyEngineAPI%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Fapi%2FConfigRequestParameters.java;h=dcdc178022f84205d60138c06645c7477b082bc9;hb=ce1cf85647ab1ae3c292fd1b1286ea0dbb56223f;hp=cdee9672b50fec635503722849d781c86697b1de;hpb=827a2016429bc377e28d2a414b6bcbdf8b6dc924;p=policy%2Fengine.git diff --git a/PolicyEngineAPI/src/main/java/org/onap/policy/api/ConfigRequestParameters.java b/PolicyEngineAPI/src/main/java/org/onap/policy/api/ConfigRequestParameters.java index cdee9672b..dcdc17802 100644 --- a/PolicyEngineAPI/src/main/java/org/onap/policy/api/ConfigRequestParameters.java +++ b/PolicyEngineAPI/src/main/java/org/onap/policy/api/ConfigRequestParameters.java @@ -31,7 +31,7 @@ import java.util.UUID; */ public class ConfigRequestParameters { private String policyName; - private String onapComponentName; + private String onapName; private String configName; private Map configAttributes; private UUID requestID; @@ -49,12 +49,23 @@ public class ConfigRequestParameters { /** * Sets the ONAP Component Name of the Config policy which needs to be retrieved. * - * @param onapComponentName the String format of the onapComponentName whose configuration is required. + * @param onapName the String format of the onapName whose configuration is required. */ - public void setOnapName(String onapComponentName){ - this.onapComponentName = onapComponentName; + public void setOnapName(String onapName){ + this.onapName = onapName; } + /** + * Sets the ONAP Component Name of the Config policy which needs to be retrieved. + * + * @param ecompName the String format of the onapName whose configuration is required. + * @deprecated use {@link #setOnapName(String)} instead. + */ + @Deprecated + public void setEcompName(String ecompName){ + this.onapName = ecompName; + } + /** * Sets the Config Name of the Config policy which needs to be retrieved. * @@ -97,9 +108,20 @@ public class ConfigRequestParameters { * @return String format of the ONAP Component Name. */ public String getOnapName(){ - return onapComponentName; + return onapName; } + /** + * Gets the ONAP Component Name of the Request Parameters. + * + * @return String format of the ONAP Component Name. + * @deprecated use {@link #getOnapName()} instead. + */ + @Deprecated + public String getEcompName(){ + return onapName; + } + /** * Gets the Config name of the Request Parameters. *