Commit e0223d39 authored by Andre Freyssinet's avatar Andre Freyssinet

JORAM-336: Temporary us alternate URL to use the new API.

parent dd29aeb7
......@@ -205,7 +205,12 @@ public class ClientRESTTextPerf extends TestCase {
// URI to create prod/cons
URI uriCreateCons = response.getLink("create-consumer").getUri();
// TODO (AF): to remove (use FormParam alternate URI)
uriCreateCons = new URI(uriCreateCons.toString() + "-fp");
URI uriCreateProd = response.getLink("create-producer").getUri();
// TODO (AF): to remove (use FormParam alternate URI)
uriCreateProd = new URI(uriCreateProd.toString() + "-fp");
// create consumer
response = createConsumer(uriCreateCons, consName, clientId);
// URI to close consumer and consume next message
......@@ -246,7 +251,12 @@ public class ClientRESTTextPerf extends TestCase {
// URI to create prod/cons
URI uriCreateCons = response.getLink("create-consumer").getUri();
// TODO (AF): to remove (use FormParam alternate URI)
uriCreateCons = new URI(uriCreateCons.toString() + "-fp");
URI uriCreateProd = response.getLink("create-producer").getUri();
// TODO (AF): to remove (use FormParam alternate URI)
uriCreateProd = new URI(uriCreateProd.toString() + "-fp");
// create consumer
response = createConsumer(uriCreateCons, consName, clientId);
// URI to close consumer and consume next message
......
......@@ -69,7 +69,11 @@ public class ClientRESTTopic extends TestCase {
assertEquals("jndi-topic", 201, response.getStatus());
URI uriCreateProd = response.getLink("create-producer").getUri();
// TODO (AF): to remove (use FormParam alternate URI)
uriCreateProd = new URI(uriCreateProd.toString() + "-fp");
URI uriCreateCons = response.getLink("create-consumer").getUri();
// TODO (AF): to remove (use FormParam alternate URI)
uriCreateCons = new URI(uriCreateCons.toString() + "-fp");
response = client.target(uriCreateCons)
.request().accept(MediaType.TEXT_PLAIN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment