Integrating Custom Repository with RMS

TIBCO BusinessEvents provides API to integrate your repository with RMS. You can use this repository to store RMS projects.

You can use the com.tibco.be.ws.scs.impl.repo API to create implementation classes for your repository to integrate with RMS. TIBCO BusinessEvents provides a sample implementation (SVN repository) of this API at BE_HOME/examples/standard/WebStudio/CustomRepository.

For details about the com.tibco.be.ws.scs.impl.repo API and its classes, see TIBCO BusinessEvents Java API Reference.

    Procedure
  1. Create a Java class extending the base implementation class com.tibco.be.ws.scs.impl.repo.AbstractRepositoryIntegration and implement all its abstract methods.
    The AbstractRepositoryIntegration class is available in the cep-rms.jar file at BE_HOME/rms/lib. Add this JAR file to the classpath of the newly created Java class to resolve dependencies.
    For details about the AbstractRepositoryIntegration class and its methods, see TIBCO BusinessEvents Java API Reference.
    For better understanding of the implementation, refer to the sample implementation class created for the SVN repository at BE_HOME/examples/standard/WebStudio/CustomRepository/svn/src.
  2. If your repository uses a CLI for interaction, install its command line executables.
    For details about the CLI installation for your repository, refer to your repository documentation.
  3. After you have created the required implementation class, compile them using JDK and bundle the class in a JAR file.
  4. Copy the JAR file to BE_HOME/rms/lib.
  5. Edit the RMS.cdd file located at BE_HOME/rms/bin and set the ws.scs.impl.type property value to the fully qualified path of the custom implementation class.
    For example, for the provided sample SVN implementation, set ws.scs.impl.type as com.tibco.be.ws.scs.impl.repo.svn.SVNIntegration.
  6. If your repository uses a CLI for interaction, in the RMS.cdd file, set ws.scs.command.path property value to the absolute path of the command line executable.
  7. Save the RMS.cdd file and restart RMS.