changeset 240:bf545cc8984a

[commands] Use correct action matching user roles. Reviewed-by: jkang Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-September/024801.html
author Severin Gehwolf <sgehwolf@redhat.com>
date Fri, 01 Sep 2017 17:39:20 +0200
parents 4e58443cbb7f
children a6a11a21336a
files services/commands/src/test/java/com/redhat/thermostat/gateway/service/commands/http/handlers/CommandChannelEndpointHandlerTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/services/commands/src/test/java/com/redhat/thermostat/gateway/service/commands/http/handlers/CommandChannelEndpointHandlerTest.java	Thu Aug 31 14:47:52 2017 -0400
+++ b/services/commands/src/test/java/com/redhat/thermostat/gateway/service/commands/http/handlers/CommandChannelEndpointHandlerTest.java	Fri Sep 01 17:39:20 2017 +0200
@@ -190,10 +190,10 @@
         String clientPassword = "client-pwd";
         String agentId = "testAgent";
         URI firstClientUri = new URI(
-                baseUrl + "actions/dump-heap/systems/foo/agents/" + agentId
+                baseUrl + "actions/dump_heap/systems/foo/agents/" + agentId
                         + "/jvms/abc/sequence/" + clientSequenceFirst);
         URI secondClientUri = new URI(
-                baseUrl + "actions/dump-heap/systems/foo/agents/" + agentId
+                baseUrl + "actions/dump_heap/systems/foo/agents/" + agentId
                         + "/jvms/abc/sequence/" + clientSequenceSecond);
         URI agentUri = new URI(baseUrl + "systems/foo/agents/" + agentId);
         CountDownLatch clientsHaveSentMessages = new CountDownLatch(2);