Skip to content

Add CTYun DDoS Cloud service#279

Open
632661265flynn-dotcom wants to merge 1 commit into
chaitin:mainfrom
632661265flynn-dotcom:codex/add-ctyun-ddos-service
Open

Add CTYun DDoS Cloud service#279
632661265flynn-dotcom wants to merge 1 commit into
chaitin:mainfrom
632661265flynn-dotcom:codex/add-ctyun-ddos-service

Conversation

@632661265flynn-dotcom

@632661265flynn-dotcom 632661265flynn-dotcom commented Jun 25, 2026

Copy link
Copy Markdown

Summary

  • add CTYun DDoS High Protection (Edge Cloud) read-only service package
  • implement CTYun EOP AK/SK request signing and read-only API routing
  • register ctyun-ddoscloud in the tentacles package dispatcher

Closes #277

Tests

  • npm run validate -- --service-dir ctyun__ddoscloud
  • npm test -- --service-dir ctyun__ddoscloud
  • npm run import:check -- --octobus /Users/flynn/Desktop/aicoding/OctoBus-main/bin/octobus
  • npm run pack:check

Live verification evidence (redacted)

Secrets and signatures are masked. Request path, method, headers, status code, and response structure are kept visible.

联调证据:CTYun DDoS Cloud DomainQuery 跑通

Request

GET https://ddoscloud-global.ctapi.ctyun.cn/ctapi/v2/domain/query
Content-Type: application/json
ctyun-eop-request-id: 63e8898a-1f9b-4e77-95f6-2ca80885c2bd
Eop-date: 20260626T030804Z
Eop-Authorization: a7434d3e Headers=ctyun-eop-request-id;eop-date Signature=**

Response HTTP/1.1 200

{
"returnObj": {
"result": [],
"total": 0,
"total_count": 0,
"page": 1,
"page_count": 0,
"page_size": 50
},
"message": "正确返回",
"statusCode": 100000
}

联调证据:CTYun DDoS Cloud CertList 跑通

Request

GET https://ddoscloud-global.ctapi.ctyun.cn/ctapi/v1/cert/list
Content-Type: application/json
ctyun-eop-request-id: 7cccea23-f5fb-47ca-bd87-e34caff8df9b
Eop-date: 20260626T030804Z
Eop-Authorization: a7434d3e Headers=ctyun-eop-request-id;eop-date Signature=**

Response HTTP/1.1 200

{
"returnObj": {
"result": [],
"per_page": 1000,
"total_records": 0,
"total_page": 0,
"page": 1
},
"message": "正确返回",
"statusCode": 100000
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

天翼云-ddos

1 participant