|
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:
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. |
Add Comment