更新时间:2022-01-26 09:03:20
Allow customers to deploy custom data processing services, that is, customers deploy their own data processing software on cloud hosts, and wcs forwards file processing requests to customer-defined data processing services. The flow chart is as follows
Allow customers to deploy custom data processing services, that is, customers deploy their own data processing software on the cloud host, and WCS forwards file processing requests to customer-defined data processing services. The flow chart is as follows
Allows customers to deploy custom data processing services, i.e. to deploy their own data processing software on cloud hosts, and wcs forwards file processing requests to customer custom data processing services.The flowchart is as follows.
Deploy the custom data service on the cloud host (detailed deployment steps are subject to the instructions of the cloud host), and provide the service address.
Note: The service address receives two parameters: cmd&url, cmd is the customer's custom service name, and url is the file download address.
\1. Log in to the console, enter the Custom Data Processing interface, and click the New Rule button
\2. New custom data processing services:
\3. Access custom data processing services:
http://<file_url>?ufop=<AppName>
After Wangsu Cloud Storage recognizes the ufop request, it will actively forward the request to the customer-defined data processing service. The forwarding format is as follows:
post service_address?cmd=<AppName>&url=<file_url> Note: file_url uses URL-encoded encoding and must first be decoded using URLdecode
Parameter Description:
parameter | instruction | Is it required |
---|---|---|
ufop | Custom data processing service name | Yes |
file_url | The download address of the file, which consists of the space-bound domain name/file name | Yes |
Return data description:
Note: The returned data, error code is defined by the app.