based on some recommendations how to simplify GEP, I have done the following changes around ServiceVersion and SLD:
- changed the multiplicity to 1..1 for the "gep63_provides" relationship
- added an configurable modifier action to create an SLD once a Service Version is created and link it to the service version
- Remove SLD from the SLD lifecycle
Everything works fine when creating service versions, but I am having problems to convince WSRR to also delete the SLD if the service version is deleted. below my action file snippet.
<?xml version="1.0" encoding="UTF-8"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ibm.com/xmlns/prod/serviceregistry/Actions Actions.xsd">
It seems that the action is properly fired as I get error messages if I stuff up the syntax of the delete-action target-query. The query itself seems to point to the right object as well as I can use it with the REST interface returning the correct SLD.
But anyway, once I delete the service version, the SLD still remains. any idea ?