Browse Source

update

main
wangshaoping 1 year ago
parent
commit
9a629f15b8
  1. 2
      app.platform/build-jetty.gradle
  2. 2
      app.platform/build-undertow.gradle
  3. 2
      app.platform/build.gradle
  4. 2
      io.sc.engine.mv.frontend/src/i18n/messages.json
  5. 2
      io.sc.engine.mv.frontend/src/i18n/messages_tw_CN.json
  6. 2
      io.sc.engine.mv.frontend/src/i18n/messages_zh_CN.json
  7. 48
      io.sc.engine.mv.frontend/src/views/result/ResultDetailDialog.vue
  8. 15
      io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/coe/BinomialWebController.java
  9. 15
      io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/coe/ChiSquareWebController.java
  10. 2
      io.sc.platform.core/src/main/java/io/sc/platform/core/autoconfigure/RestarterInterceptorAutoConfiguration.java
  11. 2
      io.sc.platform.core/src/main/java/io/sc/platform/core/controller/RestarterWebController.java
  12. 2
      io.sc.platform.core/src/main/java/io/sc/platform/core/interceptor/RestarterInterceptor.java
  13. 6
      io.sc.platform.core/src/main/java/io/sc/platform/core/springboot/BeforeEnvironmentProcessor.java
  14. 8
      io.sc.platform.core/src/main/java/io/sc/platform/core/util/EnumUtil.java
  15. 6
      io.sc.platform.core/src/main/resources/io/sc/platform/core/config/logback-spring.xml
  16. 12
      io.sc.platform.gradle/build.gradle
  17. 4
      io.sc.platform.gradle/src/main/java/io/sc/platform/gradle/plugins/CreateFrontEnd.java
  18. 2
      io.sc.platform.groovy/build.gradle
  19. 2
      io.sc.platform.installer/build.gradle
  20. 2
      io.sc.platform.jdbc.liquibase/build.gradle
  21. 2
      io.sc.platform.jdbc.liquibase/src/main/java/io/sc/platform/jdbc/liquibase/autoconfigure/DatabaseUpdaterInterceptorAutoConfiguration.java
  22. 2
      io.sc.platform.job.core/build.gradle
  23. 2
      io.sc.platform.job.executor/build.gradle
  24. 2
      io.sc.platform.job.manager/build.gradle
  25. 2
      io.sc.platform.monitor/build.gradle
  26. 2
      io.sc.platform.mvc/build.gradle
  27. 4
      io.sc.platform.mvc/src/main/java/io/sc/platform/mvc/autoconfigure/support/AuditLogAspectorBean.java
  28. 6
      io.sc.platform.orm.api/build.gradle
  29. 2
      io.sc.platform.ws.cxf/build.gradle
  30. 6
      settings.gradle

2
app.platform/build-jetty.gradle

@ -2,7 +2,7 @@ println "[Jetty] 环境 ......"
configurations {
all*.exclude group: "org.springframework.boot", module: "spring-boot-starter-tomcat"
all*.exclude group: "org.apache.tomcat.embed", module: "tomcat-embed-coe"
all*.exclude group: "org.apache.tomcat.embed", module: "tomcat-embed-core"
all*.exclude group: "org.apache.tomcat.embed", module: "tomcat-embed-websocket"
}

2
app.platform/build-undertow.gradle

@ -2,7 +2,7 @@ println "[Undertow] 环境 ......"
configurations {
all*.exclude group: "org.springframework.boot", module: "spring-boot-starter-tomcat"
all*.exclude group: "org.apache.tomcat.embed", module: "tomcat-embed-coe"
all*.exclude group: "org.apache.tomcat.embed", module: "tomcat-embed-core"
all*.exclude group: "org.apache.tomcat.embed", module: "tomcat-embed-websocket"
}

2
app.platform/build.gradle

@ -17,7 +17,7 @@ dependencies {
project(":io.sc.engine.mv.frontend"),
project(":io.sc.engine.mv.sample"),
//project(":io.sc.platform.job.coe"),
//project(":io.sc.platform.job.core"),
//project(":io.sc.platform.job.executor"),
//project(":io.sc.platform.job.manager"),

2
io.sc.engine.mv.frontend/src/i18n/messages.json

@ -159,12 +159,14 @@
"io.sc.engine.mv.result.curve.ks.y1" : "(Y1)Percent of normal",
"io.sc.engine.mv.result.curve.ks.y2" : "(Y2)Percent of defaults",
"io.sc.engine.mv.result.chiSquare.grid.title" : "ChiSquare Test",
"io.sc.engine.mv.result.chiSquare.level" : "Level",
"io.sc.engine.mv.result.chiSquare.pd" : "PD",
"io.sc.engine.mv.result.chiSquare.count" : "Total Count",
"io.sc.engine.mv.result.chiSquare.defaultCount" : "Default Count",
"io.sc.engine.mv.result.chiSquare.chiSquare" : "ChiSquare Value",
"io.sc.engine.mv.result.binomial.grid.title" : "Binomial Test",
"io.sc.engine.mv.result.binomial.level" : "Level",
"io.sc.engine.mv.result.binomial.pd" : "PD",
"io.sc.engine.mv.result.binomial.count" : "Total Count",

2
io.sc.engine.mv.frontend/src/i18n/messages_tw_CN.json

@ -160,12 +160,14 @@
"io.sc.engine.mv.result.curve.ks.y1" : "(Y1)正常樣本占比",
"io.sc.engine.mv.result.curve.ks.y2" : "(Y2)違約樣本占比",
"io.sc.engine.mv.result.chiSquare.grid.title" : "卡方检验結果",
"io.sc.engine.mv.result.chiSquare.level" : "評分等級",
"io.sc.engine.mv.result.chiSquare.pd" : "違約概率",
"io.sc.engine.mv.result.chiSquare.count" : "樣本總數",
"io.sc.engine.mv.result.chiSquare.defaultCount" : "事實違約樣本個數",
"io.sc.engine.mv.result.chiSquare.chiSquare" : "卡方检验值",
"io.sc.engine.mv.result.binomial.grid.title" : "二項檢驗結果",
"io.sc.engine.mv.result.binomial.level" : "評分等級",
"io.sc.engine.mv.result.binomial.pd" : "違約概率",
"io.sc.engine.mv.result.binomial.count" : "樣本總數",

2
io.sc.engine.mv.frontend/src/i18n/messages_zh_CN.json

@ -167,12 +167,14 @@
"io.sc.engine.mv.result.curve.ks.y1" : "(Y1)正常样本占比",
"io.sc.engine.mv.result.curve.ks.y2" : "(Y2)违约样本占比",
"io.sc.engine.mv.result.chiSquare.grid.title" : "卡方检验结果",
"io.sc.engine.mv.result.chiSquare.level" : "评分等级",
"io.sc.engine.mv.result.chiSquare.pd" : "违约概率",
"io.sc.engine.mv.result.chiSquare.count" : "样本总数",
"io.sc.engine.mv.result.chiSquare.defaultCount" : "事实违约样本个数",
"io.sc.engine.mv.result.chiSquare.chiSquare" : "卡方检验值",
"io.sc.engine.mv.result.binomial.grid.title" : "二项检验结果",
"io.sc.engine.mv.result.binomial.level" : "评分等级",
"io.sc.engine.mv.result.binomial.pd" : "违约概率",
"io.sc.engine.mv.result.binomial.count" : "样本总数",

48
io.sc.engine.mv.frontend/src/views/result/ResultDetailDialog.vue

@ -65,42 +65,44 @@
</q-tab-panel>
<q-tab-panel name="scaleValidate" class="px-0">
<div class="row">
<div class="col-5 pr-2">
<div class="col-4 pr-4">
<w-grid
:title="$t('io.sc.engine.mv.result.chiSquare.grid.title')"
:checkbox-selection="false"
:fetch-data-url="Environment.apiContextPath('/api/mv/sc/roc?modelId=' + detailRef.modelId + '&validateDate=' + detailRef.validateDate)"
:fetch-data-url="Environment.apiContextPath('/api/mv/coe/chiSquare?modelId=' + detailRef.modelId + '&validateDate=' + detailRef.validateDate)"
:pageable="true"
:toolbar-actions="['refresh', 'separator', 'export']"
:columns="[
{ width: 100, name: 'level', label: $t('io.sc.engine.mv.result.chiSquare.level'), align: 'right' },
{ width: 100, name: 'pd', label: $t('io.sc.engine.mv.result.chiSquare.pd'), align: 'right' },
{ width: 100, name: 'count', label: $t('io.sc.engine.mv.result.chiSquare.count'), align: 'right' },
{ width: 100, name: 'defaultCount', label: $t('io.sc.engine.mv.result.chiSquare.defaultCount'), align: 'right' },
{ width: 100, name: 'chiSquare', label: $t('io.sc.engine.mv.result.chiSquare.chiSquare'), align: 'right' },
{ width: 50, name: 'level', label: $t('io.sc.engine.mv.result.chiSquare.level'), align: 'right' },
{ width: 50, name: 'pd', label: $t('io.sc.engine.mv.result.chiSquare.pd'), align: 'right' },
{ width: 50, name: 'count', label: $t('io.sc.engine.mv.result.chiSquare.count'), align: 'right' },
{ width: 50, name: 'defaultCount', label: $t('io.sc.engine.mv.result.chiSquare.defaultCount'), align: 'right' },
{ width: 50, name: 'chiSquare', label: $t('io.sc.engine.mv.result.chiSquare.chiSquare'), align: 'right' },
]"
></w-grid>
</div>
<div class="col-7 pl-2">
<div class="col-8 pl-4">
<w-grid
:title="$t('io.sc.engine.mv.result.binomial.grid.title')"
:checkbox-selection="false"
:fetch-data-url="Environment.apiContextPath('/api/mv/sc/roc?modelId=' + detailRef.modelId + '&validateDate=' + detailRef.validateDate)"
:fetch-data-url="Environment.apiContextPath('/api/mv/coe/binomial?modelId=' + detailRef.modelId + '&validateDate=' + detailRef.validateDate)"
:pageable="true"
:toolbar-actions="['refresh', 'separator', 'export']"
:columns="[
{ width: 100, name: 'level', label: $t('io.sc.engine.mv.result.binomial.level'), align: 'right' },
{ width: 100, name: 'pd', label: $t('io.sc.engine.mv.result.binomial.pd'), align: 'right' },
{ width: 100, name: 'count', label: $t('io.sc.engine.mv.result.binomial.count'), align: 'right' },
{ width: 100, name: 'defaultCount', label: $t('io.sc.engine.mv.result.binomial.defaultCount'), align: 'right' },
{ width: 100, name: 'ndAvg', label: $t('io.sc.engine.mv.result.binomial.ndAvg'), align: 'right' },
{ width: 100, name: 'ndSd', label: $t('io.sc.engine.mv.result.binomial.ndSd'), align: 'right' },
{ width: 100, name: 'sl', label: $t('io.sc.engine.mv.result.binomial.sl'), align: 'right' },
{ width: 100, name: 'cl', label: $t('io.sc.engine.mv.result.binomial.cl'), align: 'right' },
{ width: 100, name: 'zUpper', label: $t('io.sc.engine.mv.result.binomial.zUpper'), align: 'right' },
{ width: 100, name: 'zLower', label: $t('io.sc.engine.mv.result.binomial.zLower'), align: 'right' },
{ width: 100, name: 'dUpper', label: $t('io.sc.engine.mv.result.binomial.dUpper'), align: 'right' },
{ width: 100, name: 'dLower', label: $t('io.sc.engine.mv.result.binomial.dLower'), align: 'right' },
{ width: 100, name: 'leUpper', label: $t('io.sc.engine.mv.result.binomial.leUpper'), align: 'right' },
{ width: 100, name: 'geLower', label: $t('io.sc.engine.mv.result.binomial.geLower'), align: 'right' },
{ width: 50, name: 'level', label: $t('io.sc.engine.mv.result.binomial.level'), align: 'right' },
{ width: 50, name: 'pd', label: $t('io.sc.engine.mv.result.binomial.pd'), align: 'right' },
{ width: 50, name: 'count', label: $t('io.sc.engine.mv.result.binomial.count'), align: 'right' },
{ width: 50, name: 'defaultCount', label: $t('io.sc.engine.mv.result.binomial.defaultCount'), align: 'right' },
{ width: 50, name: 'ndAvg', label: $t('io.sc.engine.mv.result.binomial.ndAvg'), align: 'right' },
{ width: 50, name: 'ndSd', label: $t('io.sc.engine.mv.result.binomial.ndSd'), align: 'right' },
{ width: 50, name: 'sl', label: $t('io.sc.engine.mv.result.binomial.sl'), align: 'right' },
{ width: 50, name: 'cl', label: $t('io.sc.engine.mv.result.binomial.cl'), align: 'right' },
{ width: 50, name: 'zUpper', label: $t('io.sc.engine.mv.result.binomial.zUpper'), align: 'right' },
{ width: 50, name: 'zLower', label: $t('io.sc.engine.mv.result.binomial.zLower'), align: 'right' },
{ width: 50, name: 'dUpper', label: $t('io.sc.engine.mv.result.binomial.dUpper'), align: 'right' },
{ width: 50, name: 'dLower', label: $t('io.sc.engine.mv.result.binomial.dLower'), align: 'right' },
{ width: 50, name: 'leUpper', label: $t('io.sc.engine.mv.result.binomial.leUpper'), align: 'right' },
{ width: 50, name: 'geLower', label: $t('io.sc.engine.mv.result.binomial.geLower'), align: 'right' },
]"
></w-grid>
</div>

15
io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/coe/BinomialWebController.java

@ -7,26 +7,21 @@ import org.springframework.data.domain.Example;
import org.springframework.data.domain.ExampleMatcher;
import org.springframework.data.domain.ExampleMatcher.StringMatcher;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@Controller
@RequestMapping("/mv/coe/binomial")
@RestController
@RequestMapping("/api/mv/coe/binomial")
public class BinomialWebController {
@Autowired private CoeBinomialHistoryRepository coeBinomialHistoryRepository;
@RequestMapping(value="isc/fetch",method=RequestMethod.GET)
@ResponseBody
@GetMapping(value="")
public List<CoeBinomialHistory> iscFetch(CoeBinomialHistory history){
return fetch(history);
}
@RequestMapping(value="fetch",method=RequestMethod.GET)
@ResponseBody
public List<CoeBinomialHistory> fetch(CoeBinomialHistory history){
private List<CoeBinomialHistory> fetch(CoeBinomialHistory history){
ExampleMatcher matcher = ExampleMatcher.matching()
.withIgnoreNullValues()
.withIgnoreCase()

15
io.sc.engine.mv/src/main/java/io/sc/engine/mv/controller/coe/ChiSquareWebController.java

@ -7,26 +7,21 @@ import org.springframework.data.domain.Example;
import org.springframework.data.domain.ExampleMatcher;
import org.springframework.data.domain.ExampleMatcher.StringMatcher;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@Controller
@RequestMapping("/mv/coe/chiSquare")
@RestController
@RequestMapping("/api/mv/coe/chiSquare")
public class ChiSquareWebController {
@Autowired private CoeChiSquareHistoryRepository coeChiSquareHistoryRepository;
@RequestMapping(value="isc/fetch",method=RequestMethod.GET)
@ResponseBody
@GetMapping("")
public List<CoeChiSquareHistory> iscFetch(CoeChiSquareHistory psiHistory){
return fetch(psiHistory);
}
@RequestMapping(value="fetch",method=RequestMethod.GET)
@ResponseBody
public List<CoeChiSquareHistory> fetch(CoeChiSquareHistory history){
private List<CoeChiSquareHistory> fetch(CoeChiSquareHistory history){
ExampleMatcher matcher = ExampleMatcher.matching()
.withIgnoreNullValues()
.withIgnoreCase()

2
io.sc.platform.core/src/main/java/io/sc/platform/core/autoconfigure/RestarterInterceptorAutoConfiguration.java

@ -37,7 +37,7 @@ import java.util.Set;
public class RestarterInterceptorAutoConfiguration implements WebMvcConfigurer {
private static final String[] excludePathPatterns =new String[] {
"/" + Environment.getInstance().getApplicationName() + "/**",
"/io.sc.platform.coe/**",
"/io.sc.platform.core/**",
"/error"
};
@Autowired private ApplicationContext applicationContext;

2
io.sc.platform.core/src/main/java/io/sc/platform/core/controller/RestarterWebController.java

@ -14,7 +14,7 @@ import org.springframework.web.servlet.ModelAndView;
* 当系统检测到需要重启时, 所有的请求都将被重定向到本控制器
*/
@Controller
@RequestMapping("/io.sc.platform.coe")
@RequestMapping("/io.sc.platform.core")
public class RestarterWebController {
@RequestMapping(value="restarter.html")
public ModelAndView restarter(Model model){

2
io.sc.platform.core/src/main/java/io/sc/platform/core/interceptor/RestarterInterceptor.java

@ -15,7 +15,7 @@ public class RestarterInterceptor implements HandlerInterceptor{
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
if(RuntimeStatus.RESTARTING.equals(Environment.getInstance().getRuntimeStatus())) {
RedirectView view = new RedirectView("/io.sc.platform.coe/restarter.html");
RedirectView view = new RedirectView("/io.sc.platform.core/restarter.html");
view.setContextRelative(true);
view.render(null, request, response);
return false;

6
io.sc.platform.core/src/main/java/io/sc/platform/core/springboot/BeforeEnvironmentProcessor.java

@ -139,21 +139,21 @@ public class BeforeEnvironmentProcessor implements EnvironmentPostProcessor, Ord
exportConfigurationFile(new String[]{
"classpath:/logback-spring.xml",
"classpath:/config/logback-spring.xml",
"classpath:/io/sc/platform/coe/config/logback-spring.xml"
"classpath:/io/sc/platform/core/config/logback-spring.xml"
},"/config/logback-spring.xml",environment);
// banner.txt
exportConfigurationFile(new String[]{
"classpath:/banner.txt",
"classpath:/config/banner.txt",
"classpath:/io/sc/platform/coe/config/banner.txt"
"classpath:/io/sc/platform/core/config/banner.txt"
},"/config/banner.txt",environment);
// license.txt
exportConfigurationFile(new String[]{
"classpath:/license.txt",
"classpath:/config/license.txt",
"classpath:/io/sc/platform/coe/config/license.txt"
"classpath:/io/sc/platform/core/config/license.txt"
},"/config/license.txt",environment);
}

8
io.sc.platform.core/src/main/java/io/sc/platform/core/util/EnumUtil.java

@ -16,7 +16,7 @@ public class EnumUtil {
* 将枚举转换成 Map
* 示例:
* 1) 枚举定义
* package io.sc.platform.coe.util;
* package io.sc.platform.core.util;
* enum Color{
* RED,YELLOW,GREEN
* }
@ -28,9 +28,9 @@ public class EnumUtil {
* }
*
* 3) 结果
* RED : io.sc.platform.coe.util.Color.RED
* YELLOW : io.sc.platform.coe.util.Color.YELLOW
* GREEN : io.sc.platform.coe.util.Color.GREEN
* RED : io.sc.platform.core.util.Color.RED
* YELLOW : io.sc.platform.core.util.Color.YELLOW
* GREEN : io.sc.platform.core.util.Color.GREEN
* @param type 枚举类
* @return 枚举 Map, 其中 key:表示枚举名称, value: 表示枚举的全路径类名称
*/

6
io.sc.platform.core/src/main/resources/io/sc/platform/core/config/logback-spring.xml

@ -48,16 +48,16 @@
<!-- 可对不同的日志写入不同的文件示例 -->
<!--
<appender name="RULE_ENGINE_FILE" class="ch.qos.logback.coe.rolling.RollingFileAppender">
<appender name="RULE_ENGINE_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<encoder><pattern>${pattern}</pattern></encoder>
<file>${homedir}/logs/rule-engine.log</file>
<rollingPolicy class="ch.qos.logback.coe.rolling.TimeBasedRollingPolicy">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${homedir}/logs/rule-engine.%d.log</fileNamePattern>
<maxHistory>30</maxHistory>
</rollingPolicy>
</appender>
<logger name="org.wsp.engine.rule.coe.code" level="debug" additivity="false">
<logger name="org.wsp.engine.rule.core.code" level="debug" additivity="false">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
<appender-ref ref="RULE_ENGINE_FILE" />

12
io.sc.platform.gradle/build.gradle

@ -17,10 +17,10 @@ gradlePlugin {
dependencies {
implementation(
"org.springframework:spring-web",
"org.springframework:spring-coe",
"com.fasterxml.jackson.coe:jackson-coe",
"com.fasterxml.jackson.coe:jackson-annotations",
"com.fasterxml.jackson.coe:jackson-databind",
"org.springframework:spring-core",
"com.fasterxml.jackson.core:jackson-core",
"com.fasterxml.jackson.core:jackson-annotations",
"com.fasterxml.jackson.core:jackson-databind",
"com.google.guava:guava:${guava_version}",
"net.lingala.zip4j:zip4j:${zip4j_version}"
)
@ -120,7 +120,7 @@ processResources.dependsOn(syncPluginTemplates);
/*
task zipFrontendResources() {}
tasks.zipFrontendResources.doFirst {
File srcDir = file('../../framework-base/org.wsp.framework.coe.frontend');
File srcDir = file('../../framework-base/org.wsp.framework.core.frontend');
File targetFile =file('./src/main/resources/framework-template/front-end/template.zip');
delete targetFile
@ -138,7 +138,7 @@ tasks.zipFrontendResources.doFirst {
zipFile.addFolder(it);
}
}else{
if(!"org.wsp.framework.coe.frontend.iml".equals(it.name)
if(!"org.wsp.framework.core.frontend.iml".equals(it.name)
&& !"package-lock.json".equals(it.name)
){
zipFile.addFile(it);

4
io.sc.platform.gradle/src/main/java/io/sc/platform/gradle/plugins/CreateFrontEnd.java

@ -153,7 +153,7 @@ public class CreateFrontEnd extends AbstractFrameworkTask{
new File(projectPath + "/template.zip").delete();
//更改 asset 文件夹名称
new File(projectPath + "/public/org.wsp.framework.coe.frontend").renameTo(new File(projectPath + "/public/" + name));
new File(projectPath + "/public/org.wsp.framework.core.frontend").renameTo(new File(projectPath + "/public/" + name));
//替换 package.json 文件中的 name 属性
String packageJson =projectPath + "/package.json";
@ -161,7 +161,7 @@ public class CreateFrontEnd extends AbstractFrameworkTask{
if(rs!=null && rs.exists()) {
String txt =FileUtil.readString(rs.getInputStream());
if(txt!=null) {
txt =txt.replace("org.wsp.framework.coe.frontend",name);
txt =txt.replace("org.wsp.framework.core.frontend",name);
FileUtil.writeString(packageJson, txt);
}
}

2
io.sc.platform.groovy/build.gradle

@ -1,6 +1,6 @@
dependencies {
api(
project(":io.sc.platform.coe"),
project(":io.sc.platform.core"),
"org.codehaus.groovy:groovy",
"org.codehaus.groovy:groovy-jsr223",
"org.codehaus.groovy:groovy-datetime",

2
io.sc.platform.installer/build.gradle

@ -1,5 +1,5 @@
dependencies {
api(
project(":io.sc.platform.coe"),
project(":io.sc.platform.core"),
)
}

2
io.sc.platform.jdbc.liquibase/build.gradle

@ -2,6 +2,6 @@ dependencies {
api(
project(":io.sc.platform.jdbc"),
"org.liquibase:liquibase-coe",
"org.liquibase:liquibase-core",
)
}

2
io.sc.platform.jdbc.liquibase/src/main/java/io/sc/platform/jdbc/liquibase/autoconfigure/DatabaseUpdaterInterceptorAutoConfiguration.java

@ -25,7 +25,7 @@ public class DatabaseUpdaterInterceptorAutoConfiguration implements WebMvcConfig
private static final String[] excludePathPatterns =new String[] {
"/io.sc.platform.jdbc.liquibase/**",
"/io.sc.platform.coe/**",
"/io.sc.platform.core/**",
"/error",
"/**/*.js",

2
io.sc.platform.job.core/build.gradle

@ -1,6 +1,6 @@
dependencies {
api(
project(":io.sc.platform.coe"),
project(":io.sc.platform.core"),
project(":io.sc.platform.orm.api"),
)
}

2
io.sc.platform.job.executor/build.gradle

@ -1,5 +1,5 @@
dependencies {
api(
project(":io.sc.platform.job.coe"),
project(":io.sc.platform.job.core"),
)
}

2
io.sc.platform.job.manager/build.gradle

@ -1,6 +1,6 @@
dependencies {
api(
project(":io.sc.platform.job.coe"),
project(":io.sc.platform.job.core"),
project(":io.sc.platform.mvc"),
project(":io.sc.platform.jdbc.liquibase"),
)

2
io.sc.platform.monitor/build.gradle

@ -1,5 +1,5 @@
dependencies {
api(
"com.github.oshi:oshi-coe:${oshi_version}",
"com.github.oshi:oshi-core:${oshi_version}",
)
}

2
io.sc.platform.mvc/build.gradle

@ -4,7 +4,7 @@ dependencies {
project(":io.sc.platform.security"),
project(":io.sc.platform.mvc.frontend"),
"org.webjars:webjars-locator-coe",
"org.webjars:webjars-locator-core",
"org.webjars:webjars-locator-weblogic:${webjars_locator_weblogic_version}",
"commons-fileupload:commons-fileupload:${commons_fileupload_version}",
)

4
io.sc.platform.mvc/src/main/java/io/sc/platform/mvc/autoconfigure/support/AuditLogAspectorBean.java

@ -47,9 +47,9 @@ public class AuditLogAspectorBean {
/**
* 定义切入点
* io.sc.platform.coe.annotation.AuditLog 注解的方法
* io.sc.platform.core.annotation.AuditLog 注解的方法
*/
@Pointcut("@annotation(io.sc.platform.coe.annotation.AuditLog)")
@Pointcut("@annotation(io.sc.platform.core.annotation.AuditLog)")
public void auditLogPointCut() {}
@Around("auditLogPointCut()")

6
io.sc.platform.orm.api/build.gradle

@ -1,7 +1,7 @@
dependencies {
api(
"com.fasterxml.jackson.coe:jackson-annotations:${jackson_version}",
"com.fasterxml.jackson.coe:jackson-coe:${jackson_version}",
"com.fasterxml.jackson.coe:jackson-databind:${jackson_version}",
"com.fasterxml.jackson.core:jackson-annotations:${jackson_version}",
"com.fasterxml.jackson.core:jackson-core:${jackson_version}",
"com.fasterxml.jackson.core:jackson-databind:${jackson_version}",
)
}

2
io.sc.platform.ws.cxf/build.gradle

@ -2,7 +2,7 @@ dependencies {
api(
"org.apache.cxf:cxf-spring-boot-starter-jaxws:${cxf_version}",
project(":io.sc.platform.coe"),
project(":io.sc.platform.core"),
project(":io.sc.platform.mvc"),
)
}

6
settings.gradle

@ -1,7 +1,7 @@
include ':app.platform'
include ':com.xxl.job.admin'
include ':com.xxl.job.core'
include ':com.xxl.job.executor'
//include ':com.xxl.job.admin'
//include ':com.xxl.job.core'
//include ':com.xxl.job.executor'
include ':io.sc.engine.mv'
include ':io.sc.engine.mv.frontend'
include ':io.sc.engine.mv.sample'

Loading…
Cancel
Save