summaryrefslogtreecommitdiffstats
path: root/auth/auth-locate
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-04-04 21:42:19 -0500
committerInstrumental <jonathan.gathman@att.com>2019-04-05 07:54:42 -0500
commitbe7e0d14765b8fb1520c457ab99ddedf0f7ab65e (patch)
treecb2c544275dbb905d07239798bdbef8dbcb8c8df /auth/auth-locate
parent08755cae37030d74d8fcadf38f9919c9d9fd21c0 (diff)
Refine Helm Client Charts
Issue-ID: AAF-802 Change-Id: Ie00cd2919eeecef00aac1dae139c7ef80092589a Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-locate')
-rw-r--r--auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/validation/LocateValidator.java2
-rw-r--r--auth/auth-locate/src/test/java/org/onap/aaf/auth/locate/validation/JU_LocateValidatorTest.java2
2 files changed, 2 insertions, 2 deletions
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