Hi,
$subject will allows users to define a parent artifact catalog through the
rxt configuration. This will basically force artifacts to inherit
pre-defined set of upstream parent attributes.

For example, suppose I have 3 RXTs, application, mobile application and
android application. Following is the media types and it's native attributes

1. application/vnd.wso2.application+json > name,version
2. application/vnd.wso2.application/vnd.wso2.application.mobile +json >
mobileType
3.
application/vnd.wso2.application/vnd.wso2.application.mobile/vnd.wso2.application.mobile.android
+json > apkPath

( @Senaka/Dimuthu, we need to finalze the way we define media types. Please
give your feedback on above model for media types for inherited rxts.)

Artifact denotes from media type #3 should have all 4 attributes;
name,version,mobileType,apkPath. For #2 it should be 3.  From governance
API level and from UI, users will force to inherit all parent attributes.
And if a certain attribute is Required for a parent, it will be applied for
the child nodes as well. Also, since the media types can get lengthy and
not kind of human readable, we are planning to stick to the short name
mapping for media types which we already have on governance API level.

And you can search All types of "applications" through the "application"
governance artifact manager, while "android" governance artifact manager
will return only android artifacts.


-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer & Lead WSO2 Governance Registry
Platform TG; WSO2 Inc. http://wso2.com
Contact:
email: [email protected]
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to