use of org.apache.servicecomb.config.center.client.model.QueryConfigurationsRequest in project incubator-servicecomb-java-chassis by apache.
the class ConfigCenterConfigurationSourceImpl method createQueryConfigurationsRequest.
private QueryConfigurationsRequest createQueryConfigurationsRequest() {
QueryConfigurationsRequest request = new QueryConfigurationsRequest();
request.setApplication(ConfigCenterConfig.INSTANCE.getAppName());
request.setServiceName(ConfigCenterConfig.INSTANCE.getServiceName());
request.setVersion(ConfigCenterConfig.INSTANCE.getServiceVersion());
request.setEnvironment(ConfigCenterConfig.INSTANCE.getEnvironment());
// 需要设置为 null, 并且 query 参数为 revision=null 才会返回 revision 信息。 revision = 是不行的。
request.setRevision(null);
return request;
}
Aggregations