Rename test packages.
Add .query prefix to properties.
This commit is contained in:
@@ -67,7 +67,7 @@ public class QueryRestConfig {
|
||||
private Set<String> defaultResponseFields() {
|
||||
List<String> defaultFields = Arrays.asList(
|
||||
StringUtils.commaDelimitedListToStringArray(
|
||||
env.getProperty("rest.default.response.fields")
|
||||
env.getProperty("queryrest.default.response.fields")
|
||||
));
|
||||
Set<String> defaultResponseFields = Sets.newHashSet(defaultFields.iterator());
|
||||
return defaultResponseFields;
|
||||
|
||||
@@ -3,4 +3,4 @@ server.port=8080
|
||||
|
||||
# defines the fields that are included in the response
|
||||
# if no fields have been specified by the user
|
||||
rest.default.response.fields=channel,pulseId,globalMillis,globalNanos,value
|
||||
queryrest.default.response.fields=channel,pulseId,globalMillis,globalNanos,value
|
||||
Reference in New Issue
Block a user