Open extension integrates DataPilot with enterprise identity, permission, and governance systems, supporting two directions:
- External applications call DataPilot: Create application access authorization and issue access keys. Applications call the open interfaces within the authorized scope.
- DataPilot calls external extension services: Register extension services to be called at fixed points in time, such as agent deployment, agent deletion, data query, and file access. Confirm the impact before enabling.
System administrators can access, edit, monitor, enable, pause, and delete services. They can view notification delivery and data permission decisions, manage application access authorization and keys, and configure the extension management backend and login-free access.
Open extension is a deployment-level capability that must be enabled by the platform administrator. HTTP plaintext access also needs to be enabled separately; in environments that only allow HTTPS, the service address must use HTTPS. When the capability is disabled, both the "Open Extension" tab and business calls are unavailable.
Core concepts
Extension services and access credentials
An extension service is an external service deployed by customers or partners to provide capabilities via the DataPilot interface. Administrators register the service name, address, capabilities, and access method.
After a service is saved, a one-time credential prompt is displayed at the top of the page. The service identifier can be viewed again in "Technical Details," while the signature key is displayed only once; if a data execution zone is involved, a signature key is generated separately for each running target.
Binding and scope of effect
A binding describes the scope of effect and participation method for extended capabilities; when a service selects multiple capabilities, multiple bindings are generated. Pausing or deleting a service affects all its bindings, but adjusting a single binding does not affect other capabilities within the same service.
The capability card displays "Scope of Effect," "Running Location," and failure impact. The scope of effect can be "Platform Level / All Spaces" or "Specified Space"; the latter requires selecting a space. Only one Data Access Policy Decision Service can be enabled per space.
Extension points, running locations, and running targets
Extension points define the invocation timing, method, and failure boundaries:
capability |
Category |
When to call |
API details |
Impact of failure |
|---|---|---|---|---|
| Agent Notification | Business Event | After the agent release process is successfully completed | Send notifications asynchronously without waiting for the external service to return the business result. | Notification failure does not affect agent deployment. Retry attempts are limited to 20 times within 24 hours. |
| Agent Deletion Notification | Business Event | After a local transaction for deleting an agent or its space is committed | Send notifications asynchronously without waiting for the external service to return the business result. | If the notification fails, the Agent will not be deleted. Retry attempts are allowed up to 20 times within 24 hours. |
| Data Access Strategy Decision | Security and Governance | Before data resource parsing is completed and query execution begins | Synchronize and wait for the external service to return the decision result | Prevent the query from proceeding when an external service is unavailable or returns invalid results. |
| File Access Authorization | Security and Governance | After file ownership verification, before content is exported or copied for favorites | Synchronously returns whether the request is allowed or denied and the reasons. | Operations requiring decision-making are blocked when the external service is unavailable, and also when necessary audit failures occur. |
The Management Control Zone hosts user entry, management interfaces, and control services, performing calls such as Agent deployment, deletion notifications, and file access authorization. The Data Execution Zone handles data queries and business data access; each execution location is an independent running target.
Each zone verifies the service address separately. Data Access Policy Decision must be detected in the actual running target; results from the Management Control Zone cannot replace this detection. The service card displays "Running Targets: N/M Ready," and Technical Details lists each target and its status.
Detection, enablement, and suspension
Detection verifies the service address through connection validation, health checks, and signature probes; enablement involves the binding in business processes; suspension stops the service from participating in processes while retaining configurations. The status changes from "Pending Detection" to "Available for Enablement," and after enablement, to "Running." During operation, the service address, transmission method, or access authorization cannot be modified; you must first suspend the service.
Application access authorization and access keys
Application access authorization defines open interfaces callable by external applications. An access key is the call credential. Each authorization card shows the application status, "x/2 Valid Keys," and authorized operations; keys can be revoked and rotated individually.
Access keys are not personal login passwords and cannot operate on behalf of users. The "Identity Access Only" application is used only for backend login-free access and reading the current identity, without business interface permissions. Authorization captures the interface snapshot when selected; newly added interfaces will not automatically gain authorization.
Decision audit and notification delivery records
Decision audit records the subject, resource, policy, and execution evidence of data access policies. Notification delivery records show the status, frequency, and result of Agent deployment and deletion notifications. A "Permitted" decision does not mean data has been read, and "Recipient Accepted" does not mean the recipient has completed business processing. Events that have been received are not re-delivered for business purposes.
Backend management and login-free access
Extension services support configuring a backend management address and enabling login-free access. Login-free access passes the current DataPilot identity, not the space's business permissions; the target system still controls content based on its own permissions.
Role definition
Role |
Location in this module |
What can it do? |
Boundary |
|---|---|---|---|
| System Administrator | Unique Complete Operator | On the "Open Extensions" page, you can access, edit, test, enable, pause, and delete extension services; manage application access authorization and keys; view decision audit and notification delivery records; and configure the management backend. | The platform switch must be enabled. All management and audit actions are recorded in the management operation logs. |
| Space Administrator | Visitors to the Data Strategy page | When open expansion is available, you can view the management backend entry for the bound extension on the Data Strategy page and proceed to it. | Do not go to the "Open Extension" page and do not modify the access configuration. |
| Platform Administrator (Deployer) | Switches and the Network Side | Enable open extension capabilities, decide whether to allow HTTP access, register accessible IPs and ports, and provide available networks. | Disable page button switch feature |
| Extension Service Provider | External System | Implement extension capabilities, signature verification, return decisions, or receive notifications as agreed. | Offshore background, operation not completed within DataPilot |
| Agent User and Analysis User | Indirect Impact | Normally publish agents, delete agents, query data, and download files | It only needs to detect whether the publication is successful and whether queries are allowed, without needing to understand the scaling configuration. |
System administrators register services and deliver service identifiers and signature keys. Extension service providers complete environment configuration, which administrators then test and enable. When a call fails, administrators locate the issue through delivery records or decision audits and can suspend the service.
Feature entry
Access the open extensions tab
Path: User menu -> System Management -> Open Extensions.
This tab is displayed only if the account is a system administrator and open extensions are enabled for the deployment. If the conditions are not met, the direct link returns to the default tab of System Management.
The page includes a title and a "Refresh" button, a one-time credential prompt bar, extension service cards, and application access authorization. The credential prompt bar is displayed only after creating a new service, rotating a key, or adding a data execution zone. "Refresh" re-reads the service, authorization, binding, and running targets; "Loading Open Extensions" is displayed during loading.
After configuring the Data Access Strategy Decision Service backend, users with the correct permissions and selected spaces can access the extension backend from the Data Strategy page. After open extensions are enabled, the "Commodity Code Mapping" panel is displayed on the Commercial Solution page.
Understand the status of extension services
The status of a service card is determined by its start/stop status, detection result, target readiness, and unapplied modifications:
Overall Status |
Occurrence Condition |
Meaning |
Next |
|---|---|---|---|
| Paused | The service is paused. | The service is not currently involved in the business process. | After rechecking and confirming the impact, you can enable it again. |
| Some target exceptions | The service is running, but at least one object detection task has failed. | This capability may not execute normally on all targets. | Fixed the issue where re-detection of the corresponding target occurs after connection |
| Unapplied modifications exist. | During service runtime, some configurations have not taken effect on all running targets. | Configure to Run on the Old Version | Check the configuration version and target status in the technical details. |
| Running | The service is enabled and the target is normal. | The service has been configured to participate in the business process. | No action required |
| Detection failed | Service or any running object detection failed. | Unable to confirm whether the service can be called as scheduled | After checking the service address, network, identity credentials, and capability version, please try again. |
| To be Checked | Not detected, or there are undetected running targets. | Cannot be enabled yet | Connection detection completed for all running targets |
| Can be enabled | Detection passed, configuration complete | Can be enabled after impact confirmation | Click View Impact and Enable |
| Configuration not completed | The capability, effective scope, or runtime target has not been fully configured. | Not yet eligible | Edit service and complete configuration |
The card displays the capability name, category, description, effective scope, runtime location, failure impact, and "Running Target: N/M ready", and provides options for "Edit", "Manage Operation Records", "Detect Connection", "View Impact and Enable" or "Pause Service", "Delete". The Data Access Strategy Decision Service also displays "Data Permission Decision Audit". If detection fails, it shows "Connection detection failed. Please check the service address, network, identity credentials, and capability version."
During saving, detecting, enabling, or pausing, the related buttons are temporarily unavailable. After the operation completes, the status is re-read, and the final result is based on the badge and prompt.
Connect to an extension service
Prerequisites: Open extensions are enabled for the platform, and there is at least one space. If no spaces exist, "Connect to Extension Service" is not clickable and displays "Please create a space before connecting to the extension service".
Procedure:
- Click "Connect to Extension Service".
- In the "1. Service Information" section, enter the service name (required, up to 100 characters), usage description (optional, up to 500 characters), and service address (required). HTTPS can be used directly; for HTTP, you must enable "Allow HTTP Access", which also covers the management backend and login-free callback. This switch is unavailable if the HTTP master switch is not enabled for the deployment or the service is running; an HTTP service that has not been enabled can still switch back to HTTPS. After enabling, it displays "Risk of plaintext transmission accepted; the service can still only be enabled after connection detection passes after saving."
- Expand "Management Backend (Optional)" as needed to configure the entry address and login-free access.
- In the "2. Extension Capability and Effective Scope" section, select a capability and configure the platform-level or specific-space scope. The runtime location is determined by the capability catalog. Each capability displays the invocation timing, method, success result, and failure impact; advanced settings include the capability interface path, custom parameters JSON object, and release notification content version; "View Technical Contract" opens the interface description.
- In the "3. Service Access Settings" section, select "Do Not Grant Business API Permissions" or enable application authorization; "Advanced Connection Settings" allows modification of the default health check path
/health. - Click "Save Configuration" to view the save result and one-time access credentials.
Save validation: Service name and address are required; the address must be a valid HTTP or HTTPS URL; HTTP requires enabling the permission and using a fixed IP and port from the deployment whitelist, while domain names, unregistered addresses, and system addresses will be rejected. At least one capability must be selected; specifying a space requires selecting a specific space, the capability interface path cannot be empty, custom parameters must be a JSON object, and the effective scope must be supported by the capability.
Access credentials: The prompt bar contains the service identifier that can be viewed again, and the signature key that is displayed only once. The keys are listed separately as [Management Control Area · <Service Identifier>] or [Data Execution Area <Region Identifier> · <Deployment Identifier>]. They need to be handed over to the extension service provider before leaving the page; the service identifier itself is not a secret.
Edit and maintain: Editing allows modification of the name, usage description, management backend, and advanced settings; configured capabilities and scopes are fixed. During runtime, only the name, usage description, and management backend can be modified; the address, capability interface path, business API authorization, and HTTP switch require pausing before modification. Changes to the connection fields will invalidate the detection result. After confirming deletion, the service and its bindings exit the business process.
Detailed features
Check connections and enable binding
Only the system administrator can perform this check and enablement. The operation is recorded in management operation logs. The check accesses the health check address and sends a signed probe, with a single wait time of 3 seconds. Upon passing, a message "Connection check passed for the management control area" is displayed, and the status changes to "Test passed" and "Can be enabled". Failure summaries are recorded in "Original check information"; connection configuration changes during the check will invalidate the result.
Data execution zone capabilities must be confirmed for all targets based on the "Running Target: N/M Ready" and technical details.
Procedure:
- In the "Can be enabled" state, click "View impact and enable".
- In the "Pre-Enable Check", verify the capability, runtime location, plan logo, status of each target, effective scope, and failure impact. Reasons for being unready include target inaccessible, capability version unsupported, data isolation failed, database identity across zones, or not yet checked.
- After all pass, click "Confirm Enable". Upon completion, it displays "Expansion enabled as planned".
Enabling first switches the service status, then proceeds with preparation and submission according to the running target. The card shows "Pending Processing", "Checking", or "Enabling", while technical details show "Operation Successful" or "Operation Failed". The page does not refresh automatically by default; you need to click "Refresh" or re-enter the tab. Upon success, the rule is "Enabled", and the "Effective" and "Expected" versions of the configuration match; if failed, the binding remains draft and does not take effect partially. It needs to be fixed, rechecked, and enabled again. When the popup plan expires, it needs to be closed and reopened.
For a running service, you can click "Pause Service" to exit the process for all bindings; configurations and credentials are retained. After rechecking and confirming the impact, it can be enabled again.
Pre-Enable check for unready targets
A popup displays whether the plan is ready, the "Ready/Unready" status of each target, effective scope, and failure impact. Target rows are labeled "Data Execution Zone ·
Reason for Unreadiness |
Solution |
|---|---|
| The target is currently inaccessible. Please check the regional runtime service and network configurations. | Contact the O&M personnel responsible for maintaining the data execution zone. After service availability is restored, re-perform the detection on the target. |
| The selected capability version is not supported for the target. Please upgrade the service in the corresponding region. | Upgrade the data execution zone service, or determine whether this zone should undertake this capability. |
| The data isolation check for the target failed. Please check the regional database configuration. | Please have the O&M personnel check the database configurations in this region. |
| The target instance is running with a database identity from another region. Please switch to an independent identity. | Configure an independent database identity for the runtime target |
| This runtime target has not passed the connection check. | Click «Redetect» for the target in the technical details section. |
| Shown as "The target is not ready. Expand technical details to view the reason." | Expand technical details to view target status and original information |
After processing, reopen "View Impact and Enable". The target count increases and the plan becomes "Check passed" before it can be enabled.
Configure zone running targets
The card shows "Running Target: N/M Ready"; "Technical Details > Running Target" lists the zone, To Test/Test Passed/Test Failed, failure information, and "Recheck". The button is not clickable during the recheck period. Upon success, it displays "Running target connection check passed" and updates the count.
Data execution zone targets are automatically established by DataPilot; there is no need to manually enter the zone address. If the address, transmission method, or capability contract of a service deployed to a running zone is modified, it needs to be deleted and reconnected. Adding a new data execution zone or space adds new targets, which administrators need to check; enabling is possible only after all targets are ready.
Manage application access authorization
"Application Access Authorization" is used to create identities and minimal necessary permissions for external applications.
Create Access Authorization:
- Click "Create Application Authorization" and fill in the application name and optional description.
- In "OpenAPI Authorization Scope", select operations by category. Each item displays the name, request method, encoding, description, and an "API Documentation" link; select at least one. The directory uses the same stable encoding as "Action Object—Action Content" in global audit.
- Enter the initial Key name, defaulting to
production; leaving the optional expiration time empty indicates it never expires. - Click "Generate API Key" and copy the Key in the prompt that appears only once.
Authorization saves the current interface snapshot. Editing allows changing the name, description, and authorization scope, but not the Key settings. After pausing, all Keys stop being called; deletion requires confirmation.
Key Management: Each application can retain at most 2 valid Keys simultaneously. Through "Key Management" > "Issue New Key", fill in the default name rotation and an optional expiration time; Keys are displayed only once. Issuance is impossible when 2 valid Keys exist or the name is empty. The list shows the name, prefix, expiration time, and "Valid/Expired"; revocation takes effect immediately. Expired includes revoked and expired. During rotation, issue the new Key first, then revoke the old Key after the application switches.
Applications marked "Identity Access Only" display only the purpose and "Pause/Enable", without Key management. The card "View Audit" opens in a new window and locates the management operation records for that application.
Audit data permission decision-making
The Data Access Policy Decision Service provides the "Data Permission Decision Audit" pop-up, which displays only the decisions of this service. The list shows "Decision Time", "Platform User", "Decision Conclusion", and "Current Resource Scope" in descending order of time. The first three items are displayed for resources; others are represented by "+N". The conclusions include:
- Allow (Restricted by Policy): Access is granted but is subject to the row and column policy returned.
- Deny: The external service denies access.
- Exception (Not Granted): The call failed or the result is invalid.
- Unknown (Historical Summary): Only a summary is available in the history.
The list supports "Previous Page / Next Page" and "Refresh", and displays "Loading...", "No Data Permission Decision Records", or "Load Failed, Please Refresh".
Details include:
- The decision conclusion and error code.
- Platform user, external identity, workspace, Agent, access purpose and operation, session, business association, and resource scope.
- Policy version, external audit number, rule merging method, denial reason, excluded columns, and row filtering rules. You can expand to view the complete structured policy. If there are no row or column constraints, it displays "The current resource scope has no row or column constraints, which does not mean other resources have been authorized."
- Actual access and execution evidence, which may be "Query Execution Successful", "Query Execution Failed", "Access Blocked", "Execution Start Registered, Final Result Unconfirmed", or "Execution Receipt Not Collected, Data Accessed Cannot Be Confirmed Based On This", and displays the access number, request SQL fingerprint, actual execution SQL fingerprint, database execution boundary, and number of rows returned. The platform does not save the original SQL, parameters, or data rows.
Historical summaries cannot restore the subject, resources, or policies. The page prompts "Historical records only save summaries, cannot restore subjects, resources, or policies; a successful call cannot be interpreted as permission."
Track notification delivery records
When the service is running and the publish or delete notification capability is enabled, the card displays "Notification Delivery Records". The event title is "
Delivery Status:
Status |
Meaning |
|---|---|
| Pending Sending | Enqueued, not yet dispatched |
| Sending | Sending |
| Waiting for Retry | This round failed. Wait for the next automatic retry. |
| Reconnect and redetect | Service connection needs to be repaired. After repair and re-detection, the ongoing deliveries will continue. |
| Received | The recipient has accepted the request; this does not indicate that its business processing is complete. |
| Retry-Unable Failure | The recipient has explicitly refused the request, or the request format is unrecoverable and will no longer be automatically retried. |
| Quotas Exhausted | 20 attempts |
| More than 24 hours have passed. | Exceeds the 24-hour deadline after event persistence |
| Cancelled | The administrator has canceled subsequent deliveries. |
| Subscription Suspended | The subscription is paused. No data will be sent during the pause period. |
| Result unknown. May have been delivered. | Result not confirmed during sending |
Details display the status, number of sends ("Sent N Times / Maximum 20 Times"), deadline, next attempt, acceptance time, and most recent error code. Send attempt records include #Sequence Number, time, HTTP status code or error code, and duration; "Result Unknown, May Have Been Delivered" is marked separately. Technical identifiers can be expanded to view the event, delivery, and request summary.
If waiting for retry or needing to repair a connection, with fewer than 20 attempts and within 24 hours, you can "Retry Now"; the confirmation message is "Retry Immediately Within the Original Attempts and 24-Hour Budget? No New Business Event Will Be Created.", and "Operation Saved" is displayed upon success. When waiting to send, sending, waiting for retry, needing to repair a connection, or paused, you can "Cancel Delivery". The confirmation message is "Are You Sure You Want To Cancel Subsequent Deliveries? Sent Requests Cannot Be Withdrawn, Successful Receipt Will Still Be Recorded." Failed retries, exhausted attempts, exceeding 24 hours, already canceled, and accepted by the recipient cannot be retried.
Notification failure will not undo Agent publish or delete. Supplementary notifications require negotiation outside DataPilot; received events will not be re-sent.
Release Notification Content Version: Supports "Release Result (Compatible with Existing Recipients) 0.1.0" and "Release Result and Creator Identity 0.2.0". 0.2.0 adds a snapshot of the original creator of the source Agent; empty when the creator does not exist or the old release has no snapshot, not replaced by the release operator. After a recipient declares support, an administrator can add 0.2.0 in "Edit" > "Advanced Settings". This operation does not change existing subscriptions; a running service needs to be paused, saved, re-detected, and re-enabled, then switch from "Release Notification Content" and confirm "Only Subsequent New Events Use the Selected Content Format; Generated Notifications and Retries Remain As Is". An undetected version cannot be selected, and switching will not re-send historical events.
Configure extended management backend login-free access
The management backend is an optional configuration.
Configuration Steps:
- In the access or edit popup, expand "Management Backend (Optional)" and enter the management backend address; clearing and saving will remove the entry.
- Enable "Login-Free" to enter "OIDC Login-Free Configuration"; disable it to use the target system's original login.
- Enter a complete Redirect URI for each line. HTTPS can be configured directly; HTTP requires extended permission and registration of IP and port.
- Enter the OIDC client RSA public key JWKS, with the private key saved only on the client. An invalid private key or format will prompt "Public Key Invalid, Please Enter the RSA Public Key JWKS Provided by the Login Service, Do Not Enter the Private Key".
- Copy the read-only platform parameters: Client ID, Issuer, Discovery URL, Authorization Endpoint, Token Endpoint, Provider JWKS URI, UserInfo Endpoint, Scope, Response Type, Grant Types, Token Endpoint Auth Method, Signing Algorithm, PKCE Method. Configuration takes effect after saving.
A new service must be saved before it can be detected and tested. Clicking "Detect Configuration" checks the currently saved configuration without modifying it; results include "Passed", "Failed", or "Pending Browser Verification" for "Configuration Format", "Platform Identity Service", and "Management Backend Reachability". Failure reasons include empty address, invalid public key, incomplete callback address, identity service not ready, page unreachable, or abnormal status. Modifying fields clears the old result; even if all basic items pass, actual testing is still required.
"To Try Login-Free" uses the current account to enter the backend in a new tab; when the browser blocks the popup, it displays "Please Allow Popups Then Retry". The service card shows the address and login-free status. "Enter Management Backend" requests the current authorization each time; when permissions are revoked, it displays "Unable to Complete Identity Connection, Please Check Current Login Status Then Retry".
After the Data Access Policy Decision Service is configured and its management backend is enabled, users with open extension capabilities and selected spaces can access the corresponding backend from the Data Policies page; data policies are still edited on the original page.
Typical processes
Process 1: connect to and enable a notification extension service
- Confirm that open extension is enabled and there is at least one space. Go to
User menu -> System Management -> Open Extension> "Connect to Extension Service". - Enter the service information and HTTPS address, and select the platform-level "Agent Publish Notification".
- Save and copy the one-time credentials for the extension service to configure signature verification.
- Check the connection, click "View Impact and Enable", and confirm.
- After refreshing, confirm it shows "Running", and check the status through "Notification Delivery Records".
Process 2: connect to data access policy decision and troubleshoot a first denial
- Select "Data Access Policy Decision" and specify a space. Save and deliver the signature keys for each region.
- Recheck all running targets. After everything is ready, confirm to enable.
- When a rejection occurs, view the conclusion, reason, policy version, complete policy, and execution evidence in "Data Permission Decision Audit".
Process 3: create access authorization for an external application and rotate the key
- Create a new application authorization, select the required operation, and enter the initial key name.
- Generate and immediately copy the one-time API Key.
- Before expiration, issue a new key via "Key Management". After the application switches, revoke the old key; the card will show "1/2 valid Keys".
Process 4: update the address or access authorization for a running service
- Stop the service, and edit the address, HTTP access, or business API access authorization.
- Save and recheck; changes to the connection fields will reset the check result.
- Reconfirm the impact and enable.
Process 5: open the management backend for extension services without login
- Configure the management backend address, login-free callback, and client public key, and pass the read-only platform parameters to the target service.
- Save and check the configuration, then verify with "Try Login-Free Access".
- Use "Enter Management Backend" to access with the current DataPilot identity.
