Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
spring-timeloit-update
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
loit-Infrastructure-example
spring-timeloit-update
Commits
14c96b46
提交
14c96b46
authored
8月 31, 2020
作者:
陈世营
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
loit-portal
上级
610de751
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
277 行增加
和
3 行删除
+277
-3
ClientAppConfig.java
...n/java/com/loit/loitcasclient/config/ClientAppConfig.java
+2
-2
ClientLoginController.java
.../loit/loitcasclient/controller/ClientLoginController.java
+1
-0
pom.xml
loit-service/loit-portal/pom.xml
+220
-0
pom.xml
loit-service/pom.xml
+45
-0
pom.xml
pom.xml
+9
-1
没有找到文件。
loit-core-boot/src/main/java/com/loit/loitcasclient/config/ClientAppConfig.java
浏览文件 @
14c96b46
...
...
@@ -477,10 +477,10 @@ public class ClientAppConfig {
return
onlineUserOuttime
;
}
@Bean
/*
@Bean
public RestTemplate getRestTemplate() {
return new RestTemplate();
}
}
*/
public
String
getPortalServiceId
()
{
return
portalServiceId
;
...
...
loit-core-boot/src/main/java/com/loit/loitcasclient/controller/ClientLoginController.java
浏览文件 @
14c96b46
...
...
@@ -32,6 +32,7 @@ import java.util.Map;
@Controller
@RequestMapping
(
value
=
"cas"
)
public
class
ClientLoginController
{
protected
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
private
RedisTemplate
cacheTemplate
=
new
RedisTemplate
();
...
...
loit-service/loit-portal/pom.xml
0 → 100644
浏览文件 @
14c96b46
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
loit-service
</artifactId>
<groupId>
com.loit
</groupId>
<version>
1.0.0
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
loit-portal
</artifactId>
<name>
loit-portal
</name>
<version>
1.0.0
</version>
<url>
http://maven.apache.org
</url>
<dependencies>
<!-- nacos 注册中心 -->
<dependency>
<groupId>
com.timeloit.cloud
</groupId>
<artifactId>
spring-cloud-starter-timeloit-nacos-discovery
</artifactId>
</dependency>
<!-- 微服务:Feign -->
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-openfeign
</artifactId>
</dependency>
<dependency>
<groupId>
com.timeloit.cloud
</groupId>
<artifactId>
spring-cloud-starter-timeloit-nacos-config
</artifactId>
</dependency>
<!-- sentinel 流控 -->
<dependency>
<groupId>
com.timeloit.cloud
</groupId>
<artifactId>
spring-cloud-starter-timeloit-sentinel
</artifactId>
</dependency>
<!-- sentinel nacos 整合 -->
<dependency>
<groupId>
com.timeloit.cloud
</groupId>
<artifactId>
spring-cloud-timeloit-sentinel-datasource
</artifactId>
</dependency>
<dependency>
<groupId>
com.alibaba.csp
</groupId>
<artifactId>
sentinel-datasource-nacos
</artifactId>
</dependency>
<dependency>
<groupId>
com.loit
</groupId>
<artifactId>
loit-core-boot
</artifactId>
<version>
${loit-core-boot}
</version>
</dependency>
<dependency>
<groupId>
com.loit
</groupId>
<artifactId>
loit-core-common
</artifactId>
<version>
${loit-core-common}
</version>
</dependency>
<dependency>
<groupId>
com.loit
</groupId>
<artifactId>
loit-common
</artifactId>
<version>
${loit-common}
</version>
</dependency>
<dependency>
<groupId>
com.loit
</groupId>
<artifactId>
loit-file-api
</artifactId>
<version>
${loit-file-api}
</version>
</dependency>
<dependency>
<groupId>
com.datastax.cassandra
</groupId>
<artifactId>
cassandra-driver-core
</artifactId>
<version>
3.6.0
</version>
<exclusions>
<exclusion>
<artifactId>
guava
</artifactId>
<groupId>
com.google.guava
</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
com.loit
</groupId>
<artifactId>
loit-gateway-api
</artifactId>
<version>
1.0.0
</version>
</dependency>
<dependency>
<groupId>
com.loit
</groupId>
<artifactId>
loit-notice-api
</artifactId>
<version>
1.0.0
</version>
</dependency>
<!--kafka-->
<dependency>
<groupId>
org.springframework.kafka
</groupId>
<artifactId>
spring-kafka
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.kafka
</groupId>
<artifactId>
spring-kafka-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.kafka
</groupId>
<artifactId>
kafka-clients
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.kafka
</groupId>
<artifactId>
kafka-clients
</artifactId>
</dependency>
<!-- activemq内置消息中间件 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-activemq
</artifactId>
</dependency>
<dependency>
<groupId>
io.github.openfeign.form
</groupId>
<artifactId>
feign-form
</artifactId>
<version>
3.3.0
</version>
</dependency>
<dependency>
<groupId>
io.github.openfeign.form
</groupId>
<artifactId>
feign-form-spring
</artifactId>
<version>
3.3.0
</version>
</dependency>
<dependency>
<groupId>
commons-fileupload
</groupId>
<artifactId>
commons-fileupload
</artifactId>
<version>
1.3.3
</version>
</dependency>
<dependency>
<groupId>
io.github.openfeign
</groupId>
<artifactId>
feign-httpclient
</artifactId>
<version>
9.7.0
</version>
</dependency>
<dependency>
<groupId>
io.github.openfeign
</groupId>
<artifactId>
feign-okhttp
</artifactId>
<version>
9.7.0
</version>
</dependency>
</dependencies>
<build>
<finalName>
loit-portal
</finalName>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<mainClass>
com.loit.PortalApplication
</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<configuration>
<skipTests>
true
</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
1.8
</source>
<target>
1.8
</target>
<encoding>
UTF-8
</encoding>
<compilerArgs>
<arg>
-extdirs
</arg>
<arg>
${project.basedir}/src/main/resources/lib
</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<executions>
<execution>
<id>
add-source
</id>
<phase>
generate-sources
</phase>
<goals>
<goal>
add-source
</goal>
</goals>
<configuration>
<sources>
<source>
${basedir}/src/portal/java
</source>
<!-- 我们可以通过在这里添加多个source节点,来添加任意多个源文件夹 -->
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<!-- 打包时将jsp文件拷贝到META-INF目录下 -->
<resource>
<directory>
${project.basedir}/src/main/resources/lib
</directory>
<targetPath>
BOOT-INF/lib/
</targetPath>
<includes>
<include>
**/*.jar
</include>
</includes>
</resource>
<resource>
<directory>
src/main/resources
</directory>
<includes>
<include>
**/**
</include>
</includes>
<filtering>
false
</filtering>
</resource>
<resource>
<directory>
src/portal/resources
</directory>
<includes>
<include>
**/**
</include>
</includes>
<filtering>
false
</filtering>
</resource>
</resources>
</build>
</project>
\ No newline at end of file
loit-service/pom.xml
0 → 100644
浏览文件 @
14c96b46
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
demo
</artifactId>
<groupId>
com.loit
</groupId>
<version>
0.0.1-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
loit-service
</artifactId>
<version>
1.0.0
</version>
<modules>
<module>
loit-portal
</module>
</modules>
<packaging>
pom
</packaging>
<name>
loit-service
</name>
<dependencies>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-openfeign
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-cache
</artifactId>
</dependency>
<dependency>
<groupId>
com.loit
</groupId>
<artifactId>
loit-core-common
</artifactId>
<version>
${loit-core-common}
</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
pom.xml
浏览文件 @
14c96b46
...
...
@@ -6,6 +6,7 @@
<module>
loit-gateway
</module>
<module>
loit-common
</module>
<module>
loit-core-boot
</module>
<module>
loit-service
</module>
</modules>
<parent>
<groupId>
org.springframework.boot
</groupId>
...
...
@@ -29,7 +30,14 @@
<spring-cloud-timeloit.version>
2.3.3-SNAPSHOT
</spring-cloud-timeloit.version>
<springfox-swagger-ui.version>
2.9.2
</springfox-swagger-ui.version>
<io-swagger.version>
1.5.22
</io-swagger.version>
<loit-core-boot.version>
1.0.0
</loit-core-boot.version>
<springfox-swagger-ui.version>
2.9.2
</springfox-swagger-ui.version>
<io-swagger.version>
1.5.22
</io-swagger.version>
<loit-core-boot>
1.0.24
</loit-core-boot>
<loit-core-common>
1.0.2
</loit-core-common>
<loit-common>
1.0.2
</loit-common>
<loit-file-api>
1.0.1
</loit-file-api>
<loit-portal-api>
1.0.3
</loit-portal-api>
</properties>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论