Qorus Integration Engine®  4.0.3.p2_git
datasource-v4.0.qsd File Reference

DEPRECATED: provides backwards-compatible access to datasources. More...

Classes

class  QorusSystemDatasourceService
 the main datasource service class More...
 

Detailed Description

DEPRECATED: provides backwards-compatible access to datasources.

Deprecated:
This service is now deprecated and only included for backwards compatibility. The functionality previously implemented by this service is now built in to the Qorus server itself and integrated with connection monitoring and automatic interface management.

This service provides backwards-compatible access to SQL data sources by calling internal Qorus functions that provide access to monitored Datasource and DatasourcePool objects.

Note that no access is provided to the system schema ("omq" datasource); all access to the system schema must be made through defined Qorus system APIs.

References to new, non-deprecated functionality are provided in the documentation below; however the following table provides a mapping:

Datasource Method to Datasource API Mapping

Method Function or API
QorusSystemDatasourceService::flushToFile() REST API: PUT /api/latest/remote/datasources?action=flush
QorusSystemDatasourceService::get() get_datasource_shared() (deprecated)
QorusSystemDatasourceService::getDedicated() get_datasource_dedicated()
QorusSystemDatasourceService::getPool() get_datasource_pool()
QorusSystemDatasourceService::getUnique() get_datasource_pool()
QorusSystemDatasourceService::get_desc() get_datasource_info()
QorusSystemDatasourceService::reload() REST API: PUT /api/latest/remote/datasources?action=reload
QorusSystemDatasourceService::reset() REST API: PUT /api/latest/remote/datasources/{name}?action=reset
QorusSystemDatasourceService::select(), QorusSystemDatasourceService::selectRow() REST API: /api/latest/services/sqlutil/select (see sqlutil.select() and sqlutil.select_rows())
QorusSystemDatasourceService::showDefaults() REST API: GET /api/latest/remote/datasources
QorusSystemDatasourceService::showDefaultsWithPasswords() REST API: /api/latest/remote/datasources?with_passwords=true
QorusSystemDatasourceService::update(), QorusSystemDatasourceService::update_hash(), QorusSystemDatasourceService::update_string() REST API: PUT /api/latest/remote/datasources/{name}?action=update