Qorus Integration Engine® Enterprise Edition 6.0.19_prod
Loading...
Searching...
No Matches
datasource-v5.1.qsd File Reference

More...

Classes

class  QorusSystemDatasourceService
 system datasource service More...
 

Detailed Description

DEPRECATED: provides backwards-compatible access to datasources

See also
QorusSystemDatasourceService for method information
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

datasource::flushToFile()

REST API: PUT /api/latest/remote/datasources?action=flush

datasource::get()

get_datasource_shared() (deprecated)

datasource::getDedicated()

get_datasource_dedicated()

datasource::getPool()

get_datasource_pool()

datasource::getUnique()

get_datasource_pool()

datasource::get_desc()

get_datasource_info()

datasource::reload()

REST API: PUT /api/latest/remote/datasources?action=reload

datasource::reset()

REST API: PUT /api/latest/remote/datasources/{name}?action=reset

datasource::select(), datasource::selectRow()

REST API: /api/latest/services/sqlutil/select (see QorusSystemSqlutilService::select() and QorusSystemSqlutilService::select_rows())

datasource::showDefaults()

REST API: GET /api/latest/remote/datasources

datasource::showDefaultsWithPasswords()

REST API: /api/latest/remote/datasources?with_passwords=true

datasource::update(), datasource::update_hash(), datasource::update_string()

REST API: PUT /api/latest/remote/datasources/{name}?action=update