Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-999

Deprecate the "upload-deployment-*" ops and *perhaps* add upload-content-*" equivalents

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Management
    • None

      The upload-deployment-* ops are poorly named, as they support uploading any sort of content, not just deployments. And they also foster the illusion that simply invoking those ops in some way creates a deployment.

      The existing ops should be deprecated.

      Beyond that we should consider adding equivalent ops named upload-content-*. The same handler classes can be used; this is just a matter of the OperationDefinition that produces the metatdata. The text description of the new ops should be tweaked a bit as well, to remove any use of the term 'deployment'.

      However it is not certain that we should add these new ops. We should only do it if we have real uses cases that require a separate upload op followed by a persistent config change op. In general config change ops that use bits in the content repo should support directly uploading that content as part of the op, via an attachment stream.

      The current use cases for the content repo are deployments, deployment-overlays and management-client-content. Patches could in theory use it but at the moment do not.

            ehugonne1@redhat.com Emmanuel Hugonnet
            bstansbe@redhat.com Brian Stansberry
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: