Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Copy the org.wso2.carbon.registry.samples.handler-34.25.0.jar into  into GREG_HOME/repository/components/dropins.

...

3. Edit the registry.xml file which is in GREG_HOME/repository/conf folder with the following XML snippet.

Code Block

<handler class="org.wso2.carbon.registry.samples.handler.ProjectProposalMediaTypeHandler" methods="PUT">
    <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
        <property name="mediaType">pp</property>
    </filter>
</handler>

Image RemovedImage Added

4. You also can add the handler configuration through the administration console.

...

6. Browse the resources tree by visiting "Browse" menu in "Resources."

Image RemovedImage Added

7. Add a new resource. See Adding a Resource.

...

11. Browse to the added project proposal. You could see the "Properties" and the "Tag" have been added to the resource.

Excerpt
hiddentrue

Instructions on how to use media type handlers.