可信空间连接器入住接口
Showing
3 changed files
with
46 additions
and
30 deletions
| 1 | package com.csbr.qingcloud.portal.domain.vo; | 1 | package com.csbr.qingcloud.portal.domain.vo; |
| 2 | 2 | ||
| 3 | import com.alibaba.fastjson.JSONArray; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 4 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import com.fasterxml.jackson.annotation.JsonFormat; | 5 | import com.fasterxml.jackson.annotation.JsonFormat; |
| 5 | import jakarta.validation.constraints.NotBlank; | 6 | import jakarta.validation.constraints.NotBlank; |
| ... | @@ -36,14 +37,14 @@ public class TdsConnectorVerifiableRQVO { | ... | @@ -36,14 +37,14 @@ public class TdsConnectorVerifiableRQVO { |
| 36 | */ | 37 | */ |
| 37 | @Schema(description = "网络接入资质认证") | 38 | @Schema(description = "网络接入资质认证") |
| 38 | @NotNull(message = "网络接入资质认证为空。") | 39 | @NotNull(message = "网络接入资质认证为空。") |
| 39 | private Map<String,String> networkAccessQualification; | 40 | private JSONArray networkAccessQualification; |
| 40 | 41 | ||
| 41 | /** | 42 | /** |
| 42 | * 等级保护测评结果 | 43 | * 等级保护测评结果 |
| 43 | */ | 44 | */ |
| 44 | @Schema(description = "等级保护测评结果") | 45 | @Schema(description = "等级保护测评结果") |
| 45 | @NotNull(message = "等级保护测评结果为空。") | 46 | @NotNull(message = "等级保护测评结果为空。") |
| 46 | private Map<String,String> levelProtectionEvaluationResults; | 47 | private JSONArray levelProtectionEvaluationResults; |
| 47 | 48 | ||
| 48 | /** | 49 | /** |
| 49 | * 等级保护有效期 | 50 | * 等级保护有效期 |
| ... | @@ -58,56 +59,56 @@ public class TdsConnectorVerifiableRQVO { | ... | @@ -58,56 +59,56 @@ public class TdsConnectorVerifiableRQVO { |
| 58 | */ | 59 | */ |
| 59 | @Schema(description = "网络安全产品备案证明") | 60 | @Schema(description = "网络安全产品备案证明") |
| 60 | @NotNull(message = "网络安全产品备案证明为空。") | 61 | @NotNull(message = "网络安全产品备案证明为空。") |
| 61 | private Map<String,String> networkSecurityFilingCertificate; | 62 | private JSONArray networkSecurityFilingCertificate; |
| 62 | 63 | ||
| 63 | /** | 64 | /** |
| 64 | * 加密模块认证 | 65 | * 加密模块认证 |
| 65 | */ | 66 | */ |
| 66 | @Schema(description = "加密模块认证") | 67 | @Schema(description = "加密模块认证") |
| 67 | @NotNull(message = "加密模块认证为空。") | 68 | @NotNull(message = "加密模块认证为空。") |
| 68 | private Map<String,String> encryptionModuleAuthentication; | 69 | private JSONArray encryptionModuleAuthentication; |
| 69 | 70 | ||
| 70 | /** | 71 | /** |
| 71 | * 软件供应链合规声明 | 72 | * 软件供应链合规声明 |
| 72 | */ | 73 | */ |
| 73 | @Schema(description = "软件供应链合规声明") | 74 | @Schema(description = "软件供应链合规声明") |
| 74 | @NotNull(message = "软件供应链合规声明为空。") | 75 | @NotNull(message = "软件供应链合规声明为空。") |
| 75 | private Map<String,String> softwareScmStatemen; | 76 | private JSONArray softwareScmStatemen; |
| 76 | 77 | ||
| 77 | /** | 78 | /** |
| 78 | * 安全漏洞修复声明 | 79 | * 安全漏洞修复声明 |
| 79 | */ | 80 | */ |
| 80 | @Schema(description = "安全漏洞修复声明") | 81 | @Schema(description = "安全漏洞修复声明") |
| 81 | @NotNull(message = "安全漏洞修复声明为空。") | 82 | @NotNull(message = "安全漏洞修复声明为空。") |
| 82 | private Map<String,String> securityLoopholeRepairStatement; | 83 | private JSONArray securityLoopholeRepairStatement; |
| 83 | 84 | ||
| 84 | /** | 85 | /** |
| 85 | * 通信协议兼容性认证 | 86 | * 通信协议兼容性认证 |
| 86 | */ | 87 | */ |
| 87 | @Schema(description = "通信协议兼容性认证") | 88 | @Schema(description = "通信协议兼容性认证") |
| 88 | @NotNull(message = "通信协议兼容性认证为空。") | 89 | @NotNull(message = "通信协议兼容性认证为空。") |
| 89 | private Map<String,String> communicationProtocolCompatibilityCertification; | 90 | private JSONArray communicationProtocolCompatibilityCertification; |
| 90 | 91 | ||
| 91 | /** | 92 | /** |
| 92 | * 硬件可信执行环境(TEE)认证 | 93 | * 硬件可信执行环境(TEE)认证 |
| 93 | */ | 94 | */ |
| 94 | @Schema(description = "硬件可信执行环境(TEE)认证") | 95 | @Schema(description = "硬件可信执行环境(TEE)认证") |
| 95 | @NotNull(message = "硬件可信执行环境(TEE)认证为空。") | 96 | @NotNull(message = "硬件可信执行环境(TEE)认证为空。") |
| 96 | private Map<String,String> teeCertification; | 97 | private JSONArray teeCertification; |
| 97 | 98 | ||
| 98 | /** | 99 | /** |
| 99 | * 接入行为审计合规报告 | 100 | * 接入行为审计合规报告 |
| 100 | */ | 101 | */ |
| 101 | @Schema(description = "接入行为审计合规报告") | 102 | @Schema(description = "接入行为审计合规报告") |
| 102 | @NotNull(message = "接入行为审计合规报告为空。") | 103 | @NotNull(message = "接入行为审计合规报告为空。") |
| 103 | private Map<String,String> accessAuditReport; | 104 | private JSONArray accessAuditReport; |
| 104 | 105 | ||
| 105 | /** | 106 | /** |
| 106 | * 第三方认证声明 | 107 | * 第三方认证声明 |
| 107 | */ | 108 | */ |
| 108 | @Schema(description = "第三方认证声明") | 109 | @Schema(description = "第三方认证声明") |
| 109 | @NotNull(message = "第三方认证声明为空。") | 110 | @NotNull(message = "第三方认证声明为空。") |
| 110 | private Map<String,String> thirdPartyCertification; | 111 | private JSONArray thirdPartyCertification; |
| 111 | 112 | ||
| 112 | /******** 库表存储属性 需处理 *****/ | 113 | /******** 库表存储属性 需处理 *****/ |
| 113 | 114 | ... | ... |
| 1 | package com.csbr.qingcloud.portal.domain.vo; | 1 | package com.csbr.qingcloud.portal.domain.vo; |
| 2 | 2 | ||
| 3 | import com.alibaba.fastjson.JSONArray; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 4 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import com.fasterxml.jackson.annotation.JsonFormat; | 5 | import com.fasterxml.jackson.annotation.JsonFormat; |
| 5 | import jakarta.validation.constraints.NotNull; | 6 | import jakarta.validation.constraints.NotNull; |
| ... | @@ -34,13 +35,13 @@ public class TdsConnectorVerifiableRSVO { | ... | @@ -34,13 +35,13 @@ public class TdsConnectorVerifiableRSVO { |
| 34 | * 网络接入资质认证 | 35 | * 网络接入资质认证 |
| 35 | */ | 36 | */ |
| 36 | @Schema(description = "网络接入资质认证") | 37 | @Schema(description = "网络接入资质认证") |
| 37 | private Map<String,String> networkAccessQualification; | 38 | private JSONArray networkAccessQualification; |
| 38 | 39 | ||
| 39 | /** | 40 | /** |
| 40 | * 等级保护测评结果 | 41 | * 等级保护测评结果 |
| 41 | */ | 42 | */ |
| 42 | @Schema(description = "等级保护测评结果") | 43 | @Schema(description = "等级保护测评结果") |
| 43 | private Map<String,String> levelProtectionEvaluationResults; | 44 | private JSONArray levelProtectionEvaluationResults; |
| 44 | 45 | ||
| 45 | /** | 46 | /** |
| 46 | * 等级保护有效期 | 47 | * 等级保护有效期 |
| ... | @@ -53,49 +54,49 @@ public class TdsConnectorVerifiableRSVO { | ... | @@ -53,49 +54,49 @@ public class TdsConnectorVerifiableRSVO { |
| 53 | * 网络安全产品备案证明 | 54 | * 网络安全产品备案证明 |
| 54 | */ | 55 | */ |
| 55 | @Schema(description = "网络安全产品备案证明") | 56 | @Schema(description = "网络安全产品备案证明") |
| 56 | private Map<String,String> networkSecurityFilingCertificate; | 57 | private JSONArray networkSecurityFilingCertificate; |
| 57 | 58 | ||
| 58 | /** | 59 | /** |
| 59 | * 加密模块认证 | 60 | * 加密模块认证 |
| 60 | */ | 61 | */ |
| 61 | @Schema(description = "加密模块认证") | 62 | @Schema(description = "加密模块认证") |
| 62 | private Map<String,String> encryptionModuleAuthentication; | 63 | private JSONArray encryptionModuleAuthentication; |
| 63 | 64 | ||
| 64 | /** | 65 | /** |
| 65 | * 软件供应链合规声明 | 66 | * 软件供应链合规声明 |
| 66 | */ | 67 | */ |
| 67 | @Schema(description = "软件供应链合规声明") | 68 | @Schema(description = "软件供应链合规声明") |
| 68 | private Map<String,String> softwareScmStatemen; | 69 | private JSONArray softwareScmStatemen; |
| 69 | 70 | ||
| 70 | /** | 71 | /** |
| 71 | * 安全漏洞修复声明 | 72 | * 安全漏洞修复声明 |
| 72 | */ | 73 | */ |
| 73 | @Schema(description = "安全漏洞修复声明") | 74 | @Schema(description = "安全漏洞修复声明") |
| 74 | private Map<String,String> securityLoopholeRepairStatement; | 75 | private JSONArray securityLoopholeRepairStatement; |
| 75 | 76 | ||
| 76 | /** | 77 | /** |
| 77 | * 通信协议兼容性认证 | 78 | * 通信协议兼容性认证 |
| 78 | */ | 79 | */ |
| 79 | @Schema(description = "通信协议兼容性认证") | 80 | @Schema(description = "通信协议兼容性认证") |
| 80 | private Map<String,String> communicationProtocolCompatibilityCertification; | 81 | private JSONArray communicationProtocolCompatibilityCertification; |
| 81 | 82 | ||
| 82 | /** | 83 | /** |
| 83 | * 硬件可信执行环境(TEE)认证 | 84 | * 硬件可信执行环境(TEE)认证 |
| 84 | */ | 85 | */ |
| 85 | @Schema(description = "硬件可信执行环境(TEE)认证") | 86 | @Schema(description = "硬件可信执行环境(TEE)认证") |
| 86 | private Map<String,String> teeCertification; | 87 | private JSONArray teeCertification; |
| 87 | 88 | ||
| 88 | /** | 89 | /** |
| 89 | * 接入行为审计合规报告 | 90 | * 接入行为审计合规报告 |
| 90 | */ | 91 | */ |
| 91 | @Schema(description = "接入行为审计合规报告") | 92 | @Schema(description = "接入行为审计合规报告") |
| 92 | private Map<String,String> accessAuditReport; | 93 | private JSONArray accessAuditReport; |
| 93 | 94 | ||
| 94 | /** | 95 | /** |
| 95 | * 第三方认证声明 | 96 | * 第三方认证声明 |
| 96 | */ | 97 | */ |
| 97 | @Schema(description = "第三方认证声明") | 98 | @Schema(description = "第三方认证声明") |
| 98 | private Map<String,String> thirdPartyCertification; | 99 | private JSONArray thirdPartyCertification; |
| 99 | 100 | ||
| 100 | /******** 库表存储属性 需处理 *****/ | 101 | /******** 库表存储属性 需处理 *****/ |
| 101 | 102 | ... | ... |
| 1 | package com.csbr.qingcloud.portal.mybatis.entity; | 1 | package com.csbr.qingcloud.portal.mybatis.entity; |
| 2 | 2 | ||
| 3 | import com.alibaba.fastjson.JSONArray; | ||
| 3 | import com.baomidou.mybatisplus.annotation.FieldStrategy; | 4 | import com.baomidou.mybatisplus.annotation.FieldStrategy; |
| 4 | import com.baomidou.mybatisplus.annotation.TableField; | 5 | import com.baomidou.mybatisplus.annotation.TableField; |
| 6 | import com.baomidou.mybatisplus.annotation.TableName; | ||
| 7 | import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler; | ||
| 5 | import com.fasterxml.jackson.annotation.JsonFormat; | 8 | import com.fasterxml.jackson.annotation.JsonFormat; |
| 6 | import csbr.cloud.entity.domain.base.dao.BaseDO; | 9 | import csbr.cloud.entity.domain.base.dao.BaseDO; |
| 7 | import io.swagger.v3.oas.annotations.media.Schema; | 10 | import io.swagger.v3.oas.annotations.media.Schema; |
| ... | @@ -23,6 +26,7 @@ import java.util.Map; | ... | @@ -23,6 +26,7 @@ import java.util.Map; |
| 23 | @EqualsAndHashCode(callSuper = true) | 26 | @EqualsAndHashCode(callSuper = true) |
| 24 | @Accessors(chain = true) | 27 | @Accessors(chain = true) |
| 25 | @Name("连接器可验信息") | 28 | @Name("连接器可验信息") |
| 29 | @TableName(autoResultMap = true) | ||
| 26 | public class MfTdsConnectorVerifiable extends BaseDO { | 30 | public class MfTdsConnectorVerifiable extends BaseDO { |
| 27 | 31 | ||
| 28 | /** | 32 | /** |
| ... | @@ -41,13 +45,15 @@ public class MfTdsConnectorVerifiable extends BaseDO { | ... | @@ -41,13 +45,15 @@ public class MfTdsConnectorVerifiable extends BaseDO { |
| 41 | * 网络接入资质认证 | 45 | * 网络接入资质认证 |
| 42 | */ | 46 | */ |
| 43 | @Name("网络接入资质认证") | 47 | @Name("网络接入资质认证") |
| 44 | private String networkAccessQualification; | 48 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 49 | private JSONArray networkAccessQualification; | ||
| 45 | 50 | ||
| 46 | /** | 51 | /** |
| 47 | * 等级保护测评结果 | 52 | * 等级保护测评结果 |
| 48 | */ | 53 | */ |
| 49 | @Name("等级保护测评结果") | 54 | @Name("等级保护测评结果") |
| 50 | private Map<String,String> levelProtectionEvaluationResults; | 55 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 56 | private JSONArray levelProtectionEvaluationResults; | ||
| 51 | 57 | ||
| 52 | /** | 58 | /** |
| 53 | * 等级保护有效期 | 59 | * 等级保护有效期 |
| ... | @@ -59,48 +65,56 @@ public class MfTdsConnectorVerifiable extends BaseDO { | ... | @@ -59,48 +65,56 @@ public class MfTdsConnectorVerifiable extends BaseDO { |
| 59 | * 网络安全产品备案证明 | 65 | * 网络安全产品备案证明 |
| 60 | */ | 66 | */ |
| 61 | @Name("网络安全产品备案证明") | 67 | @Name("网络安全产品备案证明") |
| 62 | private String networkSecurityFilingCertificate; | 68 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 69 | private JSONArray networkSecurityFilingCertificate; | ||
| 63 | 70 | ||
| 64 | /** | 71 | /** |
| 65 | * 加密模块认证 | 72 | * 加密模块认证 |
| 66 | */ | 73 | */ |
| 67 | @Name("加密模块认证") | 74 | @Name("加密模块认证") |
| 68 | private String encryptionModuleAuthentication; | 75 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 76 | private JSONArray encryptionModuleAuthentication; | ||
| 69 | 77 | ||
| 70 | /** | 78 | /** |
| 71 | * 软件供应链合规声明 | 79 | * 软件供应链合规声明 |
| 72 | */ | 80 | */ |
| 73 | @Name("软件供应链合规声明") | 81 | @Name("软件供应链合规声明") |
| 74 | private String softwareScmStatemen; | 82 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 83 | private JSONArray softwareScmStatemen; | ||
| 75 | 84 | ||
| 76 | /** | 85 | /** |
| 77 | * 安全漏洞修复声明 | 86 | * 安全漏洞修复声明 |
| 78 | */ | 87 | */ |
| 79 | @Name("安全漏洞修复声明") | 88 | @Name("安全漏洞修复声明") |
| 80 | private String securityLoopholeRepairStatement; | 89 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 90 | private JSONArray securityLoopholeRepairStatement; | ||
| 81 | 91 | ||
| 82 | /** | 92 | /** |
| 83 | * 通信协议兼容性认证 | 93 | * 通信协议兼容性认证 |
| 84 | */ | 94 | */ |
| 85 | @Name("通信协议兼容性认证") | 95 | @Name("通信协议兼容性认证") |
| 86 | private String communicationProtocolCompatibilityCertification; | 96 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 97 | private JSONArray communicationProtocolCompatibilityCertification; | ||
| 87 | 98 | ||
| 88 | /** | 99 | /** |
| 89 | * 硬件可信执行环境(TEE)认证 | 100 | * 硬件可信执行环境(TEE)认证 |
| 90 | */ | 101 | */ |
| 91 | @Name("硬件可信执行环境(TEE)认证") | 102 | @Name("硬件可信执行环境(TEE)认证") |
| 92 | private String teeCertification; | 103 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 104 | private JSONArray teeCertification; | ||
| 93 | 105 | ||
| 94 | /** | 106 | /** |
| 95 | * 接入行为审计合规报告 | 107 | * 接入行为审计合规报告 |
| 96 | */ | 108 | */ |
| 97 | @Name("接入行为审计合规报告") | 109 | @Name("接入行为审计合规报告") |
| 98 | private String accessAuditReport; | 110 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 111 | private JSONArray accessAuditReport; | ||
| 99 | 112 | ||
| 100 | /** | 113 | /** |
| 101 | * 第三方认证声明 | 114 | * 第三方认证声明 |
| 102 | */ | 115 | */ |
| 103 | @Name("第三方认证声明") | 116 | @Name("第三方认证声明") |
| 104 | private String thirdPartyCertification; | 117 | @TableField(typeHandler = FastjsonTypeHandler.class) |
| 118 | private JSONArray thirdPartyCertification; | ||
| 105 | 119 | ||
| 106 | } | 120 | } | ... | ... |
-
Please register or sign in to post a comment