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
- Create a Java class extending the base implementation class
com.tibco.be.ws.scs.impl.repo.AbstractRepositoryIntegrationand implement all its abstract methods.TheAbstractRepositoryIntegrationclass 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 theAbstractRepositoryIntegrationclass 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. - 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.
- After you have created the required implementation class, compile them using JDK and bundle the class in a JAR file.
- Copy the JAR file to BE_HOME/rms/lib.
- Edit the
RMS.cddfile located at BE_HOME/rms/bin and set thews.scs.impl.typeproperty value to the fully qualified path of the custom implementation class.For example, for the provided sample SVN implementation, setws.scs.impl.typeascom.tibco.be.ws.scs.impl.repo.svn.SVNIntegration. - If your repository uses a CLI for interaction, in the
RMS.cdd file, set
ws.scs.command.pathproperty value to the absolute path of the command line executable. - Save the RMS.cdd file and restart RMS.