Mobility-Data-Space / mobility-data-space

Mobility Data Space ist the data sharing community for all actors who would like to design the mobility of tomorrow.
https://mobility-dataspace.eu
8 stars 1 forks source link

Wrong access url for resources at the Broker #13

Closed sebplorenz closed 2 years ago

sebplorenz commented 3 years ago

The ResourceUpdateMessage to the broker contains the following access URL:

"ids:resourceEndpoint" : [ {
    "@type" : "ids:ConnectorEndpoint",
    "@id" : "https://w3id.org/idsa/autogen/connectorEndpoint/774bf209-2838-496c-a767-8a937d7c0c0d",
    "ids:endpointDocumentation" : [ {
      "@id" : ""
    } ],
    "ids:accessURL" : {
      "@id" : "https://dwd-connector.test.mobilitydataspace.io/api/offers/a4b65b3a-ad49-40bc-a53d-ddd520ce28b3"
    }
  } ],

At the Broker UI when selecting "Show/Hide JSON-LD" then the following access URL is shown:

  "ids:resourceEndpoint" : [ {
    "@type" : "ids:ConnectorEndpoint",
    "@id" : "https://broker.test.mobilitydataspace.io/connectors/-2112239284/1892992344/-1879389662/-109976723",
    "ids:accessURL" : {
      "@id" : "https://broker.test.mobilitydataspace.io/connectors/-2112239284/1892992344/-1879389662"
    },
    "http://www.w3.org/2002/07/owl#sameAs" : {
      "@id" : "https://w3id.org/idsa/autogen/connectorEndpoint/774bf209-2838-496c-a767-8a937d7c0c0d"
    }
  } ],

Which is not where the consumer can consume the resource. Expected: The access URL that is sent to the broker should be shown here. Environment: Test

sebplorenz commented 2 years ago

The Original ID (resource offer id) is now listed in the meta data of the resource at the Broker UI.