WSO2GREG-5.0.0 onwards, Store is build on top of WSO2 Enterprise Store code base. It has extension capabilities which are defined in https://docs.wso2.com/display/ES200/Working+with+the+ES+Extension+Model
There is a small deviation from above documentation when it is applied to Governance Center since some of the original Store code components mentioned in above documentation has been already overridden in Governance Center. However the pattern is similar as in the above documentation.
Below Image Explains the directory structure of expendable components for Governance Center-Store customizations.
Asset extensions are available in this [GREG_HOME]/repository/deployment/server/jaggeryapps/store/extensions/assets/ location All the app extensions are organized in this folder [GREG_HOME]/repository/deployment/server/jaggeryapps/store/extensions/app/.
Working with App extensions are described in https://docs.wso2.com/display/ES200/Introduction+to+App+Extensions You can add a new folder here to add a new app extension following the guide https://docs.wso2.com/display/ES200/Creating+the+Shell+of+an+App+Extension The default behaviour of asset types is defined here [GREG_HOME]/repository/deployment/server/jaggeryapps/store/extensions/assets/default
https://docs.wso2.com/display/ES200/Introduction+to+Asset+Extensions All the default UI components are organized in this [GREG_HOME]/repository/deployment/server/jaggeryapps/store/themes/store folder. In GREG Store this [GREG_HOME]/repository/deployment/server/jaggeryapps/store/extensions/app/greg-store-defaults directory is used to override behaviour in 4. And 5. as a special case. We use the RXT shortname as defined in the definition. You may add a new asset extension with the singular name of RXT type to override the default behaviour 4, 5 and 6 by following the guide https://docs.wso2.com/display/ES200/Creating+the+Shell+of+an+Asset+Extension
Here the priority will be given in the order of (7) >> (6) >> (5+4) This [GREG_HOME]/repository/deployment/server/jaggeryapps/store/extensions/assets/restservice is a sample of out of the box available asset extension.
No comments:
Post a Comment