DataOps Agent Configuration
Configure ODM And Its Services
To access the DataOps platform functionalities directly from the Blindata UI, you must first configure the Blindata Agent to function as a reverse proxy. To do so, follow the tutorial below.
Access the Agent detail page and go to schedule.
Click on the FAB button, select ODM_PROXY
as the Job Type and then follow the steps to create the new Job.
The job configuration should be structured so that each service specifies the endpoint where it can be reached.
{
"servicesURLs": {
"blueprint": "<>",
"devops": "<>",
"registry": "<>",
"policy": "<>",
"notification": "<>"
}
}
While navigating the DataOps platform sections in the Blindata UI, you can view the current configuration in use and, if multiple configurations are available, switch to your desired one.
Accessing ODM Services Programmatically via API
You can access ODM services via API by targeting the agent endpoint with the configured context path. The authentication methods are the same of Blindata API.
API Endpoint Template
Use the following template to construct your API requests:
{agent-url}/agent-api/v1/odm/proxy/{odm-config-uuid}/{service-name}/{odm-service-path}
Replace the placeholders with the appropriate values:
{agent-url}
: Base URL of the agent{odm-config-uuid}
: Unique identifier of the job that configures the Blindata Agent as a reverse proxy for ODM{service-name}
: Name of the ODM service{odm-service-path}
: Specific API path of the ODM service
Example
For instance, an API request may look like this:
https://demo.blindata.io/agent-api/v1/odm/proxy/563b0cc8-345e-4594-bb72-e0b2f2f343c6/policy/api/v1/pp/policy/policy-engines