Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7398

show jar deployment info in REST API for Management

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • management, rest (admin)
    • None

    Description

      1. 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
      1. 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)
        1. Note
          1) response output:
      {
          "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"
                      }
                  ]
              }
          ]
      }
      

      Attachments

        Activity

          People

            echobravo Ernest Burghardt
            gyan Gang Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 20m
                3h 20m