From be7e0d14765b8fb1520c457ab99ddedf0f7ab65e Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 4 Apr 2019 21:42:19 -0500 Subject: Refine Helm Client Charts Issue-ID: AAF-802 Change-Id: Ie00cd2919eeecef00aac1dae139c7ef80092589a Signed-off-by: Instrumental --- .../main/java/org/onap/aaf/auth/locate/validation/LocateValidator.java | 2 +- .../org/onap/aaf/auth/locate/validation/JU_LocateValidatorTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'auth/auth-locate') diff --git a/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/validation/LocateValidator.java b/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/validation/LocateValidator.java index 4f3884d2..747211e1 100644 --- a/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/validation/LocateValidator.java +++ b/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/validation/LocateValidator.java @@ -47,7 +47,7 @@ public class LocateValidator extends Validator { if (e.getName()!=null) { int idx = e.getName().indexOf('.'); if (idx<=0) { - msg("Endpoint Name must prefixed by Namespace"); + msg("Endpoint Name (" + e.getName() + ") must prefixed by Namespace"); } } nullOrBlank("Endpoint Hostname", e.getHostname()); diff --git a/auth/auth-locate/src/test/java/org/onap/aaf/auth/locate/validation/JU_LocateValidatorTest.java b/auth/auth-locate/src/test/java/org/onap/aaf/auth/locate/validation/JU_LocateValidatorTest.java index 0339f318..44ed3403 100644 --- a/auth/auth-locate/src/test/java/org/onap/aaf/auth/locate/validation/JU_LocateValidatorTest.java +++ b/auth/auth-locate/src/test/java/org/onap/aaf/auth/locate/validation/JU_LocateValidatorTest.java @@ -76,7 +76,7 @@ public class JU_LocateValidatorTest { validator.endpoint(endpoint); - assertEquals("Endpoint Name must prefixed by Namespace\n", validator.errs()); + assertEquals("Endpoint Name (Endpoint1) must prefixed by Namespace\n", validator.errs()); } @Test -- cgit 1.2.3-korg