Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 2.04 KB

Version_0.1.0_0.1.1.md

File metadata and controls

90 lines (67 loc) · 2.04 KB

Migration Version 0.1.0 to 0.1.1

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


Please Note: Due to a change in the DAPS authentication mechanism this version cannot exchange messages with older EDC versions!


0. Summary

  1. Data Management API
    1. Policy Payload
  2. Connector Configuration
    1. CX OAuth Extension

1. Data Management API

It might be necessary to update applications and scripts that use the Data Management API. This section covers the most important changes in endpoints and payloads.

1.1 Policy Payload

The id field of the PolicyDefinition was renamed from uid to id.

Old Call

{
    "uid": "1",
    "policy": {
        "prohibitions": [],
        "obligations": [],
        "permissions": [
            {
                "edctype": "dataspaceconnector:permission",
                "action": {
                    "type": "USE"
                },
                "constraints": []
            }
        ]
    }
}

New call

{
    "id": "1",
    "policy": {
        "prohibitions": [],
        "obligations": [],
        "permissions": [
            {
                "edctype": "dataspaceconnector:permission",
                "action": {
                    "type": "USE"
                },
                "constraints": []
            }
        ]
    }
}

2. Connector Configuration

2.1. CX OAuth Extension

All connectors are now shipped with a new OAuth extension. This extension has an additional mandatory setting called edc.ids.endpoint.audience, that must be set to the IDS path.

Documentation

Example

edc.ids.endpoint.audience=http://plato-edc-controlplane:8282/api/v1/ids/data

NOTICE

This work is licensed under the Apache-2.0.