Table of Contents

Search

  1. Preface
  2. RulePoint Interfaces
  3. RulePoint Services
  4. Custom Service API
  5. Java Adapter for REST API
  6. RulePoint REST API
  7. Sample XML and JSON Requests and Responses
  8. RulePoint Pluggable Authentication Module
  9. HTTP Request and Response Attributes

Developer Guide

Developer Guide

Creating a Custom Service

Creating a Custom Service

Complete the following tasks to create a custom service:
  1. Determine the purpose and actions of the services.
  2. Complete the prerequisite tasks before you create a custom service.
  3. Create a custom RulePoint service:
    1. Create an activator class that extends from com.informatica.cep.sdk.base.BaseActivator.
    2. Mark the custom service classes by using the custom annotations.
    3. Set the annotation attributes.
    4. Provide implementation for the com.informatica.cep.sdk.base.BaseActivator.getPackageNames() method for the custom service to function. Add a custom configurable property.
      This method must return a string array that contains the list of packages within the bundle where it looks up the custom service annotations.
    5. Edit the bundle manifest file and point to the activator class.
      If you need to use an internal class from the parent run-time or design-time JVM, you need to specify its package in the property org.osgi.framework.bootdelegation in the file
      RULEPOINT_HOME/conf/felix.properties
      .
  4. Copy the custom service jar to the custom folder in the RulePoint installation directory.
  5. In the RulePoint user interface, verify if the services are available in the corresponding services page.

0 COMMENTS

We’d like to hear from you!