Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
1c235b82
提交
1c235b82
编写于
8月 09, 2022
作者:
sq3536
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bugfix
上级
4eb26366
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
125 行增加
和
86 行删除
+125
-86
pom.xml.hbs
...src/main/resources/templ/{{projectName}}-boot/pom.xml.hbs
+39
-1
application-boot.yml.hbs
...ctName}}-boot/src/main/resources/application-boot.yml.hbs
+0
-82
application.yml.hbs
...projectName}}-boot/src/main/resources/application.yml.hbs
+84
-1
application-sys.yml.hbs
...ectName}}-core/src/main/resources/application-sys.yml.hbs
+2
-2
未找到文件。
modules/ibizlab-template/ibizlab-template-ibizedge/src/main/resources/templ/{{projectName}}-boot/pom.xml.hbs
浏览文件 @
1c235b82
...
@@ -20,6 +20,9 @@
...
@@ -20,6 +20,9 @@
<version>
${project.version}
</version>
<version>
${project.version}
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
<profiles>
<profile>
<id>
runtime
</id>
<build>
<build>
<resources>
<resources>
<resource>
<resource>
...
@@ -29,12 +32,46 @@
...
@@ -29,12 +32,46 @@
</includes>
</includes>
</resource>
</resource>
</resources>
</resources>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<finalName>
{{
projectName
}}
-boot
</finalName>
<jvmArguments>
-Dfile.encoding=UTF-8
</jvmArguments>
<mainClass>
{{
packageName
}}
.BootApplication
</mainClass>
<outputDirectory>
../
</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>
repackage
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<resources>
<resource>
<directory>
${basedir}/src/main/resources
</directory>
<includes>
<include>
**/**
</include>
</includes>
</resource>
</resources>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<configuration>
<finalName>
{{
projectName
}}
</finalName>
<finalName>
{{
projectName
}}
-boot
</finalName>
<jvmArguments>
-Dfile.encoding=UTF-8
</jvmArguments>
<jvmArguments>
-Dfile.encoding=UTF-8
</jvmArguments>
<mainClass>
{{
packageName
}}
.BootApplication
</mainClass>
<mainClass>
{{
packageName
}}
.BootApplication
</mainClass>
<outputDirectory>
../
</outputDirectory>
<outputDirectory>
../
</outputDirectory>
...
@@ -78,4 +115,5 @@
...
@@ -78,4 +115,5 @@
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
</project>
</project>
modules/ibizlab-template/ibizlab-template-ibizedge/src/main/resources/templ/{{projectName}}-boot/src/main/resources/application-boot.yml.hbs
已删除
100644 → 0
浏览文件 @
4eb26366
#zuul网关路由设置
zuul:
routes:
{{#if
system
.
enableWorkflow
}}
wfcore:
path: /wfcore/**
serviceId: ${ibiz.ref.service.wf:ibzwf-api}
stripPrefix: true
{{/if}}
loginv7:
path: /v7/login
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
changepwd:
path: /v7/changepwd
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
uaa:
path: /uaa/**
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
config:
path: /configs/**
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
oucore:
path: /ibzorganizations/**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
oudict:
path: /dictionarys/**/Ibzou**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
ou:
path: /ibzdepartments/**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
uaadict:
path: /dictionarys/**/SysOperator
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
dict:
path: /dictionarys/**
serviceId: ${ibiz.ref.service.dict:ibzdict-api}
stripPrefix: false
disk:
path: /net-disk/**
serviceId: ${ibiz.ref.service.disk:ibzdisk-api}
stripPrefix: false
ou_sys_org:
path: /sysorganizations/**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
ou_sys_dept:
path: /sysdepartments/**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
lite-core:
path: /lite/**
serviceId: ${ibiz.ref.service.lite:ibzlite-api}
stripPrefix: false
sysauthlog:
path: /sysauthlogs
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
{{#
each
system
.
apps
as
|
webapp
|
}}
{{#
each
webapp
.
appEntities
as
|
appEntity
|
}}
{{#if
appEntity
.
entity
}}
{{#
eq
appEntity
.
entity
.
storage
"ServiceAPI"
}}
{{#
appEntity
.
serviceId
}}
{{
lowerCase
webapp
.
codeName
}}
-
{{
lowerCase
appEntity
.
codeName
}}
:
path: /
{{
pluralize
appEntity
.
codeName
}}
/**
serviceId:
{{
refServiceId
}}
stripPrefix: false
{{/
appEntity
.
serviceId
}}
{{/
eq
}}
{{/if}}
{{/
each
}}
{{/
each
}}
sensitive-headers:
- Cookie,Set-Cookie,Authorization
\ No newline at end of file
modules/ibizlab-template/ibizlab-template-ibizedge/src/main/resources/templ/{{projectName}}-boot/src/main/resources/application.yml.hbs
浏览文件 @
1c235b82
...
@@ -9,3 +9,86 @@ server:
...
@@ -9,3 +9,86 @@ server:
port: 8080
port: 8080
servlet:
servlet:
contextPath: /
{{
lowerCase
system
.
name
}}
contextPath: /
{{
lowerCase
system
.
name
}}
#zuul网关路由设置
zuul:
routes:
{{#if
system
.
enableWorkflow
}}
wfcore:
path: /wfcore/**
serviceId: ${ibiz.ref.service.wf:ibzwf-api}
stripPrefix: true
{{/if}}
loginv7:
path: /v7/login
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
changepwd:
path: /v7/changepwd
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
uaa:
path: /uaa/**
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
config:
path: /configs/**
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
oucore:
path: /ibzorganizations/**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
oudict:
path: /dictionarys/**/Ibzou**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
ou:
path: /ibzdepartments/**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
uaadict:
path: /dictionarys/**/SysOperator
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
dict:
path: /dictionarys/**
serviceId: ${ibiz.ref.service.dict:ibzdict-api}
stripPrefix: false
disk:
path: /net-disk/**
serviceId: ${ibiz.ref.service.disk:ibzdisk-api}
stripPrefix: false
ou_sys_org:
path: /sysorganizations/**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
ou_sys_dept:
path: /sysdepartments/**
serviceId: ${ibiz.ref.service.ou:ibzou-api}
stripPrefix: false
lite-core:
path: /lite/**
serviceId: ${ibiz.ref.service.lite:ibzlite-api}
stripPrefix: false
sysauthlog:
path: /sysauthlogs
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
{{#
each
system
.
apps
as
|
webapp
|
}}
{{#
each
webapp
.
appEntities
as
|
appEntity
|
}}
{{#if
appEntity
.
entity
}}
{{#
eq
appEntity
.
entity
.
storage
"ServiceAPI"
}}
{{#
appEntity
.
serviceId
}}
{{
lowerCase
webapp
.
codeName
}}
-
{{
lowerCase
appEntity
.
codeName
}}
:
path: /
{{
pluralize
appEntity
.
codeName
}}
/**
serviceId:
{{
refServiceId
}}
stripPrefix: false
{{/
appEntity
.
serviceId
}}
{{/
eq
}}
{{/if}}
{{/
each
}}
{{/
each
}}
sensitive-headers:
- Cookie,Set-Cookie,Authorization
\ No newline at end of file
modules/ibizlab-template/ibizlab-template-ibizedge/src/main/resources/templ/{{projectName}}-core/src/main/resources/application-sys.yml.hbs
浏览文件 @
1c235b82
...
@@ -38,7 +38,7 @@ spring:
...
@@ -38,7 +38,7 @@ spring:
datasource:
datasource:
username: a_LAB01_da1af574b
username: a_LAB01_da1af574b
password: 'D33f8870'
password: 'D33f8870'
url: jdbc:mysql://1
72.16.186.185:3306/a_LAB01_da1af574b
?autoReconnect=true
&
useUnicode=true
&
characterEncoding=UTF-8
&
useOldAliasMetadataBehavior=true
&
serverTimezone=Asia/Shanghai
&
allowMultiQueries=true
&
serverTimezone=GMT%2B8
&
useSSL=false
url: jdbc:mysql://1
27.0.0.1:3306/
{{
projectName
}}
?autoReconnect=true
&
useUnicode=true
&
characterEncoding=UTF-8
&
useOldAliasMetadataBehavior=true
&
serverTimezone=Asia/Shanghai
&
allowMultiQueries=true
&
serverTimezone=GMT%2B8
&
useSSL=false
driver-class-name: com.mysql.jdbc.Driver
driver-class-name: com.mysql.jdbc.Driver
isSyncDBSchema: false
isSyncDBSchema: false
defaultSchema: a_LAB01_da1af574b
defaultSchema: a_LAB01_da1af574b
...
@@ -177,7 +177,7 @@ ibiz:
...
@@ -177,7 +177,7 @@ ibiz:
### jobs
### jobs
jobs:
jobs:
#admin-address: http://127.0.0.1:40005
#admin-address: http://127.0.0.1:40005
app-name:
ibznotify
app-name:
{{
lowerCase
system
.
name
}}
app-port: 9999
app-port: 9999
#app-ip: 127.0.0.1
#app-ip: 127.0.0.1
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录