diff --git a/gCat-Feeder/src/test/java/org/gcube/data/publishing/gCatFeeder/service/BaseTest.java b/gCat-Feeder/src/test/java/org/gcube/data/publishing/gCatFeeder/service/BaseTest.java index 8f829a4..766585b 100644 --- a/gCat-Feeder/src/test/java/org/gcube/data/publishing/gCatFeeder/service/BaseTest.java +++ b/gCat-Feeder/src/test/java/org/gcube/data/publishing/gCatFeeder/service/BaseTest.java @@ -9,6 +9,7 @@ import javax.ws.rs.core.Application; import org.gcube.common.authorization.library.provider.SecurityTokenProvider; import org.gcube.common.scope.api.ScopeProvider; +import org.gcube.data.publishing.gCatFeeder.model.EnvironmentConfiguration; import org.gcube.data.publishing.gCatFeeder.service.engine.CatalogueControllersManager; import org.gcube.data.publishing.gCatFeeder.service.engine.CollectorsManager; import org.gcube.data.publishing.gCatFeeder.service.engine.ConnectionManager; @@ -22,6 +23,7 @@ import org.gcube.data.publishing.gCatFeeder.service.engine.impl.CatalogueControl import org.gcube.data.publishing.gCatFeeder.service.engine.impl.CollectorsManagerImpl; import org.gcube.data.publishing.gCatFeeder.service.engine.impl.ExecutionManagerImpl; import org.gcube.data.publishing.gCatFeeder.service.engine.impl.FeederEngineImpl; +import org.gcube.data.publishing.gCatFeeder.service.engine.impl.LiveEnvironmentConfiguration; import org.gcube.data.publishing.gCatFeeder.service.engine.impl.LocalConfigurationImpl; import org.gcube.data.publishing.gCatFeeder.service.engine.impl.persistence.ConnectionManagerImpl; import org.gcube.data.publishing.gCatFeeder.service.engine.impl.persistence.PersistenceManagerImpl; @@ -66,7 +68,7 @@ public class BaseTest extends JerseyTest{ bind(PersistenceManagerImpl.class).to(PersistenceManager.class); bind(ConnectionManagerImpl.class).to(ConnectionManager.class).in(Singleton.class); bind(LocalConfigurationImpl.class).to(LocalConfiguration.class).in(Singleton.class); - + bind(LiveEnvironmentConfiguration.class).to(EnvironmentConfiguration.class); //Mockup bind(InfrastructureMockup.class).to(Infrastructure.class); } @@ -85,6 +87,7 @@ public class BaseTest extends JerseyTest{ bind(PersistenceManagerImpl.class).to(PersistenceManager.class); bind(ConnectionManagerImpl.class).to(ConnectionManager.class).in(Singleton.class); bind(LocalConfigurationImpl.class).to(LocalConfiguration.class).in(Singleton.class); + bind(LiveEnvironmentConfiguration.class).to(EnvironmentConfiguration.class); // Mockups bind(InfrastructureMockup.class).to(Infrastructure.class); bind(StorageMockup.class).to(Storage.class);