-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
49 additions
and
78 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
pallas-common/src/main/resources/properties/pallas-application.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# pallas.processor.property 相关参数只支持简单规则配置在./properties/pallas-application.properties 文件中 | ||
pallas.processor.property=com.vip.pallas.processor.prop.DefaultPropertyProcessor | ||
pallas.processor.property.key-prefix="" | ||
pallas.processor.property.key-prefix= | ||
|
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
58 changes: 0 additions & 58 deletions
58
pallas-rest-client/src/main/java/com/vip/pallas/client/env/LoadEnv.java
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
pallas-rest-client/src/main/java/com/vip/pallas/client/env/LoadOpenEnv.java
This file was deleted.
Oops, something went wrong.
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
pallas-rest-client/src/main/java/com/vip/pallas/client/util/PallasRestClientProperties.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 2019 vip.com. | ||
* <p> | ||
* 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. | ||
* </p> | ||
*/ | ||
|
||
package com.vip.pallas.client.util; | ||
|
||
import com.vip.pallas.utils.PallasBasicProperties; | ||
|
||
public class PallasRestClientProperties extends PallasBasicProperties { | ||
|
||
public static final String NAME_CONSOLE_QUERY_URL = "pallas.console.query.url"; | ||
public static final String PALLAS_CONSOLE_QUERY_URL = processor.getString(NAME_CONSOLE_QUERY_URL, | ||
"http://localhost:8080"); | ||
|
||
} |
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