Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibiz4edge
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7后台标准模板
ibiz4edge
提交
e7d471a4
提交
e7d471a4
编写于
8月 15, 2022
作者:
sq3536
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
init
上级
8ebafe95
变更
10
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
621 行增加
和
30 行删除
+621
-30
pom.xml.ftl
SLN/%PUBPRJ%-boot/pom.xml.ftl
+8
-8
%PUBPRJ%-boot-%SYSAPI_PKGPATH%-k8s.yaml.ftl
...c/main/docker/%PUBPRJ%-boot-%SYSAPI_PKGPATH%-k8s.yaml.ftl
+0
-0
%PUBPRJ%-boot-%SYSAPI_PKGPATH%.yaml.ftl
...t/src/main/docker/%PUBPRJ%-boot-%SYSAPI_PKGPATH%.yaml.ftl
+0
-0
BootApplication.java.ftl
...boot/src/main/java/%SYS_PKGPATH%/BootApplication.java.ftl
+14
-14
pom.xml.ftl
SLN/%PUBPRJ%-core/pom.xml.ftl
+7
-7
application-eureka.yml.ftl
...UBPRJ%-core/src/main/resources/application-eureka.yml.ftl
+42
-0
application-nacos.yml.ftl
...PUBPRJ%-core/src/main/resources/application-nacos.yml.ftl
+40
-0
application-sys.yml.ftl
SLN/%PUBPRJ%-core/src/main/resources/application-sys.yml.ftl
+508
-0
.gitignore.ftl
SLN/.gitignore.ftl
+1
-0
pom.xml.ftl
SLN/pom.xml.ftl
+1
-1
未找到文件。
SLN/%PUBPRJ%-boot/pom.xml.ftl
浏览文件 @
e7d471a4
...
@@ -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.get
CodeName()?lower_case?cap_first} Dev Monolithic
Boot</name>
<name>${pub.get
Name()}
Boot</name>
<description>${pub.get
CodeName()?lower_case?cap_first
} Boot</description>
<description>${pub.get
Name()
} 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
...
...
SLN/%PUBPRJ%-boot/src/main/docker/%PUBPRJ%-
provider
-%SYSAPI_PKGPATH%-k8s.yaml.ftl
→
SLN/%PUBPRJ%-boot/src/main/docker/%PUBPRJ%-
boot
-%SYSAPI_PKGPATH%-k8s.yaml.ftl
浏览文件 @
e7d471a4
文件已移动
SLN/%PUBPRJ%-boot/src/main/docker/%PUBPRJ%-
provider
-%SYSAPI_PKGPATH%.yaml.ftl
→
SLN/%PUBPRJ%-boot/src/main/docker/%PUBPRJ%-
boot
-%SYSAPI_PKGPATH%.yaml.ftl
浏览文件 @
e7d471a4
文件已移动
SLN/%PUBPRJ%-boot/src/main/java/%SYS_PKGPATH%/BootApplication.java.ftl
浏览文件 @
e7d471a4
...
@@ -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
(
Dev
BootApplication
.
class
,
args
);
SpringApplication
.
run
(
BootApplication
.
class
,
args
);
}
}
@
Override
@
Override
...
...
SLN/%PUBPRJ%-core/pom.xml.ftl
浏览文件 @
e7d471a4
...
@@ -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.get
CodeName()?lower_case?cap_first
} Core</name>
<name>${pub.get
Name()
} Core</name>
<description>${pub.get
CodeName()?lower_case?cap_first
} Core</description>
<description>${pub.get
Name()
} 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>
...
...
SLN/%PUBPRJ%-core/src/main/resources/application-eureka.yml.ftl
0 → 100644
浏览文件 @
e7d471a4
<#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}
SLN/%PUBPRJ%-core/src/main/resources/application-nacos.yml.ftl
0 → 100644
浏览文件 @
e7d471a4
<#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
SLN/%PUBPRJ%-core/src/main/resources/application-sys.yml.ftl
0 → 100644
浏览文件 @
e7d471a4
此差异已折叠。
点击以展开。
SLN/.gitignore.ftl
浏览文件 @
e7d471a4
...
@@ -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
...
...
SLN/pom.xml.ftl
浏览文件 @
e7d471a4
...
@@ -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.get
CodeName()?lower_case?cap_first
}</name>
<name>${pub.get
Name()
}</name>
<description></description>
<description></description>
<packaging>pom</packaging>
<packaging>pom</packaging>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录