Datasources

Table of Contents

Datasource framework provided by the RapidCMDB platform enables applications built on RapidCMDB platform to communicate with external systems. Supported default datasources are HTTP, Database, Single Table Database, and SNMP. Additional datasources can be added by using the plugin framework.

Each datasource embodies 2 types of information:

  • what external system to talk to - in the form of connection parameters
  • how to talk to the external system - in the form of a custom adapter

To supply connection parameters, first, a corresponding Connection instance has to be created for the datasource to use. Connection instances can be shared by multiple datasources. For example, the connection parameters for a database are database driver,url, username and password. Since database connections can be pooled, the maximum number of active database connections at any given time is also set. You can define datasources and their connections in Datasources tab at http://host:port/RapidSuite/admin.gsp.

There are methods that each datasource provide through their adapter implementations. These methods are used to retrieve from and update data in the datasource.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.