From 79cdb7bfff925096b4426bf0d7e6dc78131737a2 Mon Sep 17 00:00:00 2001 From: Ino de Bruijn Date: Fri, 10 Mar 2023 10:15:15 -0500 Subject: [PATCH] Revert "Move SessionRepository classes to repository package" --- .../cbioportal/session_service/domain/SessionRepository.java | 3 ++- .../internal}/SessionRepositoryCustom.java | 2 +- .../{repository => domain/internal}/SessionRepositoryImpl.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename src/main/java/org/cbioportal/session_service/{repository => domain/internal}/SessionRepositoryCustom.java (97%) rename src/main/java/org/cbioportal/session_service/{repository => domain/internal}/SessionRepositoryImpl.java (98%) diff --git a/src/main/java/org/cbioportal/session_service/domain/SessionRepository.java b/src/main/java/org/cbioportal/session_service/domain/SessionRepository.java index ff7f09e..31e0b36 100644 --- a/src/main/java/org/cbioportal/session_service/domain/SessionRepository.java +++ b/src/main/java/org/cbioportal/session_service/domain/SessionRepository.java @@ -32,9 +32,10 @@ package org.cbioportal.session_service.domain; -import org.cbioportal.session_service.repository.SessionRepositoryCustom; +import org.cbioportal.session_service.domain.internal.SessionRepositoryCustom; import org.springframework.data.mongodb.repository.MongoRepository; +import org.springframework.data.mongodb.repository.Query; /** * @author Manda Wilson diff --git a/src/main/java/org/cbioportal/session_service/repository/SessionRepositoryCustom.java b/src/main/java/org/cbioportal/session_service/domain/internal/SessionRepositoryCustom.java similarity index 97% rename from src/main/java/org/cbioportal/session_service/repository/SessionRepositoryCustom.java rename to src/main/java/org/cbioportal/session_service/domain/internal/SessionRepositoryCustom.java index ebb00ed..c207844 100644 --- a/src/main/java/org/cbioportal/session_service/repository/SessionRepositoryCustom.java +++ b/src/main/java/org/cbioportal/session_service/domain/internal/SessionRepositoryCustom.java @@ -30,7 +30,7 @@ * along with this program. If not, see . */ -package org.cbioportal.session_service.repository; +package org.cbioportal.session_service.domain.internal; import org.cbioportal.session_service.domain.Session; import org.cbioportal.session_service.domain.SessionType; diff --git a/src/main/java/org/cbioportal/session_service/repository/SessionRepositoryImpl.java b/src/main/java/org/cbioportal/session_service/domain/internal/SessionRepositoryImpl.java similarity index 98% rename from src/main/java/org/cbioportal/session_service/repository/SessionRepositoryImpl.java rename to src/main/java/org/cbioportal/session_service/domain/internal/SessionRepositoryImpl.java index 215472c..d7005cc 100644 --- a/src/main/java/org/cbioportal/session_service/repository/SessionRepositoryImpl.java +++ b/src/main/java/org/cbioportal/session_service/domain/internal/SessionRepositoryImpl.java @@ -30,7 +30,7 @@ * along with this program. If not, see . */ -package org.cbioportal.session_service.repository; +package org.cbioportal.session_service.domain.internal; import org.bson.Document; import org.cbioportal.session_service.domain.Session;