git-svn-id: http://svn.research-infrastructures.eu/d4science/gcube/trunk/spatial-data/geonetwork@81197 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
77d0cdb4a2
commit
90260cb60b
|
@ -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.api.DiscoveryClient;
|
||||||
import org.gcube.resources.discovery.client.queries.api.SimpleQuery;
|
import org.gcube.resources.discovery.client.queries.api.SimpleQuery;
|
||||||
import org.gcube.spatial.data.geonetwork.LoginLevel;
|
import org.gcube.spatial.data.geonetwork.LoginLevel;
|
||||||
|
import org.gcube.spatial.data.geonetwork.utils.RuntimeParameters;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
@ -32,8 +33,8 @@ public class DefaultConfiguration implements Configuration {
|
||||||
private int group;
|
private int group;
|
||||||
|
|
||||||
public DefaultConfiguration() throws Exception{
|
public DefaultConfiguration() throws Exception{
|
||||||
Properties props=new Properties();
|
Properties props=new RuntimeParameters().getProps();
|
||||||
props.load(DefaultConfiguration.class.getResourceAsStream("query.properties"));
|
|
||||||
|
|
||||||
SimpleQuery query = queryFor(ServiceEndpoint.class);
|
SimpleQuery query = queryFor(ServiceEndpoint.class);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue