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

Feature/prep release 0.1.3 #566

Merged
merged 2 commits into from
Nov 30, 2022
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
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- New Postman collection for developers `/docs/development/postman`
- New XSUAA Authenticator Extension ([Readme](/edc-extensions/xsuaa-authenticator/README.md))
- New EDC Image with HashiCorp Vault and InMemory Storage
- (Experimental) Simplified deployment of the EDC in `/charts/tractusx-connector`

### Updated
### Changed

- Set EDC version to `0.0.1-20221006-SNAPSHOT`
- Business Partner Number Extension no longer supports the 'IN' constraint operator
- HashiCorp Vault Extension now allows sub directories for secrets
- Update package structure/namespace from `net.catenax` to `org.eclipse.tractusx`

### Changed
### Fixed

- Update package structure/namespace from `net.catenax` to `org.eclipse.tractusx`
- S3 Data Transfer

## [0.1.2] - 2022-09-30

Expand Down
20 changes: 20 additions & 0 deletions docs/migration/Version_0.1.2_0.1.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Migration Version 0.1.2 to 0.1.3

This document contains a list of breaking changes that are introduced in version 0.1.3.

## OAuth2 Extension

As the images now use the official OAuth2 Extension, the audience settings need to the updated.

**Add the following settings**
- EDC_OAUTH_PROVIDER_AUDIENCE
- EDC_OAUTH_ENDPOINT_AUDIENCE

**Remove the following setting**
- EDC_IDS_ENDPOINT_AUDIENCE

Example
```
EDC_OAUTH_PROVIDER_AUDIENCE: idsc:IDS_CONNECTORS_ALL
EDC_OAUTH_ENDPOINT_AUDIENCE: http://plato-edc-controlplane:8282/api/v1/ids/data
```
91 changes: 91 additions & 0 deletions docs/release-notes/Version 0.1.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# Release Notes Version 0.1.3

30.11.2022

## 0. Summary

1. Container Images
- New Image: HashiCorp Vault & In Memory Store
2. Extensions
- Business Partner Extension
- HashiCorp Vault Extension
- OAuth2 Extension
3. Bug Fixes
- S3 Data Transfer

# 1. Container Images

## 1.1 New Image: HashiCorp Vault & In Memory Store

The EDC now releases a fourth image with a combination of HashiCorp Vault and In Memory Store extensions.

# 2. Extensions

## 2.1 Business Partner Extension

**Removed support for Constraint with multiple BPNs**
The possibility to use multiple Business Partner Numbers inside of a single constraint has been removed. It looks like
this was only possible due to a missing feature and may lead to unexpected side
effects (https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/issues/2026)

Hence, this kind of policy is no longer supported!

```json
{
"uid": "<PolicyId>",
"prohibitions": [],
"obligations": [],
"permissions": [
{
"edctype": "dataspaceconnector:permission",
"action": {
"type": "USE"
},
"constraints": [
{
"edctype": "AtomicConstraint",
"leftExpression": {
"edctype": "dataspaceconnector:literalexpression",
"value": "BusinessPartnerNumber"
},
"rightExpression": {
"edctype": "dataspaceconnector:literalexpression",
"value": [
"<BPN1>",
"<BPN2>"
]
},
"operator": "IN"
}
]
}
]
}
```

The BPN extension will now always decline BPN policies with 'IN' operators, when asked by the EDC to enforce it.

## 2.2 HashiCorp Vault Extension

It is now possible to arrange HashiCorp Vault secrets in sub-directories.

For example by storing the DAPS secrets in their own `/daps` directory:

```
EDC_OAUTH_PRIVATE_KEY_ALIAS: daps/my-plato-daps-key
EDC_OAUTH_PUBLIC_KEY_ALIAS: daps/my-plato-daps-crt
```

## 2.3 OAuth2 Extension

The EDC Oauth2 Extension has now the possibility to add the audience to the claim. As the official OAuth2 Extension was
added to the control plane again most of the functionality of the CX Oauth2 Extension was removed.

> **Breaking Change** The official OAuth2 Extension uses different settings then the EDC OAuth Extension. Please
> consolidate the [Migration Documentation](../migration/Version_0.1.2_0.1.3.md).

# 3. Bug Fixes

## 3.1 S3 Data Transfer

Version 0.1.2 had some issues with the S3 data transfer. This version fixes them.
42 changes: 0 additions & 42 deletions docs/release-notes/Version x.x.x.md

This file was deleted.