diff options
author | Jim Hahn <jrh3@att.com> | 2019-12-05 16:42:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-05 16:42:48 +0000 |
commit | 36112574c3f506fe769ba2eed18a77f62c838467 (patch) | |
tree | 764fb2ce72816464a3190e7f5e4e38c07397863d /main/src/test/java/org/onap | |
parent | 581aa3881e97c36faa23cd812a87d13bdc1a0054 (diff) | |
parent | 22fce245d748d59a980c9744ab8a133b9a4fa758 (diff) |
Merge "change HealthCheckReport URL from self to hostName"
Diffstat (limited to 'main/src/test/java/org/onap')
-rw-r--r-- | main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java b/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java index 89dba391..434185a6 100644 --- a/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java +++ b/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java @@ -85,7 +85,7 @@ public class TestApiRestServer { private static final Logger LOGGER = LoggerFactory.getLogger(TestApiRestServer.class); private static final String NOT_ALIVE = "not alive"; private static final String ALIVE = "alive"; - private static final String SELF = "self"; + private static final String SELF = NetworkUtil.getHostname(); private static final String NAME = "Policy API"; private static final String APP_JSON = "application/json"; private static final String APP_YAML = "application/yaml"; |