Overview

This section describes the functions of Data Lake Mall (DLM), including data API generation, registration, calling, and operations.

DGC DLM aims to build a unified data service bus for enterprises to centrally manage internal and external API services. DLM helps to quickly generate data APIs based on data tables and allows you to register existing APIs with the DLM platform for integrated management and release.

DLM uses the serverless architecture. You only need to focus on the API query logic and do not need to worry about the infrastructure such as the running environment. DLM prepares compute resources and supports for elastic scaling, bringing you low costs and no O&M expenditure.

Figure 1 DLM architecture

Overview Page

On the Overview page, you can view various monitoring data views. The Overview page displays API Development and API Calls.

Figure 2 API development
Table 1 Parameters of API publishing

Parameter

Description

API Published

The number of APIs published every day, week, month, and year.

API Called

The number of times that APIs are called in half a day, every day, every week, and every month.

Top 5 (1)

The call rate of APIs, including the success rate, failure rate, validity rate, and invalidity rate.

Top 5 (2)

The calling duration of APIs, average duration, success duration, and failure duration.

Top 5 (3)

The top 5 APIs that are called, successful API calls, failed API calls, valid API calls, and invalid API calls.

Published

The number of APIs that are successfully published on the service market.

Developing

The number of APIs that are being developed.

Applying

The number of applications that are being applied.

Successful API Calls

The number of successful API calls.

Failed

The total number of failed API calls.

Total API Calls

The total number of API calls.

Figure 3 API calls
Table 2 Parameters about API calling

Parameter

Description

API Called

The number of API calls made every day, week, month, and year.

API Call Ratio

The ratio of successful and failed API calls in the last seven days.

Applied APIs

The number of APIs applied on the DLM platform.

Successful API Calls

The number of successful API calls on the DLM platform.

Total API Calls

The number of total API calls on the DLM platform.

Procedure for Publishing an API

To publish an API or group of APIs, do as follows:

  1. Create an API group.

    An API group facilitates management of APIs used for the same service. Create an API group before creating APIs.

  2. Create an API.

    You can generate and register APIs. An API can be generated in the wizard mode or script mode.

  3. Publish an API.

    An API can be called on the DLM platform only after it is published.

Calling an API

To call an API, do as follows:

  1. Obtain an API.

    You can obtain an API from the service market of DLM.

  2. Create an application and obtain the application authorization.

    To call an API that is accessed through application authentication, you must create an application to generate an application ID and key pair (AppKey and AppSecret). You can call the API only after you bind the application to it. Provide your application information to the API developer to get authorized. When an API is called, the key pair replaces the one in the SDK, and DLM authenticates the identity of the API caller by verifying the key pair. For details on how to use the application authentication method, see the DLM SDK Reference.

  3. Call an API.

    After completing the preceding operations, you can call an API by following the procedures in Calling an API.