-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from alibaba/develop
update
- Loading branch information
Showing
32 changed files
with
256 additions
and
179 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 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 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
28 changes: 28 additions & 0 deletions
28
common/src/main/java/com/alibaba/nacos/common/constant/HttpHeaderConsts.java
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright 1999-2018 Alibaba Group Holding Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.alibaba.nacos.common.constant; | ||
|
||
/** | ||
* Nacos header constants | ||
* | ||
* @author ly | ||
*/ | ||
public interface HttpHeaderConsts { | ||
|
||
String CLIENT_VERSION_HEADER = "Client-Version"; | ||
String USER_AGENT_HEADER = "User-Agent"; | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,30 @@ | ||
# spring | ||
|
||
server.servlet.contextPath=/nacos | ||
server.servlet.context-path=/nacos | ||
server.port=8848 | ||
|
||
nacos.cmdb.dumpTaskInterval=3600 | ||
nacos.cmdb.eventTaskInterval=10 | ||
nacos.cmdb.labelTaskInterval=300 | ||
nacos.cmdb.loadDataAtStart=false | ||
|
||
|
||
# metrics for prometheus | ||
#management.endpoints.web.exposure.include=* | ||
|
||
# metrics for elastic search | ||
management.metrics.export.elastic.enabled=false | ||
#management.metrics.export.elastic.host=http://localhost:9200 | ||
|
||
# metrics for influx | ||
management.metrics.export.influx.enabled=false | ||
#management.metrics.export.influx.db=springboot | ||
#management.metrics.export.influx.uri=http://localhost:8086 | ||
#management.metrics.export.influx.auto-create-db=true | ||
#management.metrics.export.influx.consistency=one | ||
#management.metrics.export.influx.compressed=true | ||
|
||
server.tomcat.accesslog.enabled=true | ||
server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %D | ||
# default current work dir | ||
server.tomcat.basedir= | ||
|
||
## spring security config | ||
### turn off security | ||
#spring.security.enabled=false | ||
#management.security=false | ||
#security.basic.enabled=false | ||
#nacos.security.ignore.urls=/** | ||
|
||
nacos.security.ignore.urls=/,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/login,/v1/console/health/**,/v1/cs/**,/v1/ns/**,/v1/cmdb/**,/actuator/**,/v1/console/server/** |
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
Oops, something went wrong.