Skip to content

Commit

Permalink
fix: compile errors PARTICIPANT_ID (eclipse-edc#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger authored Mar 20, 2024
1 parent 37655ab commit 989e445
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import java.util.Map;

import static io.restassured.RestAssured.given;
import static org.eclipse.edc.boot.BootServicesExtension.PARTICIPANT_ID;
import static org.eclipse.edc.junit.testfixtures.TestUtils.getFreePort;
import static org.eclipse.edc.spi.system.ServiceExtensionContext.PARTICIPANT_ID;

/**
* The IdentityHubRuntimeConfiguration class represents an IdentityHub Runtime configuration and provides various information, such as API endpoints
Expand Down Expand Up @@ -67,6 +67,10 @@ private Builder() {
participant = new IdentityHubRuntimeConfiguration();
}

public static Builder newInstance() {
return new Builder();
}

public Builder id(String id) {
this.participant.id = id;
return this;
Expand All @@ -82,10 +86,6 @@ public IdentityHubRuntimeConfiguration build() {
participant.managementEndpoint = new Endpoint(URI.create("http://localhost:" + getFreePort() + "/api/management"), Map.of());
return participant;
}

public static Builder newInstance() {
return new Builder();
}
}

public static class Endpoint {
Expand Down

0 comments on commit 989e445

Please sign in to comment.