ASCS-eV / envited-x-data-space

The ENVITED-X data space provides transparent and trustworthy access to shared data and services for innovators in mobility.
https://staging.envited-x.net/
Other
2 stars 0 forks source link

Local or remote link: Handle file locations of the file #172

Open royscheeren opened 7 months ago

royscheeren commented 7 months ago

Scope

We need to know where the asset file is going to live.

Definition of done

jdsika commented 2 months ago

Open manifest.json and check if it is a remote or local uri:

"manifest:data": [
        {
          "@type": "manifest:Link",
          "manifest:relativePath": {
            **"@value": "./data/Gaia_X_Example_Asset_TestfeldNiedersachsen_ALKS_ODR.xodr"**,
            "@type": "xsd:anyURI"
          },
          "manifest:type": "Data",
          "manifest:format": "xodr",
          "manifest:accessRole": "owner"
        },
        {
          "@type": "manifest:Link",
          "manifest:relativePath": {
            **"@value": "./data/Gaia_X_Example_Asset_TestfeldNiedersachsen_ALKS_ODR_offset.xodr",**
            "@type": "xsd:anyURI"
          },
          "manifest:type": "Data",
          "manifest:format": "xodr",
          "manifest:accessRole": "owner"
        }
      ],
jdsika commented 2 months ago

Important: The process definition and necessary software/libraries for "incremental authorization" need to be available and documented because the owner of the REMOTE is responsible to provide access to the file through this process. The same way ENVITED is providing the access for the self-hosted data