You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding removing access control to a dataset we end up with duplicate "observation"-buttons which appear to be due to links being added to the discovery metadata record whenever access-control is added and removed:
links section, note the duplicated links:
"links": [
{
"href": "http://dvila.wis2.training/oapi/collections/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=json",
"type": "application/json",
"name": "urn:wmo:md:ar-dvila:reco.surface-based-observations.synop",
"rel": "collection",
"title": "urn:wmo:md:ar-dvila:reco.surface-based-observations.synop"
},
{
"href": "mqtt://everyone:[email protected]:1883",
"type": "application/json",
"name": "origin/a/wis2/ar-dvila/data/recommended/weather/surface-based-observations/synop",
"rel": "items",
"channel": "origin/a/wis2/ar-dvila/data/recommended/weather/surface-based-observations/synop",
"title": "Notifications"
},
{
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop",
"type": "application/geo+json",
"name": "urn:wmo:md:ar-dvila:reco.surface-based-observations.synop",
"rel": "canonical",
"title": "urn:wmo:md:ar-dvila:reco.surface-based-observations.synop"
},
{
"type": "application/json",
"rel": "root",
"title": "The landing page of this server as JSON",
"href": "http://dvila.wis2.training/oapi?f=json"
},
{
"type": "text/html",
"rel": "root",
"title": "The landing page of this server as HTML",
"href": "http://dvila.wis2.training/oapi?f=html"
},
{
"rel": "self",
"type": "application/geo+json",
"title": "This document as JSON",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=json"
},
{
"rel": "alternate",
"type": "application/ld+json",
"title": "This document as RDF (JSON-LD)",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=jsonld"
},
{
"rel": "alternate",
"type": "text/html",
"title": "This document as HTML",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=html"
},
{
"rel": "collection",
"type": "application/json",
"title": "Discovery metadata",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata"
},
{
"type": "application/json",
"rel": "root",
"title": "The landing page of this server as JSON",
"href": "http://dvila.wis2.training/oapi?f=json"
},
{
"type": "text/html",
"rel": "root",
"title": "The landing page of this server as HTML",
"href": "http://dvila.wis2.training/oapi?f=html"
},
{
"rel": "self",
"type": "application/geo+json",
"title": "This document as JSON",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=json"
},
{
"rel": "alternate",
"type": "application/ld+json",
"title": "This document as RDF (JSON-LD)",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=jsonld"
},
{
"rel": "alternate",
"type": "text/html",
"title": "This document as HTML",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=html"
},
{
"rel": "collection",
"type": "application/json",
"title": "Discovery metadata",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata"
},
{
"type": "application/json",
"rel": "root",
"title": "The landing page of this server as JSON",
"href": "http://dvila.wis2.training/oapi?f=json"
},
{
"type": "text/html",
"rel": "root",
"title": "The landing page of this server as HTML",
"href": "http://dvila.wis2.training/oapi?f=html"
},
{
"rel": "self",
"type": "application/geo+json",
"title": "This document as JSON",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=json"
},
{
"rel": "alternate",
"type": "application/ld+json",
"title": "This document as RDF (JSON-LD)",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=jsonld"
},
{
"rel": "alternate",
"type": "text/html",
"title": "This document as HTML",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=html"
},
{
"rel": "collection",
"type": "application/json",
"title": "Discovery metadata",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata"
},
{
"type": "application/json",
"rel": "root",
"title": "The landing page of this server as JSON",
"href": "http://dvila.wis2.training/oapi?f=json"
},
{
"type": "text/html",
"rel": "root",
"title": "The landing page of this server as HTML",
"href": "http://dvila.wis2.training/oapi?f=html"
},
{
"rel": "self",
"type": "application/geo+json",
"title": "This document as JSON",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=json"
},
{
"rel": "alternate",
"type": "application/ld+json",
"title": "This document as RDF (JSON-LD)",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=jsonld"
},
{
"rel": "alternate",
"type": "text/html",
"title": "This document as HTML",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata/items/urn:wmo:md:ar-dvila:reco.surface-based-observations.synop?f=html"
},
{
"rel": "collection",
"type": "application/json",
"title": "Discovery metadata",
"href": "http://dvila.wis2.training/oapi/collections/discovery-metadata"
}
]
}
The text was updated successfully, but these errors were encountered:
After adding removing access control to a dataset we end up with duplicate "observation"-buttons which appear to be due to links being added to the discovery metadata record whenever access-control is added and removed:
links section, note the duplicated links:
The text was updated successfully, but these errors were encountered: