Petals Distribution

Make service unit deployable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 4.2.1
  • Fix Version/s: 5.0.0-M1
  • Component/s: Clients, Components
  • Security Level: Public
  • Description:

    Nowadays, service units are deployed using service assemblies.

    As the habit is to create one service assembly per service unit, it will be interesting to be able to deploy service units directly, without requiring a service assembly.

  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Tue, 10 Jun 2014 - 16:16:01 +0200 - edited

A service assembly does not contain only a set of service units. It contains also:

  • their identification
  • the component on which each service unit must be deployed.

So we can't deploy a service unit as-is.

We introduced the deployable service unit that is a service unit with a JBI descriptor extended by:

  • an identification part,
  • and another part to define the target component name.
    <jbi:jbi xmlns:jbi="http://java.sun.com/xml/ns/jbi"
       xmlns:petals-jbi="http://petals.ow2.org/extensions/jbi/1.0"
       xmlns:petals.ow2.org="http://petals.ow2.org/" version="1.0">
       <jbi:services binding-component="false">
          ...
          <petals-jbi:identification>
             <jbi:name>su-name</jbi:name>
             <jbi:description>A Service Unit deployable directly</jbi:description>
          </petals-jbi:identification>
          <petals-jbi:component-name>target-component-id</petals-jbi:component-name>
       </jbi:services>
    </jbi:jbi>

To keep Petals ESB compliant with JBI, and to avoid to update the Petals ESB server side, we choose:

  • to create automatically a temporary SA during such a service unit deployment,
  • the temporary SA creation is done on Petals ESB client side (into Petals Administration API) or Petals ESB Autoloader extension.

Impacted Petals components:

  • PETALSSTUD-317: Petals Studio will be improved to add the both new parts of the service unit JBI descriptor in the service unit wizard.
  • PETALSESBCLI-99: Petals CLI will be improved to support deployment of such service units.
  • MAVPETALSPLUG-22: Maven Petals Plugin will be improved to add both new parts when updating the JBI descriptor of a service unit
  • PETALSESBCONT-305: Petals ESB autoloader will be improved to support deployment of such service units.
Show
Christophe DENEUX added a comment - Tue, 10 Jun 2014 - 16:16:01 +0200 - edited A service assembly does not contain only a set of service units. It contains also:
  • their identification
  • the component on which each service unit must be deployed.
So we can't deploy a service unit as-is. We introduced the deployable service unit that is a service unit with a JBI descriptor extended by:
  • an identification part,
  • and another part to define the target component name.
    <jbi:jbi xmlns:jbi="http://java.sun.com/xml/ns/jbi"
       xmlns:petals-jbi="http://petals.ow2.org/extensions/jbi/1.0"
       xmlns:petals.ow2.org="http://petals.ow2.org/" version="1.0">
       <jbi:services binding-component="false">
          ...
          <petals-jbi:identification>
             <jbi:name>su-name</jbi:name>
             <jbi:description>A Service Unit deployable directly</jbi:description>
          </petals-jbi:identification>
          <petals-jbi:component-name>target-component-id</petals-jbi:component-name>
       </jbi:services>
    </jbi:jbi>
To keep Petals ESB compliant with JBI, and to avoid to update the Petals ESB server side, we choose:
  • to create automatically a temporary SA during such a service unit deployment,
  • the temporary SA creation is done on Petals ESB client side (into Petals Administration API) or Petals ESB Autoloader extension.
Impacted Petals components:
  • PETALSSTUD-317: Petals Studio will be improved to add the both new parts of the service unit JBI descriptor in the service unit wizard.
  • PETALSESBCLI-99: Petals CLI will be improved to support deployment of such service units.
  • MAVPETALSPLUG-22: Maven Petals Plugin will be improved to add both new parts when updating the JBI descriptor of a service unit
  • PETALSESBCONT-305: Petals ESB autoloader will be improved to support deployment of such service units.
Christophe DENEUX made changes - Tue, 10 Jun 2014 - 16:16:01 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Component/s Clients [ 10272 ]
Christophe DENEUX made changes - Tue, 10 Jun 2014 - 16:22:01 +0200
Link This issue depends on PETALSSTUD-317 [ PETALSSTUD-317 ]
Christophe DENEUX made changes - Tue, 10 Jun 2014 - 16:26:03 +0200
Link This issue depends on PETALSESBCLI-99 [ PETALSESBCLI-99 ]
Christophe DENEUX made changes - Wed, 11 Jun 2014 - 15:05:24 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Wed, 11 Jun 2014 - 15:05:47 +0200
Fix Version/s 4.3.0 [ 10412 ]
Christophe DENEUX made changes - Thu, 12 Jun 2014 - 09:44:37 +0200
Link This issue depends on MAVPETALSPLUG-22 [ MAVPETALSPLUG-22 ]
Christophe DENEUX made changes - Thu, 12 Jun 2014 - 09:44:38 +0200
Link This issue depends on PETALSESBCONT-305 [ PETALSESBCONT-305 ]
Hide
Christophe DENEUX added a comment - Tue, 13 Sep 2016 - 11:22:05 +0200

This issue should be closed when PETALSSTUD-317 will be closed

Show
Christophe DENEUX added a comment - Tue, 13 Sep 2016 - 11:22:05 +0200 This issue should be closed when PETALSSTUD-317 will be closed
Christophe DENEUX made changes - Tue, 13 Sep 2016 - 11:22:05 +0200
Status In Progress [ 10003 ] Open [ 10002 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
23m 26s
1
Christophe DENEUX
Tue, 10 Jun 2014 - 16:16:01 +0200
Open Open In Progress In Progress
22h 49m
1
Christophe DENEUX
Wed, 11 Jun 2014 - 15:05:24 +0200
In Progress In Progress Open Open
824d 20h 16m
1
Christophe DENEUX
Tue, 13 Sep 2016 - 11:22:05 +0200



People

Dates

  • Created:
    Tue, 10 Jun 2014 - 15:52:35 +0200
    Updated:
    Tue, 13 Sep 2016 - 11:22:05 +0200