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

Revert of update and one-off patch doesn't work offline through web-console

XMLWordPrintable

    • False
    • None
    • False
    • Known Issue

      Related RFE: EAP7-1984

      I prepared zip of maven repo with one updated artifact. Zip also contains updated channel (with new version of that defined artifact). I use offline update and use zip file, so the artifact would be updated.

      Now once I would like to revert the EAP update, then CLI integration and prospero behind it is able to resolve original artifacts (from modules in EAP), but not able to resolve previous version of the channel. This is solved in CLI integration by the ability to upload zip repo in revert operation (eg0" installer revert --revision=abcd1234 --maven-repo-files=/path/to/the/repo/with/channel"). But it seems that there is no option to upload mvn repo during the revert in web-console.

      EAP throws this exception:

      Caused by: org.wildfly.channel.ArtifactTransferException: Unable to resolve the latest version of channel metadata org.jboss.eap.channels:eap-8.0 in this scenario.

      The similar use-case is for the one-off patches in web-console. One-off patch doesn't need to contains EAP channel. So there needs to be a way how to upload one-off-repo.zip and regular-repo.zip through web-console. In CLI integration, there is an option to call "installer upload-custom-patch --custom-patch-file=/path/to/one-off-repo.zip ..." command and then "installer update --confirm --no-resolve-local-cache --maven-repo-files=/path/to/basic/repo.zip".

      Workaround: those operations doesn't work in webconsole, but works in CLI.

              hpehl@redhat.com Harald Pehl
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: