Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WSO2 Governance Registry 4.6.0 allows only one lifecycle to attach to a particular governance artifact type. However, there can be instances when an artifact governed in the G-Reg and is in the Store,  it gets associated you want to associate it with a Store-specific life cycle in the Store, and also have another development life cycle within G-Reg itself. Therefore, the functionality of the resources is independent of the life cycles. With Thereby with the new improvements in G-Reg 5.0.0 onwards, you can associate multiple life cycles to a resource. The functionality of the resource is independent of its life cycles

For an example, when you add a new service in the Management Console, it is associated with a Service-specific lifecycle by default. You view it in the Attached Life-Cycles panel as shown below. 

...

You can associate another life cycles cycle to the resource by adding the life cycle in the Lifecycle panel, when you add the resource as shown below. 

adding multiple life-cycles

Now, you view the EndPointLifeCycle you selected above also associated to the Service artifact in the Attached Life-Cycles panel as shown below. 

...

Tip

This does not limit the service provider to associate other available life cycles. All associated life cycles can perform operations independently. You can view and edit the details of each life cycle by selecting them from the drop down menu in the Attached Life-Cycles panel. Deleting a lifecycle from a resource does not alter other associated life cycles or their states.

If you add the Service using the Publisher, then it gets associated with a Service-specific life cycle and a Store lifecycle by default. 

 

The life cycle history view displays all You can view the history of all life cycle operations on state transfers in the Lifecycle History panel as shown below.

 viewing life cycle history operationsImage Added