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

Catalog title and description to be included in the metadata response body #439

Open
SebastianOpriel opened this issue Sep 7, 2022 Discussed in #420 · 0 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@SebastianOpriel
Copy link
Member

Discussed in #420

Originally posted by jfernandezsqs September 5, 2022
I have defined several Catalogs for a DSC and when I request the IDS Description Request Message it is obtained the list of resource catalogs only with the fields (type and id).
I think it will be a good enhancement to include also the fields title and description in this response body so that the consumer knows exactly which content each catalog has.

This is the current response body

{
  "@context": {
    "ids": "https://w3id.org/idsa/core/",
    "idsc": "https://w3id.org/idsa/code/"
  },
  "@type": "ids:BaseConnector",
  "@id": "https://connector_A",
  "ids:version": "@project.version@",
  "ids:description": [
    {
      "@value": "IDS Connector A with static example resources",
      "@type": "http://www.w3.org/2001/XMLSchema#string"
    }
  ],
  "ids:publicKey": {
    "@type": "ids:PublicKey",
    "@id": "https://w3id.org/idsa/autogen/publicKey/78eb73a3-3a2a-4626-a0ff-631ab50a00f9",
    "ids:keyType": {
      "@id": "https://w3id.org/idsa/code/RSA"
    },
    "ids:keyValue": "VFVsSlFrbHFRVTVDWjJ0eGFHdHBSemwzTUVKQlVVVkdRVUZQUTBGUk9FRk5TVWxDUTJkTFEwRlJSVUYxZHpadFJuSmtabXhZV2xSS1owWlBRVFZ6YlVSWVF6QTVVMjF3U2xkdlIzQjVSVkphVGtWNU16RndTMlJ6VWtkb1ZHbHdVakkzYWpscGNtMXRjV2xvZGpkblNXZDZRMjU0Tm10SlVrNUhTVEoxTUc5R1VUVkdaM1pQTVhoNFozcGphV2hrY0VZd1EyaGxUMlk1U1U1bmFYTlFhM0UxYUdvNFFXVXZSRmxZYTNacWFGRTJZelpoYXk5YVdXWnFNRTV3Y1hsRlVHTktOVTFNVW0xWlIyVjRUV0ZOV20xVVluRkVTblpLYkRWS1J6TXJZa1V6V1dFeU1XaFVXbGxQZUdsVGFXTndaa1puU2pNd2EyNDFZVlZKUVhSa01EVkpXbmszZWpGelJHbFdUSFJVV0d4TVptVXZXbEZETkhCdWFrWjBjeXQwWXpFeWMxZzVhV2hKYlc1RGEyUXdWM1o2TTBOVVdtOTVRbE56WXpGVVpFSnJZamx0TUVNMWRIWm5NR1pSVURSUlowWXZla2d5VVc5YWJtNXlTVFV5ZFVGYU9FMXZiVmQwV1RKc2RETkVNR3RyY0ZJMk9YQm1Wa1JLTjNremRrNHZaWGRKUkVGUlFVST0="
  },
  "ids:title": [
    {
      "@value": "Dataspace Connector",
      "@type": "http://www.w3.org/2001/XMLSchema#string"
    }
  ],
  "ids:hasDefaultEndpoint": {
    "@type": "ids:ConnectorEndpoint",
    "@id": "https://w3id.org/idsa/autogen/connectorEndpoint/e5e2ab04-633a-44b9-87d9-a097ae6da3cf",
    "ids:accessURL": {
      "@id": "https://connectora:8080/api/ids/data"
    }
  },
  "ids:resourceCatalog": [
    {
      "@type": "ids:ResourceCatalog",
      "@id": "https://localhost:8080/api/catalogs/cac7541d-b765-4180-89e3-611636739013"
    },
    {
      "@type": "ids:ResourceCatalog",
      "@id": "https://localhost:8080/api/catalogs/385d0024-f4dc-4ae7-aacd-a10e2ac0c6ea"
    },
    {
      "@type": "ids:ResourceCatalog",
      "@id": "https://localhost:8080/api/catalogs/fcb77e4c-e930-438c-a28b-a431807c5315"
    },
    {
      "@type": "ids:ResourceCatalog",
      "@id": "https://localhost:8080/api/catalogs/9111dfed-73b5-4995-a4d7-cf38e9dbc6dd"
    }
  ],
  "ids:securityProfile": {
    "@id": "https://w3id.org/idsa/code/BASE_SECURITY_PROFILE"
  },
  "ids:maintainer": {
    "@id": "https://sovity.de/"
  },
  "ids:curator": {
    "@id": "https://sovity.de/"
  },
  "ids:inboundModelVersion": [
    "4.2.0",
    "4.1.2",
    "4.2.1",
    "4.0.0",
    "4.1.0",
    "4.2.4",
    "4.2.5",
    "4.2.2",
    "4.2.3",
    "4.2.6",
    "4.2.7"
  ],
  "ids:outboundModelVersion": "4.2.7"
}
```</div>
@SebastianOpriel SebastianOpriel added enhancement New feature or request help wanted Extra attention is needed labels Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant