Customized Data Process

최신 업데이트:2022-01-26 09:03:20

Background

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.

image.png

Instructions for use

Service deployment

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.

注:服务地址接收cmd&url两个参数,cmd为客户自定义的服务名称,url为文件下载地址。

Configure a custom data processing service:

\1. Log in to the console, enter the Custom Data Processing interface, and click the New Rule button
image.png

\2. New custom data processing services:

  • AppName: Fill in the name of the custom data processing service, which will be forwarded to the customer’s custom data processing service through cmd later.
  • Service Address: Fill in the external access address of the customer-defined data processing service.
  • Description: fill in the description information
    image.png

\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 服务地址?cmd=<AppName>&url=<file_url>  注:file_url使用urlencode编码,使用时需先使用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:

注:返回的数据、错误码由APP定义

이 문서의 내용이 도움이 되었습니까?
아니오
정상적으로 제출되었습니다.피드백을 주셔서 감사합니다.앞으로도 개선을 위해 노력하겠습니다.