[PR #735] [MERGED] enhance providers #1028

Closed
opened 2026-03-03 01:07:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/certimate-go/certimate/pull/735
Author: @fudiwei
Created: 5/28/2025
Status: Merged
Merged: 6/1/2025
Merged by: @fudiwei

Base: mainHead: feat/providers


📝 Commits (8)

  • b8b94df feat: support configuring huaweicloud enterprise project id
  • df1f216 feat: support configuring aliyun resource group id
  • ddb46f9 refactor: clean code
  • 829fa29 feat: add user-agent http header for thirdparty sdks
  • daf22b7 feat: initialize aliyun fc ssl protocol
  • efdeacf feat: add preset webhook template for serverchan3
  • e73e273 feat: use discard handler as default providers logger
  • f0af36b refactor: clean code

📊 Changes

160 files changed (+610 additions, -380 deletions)

View changed files

📝 internal/deployer/providers.go (+37 -19)
📝 internal/domain/access.go (+4 -2)
📝 internal/domain/workflow.go (+4 -4)
📝 internal/pkg/core/deployer/deployer.go (+1 -1)
📝 internal/pkg/core/deployer/providers/1panel-console/1panel_console.go (+1 -1)
📝 internal/pkg/core/deployer/providers/1panel-site/1panel_site.go (+1 -1)
📝 internal/pkg/core/deployer/providers/aliyun-alb/aliyun_alb.go (+7 -4)
📝 internal/pkg/core/deployer/providers/aliyun-apigw/aliyun_apigw.go (+14 -9)
📝 internal/pkg/core/deployer/providers/aliyun-cas-deploy/aliyun_cas_deploy.go (+32 -15)
📝 internal/pkg/core/deployer/providers/aliyun-cas/aliyun_cas.go (+4 -1)
📝 internal/pkg/core/deployer/providers/aliyun-cdn/aliyun_cdn.go (+3 -1)
📝 internal/pkg/core/deployer/providers/aliyun-clb/aliyun_clb.go (+7 -4)
📝 internal/pkg/core/deployer/providers/aliyun-dcdn/aliyun_dcdn.go (+3 -1)
📝 internal/pkg/core/deployer/providers/aliyun-ddos/aliyun_ddos.go (+7 -4)
📝 internal/pkg/core/deployer/providers/aliyun-esa/aliyun_esa.go (+7 -4)
📝 internal/pkg/core/deployer/providers/aliyun-fc/aliyun_fc.go (+13 -2)
📝 internal/pkg/core/deployer/providers/aliyun-ga/aliyun_ga.go (+6 -3)
📝 internal/pkg/core/deployer/providers/aliyun-live/aliyun_live.go (+4 -2)
📝 internal/pkg/core/deployer/providers/aliyun-nlb/aliyun_nlb.go (+7 -9)
📝 internal/pkg/core/deployer/providers/aliyun-oss/aliyun_oss.go (+3 -1)

...and 80 more files

📄 Description

该 PR 包含以下内容变更:

  • feat: 支持阿里云子账号授权配置资源组 ID 参数。
  • feat: 支持华为云子账号授权配置企业项目 ID 参数。
  • feat: 部署到阿里云 FC 时支持自动为未开启 HTTPS 的域名开启 HTTPS。
  • feat: 为第三方 API SDK 增加固定的 User-Agent: certimate 请求标头。
  • refactor: 规范化 golang 多返回值的命名定义。

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/certimate-go/certimate/pull/735 **Author:** [@fudiwei](https://github.com/fudiwei) **Created:** 5/28/2025 **Status:** ✅ Merged **Merged:** 6/1/2025 **Merged by:** [@fudiwei](https://github.com/fudiwei) **Base:** `main` ← **Head:** `feat/providers` --- ### 📝 Commits (8) - [`b8b94df`](https://github.com/certimate-go/certimate/commit/b8b94dfd772bb92b67c3af0cb3a6432119bb5e92) feat: support configuring huaweicloud enterprise project id - [`df1f216`](https://github.com/certimate-go/certimate/commit/df1f216b5bb8308f571782d1acba65a2c71617da) feat: support configuring aliyun resource group id - [`ddb46f9`](https://github.com/certimate-go/certimate/commit/ddb46f9dda6d48a7aea3c4cb8b8952da619aa672) refactor: clean code - [`829fa29`](https://github.com/certimate-go/certimate/commit/829fa29cf11d31ceb2b7155075e51298b11711ba) feat: add user-agent http header for thirdparty sdks - [`daf22b7`](https://github.com/certimate-go/certimate/commit/daf22b7f153a2a92d6b060e643f982f0213e78c7) feat: initialize aliyun fc ssl protocol - [`efdeacf`](https://github.com/certimate-go/certimate/commit/efdeacf01a9d751807b52f0f8a77209ebf6459fa) feat: add preset webhook template for serverchan3 - [`e73e273`](https://github.com/certimate-go/certimate/commit/e73e2739c165f8b42d49b1c1affeb620bfc8d5fa) feat: use discard handler as default providers logger - [`f0af36b`](https://github.com/certimate-go/certimate/commit/f0af36b59eb8a6595a8c660f9af7ee00323aa014) refactor: clean code ### 📊 Changes **160 files changed** (+610 additions, -380 deletions) <details> <summary>View changed files</summary> 📝 `internal/deployer/providers.go` (+37 -19) 📝 `internal/domain/access.go` (+4 -2) 📝 `internal/domain/workflow.go` (+4 -4) 📝 `internal/pkg/core/deployer/deployer.go` (+1 -1) 📝 `internal/pkg/core/deployer/providers/1panel-console/1panel_console.go` (+1 -1) 📝 `internal/pkg/core/deployer/providers/1panel-site/1panel_site.go` (+1 -1) 📝 `internal/pkg/core/deployer/providers/aliyun-alb/aliyun_alb.go` (+7 -4) 📝 `internal/pkg/core/deployer/providers/aliyun-apigw/aliyun_apigw.go` (+14 -9) 📝 `internal/pkg/core/deployer/providers/aliyun-cas-deploy/aliyun_cas_deploy.go` (+32 -15) 📝 `internal/pkg/core/deployer/providers/aliyun-cas/aliyun_cas.go` (+4 -1) 📝 `internal/pkg/core/deployer/providers/aliyun-cdn/aliyun_cdn.go` (+3 -1) 📝 `internal/pkg/core/deployer/providers/aliyun-clb/aliyun_clb.go` (+7 -4) 📝 `internal/pkg/core/deployer/providers/aliyun-dcdn/aliyun_dcdn.go` (+3 -1) 📝 `internal/pkg/core/deployer/providers/aliyun-ddos/aliyun_ddos.go` (+7 -4) 📝 `internal/pkg/core/deployer/providers/aliyun-esa/aliyun_esa.go` (+7 -4) 📝 `internal/pkg/core/deployer/providers/aliyun-fc/aliyun_fc.go` (+13 -2) 📝 `internal/pkg/core/deployer/providers/aliyun-ga/aliyun_ga.go` (+6 -3) 📝 `internal/pkg/core/deployer/providers/aliyun-live/aliyun_live.go` (+4 -2) 📝 `internal/pkg/core/deployer/providers/aliyun-nlb/aliyun_nlb.go` (+7 -9) 📝 `internal/pkg/core/deployer/providers/aliyun-oss/aliyun_oss.go` (+3 -1) _...and 80 more files_ </details> ### 📄 Description 该 PR 包含以下内容变更: - **feat**: 支持阿里云子账号授权配置资源组 ID 参数。 - **feat**: 支持华为云子账号授权配置企业项目 ID 参数。 - **feat**: 部署到阿里云 FC 时支持自动为未开启 HTTPS 的域名开启 HTTPS。 - **feat**: 为第三方 API SDK 增加固定的 `User-Agent: certimate` 请求标头。 - **refactor**: 规范化 golang 多返回值的命名定义。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 01:07:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#1028
No description provided.