[
https://issues.apache.org/jira/browse/GEODE-7398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16992791#comment-16992791
]
ASF subversion and git services commented on GEODE-7398:
--------------------------------------------------------
Commit c9369de850fd24a56b6de19bf8ecd0eac6ea37da in geode's branch
refs/heads/feature/GEODE-7556 from Jinmei Liao
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c9369de ]
GEODE-7398: Ability: show jar deployment info in REST API for Manage⦠(#4374)
Co-authored-by: Darrel Schneider <[email protected]>
> show jar deployment info in REST API for Management
> ---------------------------------------------------
>
> Key: GEODE-7398
> URL: https://issues.apache.org/jira/browse/GEODE-7398
> Project: Geode
> Issue Type: New Feature
> Components: management, rest (admin)
> Reporter: Gang Yan
> Priority: Major
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> # WHY
> 1. it is important for customer to track on the deployment jar , especially
> in CI/CD process.
> 2. need to show more meaningful information to customers, to enable them to
> validate whether there are any issues
> # WHAT
> 1. endpoint: [GET] "/management/v1/deployments"
> 2. in response , list all the deployed jar files on every member, with
> deployed timestamp (when) and deployed operator(who)
> ## Note
> 1) response output:
> {code:json}
> {
> "statusCode": "OK",
> "result": [
> {
> "fileName": "app.1.20.0.release.jar",
> "deployedBy": "admin1",
> "deployments": [
> {
> "memberName": "server1",
> "timeToDeploy": "2019-10-31T20:20:19.395Z",
> "jarLocation":
> "/usr/local/gemfire/deploy/vf.gf#app.1.20.0.release.jar#1"
> },
> {
> "memberName": "server2",
> "timeToDeploy": "2019-10-31T20:20:19.395Z",
> "jarLocation":
> "/usr/local/gemfire/deploy/vf.gf#app.1.20.0.release.jar#1"
> }
> ]
> },
> {
> "fileName": "logic.1.14.0.release.jar",
> "deployedBy": "admin2",
> "deployments": [
> {
> "memberName": "server2",
> "timeToDeploy": "2019-10-31T20:20:19.395Z",
> "jarLocation":
> "/usr/local/gemfire/deploy/vf.gf#logic.1.14.0.release.jar#1"
> },
> {
> "memberName": "server3",
> "timeToDeploy": "2019-10-31T20:20:19.395Z",
> "jarLocation":
> "/usr/local/gemfire/deploy/vf.gf#logic.1.14.0.release.jar#1"
> }
> ]
> }
> ]
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)