diff --git a/io.sc.engine.mv.frontend/src/i18n/messages.json b/io.sc.engine.mv.frontend/src/i18n/messages.json index 144cc411..48cb1293 100644 --- a/io.sc.engine.mv.frontend/src/i18n/messages.json +++ b/io.sc.engine.mv.frontend/src/i18n/messages.json @@ -62,6 +62,12 @@ "io.sc.engine.mv.config.executor.grid.title" : "Executor List", + "io.sc.engine.mv.sample.tabs.goodSample" : "Good Sample", + "io.sc.engine.mv.sample.tabs.scoreRecord" : "Score Records", + "io.sc.engine.mv.sample.tabs.defaultRecord" : "Default Records", + + "io.sc.engine.mv.sample.goodSample.grid.title" : "Good Sample List", + "io.sc.engine.mv.result.grid.title" : "Validate Result List", "io.sc.engine.mv.result.grid.entity.validateDate" : "Validate Date", "io.sc.engine.mv.result.grid.entity.runtimeParameters" : "Runtime Parameters", @@ -76,13 +82,14 @@ "io.sc.engine.mv.result.grid.entity.totalSampleCount" : "Total Sample Count", "io.sc.engine.mv.result.grid.entity.defaultSampleCount" : "Default Sample Count", "io.sc.engine.mv.result.grid.entity.discrimination" : "Discrimination", - - "io.sc.engine.mv.result.grid.entity.discrimination.total" : "Total", + "io.sc.engine.mv.result.grid.entity.total" : "Total", "io.sc.engine.mv.result.grid.entity.auc" : "AUC", "io.sc.engine.mv.result.grid.entity.ar" : "AR", "io.sc.engine.mv.result.grid.entity.ks" : "KS", + "io.sc.engine.mv.result.grid.entity.stability" : "Stability", "io.sc.engine.mv.result.grid.entity.svd" : "SVD", "io.sc.engine.mv.result.grid.entity.psi" : "PSI", + "io.sc.engine.mv.result.grid.entity.scaleValidate" : "Scale Validate", "io.sc.engine.mv.result.grid.entity.chiSquare" : "Chi-Square", "io.sc.engine.mv.result.grid.entity.binomial" : "Binomial" } \ No newline at end of file diff --git a/io.sc.engine.mv.frontend/src/i18n/messages_tw_CN.json b/io.sc.engine.mv.frontend/src/i18n/messages_tw_CN.json index cde1fdcf..eaf1df93 100644 --- a/io.sc.engine.mv.frontend/src/i18n/messages_tw_CN.json +++ b/io.sc.engine.mv.frontend/src/i18n/messages_tw_CN.json @@ -61,6 +61,14 @@ "io.sc.engine.mv.config.executor.grid.title" : "執行器列表", + "io.sc.engine.mv.sample.tabs.goodSample" : "合格樣本", + "io.sc.engine.mv.sample.tabs.scoreRecord" : "評分記錄", + "io.sc.engine.mv.sample.tabs.defaultRecord" : "違約記錄", + + "io.sc.engine.mv.sample.goodSample.grid.title" : "合格樣本列表", + + + "io.sc.engine.mv.result.grid.title" : "驗證結果列表验证结果列表", "io.sc.engine.mv.result.grid.entity.validateDate" : "驗證日期", "io.sc.engine.mv.result.grid.entity.runtimeParameters" : "運行時參數", @@ -74,11 +82,15 @@ "io.sc.engine.mv.result.grid.entity.executeMode" : "執行模式", "io.sc.engine.mv.result.grid.entity.totalSampleCount" : "總樣本數", "io.sc.engine.mv.result.grid.entity.defaultSampleCount" : "違約樣本數", + "io.sc.engine.mv.result.grid.entity.discrimination" : "區分能力", + "io.sc.engine.mv.result.grid.entity.total" : "總體", "io.sc.engine.mv.result.grid.entity.auc" : "AUC", "io.sc.engine.mv.result.grid.entity.ar" : "AR", "io.sc.engine.mv.result.grid.entity.ks" : "KS", + "io.sc.engine.mv.result.grid.entity.stability" : "穩定性", "io.sc.engine.mv.result.grid.entity.svd" : "SVD", "io.sc.engine.mv.result.grid.entity.psi" : "PSI", + "io.sc.engine.mv.result.grid.entity.scaleValidate" : "標尺檢驗", "io.sc.engine.mv.result.grid.entity.chiSquare" : "卡方檢驗", "io.sc.engine.mv.result.grid.entity.binomial" : "二項檢驗" } \ No newline at end of file diff --git a/io.sc.engine.mv.frontend/src/i18n/messages_zh_CN.json b/io.sc.engine.mv.frontend/src/i18n/messages_zh_CN.json index de30b4fe..8c023805 100644 --- a/io.sc.engine.mv.frontend/src/i18n/messages_zh_CN.json +++ b/io.sc.engine.mv.frontend/src/i18n/messages_zh_CN.json @@ -69,6 +69,12 @@ "io.sc.engine.mv.config.executor.grid.title" : "执行器列表", + "io.sc.engine.mv.sample.tabs.goodSample" : "合格样本", + "io.sc.engine.mv.sample.tabs.scoreRecord" : "评分记录", + "io.sc.engine.mv.sample.tabs.defaultRecord" : "违约记录", + + "io.sc.engine.mv.sample.goodSample.grid.title" : "合格样本列表", + "io.sc.engine.mv.result.grid.title" : "验证结果列表", "io.sc.engine.mv.result.grid.entity.validateDate" : "验证日期", "io.sc.engine.mv.result.grid.entity.runtimeParameters" : "运行时参数", diff --git a/io.sc.engine.mv.frontend/src/views/sample/Sample.vue b/io.sc.engine.mv.frontend/src/views/sample/Sample.vue index d181890f..d36617c9 100644 --- a/io.sc.engine.mv.frontend/src/views/sample/Sample.vue +++ b/io.sc.engine.mv.frontend/src/views/sample/Sample.vue @@ -1,54 +1,169 @@ diff --git a/io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/ShowSampleWebController.java b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/ShowSampleWebController.java index e764f5d2..2f6061b1 100644 --- a/io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/ShowSampleWebController.java +++ b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/ShowSampleWebController.java @@ -5,13 +5,10 @@ import io.sc.engine.mv.jpa.entity.id.GeneralSampleHistoryId; import io.sc.engine.mv.jpa.repository.GeneralSampleHistoryRepository; import io.sc.engine.mv.service.result.GeneralSampleHistoryService; import io.sc.engine.mv.vo.GeneralSampleHistoryVo; -import io.sc.platform.core.util.CollectionUtil; import io.sc.platform.mvc.controller.support.RestCrudController; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.servlet.ModelAndView; /** * 查询模型验证样本数据控制器 @@ -19,26 +16,8 @@ import org.springframework.web.servlet.ModelAndView; * */ @Controller -@RequestMapping("/mv/sample") +@RequestMapping("/api/mv/sample/goodSample") public class ShowSampleWebController extends RestCrudController { @Autowired private GeneralSampleHistoryRepository generalSampleHistoryRepository; - /** - * 模型验证样本页面 - * @param modelId 模型ID - * @param validateDate 验证日期 - * @return 模型视图对象 - */ - @RequestMapping("sampleDataView") - public ModelAndView sampleView( - @RequestParam(name="modelId",required=false) String modelId, - @RequestParam(name="validateDate",required=false) String validateDate - ){ - ModelAndView mv =new ModelAndView("org/wsp/model/validator/view/sampleDataView.html"); - mv.addObject("removeNavbar", true); - mv.addObject("modelId", modelId); - mv.addObject("validateDate", validateDate); - mv.addObject("distinctModelIdAndNames", CollectionUtil.arrayList2Map(generalSampleHistoryRepository.findDistinctModelIdAndNames())); - return mv; - } } diff --git a/io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/sample/ScoreRecordWebController.java b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/sample/ScoreRecordWebController.java new file mode 100644 index 00000000..5635c3d5 --- /dev/null +++ b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/sample/ScoreRecordWebController.java @@ -0,0 +1,21 @@ +package io.sc.engine.mv.controller.sample; + +import io.sc.engine.mv.jpa.entity.ScoreRecord; +import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; +import io.sc.engine.mv.jpa.repository.ScoreRecordRepository; +import io.sc.engine.mv.service.sample.ScoreRecordService; +import io.sc.engine.mv.vo.ScoreRecordVo; +import io.sc.platform.mvc.controller.support.RestCrudController; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 评分记录控制器 + * @author wangshaoping + * + */ +@RestController +@RequestMapping("/api/mv/sample/scoreRecord") +public class ScoreRecordWebController extends RestCrudController { + +} diff --git a/io.sc.engine.mv/src/main/java/io/sc/engine/mv/jpa/entity/ScoreRecord.java b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/jpa/entity/ScoreRecord.java new file mode 100644 index 00000000..9af789b7 --- /dev/null +++ b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/jpa/entity/ScoreRecord.java @@ -0,0 +1,157 @@ +package io.sc.engine.mv.jpa.entity; + +import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; +import io.sc.engine.mv.vo.ScoreRecordVo; +import io.sc.platform.orm.entity.BaseEntity; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.IdClass; +import javax.persistence.Table; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 评分记录实体类 + * + */ +@Entity +@Table(name="MV_SCORE_RECORD") +@IdClass(ScoreRecordId.class) +public class ScoreRecord extends BaseEntity { + @Column(name="FD_CUSTOM_ID") + private String customId; + + @Column(name="FD_CUSTOM_NAME") + private String customName; + + @Column(name="FD_MODEL_ID") + private String modelId; + + @Column(name="FD_MODEL_NAME") + private String modelName; + + @Column(name="FD_PD") + private BigDecimal pd; + + @Column(name="FD_SCORE") + private BigDecimal score; + + @Column(name="FD_SCORE_QUANTITATIVE") + private BigDecimal scoreQuantitative; + + @Column(name="FD_SCORE_QUALITATIVE") + private BigDecimal scoreQualitative; + + @Column(name="FD_LEVEL") + private String level; + + @Column(name="FD_SCORE_BEGIN_DATE") + private Date scoreBeginDate; + + @Column(name="FD_SCORE_END_DATE") + private Date scoreEndDate; + + @Override + public ScoreRecordVo toVo() { + ScoreRecordVo vo =new ScoreRecordVo(); + vo.setCustomId(this.getCustomId()); + vo.setCustomName(this.getCustomName()); + vo.setPd(this.getPd()); + vo.setScore(this.getScore()); + vo.setScoreQuantitative(this.getScoreQuantitative()); + vo.setScoreQualitative(this.getScoreQualitative()); + vo.setLevel(this.getLevel()); + vo.setScoreBeginDate(this.getScoreBeginDate()); + vo.setScoreEndDate(this.getScoreEndDate()); + return vo; + } + + public String getCustomId() { + return customId; + } + + public void setCustomId(String customId) { + this.customId = customId; + } + + public String getCustomName() { + return customName; + } + + public void setCustomName(String customName) { + this.customName = customName; + } + + public String getModelId() { + return modelId; + } + + public void setModelId(String modelId) { + this.modelId = modelId; + } + + public String getModelName() { + return modelName; + } + + public void setModelName(String modelName) { + this.modelName = modelName; + } + + public BigDecimal getPd() { + return pd; + } + + public void setPd(BigDecimal pd) { + this.pd = pd; + } + + public BigDecimal getScore() { + return score; + } + + public void setScore(BigDecimal score) { + this.score = score; + } + + public BigDecimal getScoreQuantitative() { + return scoreQuantitative; + } + + public void setScoreQuantitative(BigDecimal scoreQuantitative) { + this.scoreQuantitative = scoreQuantitative; + } + + public BigDecimal getScoreQualitative() { + return scoreQualitative; + } + + public void setScoreQualitative(BigDecimal scoreQualitative) { + this.scoreQualitative = scoreQualitative; + } + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + public Date getScoreBeginDate() { + return scoreBeginDate; + } + + public void setScoreBeginDate(Date scoreBeginDate) { + this.scoreBeginDate = scoreBeginDate; + } + + public Date getScoreEndDate() { + return scoreEndDate; + } + + public void setScoreEndDate(Date scoreEndDate) { + this.scoreEndDate = scoreEndDate; + } +} diff --git a/io.sc.engine.mv/src/main/java/io/sc/engine/mv/jpa/entity/id/ScoreRecordId.java b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/jpa/entity/id/ScoreRecordId.java new file mode 100644 index 00000000..c414c0ee --- /dev/null +++ b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/jpa/entity/id/ScoreRecordId.java @@ -0,0 +1,48 @@ +package io.sc.engine.mv.jpa.entity.id; + +import java.io.Serializable; +import java.util.Date; +import java.util.Objects; + +public class ScoreRecordId implements Serializable{ + private String customId; + private String modelId; + private Date scoreBeginDate; + + public String getCustomId() { + return customId; + } + + public void setCustomId(String customId) { + this.customId = customId; + } + + public String getModelId() { + return modelId; + } + + public void setModelId(String modelId) { + this.modelId = modelId; + } + + public Date getScoreBeginDate() { + return scoreBeginDate; + } + + public void setScoreBeginDate(Date scoreBeginDate) { + this.scoreBeginDate = scoreBeginDate; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + ScoreRecordId that = (ScoreRecordId) o; + return Objects.equals(customId, that.customId) && Objects.equals(modelId, that.modelId) && Objects.equals(scoreBeginDate, that.scoreBeginDate); + } + + @Override + public int hashCode() { + return Objects.hash(customId, modelId, scoreBeginDate); + } +} diff --git a/io.sc.engine.mv/src/main/java/io/sc/engine/mv/jpa/repository/ScoreRecordRepository.java b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/jpa/repository/ScoreRecordRepository.java new file mode 100644 index 00000000..b6db0abe --- /dev/null +++ b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/jpa/repository/ScoreRecordRepository.java @@ -0,0 +1,9 @@ +package io.sc.engine.mv.jpa.repository; + +import io.sc.engine.mv.jpa.entity.ScoreRecord; +import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; +import io.sc.platform.orm.repository.DaoRepository; + +public interface ScoreRecordRepository extends DaoRepository { + +} diff --git a/io.sc.engine.mv/src/main/java/io/sc/engine/mv/service/sample/ScoreRecordService.java b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/service/sample/ScoreRecordService.java new file mode 100644 index 00000000..5e632af1 --- /dev/null +++ b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/service/sample/ScoreRecordService.java @@ -0,0 +1,9 @@ +package io.sc.engine.mv.service.sample; + +import io.sc.engine.mv.jpa.entity.ScoreRecord; +import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; +import io.sc.engine.mv.jpa.repository.ScoreRecordRepository; +import io.sc.platform.orm.service.DaoService; + +public interface ScoreRecordService extends DaoService { +} diff --git a/io.sc.engine.mv/src/main/java/io/sc/engine/mv/service/sample/impl/ScoreRecordServiceImpl.java b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/service/sample/impl/ScoreRecordServiceImpl.java new file mode 100644 index 00000000..11cb08d6 --- /dev/null +++ b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/service/sample/impl/ScoreRecordServiceImpl.java @@ -0,0 +1,12 @@ +package io.sc.engine.mv.service.sample.impl; + +import io.sc.engine.mv.jpa.entity.ScoreRecord; +import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; +import io.sc.engine.mv.jpa.repository.ScoreRecordRepository; +import io.sc.engine.mv.service.sample.ScoreRecordService; +import io.sc.platform.orm.service.impl.DaoServiceImpl; +import org.springframework.stereotype.Service; + +@Service +public class ScoreRecordServiceImpl extends DaoServiceImpl implements ScoreRecordService { +} diff --git a/io.sc.engine.mv/src/main/java/io/sc/engine/mv/vo/ScoreRecordVo.java b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/vo/ScoreRecordVo.java new file mode 100644 index 00000000..97f73ece --- /dev/null +++ b/io.sc.engine.mv/src/main/java/io/sc/engine/mv/vo/ScoreRecordVo.java @@ -0,0 +1,109 @@ +package io.sc.engine.mv.vo; + +import io.sc.platform.orm.api.vo.AuditorVo; + +import java.math.BigDecimal; +import java.util.Date; + + +public class ScoreRecordVo extends AuditorVo { + private String customId; + private String customName; + private String modelId; + private String modelName; + private BigDecimal pd; + private BigDecimal score; + private BigDecimal scoreQuantitative; + private BigDecimal scoreQualitative; + private String level; + private Date scoreBeginDate; + private Date scoreEndDate; + + public String getCustomId() { + return customId; + } + + public void setCustomId(String customId) { + this.customId = customId; + } + + public String getCustomName() { + return customName; + } + + public void setCustomName(String customName) { + this.customName = customName; + } + + public String getModelId() { + return modelId; + } + + public void setModelId(String modelId) { + this.modelId = modelId; + } + + public String getModelName() { + return modelName; + } + + public void setModelName(String modelName) { + this.modelName = modelName; + } + + public BigDecimal getPd() { + return pd; + } + + public void setPd(BigDecimal pd) { + this.pd = pd; + } + + public BigDecimal getScore() { + return score; + } + + public void setScore(BigDecimal score) { + this.score = score; + } + + public BigDecimal getScoreQuantitative() { + return scoreQuantitative; + } + + public void setScoreQuantitative(BigDecimal scoreQuantitative) { + this.scoreQuantitative = scoreQuantitative; + } + + public BigDecimal getScoreQualitative() { + return scoreQualitative; + } + + public void setScoreQualitative(BigDecimal scoreQualitative) { + this.scoreQualitative = scoreQualitative; + } + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + public Date getScoreBeginDate() { + return scoreBeginDate; + } + + public void setScoreBeginDate(Date scoreBeginDate) { + this.scoreBeginDate = scoreBeginDate; + } + + public Date getScoreEndDate() { + return scoreEndDate; + } + + public void setScoreEndDate(Date scoreEndDate) { + this.scoreEndDate = scoreEndDate; + } +} diff --git a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/application-properties.json b/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/application-properties.json deleted file mode 100644 index 794d86cd..00000000 --- a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/application-properties.json +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 应用属性插件配置 - * 功能: 该插件配置为框架提供 application.properties 中的配置项, 这样可以让配置项分散到各个子模块中。 - * 使用说明: - * module: 配置项所属模块,通常为模块的名称 - * order: 配置项顺序 - * description: 配置项描述, 在 application.properties 文件中以注释体现 - * properties: 属性配置列表 - */ - -/* 示例 */ -/* -[ - { - "module" : "io.sc.platform.core", - "order" : 150, - "description": "application configuration", - "properties": [ - "application.audit-log-mode = none", - "#application.audit-log-mode = log", - "#application.audit-log-mode = database" - ] - } -] -*/ diff --git a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/directories.json b/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/directories.json deleted file mode 100644 index e69de29b..00000000 diff --git a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/json-serializers.json b/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/json-serializers.json deleted file mode 100644 index a393f627..00000000 --- a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/json-serializers.json +++ /dev/null @@ -1,25 +0,0 @@ -/* - * json 序列化器和反序列化器插件配置 - * 功能: 该插件配置为框架提供 json 序列化器和反序列化器插件配置 - * 使用说明: - * className: 目标类名 - * serializer: 序列化器类名 - * deserializer: 反序列化器类名 - */ - - -/* 示例 */ -/* -[ - { - "className" : "java.util.Date", - "serializer" : "io.sc.platform.core.autoconfigure.support.DateJsonSerializer", - "deserializer" : "io.sc.platform.core.autoconfigure.support.DateJsonDeserializer" - }, - { - "className" : "java.time.Instant", - "serializer" : "io.sc.platform.core.autoconfigure.support.InstantJsonSerializer", - "deserializer" : "io.sc.platform.core.autoconfigure.support.InstantJsonDeserializer" - } -] -*/ diff --git a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/p6spy.json b/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/p6spy.json deleted file mode 100644 index f8b9dfd7..00000000 --- a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/p6spy.json +++ /dev/null @@ -1,15 +0,0 @@ -/* - * p6spy 插件配置 - * 功能: 该插件配置为框架提供 p6spy 配置 - * 使用说明: - * ignoredPatterns: 忽略显示 jdbc 输出信息正则表达式列表 - */ - -/* 以下示例将不显示 p6spy 输出的 commit */ -/* -{ - "ignoredPatterns":[ - "commit" - ] -} -*/ diff --git a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/parameters.json b/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/parameters.json deleted file mode 100644 index 731534c4..00000000 --- a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/parameters.json +++ /dev/null @@ -1,37 +0,0 @@ -/* - * 系统参数插件配置 - * 功能说明: 该插件配置为框架提供系统参数配置 - * 使用说明: - * id: 参数唯一标识 - * parentId: 父唯一标识, 用于进行参数分类 - * code: 参数代码, 应用可通过该代码获取参数值 - * defaultValue: 默认值 - * order: 排序 - * options: 选项值 map, key 表示值, value 表示显示值 - */ - -/* 示例 */ -/* -[ - {"id":"parameter.system","order":0}, - { - "id" : "parameter.system.indexPageTemplate", - "parentId" : "parameter.system", - "code" : "parameter.system.indexPageTemplate", - "defaultValue" : "io.sc.platform.mvc.frontend.html", - "order" : 200 - }, - {"id":"parameter.system.ui","parentId":"parameter.system","order":1000}, - { - "id" : "parameter.system.ui.theme", - "parentId" : "parameter.system.ui", - "code" : "parameter.system.ui.theme", - "defaultValue" : "light", - "order" : 800, - "options" :{ - "light" : "#{parameter.system.ui.theme.light}", - "dark" : "#{parameter.system.ui.theme.dark}" - } - } -] -*/ diff --git a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/restart-properties.json b/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/restart-properties.json deleted file mode 100644 index 70e1e9fa..00000000 --- a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/restart-properties.json +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 自动重启属性插件配置 - * 功能: 当配置的属性发生变化时,系统会自动重启(如果应用运行在独立的 web 容器中时, 需手工重启) - * 使用说明: - * 匹配规则: startWith - * container: 在容器中运行时需要重启的属性列表 - * jar: 通过 jar 直接运行时需要重启的属性列表 - */ - -/* 示例 */ -/* -{ - "container":[ - "spring.security." - ], - "jar": [ - "spring.security." - ] -} -*/ diff --git a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/security.json b/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/security.json deleted file mode 100644 index cf73cef5..00000000 --- a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/security.json +++ /dev/null @@ -1,15 +0,0 @@ -/* - * 认证插件配置 - * 功能: 该插件配置为框架提供不对某些资源进行认证的功能 - * 使用说明: - * permitPatterns : 不进行安全认证检查的 url 模式, 采用 ant path 格式配置 - */ - -/* 示例 */ -/* -{ - "permitPatterns":[ - "/io.sc.platform.core/**" - ] -} -*/ diff --git a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/swagger.json b/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/swagger.json deleted file mode 100644 index 3dff6cb5..00000000 --- a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -/** - * swagger 配置 - */ - -/* 示例 */ -/* -[ - { - "groupName" : "io.sc.platform.mvc", - "title" : "平台 MVC", - "description": "平台 MVC 文档", - "termsOfServiceUrl" : "", - "version": "1.0", - "basePackages":[ - "io.sc.platform.mvc.controller" - ] - } -] -*/ diff --git a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/system-properties.json b/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/system-properties.json deleted file mode 100644 index d3eaebf9..00000000 --- a/io.sc.engine.mv/src/main/resources/META-INF/platform/plugins/system-properties.json +++ /dev/null @@ -1,14 +0,0 @@ -/* - * 系统属性插件配置 - * 功能: 该插件配置为框架提供在启动时自动注册系统属性功能(执行 System.setProperty()) - * 使用说明: - * key : 属性名 - * value : 属性值 - */ - -/* 示例 */ -/* -{ - "h2.dbname.default" : "DB_PLATFORM" -} -*/