문제

I would like to know more about the difference between dependencies and associations in WSO2 governance registry. Is there any tutorial presenting a relevant use case?

To investigate, I created two resources with a dependency and then an association between them. Then I updated/deleted one of the resources but I wasn't warned that I broke a link.

thanks for help

도움이 되었습니까?

해결책

An association can be created from any resource (or collection) on the registry to another resource (or collection) on the registry or an external resource which can be referred to by a URL. While the source should be a resource existing on the registry, the destination resource can be anything for which a URL can be given. Association has a type associated.

eg: Document A that confirms to a standard B, You can create an association between those two by stating A "confirms to" B, where association name is "confirms to".

Dependency is a specialization of associations, which states that a resource has a dependency on another resource.

Hope this helps.

Thanks

Thilini

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top