forked from alibaba/nacos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Polish alibaba#110 : remove application.properties and copy to META-I…
…NF/nacos-default.properties
- Loading branch information
1 parent
0ef461f
commit 8a73c80
Showing
13 changed files
with
85 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
7 changes: 2 additions & 5 deletions
7
...src/main/resources/application.properties → ...sources/META-INF/nacos-default.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
# Nacos Default Properties | ||
|
||
## Exclude Spring Boot Auto-Configuration class(es) | ||
spring.autoconfigure.exclude=\ | ||
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration | ||
## Web Server | ||
server.servlet.context-path=/nacos | ||
server.port=8848 | ||
server.tomcat.uri-encoding=UTF-8 | ||
|
||
## HTTP Encoding | ||
spring.http.encoding.force=true | ||
spring.http.encoding.enabled=true | ||
|
||
## i18n | ||
spring.messages.encoding=UTF-8 | ||
|
||
## Exclude Spring Boot Auto-Configuration class(es) | ||
spring.autoconfigure.exclude=\ | ||
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\ | ||
org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# spring | ||
management.security.enabled=false | ||
|
||
server.servlet.context-path=/nacos | ||
server.port=8848 | ||
|
||
|