aboutsummaryrefslogtreecommitdiffstats
path: root/forwarding/src
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@ericsson.com>2018-08-29 16:20:52 +0100
committerliamfallon <liam.fallon@ericsson.com>2018-08-29 17:51:46 +0100
commite705197bb18af558fb7ea853b01e1297521763f2 (patch)
tree2bb2edc2a764d5fa5871c9485f20f577f1d02e51 /forwarding/src
parentd7a69ea29e4ea46231cec1d16788d9451793a2a7 (diff)
Parameter Service Interface Changes
Changes to distribution due to changes to parameter services, mainly addition of setName() to parameter service interface and correct handling of empty parameters Change-Id: I9523da6461874241d220f0feac61419ef6ebbb9d Issue-ID: POLICY-1035 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'forwarding/src')
-rw-r--r--forwarding/src/main/java/org/onap/policy/distribution/forwarding/parameters/PolicyForwarderParameters.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/forwarding/src/main/java/org/onap/policy/distribution/forwarding/parameters/PolicyForwarderParameters.java b/forwarding/src/main/java/org/onap/policy/distribution/forwarding/parameters/PolicyForwarderParameters.java
index 7306cc64..28a1b1be 100644
--- a/forwarding/src/main/java/org/onap/policy/distribution/forwarding/parameters/PolicyForwarderParameters.java
+++ b/forwarding/src/main/java/org/onap/policy/distribution/forwarding/parameters/PolicyForwarderParameters.java
@@ -72,7 +72,15 @@ public class PolicyForwarderParameters implements ParameterGroup {
*/
@Override
public String getName() {
- return null;
+ return getForwarderType();
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public void setName(final String name) {
+ this.forwarderType = name;
}
/**