Policy constraint requires ids:pipEndpoint field (rejection by Metadata Broker) #348
-
A complete hierarchy of Catalog/Offer/Representation/Artifact with data usage contract is created. We then ask the DSC ("/api/ids/resource/update") to send a ResourceUpdateMessage to a Metadata Broker (previously registered on "/api/brokers"). When the data usage policy is PROVIDE_ACCESS the DSC works as expected and the ResourceOffer is registered on the Broker. If the data usage policy is CONNECTOR_RESTRICTED_USAGE, the DSC complain with the following error: It seems that the ids:pipEndpoint field is missing and it is mandatory on the DSC. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hello and thank you for the feedback. What you see there in the logs is the error message/rejection reason returned by the Metadata Broker (payload of response). DSC is not complaining about a missing RejectionMessage returned by the Metadata Broker with following reason: I would ask to reach out to the Metadata Broker team to see if (backward-)compatibility can be established for Connectors that do not work with a |
Beta Was this translation helpful? Give feedback.
-
We had this issue already several times: I discussed around April 2022 with @sebbader that the Broker might haven gotten an updated information model, which was then no longer compatible with DSC. As I remember he fixed the issue by rolling back to an earlier stage of the used infomodel in the Broker. If I remember right, it was this commit: International-Data-Spaces-Association/metadata-broker-open-core@4f2c7f8 |
Beta Was this translation helpful? Give feedback.
-
Will turn it as a discussion, doesn't seem to be anything we can change here without dirty workarounds. |
Beta Was this translation helpful? Give feedback.
We had this issue already several times:
International-Data-Spaces-Association/metadata-broker-open-core#90
International-Data-Spaces-Association/metadata-broker-open-core#113
I discussed around April 2022 with @sebbader that the Broker might haven gotten an updated information model, which was then no longer compatible with DSC. As I remember he fixed the issue by rolling back to an earlier stage of the used infomodel in the Broker. If I remember right, it was this commit: International-Data-Spaces-Association/metadata-broker-open-core@4f2c7f8
Maybe the infomodel got updated once again. As DSC does not implement a full XACML architecture, no PIP endpoint is available and thus can't be re…