Skip to content

Commit

Permalink
feat: enable setting the authProvider for a ConnectorConfig (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
efiege authored Sep 7, 2023
1 parent d28e5fe commit dddf098
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@
package de.sovity.edc.extension.e2e.connector.config;

import de.sovity.edc.extension.e2e.connector.config.api.EdcApiGroupConfig;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Map;


@Getter
@RequiredArgsConstructor
@Data
@AllArgsConstructor
public class ConnectorConfig {
private final String participantId;
private final EdcApiGroupConfig defaultEndpoint;
private final EdcApiGroupConfig managementEndpoint;
private final EdcApiGroupConfig protocolEndpoint;
private final Map<String, String> properties;
private String participantId;
private EdcApiGroupConfig defaultEndpoint;
private EdcApiGroupConfig managementEndpoint;
private EdcApiGroupConfig protocolEndpoint;
private Map<String, String> properties;

public void setProperty(String key, String value) {
properties.put(key, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
package de.sovity.edc.extension.e2e.connector.config.api;

import de.sovity.edc.extension.e2e.connector.config.api.auth.AuthProvider;
import lombok.With;

import java.net.URI;
import java.util.Map;
Expand All @@ -23,6 +24,7 @@ public record EdcApiGroupConfig(
String baseUrl,
int port,
String path,
@With
AuthProvider authProvider
) {

Expand Down

0 comments on commit dddf098

Please sign in to comment.