Skip to main content

Data mining and aggregation services

Info

The Mercury DB system offers many services that implement various methods of searching for cases, both in the logical and business layers of the system. In order to standardize and centralize, two main services were created, containing several advanced search methods.

Note

The API described is available in software with a minimum version of 3.0.2.0.2. In earlier versions, the case search mechanisms were defined only in the CaseBusinessRest services (SOAP: ICaseBusinessAction; Spring Remoting RMI: /CaseBusinessAction) and CaseBusinessExtRest, which are responsible for the general mechanisms of case processing operations. Unfortunately, the need to maintain backward compatibility did not allow these services to be expanded with the necessary elements. To check the software version, see the article What is the version of my system?.

  • CaseSearchRest - a collection of basic search and data aggregation methods. The service has its counterparts supporting SOAP protocols ICaseSearchAction and Spring Remoting RMI /CaseSearchAction.
Info
Endpoint is available at:
https://<server_name>:<port>/mercury-ws-app/rest/service/CaseSearchRest
WADL is available at:
https://<server_name>:<port>/mercury-ws-app/restServices/CaseSearchRest.wadl

where:

  • <server_name> - name of the server on which the Mercury DB (HgDB) 3.0 application is installed,
  • <port> - port on which the Mercury DB (HgDB) 3.0 application is listening (by default it is port 8080).

Example: https://testcluster.hgdb.io/mercury-ws-app/restServices/CaseSearchRest.wadl

  • CaseSearchExtRest - extended set of additional methods related to searching and aggregation. Special service created for integration with Grafana (software for data analysis, monitoring and visualization) Available only in the REST services area.
Info
Endpoint is available at:
https://<server_name>:<port>/mercury-ws-app/rest/service/CaseSearchExtRest
WADL is available at:
https://<server_name>:<port>/mercury-ws-app/restServices/CaseSearchExtRest.wadl

where:

  • <server_name> - name of the server on which the Mercury DB (HgDB) 3.0 application is installed,
  • <port> - port on which the Mercury DB (HgDB) 3.0 application is listening (by default it is port 8080).

Example: https://testcluster.hgdb.io/mercury-ws-app/restServices/CaseSearchExtRest.wadl

  • CaseIndexerFieldsManagerRest - an additional service created to support query building mechanisms. It contains a number of methods that allow you to retrieve information about indexed fields and their statistics - especially useful when someone wants to create a query builder in the future. The service has its equivalents supporting SOAP protocols ICaseIndexerFieldsManagerAction and Spring Remoting RMI /ICaseIndexerFieldsManagerAction.
Info
Endpoint is available at:
https://<server_name>:<port>/mercury-ws-app/rest/service/CaseIndexerFieldsManagerRest
WADL is available at:
https://<server_name>:<port>/mercury-ws-app/restServices/CaseIndexerFieldsManagerRest.wadl

where:

  • <server_name> - name of the server on which the Mercury DB (HgDB) 3.0 application is installed,
  • <port> - port on which the Mercury DB (HgDB) 3.0 application listens (by default it is port 8080).

Example: https://testcluster.hgdb.io/mercury-ws-app/restServices/CaseSearchExtRest.wadl