Skip to content

allow status to be saved in configured field #667

@mhogeweg

Description

@mhogeweg

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": [...]
}   

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions