Loading metadata
Metadata retrieval services can be used to build applications presenting data stored in Mercury DB (HgDB) 3.0 (see the description of Mercury Portal 2.0). They can also be used to build a query builder.
You can read about how metadata is stored in the article describing the architecture: Case metadata. In this article, we will focus on describing the most important services and methods responsible for their retrieval and update. These services are available in the logical layer of the Mercury DB (HgDB) 3.0 application. They can be used to build a GUI that allows for the generation and definition (building) of case object types. Since metadata entities also contain information about the way forms are presented, colors, iconography, etc., they can be used to build applications presenting data stored in Mercury DB (HgDB) 3.0 (see the description of Mercury Portal 2.0).
- TypeCodeRest - REST service of the logical layer, a set of basic methods for retrieving and editing data with the names of case object types. The service has its counterparts supporting the SOAP ITypeCodeAction and Spring Remoting RMI /TypeCodeAction protocols.
https://<server_name>:<port>/mercury-ws-app/rest/service/TypeCodeRest
https://<server_name>:<port>/mercury-ws-app/restServices/TypeCodeRest.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 port8080
).
Example: https://testcluster.hgdb.io/mercury-ws-app/restServices/TypeCodeRest.wadl
- TypeCaseRest - REST service of the logical layer, a set of basic methods for retrieving and editing all versions of object metadata. The service has its counterparts supporting the SOAP protocols ITypeCaseAction and Spring Remoting RMI /TypeCaseAction.
https://<server_name>:<port>/mercury-ws-app/rest/service/TypeCaseRest
https://<server_name>:<port>/mercury-ws-app/restServices/TypeCaseRest.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 port8080
).
Example: https://testcluster.hgdb.io/mercury-ws-app/restServices/TypeCaseRest.wadl
- TypeCodeWithLastVersionBusinessRest - REST service of the business layer, a set of basic methods for retrieving and editing metadata of case objects in the latest version (metadata description may change, services present their latest form). The service has its counterparts supporting SOAP protocols ITypeCodeWithLastVersionBusinessAction and Spring Remoting RMI /TypeCodeWithLastVersionBusinessAction.
https://<server_name>:<port>/mercury-ws-app/rest/service/TypeCodeWithLastVersionBusinessRest
https://<server_name>:<port>/mercury-ws-app/restServices/TypeCodeWithLastVersionBusinessRest.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 port8080
).
Example: https://testcluster.hgdb.io/mercury-ws-app/restServices/TypeCodeWithLastVersionBusinessRest.wadl
📄️ Case type code
In this article, we will discuss the description of the TypeCodeRest service. It is a REST service of the logical layer that provides basic methods for retrieving and editing data with the names of case object types. The service has its equivalents supporting the SOAP protocols ITypeCodeAction and Spring Remoting RMI /TypeCodeAction.
📄️ Type case
In this article, we will describe the TypeCaseRest service. It is a REST service of the logical layer that provides basic methods for retrieving and editing data with the names of case object types. The service has its equivalents supporting the SOAP protocols ITypeCaseAction and Spring Remoting RMI /TypeCaseAction.
📄️ Type code with type of case last version
In this article, we will discuss the description of the TypeCodeWithLastVersionBusinessRest service. It is a REST service of the logical layer that provides basic methods for retrieving and editing data with the names of case object types. The service has its counterparts supporting the OAP protocols ITypeCodeWithLastVersionBusinessAction and Spring Remoting RMI /TypeCodeWithLastVersionBusinessAction.
📄️ Case type kind
In this article, we will describe the TypeKindRest service. It is a REST service of the logical layer that provides basic methods for retrieving and editing data with the names of types of case objects. The service has its equivalents supporting the SOAP protocols ITypeKindAction and Spring Remoting RMI /TypeKindAction.