-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
currently the approval status is kept in a specific field. This ticket would add a configuration setting in app-context.xml that allows specifying where in the item JSON to keep the status. This is useful when using Geoportal as a STAC server that has a status field in properties to manage the item status vs only having geoportal 'internal' field (sys_approval_status_s).
for example for default field:
<beans:property name="approvalStatusField" value="${approvalStatusField:sys_approval_status_s}" />
with status field as a STAC item property:
<beans:property name="approvalStatusField" value="properties.esri:status" />
the latter would look in
for example, for default field:
{
"type": "Feature",
"id": "...",
"collection": "...",
"stac_version": "1.0.0",
"stac_extensions": [ ... ],
...
"properties": {
...
"esri:status": "active"
},
"assets": {...},
"links": [...]
}
Reactions are currently unavailable