0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. rainbond
  2. /
  3. api
  4. /
  5. middleware
张张启航feat: bind license to enterprise_id instead of cluster_id
5cc09206创建于 2月11日历史提交
文件最后提交记录最后更新时间
license.go
feat: bind license to enterprise_id instead of cluster_id - Add enterprise_id and cluster_limit fields to LicenseToken/LicenseStatus - ActivateLicense validates enterprise_id (strong check), records cluster_id for audit only - Change ConfigMap data key from "license_token" to "license" - Concatenate frontend_service with entry_path in plugin static proxy - Update controller to accept license_code + enterprise_id in request - Update all unit tests for enterprise_id binding (17/17 pass) 3 个月前
middleware.go
feat: replace AES license with RSA-SHA256 ConfigMap-based verification - Add RSA license verification package (api/util/license/) with LicenseToken struct, signature verification, and embedded public key - Add license V2 handler and controller for cluster-id, activate, and status endpoints - Rewrite middleware to verify license via ConfigMap RSA signature with 10-min in-memory cache - Mount /v2/license/* routes before license.Verify middleware - Remove legacy .so plugin loading (util/license/), old grctl license command, and LicensePath/LicSoPath config fields 3 个月前
token.go
perf: remove gateway Signed-off-by: 逆流而上 <1666888816@qq.com> 1 年前
version.go
support gpu resource for component 4 年前