Skip to content

Commit

Permalink
Revert "32/remove logic from repository"
Browse files Browse the repository at this point in the history
  • Loading branch information
zalborzi authored Aug 27, 2024
1 parent 483edd5 commit fe821f4
Show file tree
Hide file tree
Showing 34 changed files with 3,554 additions and 1,061 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

package io.github.genomicdatainfrastructure.discovery.api;

import io.github.genomicdatainfrastructure.discovery.datasets.application.usecases.SearchDatasetsQuery;
import io.github.genomicdatainfrastructure.discovery.model.DatasetSearchQuery;
import io.github.genomicdatainfrastructure.discovery.services.RetrieveDatasetService;
import io.github.genomicdatainfrastructure.discovery.services.SearchDatasetsService;
import io.quarkus.oidc.runtime.OidcJwtCallerPrincipal;
import io.quarkus.security.identity.SecurityIdentity;
import jakarta.ws.rs.core.Response;
Expand All @@ -16,12 +16,12 @@
public class DatasetQueryApiImpl implements DatasetQueryApi {

private final SecurityIdentity identity;
private final SearchDatasetsService searchDatasetsService;
private final RetrieveDatasetService retrievedDatasetService;
private final SearchDatasetsQuery searchDatasetsQuery;

@Override
public Response datasetSearch(DatasetSearchQuery datasetSearchQuery) {
var content = searchDatasetsQuery.execute(datasetSearchQuery, accessToken());
var content = searchDatasetsService.search(datasetSearchQuery, accessToken());
return Response.ok(content).build();
}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit fe821f4

Please sign in to comment.