Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7244

Status tool script-friendly output does not show the server ID

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: tools
    • Labels:

      Description

      The normal status tool output shows the server ID whereas the script-friendly output omits it, I believe this is a bug.

      Normal output:

      $ ./opendj/bin/status -h localhost -p 4444 -w password -X
      
      >>>> General details
      
      Version                        : ForgeRock Directory Services 7.0.0-SNAPSHOT
      Installation and instance path : /Users/cyril/deploy/opendj
      Run status                     : Started
      Host name                      : localhost
      Server ID                      : test_server
      Administration port (LDAPS)    : 4444
      Open connections               : 1
      
      ...
      

      Script-friendly output:

      $ ./opendj/bin/status -h localhost -p 4444 -w password -X --script-friendly
      {
        "isRunning" : true,
        "hostname" : "localhost",
        "adminConnectorPort" : 4444,
        "openConnections" : 1,
        "version" : "ForgeRock Directory Services 7.0.0-SNAPSHOT",
        "installPath" : "/Users/cyril/deploy/opendj",
        "instancePath" : "/Users/cyril/deploy/opendj",
        "javaVersion" : "11.0.4",
        "javaVendor" : "AdoptOpenJDK",
        "jvmCpus" : 8,
        "jvmMaxHeapSizeBytes" : 4294967296,
      ...
      

      This issue can be closed once the server ID appears in the script-friendly output as well.
       

        Attachments

          Activity

            People

            • Assignee:
              miroslav.meca Miroslav Meca
              Reporter:
              cyril.quinton Cyril Quinton
              Dev Assignee:
              Cyril Quinton
              QA Assignee:
              Miroslav Meca
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: