Skip to content

Commit

Permalink
docs: add control api endpoint (#3484)
Browse files Browse the repository at this point in the history
docs: add control api endpoint configuration in README
  • Loading branch information
wolf4ood committed Oct 2, 2023
1 parent d556fd6 commit 00e50d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions extensions/common/api/control-api-configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ Exemplary configuration:
```properties
web.http.control.port=9191
web.http.control.path=/api/v1/control
edc.control.endpoint=<control-api-endpoint>
```

The `edc.control.endpoint` will be used by the data plane to notify the control plane when data transfer completes or
fails.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import org.eclipse.edc.runtime.metamodel.annotation.Extension;
import org.eclipse.edc.runtime.metamodel.annotation.Inject;
import org.eclipse.edc.runtime.metamodel.annotation.Provider;
import org.eclipse.edc.runtime.metamodel.annotation.Provides;
import org.eclipse.edc.spi.http.EdcHttpClient;
import org.eclipse.edc.spi.system.ServiceExtension;
import org.eclipse.edc.spi.system.ServiceExtensionContext;
Expand All @@ -31,7 +30,6 @@
* Extensions that contains clients for Control Plane HTTP APIs
*/
@Extension(value = ControlPlaneApiClientExtension.NAME)
@Provides(TransferProcessApiClient.class)
public class ControlPlaneApiClientExtension implements ServiceExtension {

public static final String NAME = "Control Plane HTTP API client";
Expand Down

0 comments on commit 00e50d2

Please sign in to comment.