提交 e7d471a4 编写于 作者: sq3536's avatar sq3536

init

上级 8ebafe95
...@@ -13,15 +13,15 @@ TARGET=PSSYSTEM ...@@ -13,15 +13,15 @@ TARGET=PSSYSTEM
</parent> </parent>
<artifactId>${pub.getCodeName()?lower_case}-boot</artifactId> <artifactId>${pub.getCodeName()?lower_case}-boot</artifactId>
<name>${pub.getCodeName()?lower_case?cap_first} Dev Monolithic Boot</name> <name>${pub.getName()} Boot</name>
<description>${pub.getCodeName()?lower_case?cap_first} Boot</description> <description>${pub.getName()} Boot</description>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>${pub.getPKGCodeName()?lower_case}</groupId> <groupId>${pub.getPKGCodeName()?lower_case}</groupId>
<artifactId>${pub.getCodeName()?lower_case}-core</artifactId> <artifactId>${pub.getCodeName()?lower_case}-core</artifactId>
<version>${r'${project.version}'}</version> <version>${r'${project.version}'}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<profiles> <profiles>
<profile> <profile>
...@@ -178,7 +178,7 @@ TARGET=PSSYSTEM ...@@ -178,7 +178,7 @@ TARGET=PSSYSTEM
../ ../
</output> </output>
<inputSpec> <inputSpec>
${r'${basedir}'}/src/main/resources/model/${pub.getPKGCodeName()?replace(".","/")} ${r'${basedir}'}/src/main/resources/static/remotemodel
</inputSpec> </inputSpec>
<templateDirs> <templateDirs>
${r'${basedir}'}/src/main/resources/templ ${r'${basedir}'}/src/main/resources/templ
......
...@@ -31,20 +31,20 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -31,20 +31,20 @@ import org.springframework.beans.factory.annotation.Autowired;
@EnableDiscoveryClient @EnableDiscoveryClient
@Configuration @Configuration
@EnableTransactionManagement @EnableTransactionManagement
@EnableFeignClients(basePackages = {"cn.ibizlab.util","${pub.getPKGCodeName()}" }) @EnableFeignClients(basePackages = {"cn.ibizlab.util","${pub.getPKGCodeName()}"})
@SpringBootApplication(exclude = { @SpringBootApplication(exclude = {
<#--<#assign bmogo=false>--> <#assign bmogo=false>
<#--<#if sys.getAllPSDataEntities()??>--> <#if sys.getAllPSDataEntities()??>
<#--<#list sys.getAllPSDataEntities() as de>--> <#list sys.getAllPSDataEntities() as de>
<#--<#if de.getStorageMode()?? && de.getStorageMode()==2>--> <#if de.getStorageMode()?? && de.getStorageMode()==2>
<#--<#assign bmogo=true>--> <#assign bmogo=true>
<#--<#break >--> <#break >
<#--</#if>--> </#if>
<#--</#list>--> </#list>
<#--</#if>--> </#if>
<#--<#if bmogo==false>--> <#if bmogo==false>
<#--org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.class,--> org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.class,
<#--</#if>--> </#if>
com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure.class com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure.class
}) })
@ComponentScan(basePackages = {"cn.ibizlab.util","${pub.getPKGCodeName()}"} @ComponentScan(basePackages = {"cn.ibizlab.util","${pub.getPKGCodeName()}"}
...@@ -63,7 +63,7 @@ public class BootApplication extends WebMvcConfigurerAdapter { ...@@ -63,7 +63,7 @@ public class BootApplication extends WebMvcConfigurerAdapter {
SearchContextHandlerMethodArgumentResolver resolver; SearchContextHandlerMethodArgumentResolver resolver;
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(DevBootApplication.class, args); SpringApplication.run(BootApplication.class, args);
} }
@Override @Override
......
...@@ -13,16 +13,16 @@ TARGET=PSSYSTEM ...@@ -13,16 +13,16 @@ TARGET=PSSYSTEM
</parent> </parent>
<artifactId>${pub.getCodeName()?lower_case}-core</artifactId> <artifactId>${pub.getCodeName()?lower_case}-core</artifactId>
<name>${pub.getCodeName()?lower_case?cap_first} Core</name> <name>${pub.getName()} Core</name>
<description>${pub.getCodeName()?lower_case?cap_first} Core</description> <description>${pub.getName()} Core</description>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>cn.ibizlab</groupId> <groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-boot-starter-data</artifactId> <artifactId>ibizlab-boot-starter-data</artifactId>
<version>2.4.0-SNAPSHOT</version> <version>2.4.0-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>
<properties> <properties>
......
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
<#assign eurekaUrl = "http://127.0.0.1:8762/eureka/" >
<#comment>前端应用微服务平台配置</#comment>
<#if sys.getAllPSDevSlnMSDepApps()??>
<#list sys.getAllPSDevSlnMSDepApps() as depApp>
<#if depApp.getPSDCMSPlatform()??>
<#assign appPlatform=depApp.getPSDCMSPlatform()>
<#if appPlatform.getUserParam("eureka","http://127.0.0.1:8762/eureka/")??>
<#assign eurekaUrl = appPlatform.getUserParam("eureka","http://127.0.0.1:8762/eureka/")>
</#if>
<#break>
</#if>
</#list>
</#if>
<#comment>服务接口微服务平台配置</#comment>
<#if sys.getAllPSDevSlnMSDepAPIs()??>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if depSysApi.getPSDCMSPlatform()?? >
<#assign sysApiPlatform=depSysApi.getPSDCMSPlatform()>
<#if sysApiPlatform.getUserParam("eureka","http://127.0.0.1:8762/eureka/")??>
<#assign eurekaUrl = sysApiPlatform.getUserParam("eureka","http://127.0.0.1:8762/eureka/")>
</#if>
<#break>
</#if>
</#list>
</#if>
#eureka配置中心
spring:
cloud:
nacos:
discovery:
enabled: false
eureka:
client:
enabled: true
serviceUrl:
defaultZone: ${eurekaUrl}
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
<#assign nacosUrl = "127.0.0.1:8848" >
<#comment>前端应用微服务平台配置</#comment>
<#if sys.getAllPSDevSlnMSDepApps()??>
<#list sys.getAllPSDevSlnMSDepApps() as depApp>
<#if depApp.getPSDCMSPlatform()??>
<#assign appPlatform=depApp.getPSDCMSPlatform()>
<#if appPlatform.getUserParam("nacos","127.0.0.1:8848")??>
<#assign nacosUrl = appPlatform.getUserParam("nacos","127.0.0.1:8848")>
</#if>
<#break>
</#if>
</#list>
</#if>
<#comment>服务接口微服务平台配置</#comment>
<#if sys.getAllPSDevSlnMSDepAPIs()??>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if depSysApi.getPSDCMSPlatform()?? >
<#assign sysApiPlatform=depSysApi.getPSDCMSPlatform()>
<#if sysApiPlatform.getUserParam("nacos","127.0.0.1:8848")??>
<#assign nacosUrl = sysApiPlatform.getUserParam("nacos","127.0.0.1:8848")>
</#if>
<#break>
</#if>
</#list>
</#if>
#nacos配置中心
spring:
cloud:
nacos:
discovery:
server-addr: ${nacosUrl}
enabled: true
eureka:
client:
enabled: false
...@@ -10,6 +10,7 @@ TARGET=PSSYSTEM ...@@ -10,6 +10,7 @@ TARGET=PSSYSTEM
*.classpath *.classpath
*.factorypath *.factorypath
.history .history
.vscode
.idea .idea
**.iml **.iml
*.jar *.jar
......
...@@ -9,7 +9,7 @@ TARGET=PSSYSTEM ...@@ -9,7 +9,7 @@ TARGET=PSSYSTEM
<artifactId>${pub.getCodeName()?lower_case}</artifactId> <artifactId>${pub.getCodeName()?lower_case}</artifactId>
<groupId>${pub.getPKGCodeName()?lower_case}</groupId> <groupId>${pub.getPKGCodeName()?lower_case}</groupId>
<version>${pub.getVersionString()?default("V0.0.1_alpha")}</version> <version>${pub.getVersionString()?default("V0.0.1_alpha")}</version>
<name>${pub.getCodeName()?lower_case?cap_first}</name> <name>${pub.getName()}</name>
<description></description> <description></description>
<packaging>pom</packaging> <packaging>pom</packaging>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册