Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prepare release #1007

Merged
merged 3 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 45 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,69 @@ please see [changelog_updates.md](docs/dev/changelog_updates.md).

### Detailed Changes

#### Minor

#### Patch

#### Major Changes

#### Minor Changes

### Deployment Migration Notes

#### Compatible Versions

- Connector Backend Docker Images:
- Dev EDC: `ghcr.io/sovity/edc-dev:{{ VERSION }}`
- sovity EDC CE: `ghcr.io/sovity/edc-ce:{{ VERSION }}`
- MDS EDC CE: `ghcr.io/sovity/edc-ce-mds:{{ VERSION }}`
- Dev Catalog Crawler: `ghcr.io/sovity/catalog-crawler-dev:{{ VERSION }}`
- Catalog Crawler CE: `ghcr.io/sovity/catalog-crawler-ce:{{ VERSION }}`
- Connector UI Docker Image: `ghcr.io/sovity/edc-ui:{{ UI VERSION }}`

## [10.0.0] - 2024-07-24

### Overview

MDS 2.2 release

### Detailed Changes

#### Major Changes

- The `UiPolicy` model has been adjusted to support complex expressions including `AND`, `OR` and `XONE`.
- Complex policies using AND, OR and XONE:
- Complex policy support in the Connector UI.
- The `UiPolicy` model has been adjusted to support complex expressions including `AND`, `OR` and `XONE`.
- The `createPolicyDefinition` has been marked as deprecated in favor of the new `createPolicyDefinitionV2` endpoint that supports complex policies.
- Removed the recently rushed `createPolicyDefinitionUseCase` endpoint in favor of the new `createPolicyDefinitionV2` endpoint.

#### Minor Changes

- Reworked data offer creation page for easier data sharing.
- Both providers and consumers can now terminate their contracts.
- Added endpoints for checking ID availability for policies, assets and contract definitions
- Contracts can be filtered by their termination status.
- Improved "On Request" data offer support in the Connector UI.
- The always-true policy is now created with no constraints instead of the artificial `ALWAYS_TRUE = TRUE` constraint
- Existing always-true policy definitions are migrated to the new format - existing contract agreements are not affected

#### Patch Changes

- Fixed an issue that caused the auth information to get lost during asset
creation.

### Deployment Migration Notes

_No special migration notes required_

#### Compatible Versions

- Connector Backend Docker Images:
- Dev EDC: `ghcr.io/sovity/edc-dev:{{ VERSION }}`
- sovity EDC CE: `ghcr.io/sovity/edc-ce:{{ VERSION }}`
- MDS EDC CE: `ghcr.io/sovity/edc-ce-mds:{{ VERSION }}`
- Dev Catalog Crawler: `ghcr.io/sovity/catalog-crawler-dev:{{ VERSION }}`
- Catalog Crawler CE: `ghcr.io/sovity/catalog-crawler-ce:{{ VERSION }}`
- Connector UI Docker Image: `ghcr.io/sovity/edc-ui:{{ UI VERSION }}`
- Dev EDC: `ghcr.io/sovity/edc-dev:10.0.0`
- sovity EDC CE: `ghcr.io/sovity/edc-ce:10.0.0`
- MDS EDC CE: `ghcr.io/sovity/edc-ce-mds:10.0.0`
- Dev Catalog Crawler: `ghcr.io/sovity/catalog-crawler-dev:10.0.0`
- Catalog Crawler CE: `ghcr.io/sovity/catalog-crawler-ce:10.0.0`
- Connector UI Docker Image: `ghcr.io/sovity/edc-ui:4.1.0`

## [9.0.0] - 2024-07-15

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
package de.sovity.edc.extension.postgresql;

import lombok.Builder;
import lombok.Singular;
import lombok.Value;
import lombok.With;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,12 @@
import de.sovity.edc.ext.wrapper.api.common.mappers.policy.ExpressionExtractor;
import de.sovity.edc.ext.wrapper.api.common.mappers.policy.ExpressionMapper;
import de.sovity.edc.ext.wrapper.api.common.mappers.policy.MappingErrors;
import de.sovity.edc.ext.wrapper.api.common.model.UiPolicyConstraint;
import de.sovity.edc.ext.wrapper.api.common.model.UiPolicyCreateRequest;
import de.sovity.edc.ext.wrapper.api.common.model.UiPolicyExpression;
import jakarta.json.Json;
import jakarta.json.JsonObject;
import org.eclipse.edc.policy.model.AndConstraint;
import org.eclipse.edc.policy.model.AtomicConstraint;
import org.eclipse.edc.policy.model.Constraint;
import org.eclipse.edc.policy.model.OrConstraint;
import org.eclipse.edc.policy.model.Policy;
import org.eclipse.edc.policy.model.PolicyType;
import org.eclipse.edc.policy.model.XoneConstraint;
import org.eclipse.edc.spi.result.Result;
import org.eclipse.edc.transform.spi.TypeTransformerRegistry;
import org.junit.jupiter.api.Test;
Expand All @@ -37,7 +31,6 @@
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;

import java.util.List;
import java.util.Optional;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

package de.sovity.edc.ext.wrapper.api.ui;

import de.sovity.edc.ext.wrapper.api.ui.model.PolicyDefinitionCreateDto;
import de.sovity.edc.ext.wrapper.api.ui.model.PolicyDefinitionCreateRequest;
import de.sovity.edc.ext.wrapper.api.common.model.UiAsset;
import de.sovity.edc.ext.wrapper.api.common.model.UiAssetCreateRequest;
import de.sovity.edc.ext.wrapper.api.common.model.UiAssetEditRequest;
Expand All @@ -31,6 +29,8 @@
import de.sovity.edc.ext.wrapper.api.ui.model.IdResponseDto;
import de.sovity.edc.ext.wrapper.api.ui.model.InitiateCustomTransferRequest;
import de.sovity.edc.ext.wrapper.api.ui.model.InitiateTransferRequest;
import de.sovity.edc.ext.wrapper.api.ui.model.PolicyDefinitionCreateDto;
import de.sovity.edc.ext.wrapper.api.ui.model.PolicyDefinitionCreateRequest;
import de.sovity.edc.ext.wrapper.api.ui.model.PolicyDefinitionPage;
import de.sovity.edc.ext.wrapper.api.ui.model.TransferHistoryPage;
import de.sovity.edc.ext.wrapper.api.ui.model.UiContractNegotiation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
import static java.time.Duration.ofSeconds;
import static java.util.concurrent.TimeUnit.SECONDS;
import static org.assertj.core.api.Assertions.assertThat;
import static org.eclipse.edc.spi.CoreConstants.EDC_NAMESPACE;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.DynamicTest.dynamicTest;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import java.util.Map;

import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
import static org.eclipse.edc.spi.CoreConstants.EDC_NAMESPACE;

public class AlwaysTruePolicyMigrationCommonTest {

Expand Down
Loading