This commit is contained in:
Fabio Sinibaldi 2013-09-10 09:58:48 +00:00
parent 77d0cdb4a2
commit 90260cb60b
1 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ import org.gcube.common.utils.encryption.StringEncrypter;
import org.gcube.resources.discovery.client.api.DiscoveryClient;
import org.gcube.resources.discovery.client.queries.api.SimpleQuery;
import org.gcube.spatial.data.geonetwork.LoginLevel;
import org.gcube.spatial.data.geonetwork.utils.RuntimeParameters;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -32,8 +33,8 @@ public class DefaultConfiguration implements Configuration {
private int group;
public DefaultConfiguration() throws Exception{
Properties props=new Properties();
props.load(DefaultConfiguration.class.getResourceAsStream("query.properties"));
Properties props=new RuntimeParameters().getProps();
SimpleQuery query = queryFor(ServiceEndpoint.class);