Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
springboot_template
Project
Project
Details
Activity
Releases
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
project_template
springboot_template
Commits
ecd8b63f
Commit
ecd8b63f
authored
Jul 18, 2019
by
he
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version update
parent
eceea9ef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
13 deletions
+56
-13
pom.xml
pom.xml
+2
-13
ehcache3.xml
src/main/resources/config/ehcache3.xml
+54
-0
No files found.
pom.xml
View file @
ecd8b63f
<?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"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.weface
</groupId>
<artifactId>
springboot_template
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<name>
springboot_template
</name>
<!-- FIXME change it to the project's website -->
<url>
http://www.example.com
</url>
<distributionManagement>
<repository>
<id>
maven-releases
</id>
...
...
@@ -24,30 +20,23 @@
<url>
http://ops.weface.com.cn:8081/repository/maven-snapshots/
</url>
</snapshotRepository>
</distributionManagement>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.source>
1.8
</maven.compiler.source>
<maven.compiler.target>
1.8
</maven.compiler.target>
</properties>
<parent>
<groupId>
com.weface
</groupId>
<artifactId>
springboot_base
</artifactId>
<version>
0.0.
1
-SNAPSHOT
</version>
<version>
0.0.
2
-SNAPSHOT
</version>
</parent>
<dependencies>
<dependency>
<groupId>
com.weface
</groupId>
<artifactId>
springboot_base
</artifactId>
<version>
0.0.
1
-SNAPSHOT
</version>
<version>
0.0.
2
-SNAPSHOT
</version>
</dependency>
</dependencies>
<build>
<plugins>
<!--add this for docker-->
...
...
src/main/resources/config/ehcache3.xml
0 → 100644
View file @
ecd8b63f
<config
xmlns:xsi=
'http://www.w3.org/2001/XMLSchema-instance'
xmlns=
'http://www.ehcache.org/v3'
xsi:schemaLocation=
"
http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.0.xsd"
>
<cache
alias=
"CACHE_1d"
uses-template=
"cache_1d_tem"
/>
<cache
alias=
"CACHE_5m"
uses-template=
"cache_5m_tem"
/>
<cache-template
name=
"cache_3s_tem"
>
<key-type>
java.lang.String
</key-type>
<value-type>
java.lang.Object
</value-type>
<expiry>
<ttl
unit=
"seconds"
>
3
</ttl>
</expiry>
<resources>
<heap
unit=
"MB"
>
100
</heap>
</resources>
</cache-template>
<cache-template
name=
"cache_5m_tem"
>
<key-type>
java.lang.String
</key-type>
<value-type>
java.lang.Object
</value-type>
<expiry>
<ttl
unit=
"minutes"
>
5
</ttl>
</expiry>
<resources>
<heap
unit=
"MB"
>
100
</heap>
</resources>
</cache-template>
<cache-template
name=
"cache_30m_tem"
>
<key-type>
java.lang.String
</key-type>
<value-type>
java.lang.Object
</value-type>
<expiry>
<ttl
unit=
"minutes"
>
30
</ttl>
</expiry>
<resources>
<heap
unit=
"MB"
>
100
</heap>
</resources>
</cache-template>
<cache-template
name=
"cache_1d_tem"
>
<key-type>
java.lang.String
</key-type>
<value-type>
java.lang.Object
</value-type>
<expiry>
<ttl
unit=
"days"
>
1
</ttl>
</expiry>
<resources>
<heap
unit=
"MB"
>
512
</heap>
</resources>
</cache-template>
</config>
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