Skip to content

Commit 8e7422f

Browse files
author
Adam Soos
committed
RCB-597: fix example api setup
1 parent 9476cb9 commit 8e7422f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/src/main/java/com/basistech/rosette/examples/ConcurrencyExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ private void run() throws IOException, ExecutionException, InterruptedException
6262
//Setting up the Api
6363
int maximumConcurrency = 3;
6464
HttpRosetteAPI rosetteApi = new HttpRosetteAPI.Builder()
65-
.key("getApiKeyFromSystemProperty")
66-
.url("http://localhost:8181/rest/v1")
65+
.key(getApiKeyFromSystemProperty())
66+
.url(getAltUrlFromSystemProperty())
6767
.connectionConcurrency(maximumConcurrency)
6868
.build();
6969

0 commit comments

Comments
 (0)