diff --git a/src/main/java/io/github/genomicdatainfrastructure/discovery/repositories/GdiDatasetsRepository.java b/src/main/java/io/github/genomicdatainfrastructure/discovery/repositories/GdiDatasetsRepository.java index cbddc44..4aa9c8e 100644 --- a/src/main/java/io/github/genomicdatainfrastructure/discovery/repositories/GdiDatasetsRepository.java +++ b/src/main/java/io/github/genomicdatainfrastructure/discovery/repositories/GdiDatasetsRepository.java @@ -3,22 +3,15 @@ // SPDX-License-Identifier: Apache-2.0 package io.github.genomicdatainfrastructure.discovery.repositories; -// SPDX-FileCopyrightText: 2024 PNED G.I.E. -// -// SPDX-License-Identifier: Apache-2.0 import io.github.genomicdatainfrastructure.discovery.model.DatasetSearchQuery; -import io.github.genomicdatainfrastructure.discovery.model.DatasetsSearchResponse; import io.github.genomicdatainfrastructure.discovery.remote.ckan.api.CkanQueryApi; import io.github.genomicdatainfrastructure.discovery.remote.ckan.model.CkanPackageShowResponse; import io.github.genomicdatainfrastructure.discovery.remote.ckan.model.PackagesSearchResponse; import io.github.genomicdatainfrastructure.discovery.services.CkanFacetsQueryBuilder; -import io.github.genomicdatainfrastructure.discovery.services.DatasetsSearchService; -import io.github.genomicdatainfrastructure.discovery.services.PackagesSearchResponseMapper; import io.quarkus.arc.lookup.LookupIfProperty; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; -import jakarta.inject.Singleton; import org.eclipse.microprofile.rest.client.inject.RestClient; @LookupIfProperty(name = "repositories.gdi", stringValue = "true") diff --git a/src/main/java/io/github/genomicdatainfrastructure/discovery/repositories/LndcDatasetsRepository.java b/src/main/java/io/github/genomicdatainfrastructure/discovery/repositories/LndcDatasetsRepository.java index e33b9d7..8262b08 100644 --- a/src/main/java/io/github/genomicdatainfrastructure/discovery/repositories/LndcDatasetsRepository.java +++ b/src/main/java/io/github/genomicdatainfrastructure/discovery/repositories/LndcDatasetsRepository.java @@ -5,17 +5,11 @@ package io.github.genomicdatainfrastructure.discovery.repositories; import io.github.genomicdatainfrastructure.discovery.model.DatasetSearchQuery; -import io.github.genomicdatainfrastructure.discovery.remote.ckan.api.CkanQueryApi; import io.github.genomicdatainfrastructure.discovery.remote.ckan.model.CkanPackageShowResponse; import io.github.genomicdatainfrastructure.discovery.remote.ckan.model.PackagesSearchResponse; -import io.github.genomicdatainfrastructure.discovery.services.CkanFacetsQueryBuilder; import io.quarkus.arc.lookup.LookupIfProperty; -import io.quarkus.arc.lookup.LookupUnlessProperty; import jakarta.enterprise.context.ApplicationScoped; -import jakarta.enterprise.context.Dependent; -import jakarta.inject.Inject; import org.apache.commons.lang3.NotImplementedException; -import org.eclipse.microprofile.rest.client.inject.RestClient; @LookupIfProperty(name = "repositories.lndc", stringValue = "true") @ApplicationScoped