diff --git a/extensions/wrapper/wrapper-ee-api/src/main/java/de/sovity/edc/ext/wrapper/api/ee/EnterpriseEditionResourceImpl.java b/extensions/wrapper/wrapper-ee-api/src/main/java/de/sovity/edc/ext/wrapper/api/ee/EnterpriseEditionResourceImpl.java new file mode 100644 index 000000000..bc5e7d76a --- /dev/null +++ b/extensions/wrapper/wrapper-ee-api/src/main/java/de/sovity/edc/ext/wrapper/api/ee/EnterpriseEditionResourceImpl.java @@ -0,0 +1,25 @@ +package de.sovity.edc.ext.wrapper.api.ee; + +import de.sovity.edc.ext.wrapper.api.ee.model.ConnectorLimits; +import de.sovity.edc.ext.wrapper.api.ee.model.StoredFile; + +import java.util.List; +import java.util.Map; + +public class EnterpriseEditionResourceImpl implements EnterpriseEditionResource { + @Override + public ConnectorLimits connectorLimits() { + return new ConnectorLimits(-1, -1); + } + + @Override + public List listStoredFiles() { + return null; + } + + @Override + public StoredFile createStoredFileAsset(String storedFileId, + Map assetProperties) { + return null; + } +} diff --git a/extensions/wrapper/wrapper/src/main/java/de/sovity/edc/ext/wrapper/WrapperExtensionContextBuilder.java b/extensions/wrapper/wrapper/src/main/java/de/sovity/edc/ext/wrapper/WrapperExtensionContextBuilder.java index 31d3080ac..b29f79ec6 100644 --- a/extensions/wrapper/wrapper/src/main/java/de/sovity/edc/ext/wrapper/WrapperExtensionContextBuilder.java +++ b/extensions/wrapper/wrapper/src/main/java/de/sovity/edc/ext/wrapper/WrapperExtensionContextBuilder.java @@ -15,6 +15,7 @@ package de.sovity.edc.ext.wrapper; import com.fasterxml.jackson.databind.ObjectMapper; +import de.sovity.edc.ext.wrapper.api.ee.EnterpriseEditionResourceImpl; import de.sovity.edc.ext.wrapper.api.ui.UiResource; import de.sovity.edc.ext.wrapper.api.ui.pages.contracts.ContractAgreementPageApiService; import de.sovity.edc.ext.wrapper.api.ui.pages.contracts.ContractAgreementTransferApiService; @@ -123,7 +124,8 @@ public static WrapperExtensionContext buildContext( // Collect all JAX-RS resources return new WrapperExtensionContext(List.of( uiResource, - useCaseResource + useCaseResource, + new EnterpriseEditionResourceImpl() )); } }