mirror of https://gitee.com/stylefeng/roses
【7.1.6】【scanner】优化资源汇报的properties
parent
2226ace776
commit
21e6945aa9
|
@ -0,0 +1,34 @@
|
|||
package cn.stylefeng.roses.kernel.scanner.api.pojo.devops;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 资源向DevOps平台汇总,需要进行的配置
|
||||
*
|
||||
* @author fengshuonan
|
||||
* @date 2022/1/11 14:29
|
||||
*/
|
||||
@Data
|
||||
public class DevOpsReportProperties {
|
||||
|
||||
/**
|
||||
* 当前项目在DevOps平台的唯一标识,由DevOps平台颁发
|
||||
*/
|
||||
private String projectUniqueCode;
|
||||
|
||||
/**
|
||||
* 当前项目和DevOps平台的交互秘钥(jwt秘钥)
|
||||
*/
|
||||
private String projectInteractionKey;
|
||||
|
||||
/**
|
||||
* DevOps平台的IP
|
||||
*/
|
||||
private String devOpsServerHost;
|
||||
|
||||
/**
|
||||
* DevOps平台的端口
|
||||
*/
|
||||
private String devOpsServerPort;
|
||||
|
||||
}
|
|
@ -22,9 +22,10 @@
|
|||
* 5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/stylefeng/guns
|
||||
* 6.若您的项目无法满足以上几点,可申请商业授权
|
||||
*/
|
||||
package cn.stylefeng.roses.kernel.scanner.api.pojo.resource;
|
||||
package cn.stylefeng.roses.kernel.scanner.api.pojo.devops;
|
||||
|
||||
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
|
||||
import cn.stylefeng.roses.kernel.scanner.api.pojo.resource.ResourceDefinition;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
@ -46,7 +47,7 @@ public class DevOpsReportResourceParam extends BaseRequest {
|
|||
private String projectUniqueCode;
|
||||
|
||||
/**
|
||||
* 向DevOps平台发送资源时候的令牌
|
||||
* 向DevOps平台发送资源时候的令牌(通过jwt工具生成)
|
||||
*/
|
||||
private String interactionToken;
|
||||
|
Loading…
Reference in New Issue