diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-04-04 21:42:19 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-04-05 07:54:42 -0500 |
commit | be7e0d14765b8fb1520c457ab99ddedf0f7ab65e (patch) | |
tree | cb2c544275dbb905d07239798bdbef8dbcb8c8df /auth/auth-locate | |
parent | 08755cae37030d74d8fcadf38f9919c9d9fd21c0 (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')
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
|