Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
2e1dda0a
Commit
2e1dda0a
authored
Dec 03, 2022
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三维校验提交
parent
53d18905
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
44 additions
and
74 deletions
+44
-74
pom.xml
amos-boot-system-tdc/amos-boot-module-tdc-api/pom.xml
+0
-35
pom.xml
amos-boot-system-tdc/amos-boot-module-tdc-biz/pom.xml
+5
-5
IdxProjectModel.java
...mos/boot/module/tdc/biz/action/model/IdxProjectModel.java
+0
-1
WebSecurityConfig.java
...in/amos/boot/module/tdc/biz/config/WebSecurityConfig.java
+0
-26
CheckResultImpl.java
...mos/boot/module/tdc/biz/service/impl/CheckResultImpl.java
+0
-1
application-dev.properties
...ule-tdc-biz/src/main/resources/application-dev.properties
+8
-3
application.properties
...-module-tdc-biz/src/main/resources/application.properties
+14
-0
pom.xml
amos-boot-system-tdc/pom.xml
+17
-3
No files found.
amos-boot-system-tdc/amos-boot-module-tdc-api/pom.xml
View file @
2e1dda0a
...
@@ -10,42 +10,7 @@
...
@@ -10,42 +10,7 @@
<artifactId>
amos-boot-module-tdc-api
</artifactId>
<artifactId>
amos-boot-module-tdc-api
</artifactId>
<dependencies>
<dependencies>
<dependency>
<groupId>
org.springframework.data
</groupId>
<artifactId>
spring-data-elasticsearch
</artifactId>
<scope>
compile
</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.amosframework.boot</groupId>-->
<!-- <artifactId>amos-boot-module-common-api</artifactId>-->
<!-- <version>${amos-biz-boot.version}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>
com.yeejoin
</groupId>
<artifactId>
amos-component-rule
</artifactId>
<exclusions>
<exclusion>
<groupId>
org.typroject
</groupId>
<artifactId>
tyboot-core-auth
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.aspose</groupId>-->
<!-- <artifactId>aspose-words</artifactId>-->
<!-- <version>15.8.0</version>-->
<!-- </dependency>-->
<dependency>
<groupId>
com.aspose
</groupId>
<artifactId>
aspose-words
</artifactId>
<version>
15.8.0
</version>
<classifier>
jdk16
</classifier>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
amos-boot-system-tdc/amos-boot-module-tdc-biz/pom.xml
View file @
2e1dda0a
...
@@ -15,11 +15,6 @@
...
@@ -15,11 +15,6 @@
<artifactId>
amos-boot-module-tdc-api
</artifactId>
<artifactId>
amos-boot-module-tdc-api
</artifactId>
<version>
${amos-biz-boot.version}
</version>
<version>
${amos-biz-boot.version}
</version>
</dependency>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.amosframework.boot</groupId>-->
<!-- <artifactId>amos-boot-module-common-biz</artifactId>-->
<!-- <version>${amos-biz-boot.version}</version>-->
<!-- </dependency>-->
<dependency>
<dependency>
<groupId>
org.apache.httpcomponents
</groupId>
<groupId>
org.apache.httpcomponents
</groupId>
<artifactId>
httpmime
</artifactId>
<artifactId>
httpmime
</artifactId>
...
@@ -28,6 +23,11 @@
...
@@ -28,6 +23,11 @@
<groupId>
org.liquibase
</groupId>
<groupId>
org.liquibase
</groupId>
<artifactId>
liquibase-core
</artifactId>
<artifactId>
liquibase-core
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
com.yeejoin
</groupId>
<artifactId>
amos-component-security
</artifactId>
<version>
1.8.1
</version>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
...
...
amos-boot-system-tdc/amos-boot-module-tdc-biz/src/main/java/com/yeejoin/amos/boot/module/tdc/biz/action/model/IdxProjectModel.java
View file @
2e1dda0a
...
@@ -2,7 +2,6 @@ package com.yeejoin.amos.boot.module.tdc.biz.action.model;
...
@@ -2,7 +2,6 @@ package com.yeejoin.amos.boot.module.tdc.biz.action.model;
import
com.yeejoin.amos.component.rule.Label
;
import
com.yeejoin.amos.component.rule.Label
;
import
com.yeejoin.amos.component.rule.RuleFact
;
import
com.yeejoin.amos.component.rule.RuleFact
;
import
liquibase.pro.packaged.L
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
...
amos-boot-system-tdc/amos-boot-module-tdc-biz/src/main/java/com/yeejoin/amos/boot/module/tdc/biz/config/WebSecurityConfig.java
deleted
100644 → 0
View file @
53d18905
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tdc
.
biz
.
config
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.security.config.annotation.web.builders.HttpSecurity
;
import
org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
;
import
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
;
@Configuration
@EnableWebSecurity
public
class
WebSecurityConfig
extends
WebSecurityConfigurerAdapter
{
// 授权
@Override
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
http
.
csrf
().
disable
()
.
headers
()
.
frameOptions
()
.
disable
()
.
and
()
.
authorizeRequests
()
.
regexMatchers
(
"^(?!/actuator).*$"
).
permitAll
()
.
regexMatchers
(
"/actuator/health"
).
permitAll
()
.
regexMatchers
(
"/actuator/info"
).
permitAll
()
.
anyRequest
().
authenticated
().
and
()
.
formLogin
();
}
}
amos-boot-system-tdc/amos-boot-module-tdc-biz/src/main/java/com/yeejoin/amos/boot/module/tdc/biz/service/impl/CheckResultImpl.java
View file @
2e1dda0a
...
@@ -31,7 +31,6 @@ import com.yeejoin.amos.component.feign.model.FeignClientResult;
...
@@ -31,7 +31,6 @@ import com.yeejoin.amos.component.feign.model.FeignClientResult;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
com.yeejoin.amos.feign.systemctl.Systemctl
;
import
com.yeejoin.amos.feign.systemctl.Systemctl
;
import
liquibase.pro.packaged.M
;
import
org.codehaus.jettison.json.JSONString
;
import
org.codehaus.jettison.json.JSONString
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
...
amos-boot-system-tdc/amos-boot-module-tdc-biz/src/main/resources/application-dev.properties
View file @
2e1dda0a
...
@@ -7,7 +7,10 @@ spring.datasource.password=Yeejoin@2020
...
@@ -7,7 +7,10 @@ spring.datasource.password=Yeejoin@2020
#eureka.client.fetchRegistry=false
#eureka.client.fetchRegistry=false
#eureka.client.server.waitTimeInMsWhenSyncEmpty=0
#eureka.client.server.waitTimeInMsWhenSyncEmpty=0
eureka.instance.hostname
=
172.16.10.215
eureka.instance.hostname
=
172.16.10.215
eureka.client.serviceUrl.defaultZone
=
http://${eureka.instance.hostname}:10001/eureka/
#eureka.client.serviceUrl.defaultZone=http://${eureka.instance.hostname}:10001/eureka/
eureka.client.serviceUrl.defaultZone
=
http://${spring.security.user.name}:${spring.security.user.password}@172.16.10.215:10001/eureka/
## redis properties:
## redis properties:
spring.redis.database
=
1
spring.redis.database
=
1
spring.redis.host
=
172.16.10.215
spring.redis.host
=
172.16.10.215
...
@@ -24,4 +27,6 @@ emqx.password=public
...
@@ -24,4 +27,6 @@ emqx.password=public
#mqtt.scene.host=mqtt://172.16.10.201:18083/mqtt
#mqtt.scene.host=mqtt://172.16.10.201:18083/mqtt
#mqtt.client.product.id=mqtt
#mqtt.client.product.id=mqtt
mqtt.topic
=
topic_mqtt
mqtt.topic
=
topic_mqtt
#
spring.mqtt.completionTimeout
=
3000
#spring.mqtt.completionTimeout=3000
\ No newline at end of file
tdc.file.examine.work.flow.processDefinitionKey
=
tdc_file_examine
\ No newline at end of file
amos-boot-system-tdc/amos-boot-module-tdc-biz/src/main/resources/application.properties
View file @
2e1dda0a
...
@@ -43,6 +43,20 @@ spring.redis.lettuce.pool.min-idle=0
...
@@ -43,6 +43,20 @@ spring.redis.lettuce.pool.min-idle=0
spring.security.user.name
=
admin
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
spring.security.user.password
=
a1234560
knife4j.enable
=
true
knife4j.basic.enable
=
true
knife4j.basic.username
=
admin
knife4j.basic.password
=
a1234560
spring.boot.admin.client.enabled
=
true
spring.boot.admin.client.instance.metadata.user.name
=
${spring.security.user.name}
spring.boot.admin.client.instance.metadata.user.password
=
${spring.security.user.password}
spring.boot.admin.client.username
=
admin
spring.boot.admin.client.password
=
a1234560
management.security.enabled
=
false
management.health.redis.enabled
=
false
## redis失效时间
## redis失效时间
redis.cache.failure.time
=
10800
redis.cache.failure.time
=
10800
...
...
amos-boot-system-tdc/pom.xml
View file @
2e1dda0a
...
@@ -32,10 +32,24 @@
...
@@ -32,10 +32,24 @@
<dependency>
<dependency>
<groupId>
com.yeejoin
</groupId>
<groupId>
com.yeejoin
</groupId>
<artifactId>
amos-feign-privilege
</artifactId>
<artifactId>
amos-feign-privilege
</artifactId>
<version>
1.7.12-SNAPSHOT
</version>
<version>
1.8.1
</version>
</dependency>
<dependency>
<groupId>
com.yeejoin
</groupId>
<artifactId>
amos-component-rule
</artifactId>
<exclusions>
<exclusion>
<groupId>
org.typroject
</groupId>
<artifactId>
tyboot-core-auth
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
com.aspose
</groupId>
<artifactId>
aspose-words
</artifactId>
<version>
15.8.0
</version>
<classifier>
jdk16
</classifier>
</dependency>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment