1 / 6

TOSCA 32

TOSCA 32. Author/ Email: Author's name/Author's email Version: V1.0(20YYMMDD). What does cascadingDeletion do?. cascadingDeletion is a property of RelationshipType

kioko
Download Presentation

TOSCA 32

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TOSCA 32 • Author/ Email: Author's name/Author's email • Version: V1.0(20YYMMDD)

  2. What does cascadingDeletion do? • cascadingDeletionis a property of RelationshipType • cascadingDeletion: If set to “yes” the target of an instance of a Relationship Template of this RelationshipType is automatically deleted when the source of the instance of the Relationship Template is deleted AppServer integratedwith DBServer

  3. Limitation • The attribute is just for deletion. There may exists other actions (e.g. suspend). • The direction of cascadingDeletionis “forward” (i.e. source -> target), so what about “backward” (i.e. target -> source)?

  4. What we want to do • Add an element to RelationshipType <ActionTransfer direction=“forward|backward|bi-direction" targetAction="URI" sourceAction=" URI"> • ActionTransfer can cover cascadingDeletion <ActionTransfer direction="forward" targetAction="deletionURI" sourceAction="deletion URI"> • ActionTransfer can do more <ActionForwards direction="forward" targetAction="stopURI" sourceAction="stopURI"> • ActionTransfer canindicate directions <ActionForwards direction=“backward" targetAction="deletionURI" sourceAction="deletionURI"> Monitor WebServer AppServer AppServer

  5. An example <RelationshipTypes> <RelationshipType id=“Integration” name=“Integrated With” cascadingDeletion=“Yes”> <RelationshipTypeProperties element="Qname” type="QName"?/> <ActionTransferCollection> <ActionTransfer direction=“Forward" targetAction="stopURI" sourceAction="stopURI"> <ActionTransfer direction=“Forward" targetAction="deletionURI" sourceAction="deletionURI"> </ActionTransferCollection> <InstanceStates><InstanceState state="anyURI“></InstanceStates> </RelationshipType> </RelationshipTypes>

More Related