Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-431

Deployment content management enhancement

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.CR1
    • None
    • None
    • None
    • Medium

      In order to keep deployment state sane and meet various external requirements, we need to support multiple content items per deployment.

      Presently deployments are permanently, uniquely identified by SHA1. We need to move this SHA1 identifier to the content of the deployment element. So rather than:

          <deployment name="foo.ear" runtime-name="foo.ear" sha1="d37ede977b022a1456ec5e7a5eee07549cb1c414"/>
      

      It should be structured as:

          <deployment name="foo.ear" runtime-name="foo.ear">
              <content id="d37ede977b022a1456ec5e7a5eee07549cb1c414"/>
          </deployment>
      

      If there is filesystem content it should be listed differently:

          <deployment name="foo.ear" runtime-name="foo.ear">
              <fs-archive path="deployments/foo.ear" relative-to="jboss.server.base.dir"/>
              <fs-exploded path="deployments/foo.war" relative-to="jboss.server.base.dir"/>
          </deployment>
      

      For filesystem hot-deployment purposes, it is up to the FS scanner to take care of tracking and removing deployments whose content was removed.

              rhn-engineering-cdewolf Carlo de Wolf
              dlloyd@redhat.com David Lloyd
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: