Extending Datasources

Table of Contents

Datasources are how RapidCMDB and applications built on this platform communicate with the external world.
RapidCMDB datasource framework has a layered architecture to offer flexible extensibility. Each datasource instance is a wrapper that brings together:

  • A connection class that implements the custom connection and disconnection behavior for the external system
  • A connection configuration modeled class to store connection parameters
  • An adapter implementing operations to interact with the external system using the API provided by the external system

In order to create a new datasource, one needs to go through the following steps:

  1. Implement the connection class that extends com.ifountain.core.connection.BaseConnection class
  2. Create a connection configuration modeled class extending connection.Connection (grails-app/domain/connection/Connection.groovy)
  3. Implement the adapter class that extends com.ifountain.core.datasource.BaseAdapter
  4. Create a datasource configuration modeled class extending datasource.BaseDatasource (grails-app/domain/datasource/BaseDatasource .groovy)
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.