-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #515 from Esri/2.7.1
fix stac api content-type
- Loading branch information
Showing
8 changed files
with
112 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- | ||
Document : identity.xsl | ||
Created on : December 13, 2023 | ||
Author : Marten | ||
Description: Perform identity transform on the metadata. | ||
--> | ||
|
||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
<xsl:template match="/ | @* | node()"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@* | node()" /> | ||
</xsl:copy> | ||
</xsl:template> | ||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
125 changes: 65 additions & 60 deletions
125
geoportal/src/main/resources/service/config/stac-itemLinks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,66 @@ | ||
{ | ||
"metadataItem": | ||
{ | ||
"links": [ | ||
{ | ||
"rel": "self", | ||
"type": "application/json", | ||
"title": "Link to all collections", | ||
"href": "{url}/collections/metadata/items", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "next", | ||
"type": "application/json", | ||
"title": "Next page of results", | ||
"href": "{url}/collections/metadata/items?{urlparam}", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "parent", | ||
"type": "application/json", | ||
"title": "Link to the Metadata collection", | ||
"href": "{url}/collections/metadata", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "root", | ||
"type": "application/json", | ||
"title": "Link to all collections", | ||
"href": "{url}", | ||
"hreflang": "en-US" | ||
} | ||
] | ||
}, | ||
"searchItem": | ||
{ | ||
"links": [ | ||
{ | ||
"rel": "self", | ||
"type": "application/json", | ||
"title": "Next page of results", | ||
"href": "{url}/search", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "next", | ||
"type": "application/json", | ||
"title": "Next page of results", | ||
"href": "{url}/search?{urlparam}", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "root", | ||
"type": "application/json", | ||
"title": "Link to all collections", | ||
"href": "{url}", | ||
"hreflang": "en-US" | ||
} | ||
] | ||
} | ||
} | ||
"metadataItem": { | ||
"links": [ | ||
{ | ||
"rel": "self", | ||
"type": "application/geo+json", | ||
"title": "Link to all collections", | ||
"href": "{url}/collections/metadata/items", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "next", | ||
"type": "application/geo+json", | ||
"title": "Next page of results", | ||
"href": "{url}/collections/metadata/items?{urlparam}", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "previous", | ||
"type": "application/geo+json", | ||
"title": "Next page of results", | ||
"href": "{url}/collections/metadata/items?{urlparam}", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "parent", | ||
"type": "application/json", | ||
"title": "Link to the Metadata collection", | ||
"href": "{url}/collections/metadata", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "root", | ||
"type": "application/json", | ||
"title": "Link to all collections", | ||
"href": "{url}", | ||
"hreflang": "en-US" | ||
} | ||
] | ||
}, | ||
"searchItem": { | ||
"links": [ | ||
{ | ||
"rel": "self", | ||
"type": "application/geo+json", | ||
"title": "Next page of results", | ||
"href": "{url}/search", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "next", | ||
"type": "application/geo+json", | ||
"title": "Next page of results", | ||
"href": "{url}/search?{urlparam}", | ||
"hreflang": "en-US" | ||
}, | ||
{ | ||
"rel": "root", | ||
"type": "application/json", | ||
"title": "Link to all collections", | ||
"href": "{url}", | ||
"hreflang": "en-US" | ||
} | ||
] | ||
} | ||
} |