Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25791

Patch high level command should be completely disabled in standalone mode

XMLWordPrintable

      The patch command is still available under the EAP 8 standalone context, however, it should be completely disabled since its usage makes no sense in EAP 8 standalone.

      So far we have removed the patch command group, e.g. "pat+<TAB>" no longer completes to "patch" and the command used without arguments returns as no available:

      [standalone@localhost:9990 /] patch
      The command is not available in the current context.
      
      [disconnected /] patch
      The command is not available in the current context.
      

      However, when using a subcommand in a disconnected session, it is still "functional":

      [disconnected /] patch info
      Version:             8.0.0.GA
      Cumulative patch ID: base
      One-off patches:     none
      

      In a connected interactive session it returns an error since the /core-service/patching resource was also removed:

      [standalone@localhost:9990 /] patch info
      WFLYCTL0030: No resource definition is registered for address [("core-service" => "patching")]
      

      In addition, the "help patch" should also be removed from standalone mode.

      In EAP8, the "patch" command should be only functional in Domain Mode, since it still needs to be used to patch secondary hosts running on EAP 7.x from a EAP Domain Controller

            yborgess1@redhat.com Yeray Borges Santana
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: