Update Ambassador API with endpoint for retrieving GCZ Version & Build Info
Currently, the GCZ does not offer any method to retrieve version info, whereas this is a standard offering in other OSDU services.
An example of this from the entitlements API:
GET https://{{OSDU_BASE_HOST}}/api/entitlements/v2/info
Response:
{
"groupId": "org.opengroup.osdu.entitlements.v2",
"artifactId": "entitlements-v2-azure",
"version": "0.27.1",
"buildTime": "2024-08-29T18:44:13.262Z",
"branch": "v0.27.1",
"commitId": "e502127941414cbb15aa2ad65e710787f1a502c0",
"commitMessage": "OSDU Data Platform v0.27.1",
"connectedOuterServices": []
}
AC:
- GCZ offers a similar
/infoendpoint to reveal version, artifactId, and git branch and latest commit ID - This endpoint should not be blocked behind any authentication, as it does not reveal sensitive information and can be useful for initial pre-req evaluation of a GCZ install
Edited by Levi Remington