Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
algattik committed Jun 28, 2022
1 parent b68e5f4 commit 758839b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For example, to list dataspace participants:

```
java -jar client-cli/build/libs/registration-service-cli.jar \
-s=http://localhost:8181/api \
-s=http://localhost:8182/authority \
participants list
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
ParticipantsCommand.class
})
public class RegistrationServiceCli {
@CommandLine.Option(names = "-s", required = true, description = "Registration service URL", defaultValue = "http://localhost:8181/api")
@CommandLine.Option(names = "-s", required = true, description = "Registration service URL", defaultValue = "http://localhost:8182/authority")
String service;

@CommandLine.Option(names = "-d", required = true, description = "Client DID")
Expand Down
2 changes: 1 addition & 1 deletion launcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt update \
WORKDIR /app
COPY ./build/libs/app.jar /app

EXPOSE 8181
EXPOSE 8182

# health status is determined by the availability of the /health endpoint
HEALTHCHECK --interval=5s --timeout=5s --retries=10 CMD curl --fail http://localhost:8181/api/check/health
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@

@IntegrationTest
public class RegistrationApiCommandLineClientTest {
static final String API_URL = "http://localhost:8181/api";

static final ObjectMapper MAPPER = new ObjectMapper();
Participant participant = createParticipant();

Expand All @@ -49,7 +47,6 @@ void listParticipants() throws Exception {
var addCmdExitCode = cmd.execute(
"-d", DID_WEB,
"-k", PRIVATE_KEY_FILE,
"-s", API_URL,
"participants", "add", "--request", request);
assertThat(addCmdExitCode).isEqualTo(0);
assertThat(getParticipants(cmd)).contains(participant);
Expand Down

0 comments on commit 758839b

Please sign in to comment.