glassfish
  1. glassfish
  2. GLASSFISH-5744

asadmin list-containers should list the spec version of the container

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: future release
    • Component/s: admin
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: All

    • Issuezilla Id:
      5,744

      Description

      The output of the command asadmin list-containers looks like that in GF 3b20

      Container : jpa
      properties=(ContractProvider=jpa)
      Container : web
      properties=(ContractProvider=web)
      Container : security
      properties=(ContractProvider=security
      Container : jruby
      properties=(ContractProvider=jruby)

      GF 3 is OSGI based, so potentially more than one container could be active at
      the same time or activated / deactivated at runtime. There for the spec-version
      should be visible in the listing. Otherwise it is hard for real world projects
      to rely on certain functionality and e.g. file bugs.

      The command should list something like:

      Container : jpa [2.0]
      properties=(ContractProvider=jpa)

        Activity

        Hide
        Sanjeeb Sahoo added a comment -

        It seems like admin folks have to work with build team to have additional metadata in the runtime to provide such information.

        Show
        Sanjeeb Sahoo added a comment - It seems like admin folks have to work with build team to have additional metadata in the runtime to provide such information.
        Hide
        Tom Mueller added a comment -

        Cleared the Fix version field since this issue isn't going to be fixed in V3.

        Show
        Tom Mueller added a comment - Cleared the Fix version field since this issue isn't going to be fixed in V3.
        Hide
        km added a comment -

        The right sahoo.

        Show
        km added a comment - The right sahoo.
        Hide
        km added a comment -

        Sahoo, the ModuleDefinition currently does not have getSpecVersion and the
        MANIFEST.MF does not have Specification-Version attribute. We need to get this
        information.

        I am assigning this to you so you can decide and update the API so I can call it
        from list-containers. Assign it to me when you are done.

        Show
        km added a comment - Sahoo, the ModuleDefinition currently does not have getSpecVersion and the MANIFEST.MF does not have Specification-Version attribute. We need to get this information. I am assigning this to you so you can decide and update the API so I can call it from list-containers. Assign it to me when you are done.

          People

          • Assignee:
            Romain Grécourt
            Reporter:
            abien
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: