This documentation is for WSO2 Governance Registry 5.1.0. View documentation for the latest release.
||
Skip to end of metadata
Go to start of metadata

Policies can be added by directly adding a policy file. Therefore, to change the default location of policies one location have to be edited. These are under the location element and shown below and is in the registry.xml located at $GREG_HOME/repository/conf.

<handler class="org.wso2.carbon.registry.extensions.handlers.PolicyMediaTypeHandler">
     <property name="policyLocationConfiguration" type="xml">
         <location>/policies/</location>
     </property>
     <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
         <property name="mediaType">application/policy+xml</property>
     </filter>
 </handler>
  • No labels