Augmented Index - Provide new endpoint, or add info inside existing endpoint - is the Feature flag enabled or disabled?
We need simple way for end users to know if the related "feature flag" is set on in the instance or not. Today, there are similar examples from "Version info" endpoint and Status/Health endpoints of some DDMS's.
A. Example of “info” endpoint.
GET {{INDEXER_HOST}}/info
{
"groupId": "org.opengroup.osdu.indexer",
"artifactId": "indexer-aws",
"version": "0.25.1",
"buildTime": "2024-01-24T20:28:16.495Z",
"branch": "refs/heads/release/r3-m22",
"commitId": "07ad22b2308a75e018a0f9f72c579afb66f7928a",
"commitMessage": "merge from gitlab tag",
"connectedOuterServices": [
{
"name": "ElasticSearch-osdu",
"version": "7.17.15"
},
{
"name": "ElasticSearch-common",
"version": "7.17.15"
}
]
}
B. Some cases, we also see SOH (State of health) style option.
Seismic DDMS V4 API
GET {{osduonaws_base_url}}/seistore-svc/api/v4/status/readiness
{
"ready": true
}
GET {{osduonaws_base_url}}/seistore-svc/api/v4/status
{
"status": "running"
}
cc @zhibinmai