diff --git a/.github/workflows/amorgakco-cd.yml b/.github/workflows/amorgakco-cd.yml index a46133d..000bf16 100644 --- a/.github/workflows/amorgakco-cd.yml +++ b/.github/workflows/amorgakco-cd.yml @@ -15,7 +15,7 @@ jobs: username: ${{secrets.GCP_USERNAME}} key: ${{secrets.GCP_SECRET}} script: | - cd Backend + cd Backend/main git pull sudo docker-compose down sudo docker images prune diff --git a/.github/workflows/amorgakco-ci.yml b/.github/workflows/amorgakco-ci.yml index bfa8179..8a5596b 100644 --- a/.github/workflows/amorgakco-ci.yml +++ b/.github/workflows/amorgakco-ci.yml @@ -3,7 +3,10 @@ on: pull_request: branches: - main - +defaults: + run: + shell: bash + working-directory: ./main permissions: write-all jobs: build: @@ -16,14 +19,8 @@ jobs: distribution: 'temurin' - name: Apply Environment Variables run: | - echo "${{ secrets.APPLICATION_JWT }}" > ./src/test/resources/application-jwt.yml - echo "${{ secrets.APPLICATION_OAUTH2 }}" > ./src/test/resources/application-oauth2.yml echo "${{ secrets.FCM_SECRET }}" | base64 -d > ./src/test/resources/fcm-secret.json - echo "${{ secrets.APPLICATION_NOTIFICATION }}" > ./src/test/resources/application-notification.yml - echo "${{ secrets.APPLICATION_JWT }}" > ./src/main/resources/application-jwt.yml - echo "${{ secrets.FCM_SECRET }}" | base64 -d > ./src/test/resources/fcm-secret.json - echo "${{ secrets.APPLICATION_OAUTH2 }}" > ./src/main/resources/application-oauth2.yml - echo "${{ secrets.APPLICATION_NOTIFICATION }}" > ./src/main/resources/application-notification.yml + echo "${{ secrets.FCM_SECRET }}" | base64 -d > ./src/main/resources/fcm-secret.json - run: chmod +x gradlew - run: ./gradlew build - name: 테스트 커버리지를 PR에 코멘트에 등록 diff --git a/chat/.gitignore b/chat/.gitignore new file mode 100644 index 0000000..1233ebe --- /dev/null +++ b/chat/.gitignore @@ -0,0 +1,41 @@ +HELP.md +.gradle +build/ +!gradle/wrapper/gradle-wrapper.jar +!**/src/main/**/build/ +!**/src/test/**/build/ +.DS_Store +docker/ +.docker-conf/ + + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ diff --git a/chat/build.gradle b/chat/build.gradle new file mode 100644 index 0000000..abac8e4 --- /dev/null +++ b/chat/build.gradle @@ -0,0 +1,37 @@ +plugins { + id 'java' + id 'org.springframework.boot' version '3.3.4' + id 'io.spring.dependency-management' version '1.1.6' +} + +group = 'amorgakco' +version = '0.0.1-SNAPSHOT' + +java { + toolchain { + languageVersion = JavaLanguageVersion.of(17) + } +} + +configurations { + compileOnly { + extendsFrom annotationProcessor + } +} + +repositories { + mavenCentral() +} + +dependencies { + implementation 'org.springframework.boot:spring-boot-starter-data-mongodb' + implementation 'org.springframework.boot:spring-boot-starter-websocket' + compileOnly 'org.projectlombok:lombok' + annotationProcessor 'org.projectlombok:lombok' + testImplementation 'org.springframework.boot:spring-boot-starter-test' + testRuntimeOnly 'org.junit.platform:junit-platform-launcher' +} + +tasks.named('test') { + useJUnitPlatform() +} diff --git a/chat/gradle/wrapper/gradle-wrapper.jar b/chat/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..a4b76b9 Binary files /dev/null and b/chat/gradle/wrapper/gradle-wrapper.jar differ diff --git a/chat/gradle/wrapper/gradle-wrapper.properties b/chat/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..0aaefbc --- /dev/null +++ b/chat/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip +networkTimeout=10000 +validateDistributionUrl=true +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/chat/gradlew b/chat/gradlew new file mode 100755 index 0000000..f5feea6 --- /dev/null +++ b/chat/gradlew @@ -0,0 +1,252 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s +' "$PWD" ) || exit + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/chat/gradlew.bat b/chat/gradlew.bat new file mode 100644 index 0000000..9b42019 --- /dev/null +++ b/chat/gradlew.bat @@ -0,0 +1,94 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/chat/settings.gradle b/chat/settings.gradle new file mode 100644 index 0000000..9e919f7 --- /dev/null +++ b/chat/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'chat' diff --git a/chat/src/main/java/amorgakco/chat/ChatApplication.java b/chat/src/main/java/amorgakco/chat/ChatApplication.java new file mode 100644 index 0000000..0ed37ab --- /dev/null +++ b/chat/src/main/java/amorgakco/chat/ChatApplication.java @@ -0,0 +1,13 @@ +package amorgakco.chat; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ChatApplication { + + public static void main(String[] args) { + SpringApplication.run(ChatApplication.class, args); + } + +} diff --git a/chat/src/main/resources/application.properties b/chat/src/main/resources/application.properties new file mode 100644 index 0000000..d780a7f --- /dev/null +++ b/chat/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=chat diff --git a/main/.gitignore b/main/.gitignore new file mode 100644 index 0000000..5b7e909 --- /dev/null +++ b/main/.gitignore @@ -0,0 +1,51 @@ +HELP.md +.gradle +build/ +!gradle/wrapper/gradle-wrapper.jar +!**/src/main/**/build/ +!**/src/test/**/build/ +.DS_Store +src/main/resources/application-oauth2.yml +src/main/resources/application-oauth2local.yml +src/main/resources/application-jwt.yml +src/main/resources/application-notification.yml +src/main/resources/fcm-secret.json +src/test/resources/fcm-secret.json +src/test/resources/application-jwt.yml +src/test/resources/application-oauth2.yml +src/test/resources/application-notification.yml + +docker/ +.docker-conf/ + + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ diff --git a/build.gradle b/main/build.gradle similarity index 100% rename from build.gradle rename to main/build.gradle diff --git a/docker-compose.local.yml b/main/docker-compose.local.yml similarity index 100% rename from docker-compose.local.yml rename to main/docker-compose.local.yml diff --git a/docker-compose.yml b/main/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to main/docker-compose.yml diff --git a/dockerfile b/main/dockerfile similarity index 100% rename from dockerfile rename to main/dockerfile diff --git a/docs/index.html b/main/docs/index.html similarity index 100% rename from docs/index.html rename to main/docs/index.html diff --git a/gradle/wrapper/gradle-wrapper.jar b/main/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from gradle/wrapper/gradle-wrapper.jar rename to main/gradle/wrapper/gradle-wrapper.jar diff --git a/gradle/wrapper/gradle-wrapper.properties b/main/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from gradle/wrapper/gradle-wrapper.properties rename to main/gradle/wrapper/gradle-wrapper.properties diff --git a/gradlew b/main/gradlew similarity index 100% rename from gradlew rename to main/gradlew diff --git a/gradlew.bat b/main/gradlew.bat similarity index 100% rename from gradlew.bat rename to main/gradlew.bat diff --git a/lombok.config b/main/lombok.config similarity index 100% rename from lombok.config rename to main/lombok.config diff --git a/settings.gradle b/main/settings.gradle similarity index 100% rename from settings.gradle rename to main/settings.gradle diff --git a/src/docs/asciidoc/group.adoc b/main/src/docs/asciidoc/group.adoc similarity index 100% rename from src/docs/asciidoc/group.adoc rename to main/src/docs/asciidoc/group.adoc diff --git a/src/docs/asciidoc/groupParticipation.adoc b/main/src/docs/asciidoc/groupParticipation.adoc similarity index 100% rename from src/docs/asciidoc/groupParticipation.adoc rename to main/src/docs/asciidoc/groupParticipation.adoc diff --git a/src/docs/asciidoc/index.adoc b/main/src/docs/asciidoc/index.adoc similarity index 100% rename from src/docs/asciidoc/index.adoc rename to main/src/docs/asciidoc/index.adoc diff --git a/src/docs/asciidoc/jwt.adoc b/main/src/docs/asciidoc/jwt.adoc similarity index 100% rename from src/docs/asciidoc/jwt.adoc rename to main/src/docs/asciidoc/jwt.adoc diff --git a/src/docs/asciidoc/member.adoc b/main/src/docs/asciidoc/member.adoc similarity index 100% rename from src/docs/asciidoc/member.adoc rename to main/src/docs/asciidoc/member.adoc diff --git a/src/docs/asciidoc/notification.adoc b/main/src/docs/asciidoc/notification.adoc similarity index 100% rename from src/docs/asciidoc/notification.adoc rename to main/src/docs/asciidoc/notification.adoc diff --git a/src/docs/asciidoc/oauth2.adoc b/main/src/docs/asciidoc/oauth2.adoc similarity index 100% rename from src/docs/asciidoc/oauth2.adoc rename to main/src/docs/asciidoc/oauth2.adoc diff --git a/src/docs/asciidoc/participant.adoc b/main/src/docs/asciidoc/participant.adoc similarity index 100% rename from src/docs/asciidoc/participant.adoc rename to main/src/docs/asciidoc/participant.adoc diff --git a/src/main/java/com/amorgakco/backend/BackendApplication.java b/main/src/main/java/com/amorgakco/backend/BackendApplication.java similarity index 100% rename from src/main/java/com/amorgakco/backend/BackendApplication.java rename to main/src/main/java/com/amorgakco/backend/BackendApplication.java diff --git a/src/main/java/com/amorgakco/backend/fcmtoken/controller/FcmTokenController.java b/main/src/main/java/com/amorgakco/backend/fcmtoken/controller/FcmTokenController.java similarity index 100% rename from src/main/java/com/amorgakco/backend/fcmtoken/controller/FcmTokenController.java rename to main/src/main/java/com/amorgakco/backend/fcmtoken/controller/FcmTokenController.java diff --git a/src/main/java/com/amorgakco/backend/fcmtoken/domain/FcmToken.java b/main/src/main/java/com/amorgakco/backend/fcmtoken/domain/FcmToken.java similarity index 100% rename from src/main/java/com/amorgakco/backend/fcmtoken/domain/FcmToken.java rename to main/src/main/java/com/amorgakco/backend/fcmtoken/domain/FcmToken.java diff --git a/src/main/java/com/amorgakco/backend/fcmtoken/repository/FcmTokenRepository.java b/main/src/main/java/com/amorgakco/backend/fcmtoken/repository/FcmTokenRepository.java similarity index 100% rename from src/main/java/com/amorgakco/backend/fcmtoken/repository/FcmTokenRepository.java rename to main/src/main/java/com/amorgakco/backend/fcmtoken/repository/FcmTokenRepository.java diff --git a/src/main/java/com/amorgakco/backend/fcmtoken/service/FcmTokenService.java b/main/src/main/java/com/amorgakco/backend/fcmtoken/service/FcmTokenService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/fcmtoken/service/FcmTokenService.java rename to main/src/main/java/com/amorgakco/backend/fcmtoken/service/FcmTokenService.java diff --git a/src/main/java/com/amorgakco/backend/global/BaseTime.java b/main/src/main/java/com/amorgakco/backend/global/BaseTime.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/BaseTime.java rename to main/src/main/java/com/amorgakco/backend/global/BaseTime.java diff --git a/src/main/java/com/amorgakco/backend/global/GoogleS2Const.java b/main/src/main/java/com/amorgakco/backend/global/GoogleS2Const.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/GoogleS2Const.java rename to main/src/main/java/com/amorgakco/backend/global/GoogleS2Const.java diff --git a/src/main/java/com/amorgakco/backend/global/IdResponse.java b/main/src/main/java/com/amorgakco/backend/global/IdResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/IdResponse.java rename to main/src/main/java/com/amorgakco/backend/global/IdResponse.java diff --git a/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMember.java b/main/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMember.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMember.java rename to main/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMember.java diff --git a/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberArgumentResolver.java b/main/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberArgumentResolver.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberArgumentResolver.java rename to main/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberArgumentResolver.java diff --git a/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberId.java b/main/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberId.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberId.java rename to main/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberId.java diff --git a/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberIdArgumentResolver.java b/main/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberIdArgumentResolver.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberIdArgumentResolver.java rename to main/src/main/java/com/amorgakco/backend/global/argumentresolver/AuthMemberIdArgumentResolver.java diff --git a/src/main/java/com/amorgakco/backend/global/config/ConverterConfig.java b/main/src/main/java/com/amorgakco/backend/global/config/ConverterConfig.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/ConverterConfig.java rename to main/src/main/java/com/amorgakco/backend/global/config/ConverterConfig.java diff --git a/src/main/java/com/amorgakco/backend/global/config/CoolSmsConfig.java b/main/src/main/java/com/amorgakco/backend/global/config/CoolSmsConfig.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/CoolSmsConfig.java rename to main/src/main/java/com/amorgakco/backend/global/config/CoolSmsConfig.java diff --git a/src/main/java/com/amorgakco/backend/global/config/CorsConfig.java b/main/src/main/java/com/amorgakco/backend/global/config/CorsConfig.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/CorsConfig.java rename to main/src/main/java/com/amorgakco/backend/global/config/CorsConfig.java diff --git a/src/main/java/com/amorgakco/backend/global/config/CustomSpringELParser.java b/main/src/main/java/com/amorgakco/backend/global/config/CustomSpringELParser.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/CustomSpringELParser.java rename to main/src/main/java/com/amorgakco/backend/global/config/CustomSpringELParser.java diff --git a/src/main/java/com/amorgakco/backend/global/config/FcmInitializer.java b/main/src/main/java/com/amorgakco/backend/global/config/FcmInitializer.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/FcmInitializer.java rename to main/src/main/java/com/amorgakco/backend/global/config/FcmInitializer.java diff --git a/src/main/java/com/amorgakco/backend/global/config/HandlerResolverConfig.java b/main/src/main/java/com/amorgakco/backend/global/config/HandlerResolverConfig.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/HandlerResolverConfig.java rename to main/src/main/java/com/amorgakco/backend/global/config/HandlerResolverConfig.java diff --git a/src/main/java/com/amorgakco/backend/global/config/KakaoRedirectionLoginUrl.java b/main/src/main/java/com/amorgakco/backend/global/config/KakaoRedirectionLoginUrl.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/KakaoRedirectionLoginUrl.java rename to main/src/main/java/com/amorgakco/backend/global/config/KakaoRedirectionLoginUrl.java diff --git a/src/main/java/com/amorgakco/backend/global/config/Oauth2LoginUrlConfig.java b/main/src/main/java/com/amorgakco/backend/global/config/Oauth2LoginUrlConfig.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/Oauth2LoginUrlConfig.java rename to main/src/main/java/com/amorgakco/backend/global/config/Oauth2LoginUrlConfig.java diff --git a/src/main/java/com/amorgakco/backend/global/config/RabbitMQConfig.java b/main/src/main/java/com/amorgakco/backend/global/config/RabbitMQConfig.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/RabbitMQConfig.java rename to main/src/main/java/com/amorgakco/backend/global/config/RabbitMQConfig.java diff --git a/src/main/java/com/amorgakco/backend/global/config/RestClientConfig.java b/main/src/main/java/com/amorgakco/backend/global/config/RestClientConfig.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/RestClientConfig.java rename to main/src/main/java/com/amorgakco/backend/global/config/RestClientConfig.java diff --git a/src/main/java/com/amorgakco/backend/global/config/SecretKeyConfig.java b/main/src/main/java/com/amorgakco/backend/global/config/SecretKeyConfig.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/SecretKeyConfig.java rename to main/src/main/java/com/amorgakco/backend/global/config/SecretKeyConfig.java diff --git a/src/main/java/com/amorgakco/backend/global/config/SecurityConfig.java b/main/src/main/java/com/amorgakco/backend/global/config/SecurityConfig.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/config/SecurityConfig.java rename to main/src/main/java/com/amorgakco/backend/global/config/SecurityConfig.java diff --git a/src/main/java/com/amorgakco/backend/global/exception/ErrorCode.java b/main/src/main/java/com/amorgakco/backend/global/exception/ErrorCode.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/exception/ErrorCode.java rename to main/src/main/java/com/amorgakco/backend/global/exception/ErrorCode.java diff --git a/src/main/java/com/amorgakco/backend/global/exception/GlobalExceptionResolver.java b/main/src/main/java/com/amorgakco/backend/global/exception/GlobalExceptionResolver.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/exception/GlobalExceptionResolver.java rename to main/src/main/java/com/amorgakco/backend/global/exception/GlobalExceptionResolver.java diff --git a/src/main/java/com/amorgakco/backend/global/exception/IllegalAccessException.java b/main/src/main/java/com/amorgakco/backend/global/exception/IllegalAccessException.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/exception/IllegalAccessException.java rename to main/src/main/java/com/amorgakco/backend/global/exception/IllegalAccessException.java diff --git a/src/main/java/com/amorgakco/backend/global/exception/IllegalFormatException.java b/main/src/main/java/com/amorgakco/backend/global/exception/IllegalFormatException.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/exception/IllegalFormatException.java rename to main/src/main/java/com/amorgakco/backend/global/exception/IllegalFormatException.java diff --git a/src/main/java/com/amorgakco/backend/global/exception/IllegalTimeException.java b/main/src/main/java/com/amorgakco/backend/global/exception/IllegalTimeException.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/exception/IllegalTimeException.java rename to main/src/main/java/com/amorgakco/backend/global/exception/IllegalTimeException.java diff --git a/src/main/java/com/amorgakco/backend/global/exception/InvalidOauth2ProviderException.java b/main/src/main/java/com/amorgakco/backend/global/exception/InvalidOauth2ProviderException.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/exception/InvalidOauth2ProviderException.java rename to main/src/main/java/com/amorgakco/backend/global/exception/InvalidOauth2ProviderException.java diff --git a/src/main/java/com/amorgakco/backend/global/exception/JwtAuthenticationException.java b/main/src/main/java/com/amorgakco/backend/global/exception/JwtAuthenticationException.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/exception/JwtAuthenticationException.java rename to main/src/main/java/com/amorgakco/backend/global/exception/JwtAuthenticationException.java diff --git a/src/main/java/com/amorgakco/backend/global/exception/ResourceNotFoundException.java b/main/src/main/java/com/amorgakco/backend/global/exception/ResourceNotFoundException.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/exception/ResourceNotFoundException.java rename to main/src/main/java/com/amorgakco/backend/global/exception/ResourceNotFoundException.java diff --git a/src/main/java/com/amorgakco/backend/global/oauth/MemberPrincipal.java b/main/src/main/java/com/amorgakco/backend/global/oauth/MemberPrincipal.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/oauth/MemberPrincipal.java rename to main/src/main/java/com/amorgakco/backend/global/oauth/MemberPrincipal.java diff --git a/src/main/java/com/amorgakco/backend/global/rabbitmq/ExchangeName.java b/main/src/main/java/com/amorgakco/backend/global/rabbitmq/ExchangeName.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/rabbitmq/ExchangeName.java rename to main/src/main/java/com/amorgakco/backend/global/rabbitmq/ExchangeName.java diff --git a/src/main/java/com/amorgakco/backend/global/rabbitmq/QueueName.java b/main/src/main/java/com/amorgakco/backend/global/rabbitmq/QueueName.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/rabbitmq/QueueName.java rename to main/src/main/java/com/amorgakco/backend/global/rabbitmq/QueueName.java diff --git a/src/main/java/com/amorgakco/backend/global/rabbitmq/RabbitMQProperties.java b/main/src/main/java/com/amorgakco/backend/global/rabbitmq/RabbitMQProperties.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/rabbitmq/RabbitMQProperties.java rename to main/src/main/java/com/amorgakco/backend/global/rabbitmq/RabbitMQProperties.java diff --git a/src/main/java/com/amorgakco/backend/global/rabbitmq/RoutingKey.java b/main/src/main/java/com/amorgakco/backend/global/rabbitmq/RoutingKey.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/rabbitmq/RoutingKey.java rename to main/src/main/java/com/amorgakco/backend/global/rabbitmq/RoutingKey.java diff --git a/src/main/java/com/amorgakco/backend/global/response/ErrorResponse.java b/main/src/main/java/com/amorgakco/backend/global/response/ErrorResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/response/ErrorResponse.java rename to main/src/main/java/com/amorgakco/backend/global/response/ErrorResponse.java diff --git a/src/main/java/com/amorgakco/backend/global/response/GlobalResponseWrapper.java b/main/src/main/java/com/amorgakco/backend/global/response/GlobalResponseWrapper.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/response/GlobalResponseWrapper.java rename to main/src/main/java/com/amorgakco/backend/global/response/GlobalResponseWrapper.java diff --git a/src/main/java/com/amorgakco/backend/global/response/SuccessResponse.java b/main/src/main/java/com/amorgakco/backend/global/response/SuccessResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/response/SuccessResponse.java rename to main/src/main/java/com/amorgakco/backend/global/response/SuccessResponse.java diff --git a/src/main/java/com/amorgakco/backend/global/security/JwtAccessDeniedHandler.java b/main/src/main/java/com/amorgakco/backend/global/security/JwtAccessDeniedHandler.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/security/JwtAccessDeniedHandler.java rename to main/src/main/java/com/amorgakco/backend/global/security/JwtAccessDeniedHandler.java diff --git a/src/main/java/com/amorgakco/backend/global/security/JwtAuthenticationEntryPoint.java b/main/src/main/java/com/amorgakco/backend/global/security/JwtAuthenticationEntryPoint.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/security/JwtAuthenticationEntryPoint.java rename to main/src/main/java/com/amorgakco/backend/global/security/JwtAuthenticationEntryPoint.java diff --git a/src/main/java/com/amorgakco/backend/global/security/JwtAuthenticationFilter.java b/main/src/main/java/com/amorgakco/backend/global/security/JwtAuthenticationFilter.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/security/JwtAuthenticationFilter.java rename to main/src/main/java/com/amorgakco/backend/global/security/JwtAuthenticationFilter.java diff --git a/src/main/java/com/amorgakco/backend/global/security/JwtExceptionHandlingFilter.java b/main/src/main/java/com/amorgakco/backend/global/security/JwtExceptionHandlingFilter.java similarity index 100% rename from src/main/java/com/amorgakco/backend/global/security/JwtExceptionHandlingFilter.java rename to main/src/main/java/com/amorgakco/backend/global/security/JwtExceptionHandlingFilter.java diff --git a/src/main/java/com/amorgakco/backend/group/controller/GroupController.java b/main/src/main/java/com/amorgakco/backend/group/controller/GroupController.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/controller/GroupController.java rename to main/src/main/java/com/amorgakco/backend/group/controller/GroupController.java diff --git a/src/main/java/com/amorgakco/backend/group/controller/GroupLocationController.java b/main/src/main/java/com/amorgakco/backend/group/controller/GroupLocationController.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/controller/GroupLocationController.java rename to main/src/main/java/com/amorgakco/backend/group/controller/GroupLocationController.java diff --git a/src/main/java/com/amorgakco/backend/group/domain/Duration.java b/main/src/main/java/com/amorgakco/backend/group/domain/Duration.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/domain/Duration.java rename to main/src/main/java/com/amorgakco/backend/group/domain/Duration.java diff --git a/src/main/java/com/amorgakco/backend/group/domain/Group.java b/main/src/main/java/com/amorgakco/backend/group/domain/Group.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/domain/Group.java rename to main/src/main/java/com/amorgakco/backend/group/domain/Group.java diff --git a/src/main/java/com/amorgakco/backend/group/domain/location/Location.java b/main/src/main/java/com/amorgakco/backend/group/domain/location/Location.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/domain/location/Location.java rename to main/src/main/java/com/amorgakco/backend/group/domain/location/Location.java diff --git a/src/main/java/com/amorgakco/backend/group/domain/location/LocationCalculator.java b/main/src/main/java/com/amorgakco/backend/group/domain/location/LocationCalculator.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/domain/location/LocationCalculator.java rename to main/src/main/java/com/amorgakco/backend/group/domain/location/LocationCalculator.java diff --git a/src/main/java/com/amorgakco/backend/group/dto/GroupBasicResponse.java b/main/src/main/java/com/amorgakco/backend/group/dto/GroupBasicResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/dto/GroupBasicResponse.java rename to main/src/main/java/com/amorgakco/backend/group/dto/GroupBasicResponse.java diff --git a/src/main/java/com/amorgakco/backend/group/dto/GroupDetailResponse.java b/main/src/main/java/com/amorgakco/backend/group/dto/GroupDetailResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/dto/GroupDetailResponse.java rename to main/src/main/java/com/amorgakco/backend/group/dto/GroupDetailResponse.java diff --git a/src/main/java/com/amorgakco/backend/group/dto/GroupLocation.java b/main/src/main/java/com/amorgakco/backend/group/dto/GroupLocation.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/dto/GroupLocation.java rename to main/src/main/java/com/amorgakco/backend/group/dto/GroupLocation.java diff --git a/src/main/java/com/amorgakco/backend/group/dto/GroupMember.java b/main/src/main/java/com/amorgakco/backend/group/dto/GroupMember.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/dto/GroupMember.java rename to main/src/main/java/com/amorgakco/backend/group/dto/GroupMember.java diff --git a/src/main/java/com/amorgakco/backend/group/dto/GroupRegisterRequest.java b/main/src/main/java/com/amorgakco/backend/group/dto/GroupRegisterRequest.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/dto/GroupRegisterRequest.java rename to main/src/main/java/com/amorgakco/backend/group/dto/GroupRegisterRequest.java diff --git a/src/main/java/com/amorgakco/backend/group/dto/GroupSearchRequest.java b/main/src/main/java/com/amorgakco/backend/group/dto/GroupSearchRequest.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/dto/GroupSearchRequest.java rename to main/src/main/java/com/amorgakco/backend/group/dto/GroupSearchRequest.java diff --git a/src/main/java/com/amorgakco/backend/group/dto/GroupSearchResponse.java b/main/src/main/java/com/amorgakco/backend/group/dto/GroupSearchResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/dto/GroupSearchResponse.java rename to main/src/main/java/com/amorgakco/backend/group/dto/GroupSearchResponse.java diff --git a/src/main/java/com/amorgakco/backend/group/dto/LocationVerificationRequest.java b/main/src/main/java/com/amorgakco/backend/group/dto/LocationVerificationRequest.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/dto/LocationVerificationRequest.java rename to main/src/main/java/com/amorgakco/backend/group/dto/LocationVerificationRequest.java diff --git a/src/main/java/com/amorgakco/backend/group/repository/GroupRepository.java b/main/src/main/java/com/amorgakco/backend/group/repository/GroupRepository.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/repository/GroupRepository.java rename to main/src/main/java/com/amorgakco/backend/group/repository/GroupRepository.java diff --git a/src/main/java/com/amorgakco/backend/group/service/GroupLocationService.java b/main/src/main/java/com/amorgakco/backend/group/service/GroupLocationService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/GroupLocationService.java rename to main/src/main/java/com/amorgakco/backend/group/service/GroupLocationService.java diff --git a/src/main/java/com/amorgakco/backend/group/service/GroupService.java b/main/src/main/java/com/amorgakco/backend/group/service/GroupService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/GroupService.java rename to main/src/main/java/com/amorgakco/backend/group/service/GroupService.java diff --git a/src/main/java/com/amorgakco/backend/group/service/S2GroupLocationService.java b/main/src/main/java/com/amorgakco/backend/group/service/S2GroupLocationService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/S2GroupLocationService.java rename to main/src/main/java/com/amorgakco/backend/group/service/S2GroupLocationService.java diff --git a/src/main/java/com/amorgakco/backend/group/service/mapper/GroupMapper.java b/main/src/main/java/com/amorgakco/backend/group/service/mapper/GroupMapper.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/mapper/GroupMapper.java rename to main/src/main/java/com/amorgakco/backend/group/service/mapper/GroupMapper.java diff --git a/src/main/java/com/amorgakco/backend/group/service/search/CityLevelSearchStrategy.java b/main/src/main/java/com/amorgakco/backend/group/service/search/CityLevelSearchStrategy.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/search/CityLevelSearchStrategy.java rename to main/src/main/java/com/amorgakco/backend/group/service/search/CityLevelSearchStrategy.java diff --git a/src/main/java/com/amorgakco/backend/group/service/search/DiagonalDistanceConst.java b/main/src/main/java/com/amorgakco/backend/group/service/search/DiagonalDistanceConst.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/search/DiagonalDistanceConst.java rename to main/src/main/java/com/amorgakco/backend/group/service/search/DiagonalDistanceConst.java diff --git a/src/main/java/com/amorgakco/backend/group/service/search/DongLevelSearchStrategy.java b/main/src/main/java/com/amorgakco/backend/group/service/search/DongLevelSearchStrategy.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/search/DongLevelSearchStrategy.java rename to main/src/main/java/com/amorgakco/backend/group/service/search/DongLevelSearchStrategy.java diff --git a/src/main/java/com/amorgakco/backend/group/service/search/GroupSearchStrategy.java b/main/src/main/java/com/amorgakco/backend/group/service/search/GroupSearchStrategy.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/search/GroupSearchStrategy.java rename to main/src/main/java/com/amorgakco/backend/group/service/search/GroupSearchStrategy.java diff --git a/src/main/java/com/amorgakco/backend/group/service/search/GuLevelSearchStrategy.java b/main/src/main/java/com/amorgakco/backend/group/service/search/GuLevelSearchStrategy.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/search/GuLevelSearchStrategy.java rename to main/src/main/java/com/amorgakco/backend/group/service/search/GuLevelSearchStrategy.java diff --git a/src/main/java/com/amorgakco/backend/group/service/search/S2CellSearch.java b/main/src/main/java/com/amorgakco/backend/group/service/search/S2CellSearch.java similarity index 100% rename from src/main/java/com/amorgakco/backend/group/service/search/S2CellSearch.java rename to main/src/main/java/com/amorgakco/backend/group/service/search/S2CellSearch.java diff --git a/src/main/java/com/amorgakco/backend/groupparticipation/controller/GroupParticipationController.java b/main/src/main/java/com/amorgakco/backend/groupparticipation/controller/GroupParticipationController.java similarity index 100% rename from src/main/java/com/amorgakco/backend/groupparticipation/controller/GroupParticipationController.java rename to main/src/main/java/com/amorgakco/backend/groupparticipation/controller/GroupParticipationController.java diff --git a/src/main/java/com/amorgakco/backend/groupparticipation/domain/GroupParticipation.java b/main/src/main/java/com/amorgakco/backend/groupparticipation/domain/GroupParticipation.java similarity index 100% rename from src/main/java/com/amorgakco/backend/groupparticipation/domain/GroupParticipation.java rename to main/src/main/java/com/amorgakco/backend/groupparticipation/domain/GroupParticipation.java diff --git a/src/main/java/com/amorgakco/backend/groupparticipation/domain/ParticipationStatus.java b/main/src/main/java/com/amorgakco/backend/groupparticipation/domain/ParticipationStatus.java similarity index 100% rename from src/main/java/com/amorgakco/backend/groupparticipation/domain/ParticipationStatus.java rename to main/src/main/java/com/amorgakco/backend/groupparticipation/domain/ParticipationStatus.java diff --git a/src/main/java/com/amorgakco/backend/groupparticipation/repository/GroupParticipationRepository.java b/main/src/main/java/com/amorgakco/backend/groupparticipation/repository/GroupParticipationRepository.java similarity index 100% rename from src/main/java/com/amorgakco/backend/groupparticipation/repository/GroupParticipationRepository.java rename to main/src/main/java/com/amorgakco/backend/groupparticipation/repository/GroupParticipationRepository.java diff --git a/src/main/java/com/amorgakco/backend/groupparticipation/service/GroupParticipationService.java b/main/src/main/java/com/amorgakco/backend/groupparticipation/service/GroupParticipationService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/groupparticipation/service/GroupParticipationService.java rename to main/src/main/java/com/amorgakco/backend/groupparticipation/service/GroupParticipationService.java diff --git a/src/main/java/com/amorgakco/backend/groupparticipation/service/mapper/GroupParticipationMapper.java b/main/src/main/java/com/amorgakco/backend/groupparticipation/service/mapper/GroupParticipationMapper.java similarity index 100% rename from src/main/java/com/amorgakco/backend/groupparticipation/service/mapper/GroupParticipationMapper.java rename to main/src/main/java/com/amorgakco/backend/groupparticipation/service/mapper/GroupParticipationMapper.java diff --git a/src/main/java/com/amorgakco/backend/jwt/controller/JwtController.java b/main/src/main/java/com/amorgakco/backend/jwt/controller/JwtController.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/controller/JwtController.java rename to main/src/main/java/com/amorgakco/backend/jwt/controller/JwtController.java diff --git a/src/main/java/com/amorgakco/backend/jwt/controller/JwtCookieLoader.java b/main/src/main/java/com/amorgakco/backend/jwt/controller/JwtCookieLoader.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/controller/JwtCookieLoader.java rename to main/src/main/java/com/amorgakco/backend/jwt/controller/JwtCookieLoader.java diff --git a/src/main/java/com/amorgakco/backend/jwt/domain/RefreshToken.java b/main/src/main/java/com/amorgakco/backend/jwt/domain/RefreshToken.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/domain/RefreshToken.java rename to main/src/main/java/com/amorgakco/backend/jwt/domain/RefreshToken.java diff --git a/src/main/java/com/amorgakco/backend/jwt/dto/AccessTokenResponse.java b/main/src/main/java/com/amorgakco/backend/jwt/dto/AccessTokenResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/dto/AccessTokenResponse.java rename to main/src/main/java/com/amorgakco/backend/jwt/dto/AccessTokenResponse.java diff --git a/src/main/java/com/amorgakco/backend/jwt/dto/MemberAccessToken.java b/main/src/main/java/com/amorgakco/backend/jwt/dto/MemberAccessToken.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/dto/MemberAccessToken.java rename to main/src/main/java/com/amorgakco/backend/jwt/dto/MemberAccessToken.java diff --git a/src/main/java/com/amorgakco/backend/jwt/dto/MemberTokens.java b/main/src/main/java/com/amorgakco/backend/jwt/dto/MemberTokens.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/dto/MemberTokens.java rename to main/src/main/java/com/amorgakco/backend/jwt/dto/MemberTokens.java diff --git a/src/main/java/com/amorgakco/backend/jwt/repository/RefreshTokenRepository.java b/main/src/main/java/com/amorgakco/backend/jwt/repository/RefreshTokenRepository.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/repository/RefreshTokenRepository.java rename to main/src/main/java/com/amorgakco/backend/jwt/repository/RefreshTokenRepository.java diff --git a/src/main/java/com/amorgakco/backend/jwt/service/JwtCreator.java b/main/src/main/java/com/amorgakco/backend/jwt/service/JwtCreator.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/service/JwtCreator.java rename to main/src/main/java/com/amorgakco/backend/jwt/service/JwtCreator.java diff --git a/src/main/java/com/amorgakco/backend/jwt/service/JwtExtractor.java b/main/src/main/java/com/amorgakco/backend/jwt/service/JwtExtractor.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/service/JwtExtractor.java rename to main/src/main/java/com/amorgakco/backend/jwt/service/JwtExtractor.java diff --git a/src/main/java/com/amorgakco/backend/jwt/service/JwtProperties.java b/main/src/main/java/com/amorgakco/backend/jwt/service/JwtProperties.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/service/JwtProperties.java rename to main/src/main/java/com/amorgakco/backend/jwt/service/JwtProperties.java diff --git a/src/main/java/com/amorgakco/backend/jwt/service/JwtService.java b/main/src/main/java/com/amorgakco/backend/jwt/service/JwtService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/service/JwtService.java rename to main/src/main/java/com/amorgakco/backend/jwt/service/JwtService.java diff --git a/src/main/java/com/amorgakco/backend/jwt/service/JwtValidator.java b/main/src/main/java/com/amorgakco/backend/jwt/service/JwtValidator.java similarity index 100% rename from src/main/java/com/amorgakco/backend/jwt/service/JwtValidator.java rename to main/src/main/java/com/amorgakco/backend/jwt/service/JwtValidator.java diff --git a/src/main/java/com/amorgakco/backend/member/controller/MemberController.java b/main/src/main/java/com/amorgakco/backend/member/controller/MemberController.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/controller/MemberController.java rename to main/src/main/java/com/amorgakco/backend/member/controller/MemberController.java diff --git a/src/main/java/com/amorgakco/backend/member/domain/Member.java b/main/src/main/java/com/amorgakco/backend/member/domain/Member.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/domain/Member.java rename to main/src/main/java/com/amorgakco/backend/member/domain/Member.java diff --git a/src/main/java/com/amorgakco/backend/member/domain/Oauth2ProviderType.java b/main/src/main/java/com/amorgakco/backend/member/domain/Oauth2ProviderType.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/domain/Oauth2ProviderType.java rename to main/src/main/java/com/amorgakco/backend/member/domain/Oauth2ProviderType.java diff --git a/src/main/java/com/amorgakco/backend/member/domain/Role.java b/main/src/main/java/com/amorgakco/backend/member/domain/Role.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/domain/Role.java rename to main/src/main/java/com/amorgakco/backend/member/domain/Role.java diff --git a/src/main/java/com/amorgakco/backend/member/domain/Roles.java b/main/src/main/java/com/amorgakco/backend/member/domain/Roles.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/domain/Roles.java rename to main/src/main/java/com/amorgakco/backend/member/domain/Roles.java diff --git a/src/main/java/com/amorgakco/backend/member/dto/AdditionalInfoRequest.java b/main/src/main/java/com/amorgakco/backend/member/dto/AdditionalInfoRequest.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/dto/AdditionalInfoRequest.java rename to main/src/main/java/com/amorgakco/backend/member/dto/AdditionalInfoRequest.java diff --git a/src/main/java/com/amorgakco/backend/member/dto/PrivateMemberResponse.java b/main/src/main/java/com/amorgakco/backend/member/dto/PrivateMemberResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/dto/PrivateMemberResponse.java rename to main/src/main/java/com/amorgakco/backend/member/dto/PrivateMemberResponse.java diff --git a/src/main/java/com/amorgakco/backend/member/repository/MemberRepository.java b/main/src/main/java/com/amorgakco/backend/member/repository/MemberRepository.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/repository/MemberRepository.java rename to main/src/main/java/com/amorgakco/backend/member/repository/MemberRepository.java diff --git a/src/main/java/com/amorgakco/backend/member/service/MemberService.java b/main/src/main/java/com/amorgakco/backend/member/service/MemberService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/service/MemberService.java rename to main/src/main/java/com/amorgakco/backend/member/service/MemberService.java diff --git a/src/main/java/com/amorgakco/backend/member/service/mapper/MemberMapper.java b/main/src/main/java/com/amorgakco/backend/member/service/mapper/MemberMapper.java similarity index 100% rename from src/main/java/com/amorgakco/backend/member/service/mapper/MemberMapper.java rename to main/src/main/java/com/amorgakco/backend/member/service/mapper/MemberMapper.java diff --git a/src/main/java/com/amorgakco/backend/notification/controller/NotificationController.java b/main/src/main/java/com/amorgakco/backend/notification/controller/NotificationController.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/controller/NotificationController.java rename to main/src/main/java/com/amorgakco/backend/notification/controller/NotificationController.java diff --git a/src/main/java/com/amorgakco/backend/notification/domain/Notification.java b/main/src/main/java/com/amorgakco/backend/notification/domain/Notification.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/domain/Notification.java rename to main/src/main/java/com/amorgakco/backend/notification/domain/Notification.java diff --git a/src/main/java/com/amorgakco/backend/notification/domain/NotificationType.java b/main/src/main/java/com/amorgakco/backend/notification/domain/NotificationType.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/domain/NotificationType.java rename to main/src/main/java/com/amorgakco/backend/notification/domain/NotificationType.java diff --git a/src/main/java/com/amorgakco/backend/notification/domain/SendingType.java b/main/src/main/java/com/amorgakco/backend/notification/domain/SendingType.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/domain/SendingType.java rename to main/src/main/java/com/amorgakco/backend/notification/domain/SendingType.java diff --git a/src/main/java/com/amorgakco/backend/notification/dto/NotificationMessage.java b/main/src/main/java/com/amorgakco/backend/notification/dto/NotificationMessage.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/dto/NotificationMessage.java rename to main/src/main/java/com/amorgakco/backend/notification/dto/NotificationMessage.java diff --git a/src/main/java/com/amorgakco/backend/notification/dto/NotificationMessageResponse.java b/main/src/main/java/com/amorgakco/backend/notification/dto/NotificationMessageResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/dto/NotificationMessageResponse.java rename to main/src/main/java/com/amorgakco/backend/notification/dto/NotificationMessageResponse.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/NotificationPublisherFacade.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/NotificationPublisherFacade.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/NotificationPublisherFacade.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/NotificationPublisherFacade.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/NotificationRequest.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/NotificationRequest.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/NotificationRequest.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/NotificationRequest.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/fcm/FcmWebPushConsumer.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/fcm/FcmWebPushConsumer.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/fcm/FcmWebPushConsumer.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/fcm/FcmWebPushConsumer.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/slack/SlackRequest.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/slack/SlackRequest.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/slack/SlackRequest.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/slack/SlackRequest.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/slack/SlackSender.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/slack/SlackSender.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/slack/SlackSender.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/slack/SlackSender.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/sms/CoolSmsConsumer.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/sms/CoolSmsConsumer.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/sms/CoolSmsConsumer.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/sms/CoolSmsConsumer.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/sms/SmsSender.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/sms/SmsSender.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/sms/SmsSender.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/consumer/sms/SmsSender.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/FcmPublisher.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/FcmPublisher.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/FcmPublisher.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/FcmPublisher.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/Publisher.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/Publisher.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/Publisher.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/Publisher.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/SmsAndFcmPublisher.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/SmsAndFcmPublisher.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/SmsAndFcmPublisher.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/SmsAndFcmPublisher.java diff --git a/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/SmsPublisher.java b/main/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/SmsPublisher.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/SmsPublisher.java rename to main/src/main/java/com/amorgakco/backend/notification/infrastructure/publisher/SmsPublisher.java diff --git a/src/main/java/com/amorgakco/backend/notification/repository/NotificationRepository.java b/main/src/main/java/com/amorgakco/backend/notification/repository/NotificationRepository.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/repository/NotificationRepository.java rename to main/src/main/java/com/amorgakco/backend/notification/repository/NotificationRepository.java diff --git a/src/main/java/com/amorgakco/backend/notification/service/NotificationCreator.java b/main/src/main/java/com/amorgakco/backend/notification/service/NotificationCreator.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/service/NotificationCreator.java rename to main/src/main/java/com/amorgakco/backend/notification/service/NotificationCreator.java diff --git a/src/main/java/com/amorgakco/backend/notification/service/NotificationService.java b/main/src/main/java/com/amorgakco/backend/notification/service/NotificationService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/service/NotificationService.java rename to main/src/main/java/com/amorgakco/backend/notification/service/NotificationService.java diff --git a/src/main/java/com/amorgakco/backend/notification/service/mapper/NotificationMapper.java b/main/src/main/java/com/amorgakco/backend/notification/service/mapper/NotificationMapper.java similarity index 100% rename from src/main/java/com/amorgakco/backend/notification/service/mapper/NotificationMapper.java rename to main/src/main/java/com/amorgakco/backend/notification/service/mapper/NotificationMapper.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/controller/Oauth2Controller.java b/main/src/main/java/com/amorgakco/backend/oauth2/controller/Oauth2Controller.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/controller/Oauth2Controller.java rename to main/src/main/java/com/amorgakco/backend/oauth2/controller/Oauth2Controller.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/converter/Oauth2ProviderConverter.java b/main/src/main/java/com/amorgakco/backend/oauth2/converter/Oauth2ProviderConverter.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/converter/Oauth2ProviderConverter.java rename to main/src/main/java/com/amorgakco/backend/oauth2/converter/Oauth2ProviderConverter.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/dto/Oauth2LoginResponse.java b/main/src/main/java/com/amorgakco/backend/oauth2/dto/Oauth2LoginResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/dto/Oauth2LoginResponse.java rename to main/src/main/java/com/amorgakco/backend/oauth2/dto/Oauth2LoginResponse.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/dto/Oauth2MemberResponse.java b/main/src/main/java/com/amorgakco/backend/oauth2/dto/Oauth2MemberResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/dto/Oauth2MemberResponse.java rename to main/src/main/java/com/amorgakco/backend/oauth2/dto/Oauth2MemberResponse.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2Member.java b/main/src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2Member.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2Member.java rename to main/src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2Member.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2ProviderSelector.java b/main/src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2ProviderSelector.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2ProviderSelector.java rename to main/src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2ProviderSelector.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2ProviderService.java b/main/src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2ProviderService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2ProviderService.java rename to main/src/main/java/com/amorgakco/backend/oauth2/provider/Oauth2ProviderService.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoAuthorization.java b/main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoAuthorization.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoAuthorization.java rename to main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoAuthorization.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoMemberResponse.java b/main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoMemberResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoMemberResponse.java rename to main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoMemberResponse.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoOAuth2ProviderService.java b/main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoOAuth2ProviderService.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoOAuth2ProviderService.java rename to main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoOAuth2ProviderService.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoOauth2Properties.java b/main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoOauth2Properties.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoOauth2Properties.java rename to main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoOauth2Properties.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoRestClient.java b/main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoRestClient.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoRestClient.java rename to main/src/main/java/com/amorgakco/backend/oauth2/provider/kakao/KakaoRestClient.java diff --git a/src/main/java/com/amorgakco/backend/oauth2/service/Oauth2Service.java b/main/src/main/java/com/amorgakco/backend/oauth2/service/Oauth2Service.java similarity index 100% rename from src/main/java/com/amorgakco/backend/oauth2/service/Oauth2Service.java rename to main/src/main/java/com/amorgakco/backend/oauth2/service/Oauth2Service.java diff --git a/src/main/java/com/amorgakco/backend/participant/controller/ParticipantController.java b/main/src/main/java/com/amorgakco/backend/participant/controller/ParticipantController.java similarity index 100% rename from src/main/java/com/amorgakco/backend/participant/controller/ParticipantController.java rename to main/src/main/java/com/amorgakco/backend/participant/controller/ParticipantController.java diff --git a/src/main/java/com/amorgakco/backend/participant/domain/LocationVerificationStatus.java b/main/src/main/java/com/amorgakco/backend/participant/domain/LocationVerificationStatus.java similarity index 100% rename from src/main/java/com/amorgakco/backend/participant/domain/LocationVerificationStatus.java rename to main/src/main/java/com/amorgakco/backend/participant/domain/LocationVerificationStatus.java diff --git a/src/main/java/com/amorgakco/backend/participant/domain/Participant.java b/main/src/main/java/com/amorgakco/backend/participant/domain/Participant.java similarity index 100% rename from src/main/java/com/amorgakco/backend/participant/domain/Participant.java rename to main/src/main/java/com/amorgakco/backend/participant/domain/Participant.java diff --git a/src/main/java/com/amorgakco/backend/participant/dto/ParticipationHistory.java b/main/src/main/java/com/amorgakco/backend/participant/dto/ParticipationHistory.java similarity index 100% rename from src/main/java/com/amorgakco/backend/participant/dto/ParticipationHistory.java rename to main/src/main/java/com/amorgakco/backend/participant/dto/ParticipationHistory.java diff --git a/src/main/java/com/amorgakco/backend/participant/dto/ParticipationHistoryResponse.java b/main/src/main/java/com/amorgakco/backend/participant/dto/ParticipationHistoryResponse.java similarity index 100% rename from src/main/java/com/amorgakco/backend/participant/dto/ParticipationHistoryResponse.java rename to main/src/main/java/com/amorgakco/backend/participant/dto/ParticipationHistoryResponse.java diff --git a/src/main/java/com/amorgakco/backend/participant/dto/TardinessRequest.java b/main/src/main/java/com/amorgakco/backend/participant/dto/TardinessRequest.java similarity index 100% rename from src/main/java/com/amorgakco/backend/participant/dto/TardinessRequest.java rename to main/src/main/java/com/amorgakco/backend/participant/dto/TardinessRequest.java diff --git a/src/main/java/com/amorgakco/backend/participant/repository/ParticipantRepository.java b/main/src/main/java/com/amorgakco/backend/participant/repository/ParticipantRepository.java similarity index 100% rename from src/main/java/com/amorgakco/backend/participant/repository/ParticipantRepository.java rename to main/src/main/java/com/amorgakco/backend/participant/repository/ParticipantRepository.java diff --git a/src/main/java/com/amorgakco/backend/participant/service/ParticipantService.java b/main/src/main/java/com/amorgakco/backend/participant/service/ParticipantService.java similarity index 97% rename from src/main/java/com/amorgakco/backend/participant/service/ParticipantService.java rename to main/src/main/java/com/amorgakco/backend/participant/service/ParticipantService.java index ebb8f61..c6fbcad 100644 --- a/src/main/java/com/amorgakco/backend/participant/service/ParticipantService.java +++ b/main/src/main/java/com/amorgakco/backend/participant/service/ParticipantService.java @@ -1,6 +1,4 @@ package com.amorgakco.backend.participant.service; - -import com.amorgakco.backend.global.config.redisson.Lock; import com.amorgakco.backend.global.exception.ResourceNotFoundException; import com.amorgakco.backend.group.domain.Group; import com.amorgakco.backend.group.dto.LocationVerificationRequest; @@ -76,14 +74,12 @@ public void tardy(final Long groupId, final Long memberId, final TardinessReques )); } - @Lock(key = "#targetMemberId") public Integer upTemperature(final Long groupId, final Long requestMemberId, final Long targetMemberId) { final Participant requestParticipant = getParticipant(groupId, requestMemberId); final Participant targetParticipant = getParticipant(groupId, targetMemberId); return targetParticipant.upTemperature(requestParticipant); } - @Lock(key = "#targetMemberId") public Integer downTemperature(final Long groupId, final Long requestMemberId, final Long targetMemberId) { final Participant requestParticipant = getParticipant(groupId, requestMemberId); final Participant targetParticipant = getParticipant(groupId, targetMemberId); diff --git a/src/main/java/com/amorgakco/backend/participant/service/mapper/ParticipantMapper.java b/main/src/main/java/com/amorgakco/backend/participant/service/mapper/ParticipantMapper.java similarity index 100% rename from src/main/java/com/amorgakco/backend/participant/service/mapper/ParticipantMapper.java rename to main/src/main/java/com/amorgakco/backend/participant/service/mapper/ParticipantMapper.java diff --git a/src/main/resources/application-dev.yml b/main/src/main/resources/application-dev.yml similarity index 100% rename from src/main/resources/application-dev.yml rename to main/src/main/resources/application-dev.yml diff --git a/src/main/resources/application-local.yml b/main/src/main/resources/application-local.yml similarity index 95% rename from src/main/resources/application-local.yml rename to main/src/main/resources/application-local.yml index 3bdddf8..fbe9cd6 100644 --- a/src/main/resources/application-local.yml +++ b/main/src/main/resources/application-local.yml @@ -10,7 +10,7 @@ spring: jpa: show-sql: true hibernate: - ddl-auto: create + ddl-auto: none properties: hibernate: format_sql: true diff --git a/src/main/resources/application.yml b/main/src/main/resources/application.yml similarity index 100% rename from src/main/resources/application.yml rename to main/src/main/resources/application.yml diff --git a/src/main/resources/static/docs/index.html b/main/src/main/resources/static/docs/index.html similarity index 100% rename from src/main/resources/static/docs/index.html rename to main/src/main/resources/static/docs/index.html diff --git a/src/test/java/com/amorgakco/backend/container/TestContainerConfig.java b/main/src/test/java/com/amorgakco/backend/container/TestContainerConfig.java similarity index 100% rename from src/test/java/com/amorgakco/backend/container/TestContainerConfig.java rename to main/src/test/java/com/amorgakco/backend/container/TestContainerConfig.java diff --git a/src/test/java/com/amorgakco/backend/docs/ApiDocsUtils.java b/main/src/test/java/com/amorgakco/backend/docs/ApiDocsUtils.java similarity index 100% rename from src/test/java/com/amorgakco/backend/docs/ApiDocsUtils.java rename to main/src/test/java/com/amorgakco/backend/docs/ApiDocsUtils.java diff --git a/src/test/java/com/amorgakco/backend/docs/RestDocsConfig.java b/main/src/test/java/com/amorgakco/backend/docs/RestDocsConfig.java similarity index 100% rename from src/test/java/com/amorgakco/backend/docs/RestDocsConfig.java rename to main/src/test/java/com/amorgakco/backend/docs/RestDocsConfig.java diff --git a/src/test/java/com/amorgakco/backend/docs/RestDocsTest.java b/main/src/test/java/com/amorgakco/backend/docs/RestDocsTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/docs/RestDocsTest.java rename to main/src/test/java/com/amorgakco/backend/docs/RestDocsTest.java diff --git a/src/test/java/com/amorgakco/backend/fixture/AccessToken.java b/main/src/test/java/com/amorgakco/backend/fixture/AccessToken.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/AccessToken.java rename to main/src/test/java/com/amorgakco/backend/fixture/AccessToken.java diff --git a/src/test/java/com/amorgakco/backend/fixture/group/TestDurationFactory.java b/main/src/test/java/com/amorgakco/backend/fixture/group/TestDurationFactory.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/group/TestDurationFactory.java rename to main/src/test/java/com/amorgakco/backend/fixture/group/TestDurationFactory.java diff --git a/src/test/java/com/amorgakco/backend/fixture/group/TestGroupFactory.java b/main/src/test/java/com/amorgakco/backend/fixture/group/TestGroupFactory.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/group/TestGroupFactory.java rename to main/src/test/java/com/amorgakco/backend/fixture/group/TestGroupFactory.java diff --git a/src/test/java/com/amorgakco/backend/fixture/group/TestParticipantsFactory.java b/main/src/test/java/com/amorgakco/backend/fixture/group/TestParticipantsFactory.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/group/TestParticipantsFactory.java rename to main/src/test/java/com/amorgakco/backend/fixture/group/TestParticipantsFactory.java diff --git a/src/test/java/com/amorgakco/backend/fixture/groupparticipation/TestGroupParticipationFactory.java b/main/src/test/java/com/amorgakco/backend/fixture/groupparticipation/TestGroupParticipationFactory.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/groupparticipation/TestGroupParticipationFactory.java rename to main/src/test/java/com/amorgakco/backend/fixture/groupparticipation/TestGroupParticipationFactory.java diff --git a/src/test/java/com/amorgakco/backend/fixture/member/TestMember.java b/main/src/test/java/com/amorgakco/backend/fixture/member/TestMember.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/member/TestMember.java rename to main/src/test/java/com/amorgakco/backend/fixture/member/TestMember.java diff --git a/src/test/java/com/amorgakco/backend/fixture/member/TestMemberFactory.java b/main/src/test/java/com/amorgakco/backend/fixture/member/TestMemberFactory.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/member/TestMemberFactory.java rename to main/src/test/java/com/amorgakco/backend/fixture/member/TestMemberFactory.java diff --git a/src/test/java/com/amorgakco/backend/fixture/notification/TestNotificationFactory.java b/main/src/test/java/com/amorgakco/backend/fixture/notification/TestNotificationFactory.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/notification/TestNotificationFactory.java rename to main/src/test/java/com/amorgakco/backend/fixture/notification/TestNotificationFactory.java diff --git a/src/test/java/com/amorgakco/backend/fixture/participant/TestParticipantFactory.java b/main/src/test/java/com/amorgakco/backend/fixture/participant/TestParticipantFactory.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/participant/TestParticipantFactory.java rename to main/src/test/java/com/amorgakco/backend/fixture/participant/TestParticipantFactory.java diff --git a/src/test/java/com/amorgakco/backend/fixture/security/TestSecretKey.java b/main/src/test/java/com/amorgakco/backend/fixture/security/TestSecretKey.java similarity index 100% rename from src/test/java/com/amorgakco/backend/fixture/security/TestSecretKey.java rename to main/src/test/java/com/amorgakco/backend/fixture/security/TestSecretKey.java diff --git a/src/test/java/com/amorgakco/backend/global/security/DummyFilterChain.java b/main/src/test/java/com/amorgakco/backend/global/security/DummyFilterChain.java similarity index 100% rename from src/test/java/com/amorgakco/backend/global/security/DummyFilterChain.java rename to main/src/test/java/com/amorgakco/backend/global/security/DummyFilterChain.java diff --git a/src/test/java/com/amorgakco/backend/global/security/JwtAuthenticationFilterTest.java b/main/src/test/java/com/amorgakco/backend/global/security/JwtAuthenticationFilterTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/global/security/JwtAuthenticationFilterTest.java rename to main/src/test/java/com/amorgakco/backend/global/security/JwtAuthenticationFilterTest.java diff --git a/src/test/java/com/amorgakco/backend/group/controller/GroupControllerTest.java b/main/src/test/java/com/amorgakco/backend/group/controller/GroupControllerTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/group/controller/GroupControllerTest.java rename to main/src/test/java/com/amorgakco/backend/group/controller/GroupControllerTest.java diff --git a/src/test/java/com/amorgakco/backend/group/controller/GroupLocationControllerTest.java b/main/src/test/java/com/amorgakco/backend/group/controller/GroupLocationControllerTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/group/controller/GroupLocationControllerTest.java rename to main/src/test/java/com/amorgakco/backend/group/controller/GroupLocationControllerTest.java diff --git a/src/test/java/com/amorgakco/backend/group/domain/DurationTest.java b/main/src/test/java/com/amorgakco/backend/group/domain/DurationTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/group/domain/DurationTest.java rename to main/src/test/java/com/amorgakco/backend/group/domain/DurationTest.java diff --git a/src/test/java/com/amorgakco/backend/group/domain/GroupTest.java b/main/src/test/java/com/amorgakco/backend/group/domain/GroupTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/group/domain/GroupTest.java rename to main/src/test/java/com/amorgakco/backend/group/domain/GroupTest.java diff --git a/src/test/java/com/amorgakco/backend/group/domain/LocationTest.java b/main/src/test/java/com/amorgakco/backend/group/domain/LocationTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/group/domain/LocationTest.java rename to main/src/test/java/com/amorgakco/backend/group/domain/LocationTest.java diff --git a/src/test/java/com/amorgakco/backend/group/service/search/S2CellSearchTest.java b/main/src/test/java/com/amorgakco/backend/group/service/search/S2CellSearchTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/group/service/search/S2CellSearchTest.java rename to main/src/test/java/com/amorgakco/backend/group/service/search/S2CellSearchTest.java diff --git a/src/test/java/com/amorgakco/backend/groupparticipation/controller/GroupParticipationControllerTest.java b/main/src/test/java/com/amorgakco/backend/groupparticipation/controller/GroupParticipationControllerTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/groupparticipation/controller/GroupParticipationControllerTest.java rename to main/src/test/java/com/amorgakco/backend/groupparticipation/controller/GroupParticipationControllerTest.java diff --git a/src/test/java/com/amorgakco/backend/groupparticipation/domain/GroupParticipationTest.java b/main/src/test/java/com/amorgakco/backend/groupparticipation/domain/GroupParticipationTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/groupparticipation/domain/GroupParticipationTest.java rename to main/src/test/java/com/amorgakco/backend/groupparticipation/domain/GroupParticipationTest.java diff --git a/src/test/java/com/amorgakco/backend/jwt/controller/JwtControllerTest.java b/main/src/test/java/com/amorgakco/backend/jwt/controller/JwtControllerTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/jwt/controller/JwtControllerTest.java rename to main/src/test/java/com/amorgakco/backend/jwt/controller/JwtControllerTest.java diff --git a/src/test/java/com/amorgakco/backend/jwt/service/JwtValidatorTest.java b/main/src/test/java/com/amorgakco/backend/jwt/service/JwtValidatorTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/jwt/service/JwtValidatorTest.java rename to main/src/test/java/com/amorgakco/backend/jwt/service/JwtValidatorTest.java diff --git a/src/test/java/com/amorgakco/backend/member/controller/MemberControllerTest.java b/main/src/test/java/com/amorgakco/backend/member/controller/MemberControllerTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/member/controller/MemberControllerTest.java rename to main/src/test/java/com/amorgakco/backend/member/controller/MemberControllerTest.java diff --git a/src/test/java/com/amorgakco/backend/member/domain/MemberTest.java b/main/src/test/java/com/amorgakco/backend/member/domain/MemberTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/member/domain/MemberTest.java rename to main/src/test/java/com/amorgakco/backend/member/domain/MemberTest.java diff --git a/src/test/java/com/amorgakco/backend/notification/controller/NotificationControllerTest.java b/main/src/test/java/com/amorgakco/backend/notification/controller/NotificationControllerTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/notification/controller/NotificationControllerTest.java rename to main/src/test/java/com/amorgakco/backend/notification/controller/NotificationControllerTest.java diff --git a/src/test/java/com/amorgakco/backend/oauth2/controller/Oauth2ControllerTest.java b/main/src/test/java/com/amorgakco/backend/oauth2/controller/Oauth2ControllerTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/oauth2/controller/Oauth2ControllerTest.java rename to main/src/test/java/com/amorgakco/backend/oauth2/controller/Oauth2ControllerTest.java diff --git a/src/test/java/com/amorgakco/backend/participant/controller/ParticipantControllerTest.java b/main/src/test/java/com/amorgakco/backend/participant/controller/ParticipantControllerTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/participant/controller/ParticipantControllerTest.java rename to main/src/test/java/com/amorgakco/backend/participant/controller/ParticipantControllerTest.java diff --git a/src/test/java/com/amorgakco/backend/participant/domain/ParticipantTest.java b/main/src/test/java/com/amorgakco/backend/participant/domain/ParticipantTest.java similarity index 100% rename from src/test/java/com/amorgakco/backend/participant/domain/ParticipantTest.java rename to main/src/test/java/com/amorgakco/backend/participant/domain/ParticipantTest.java diff --git a/src/test/java/com/amorgakco/backend/participant/service/ParticipantServiceTest.java b/main/src/test/java/com/amorgakco/backend/participant/service/ParticipantServiceTest.java similarity index 98% rename from src/test/java/com/amorgakco/backend/participant/service/ParticipantServiceTest.java rename to main/src/test/java/com/amorgakco/backend/participant/service/ParticipantServiceTest.java index 305591f..70fb676 100644 --- a/src/test/java/com/amorgakco/backend/participant/service/ParticipantServiceTest.java +++ b/main/src/test/java/com/amorgakco/backend/participant/service/ParticipantServiceTest.java @@ -39,7 +39,7 @@ void moGakCoTemperatureConcurrencyTest() throws InterruptedException { group.addParticipants(new Participant(member2)); groupRepository.saveAndFlush(group); - int memberCount = 1; + int memberCount = 10; ExecutorService executorService = Executors.newFixedThreadPool(memberCount); CountDownLatch latch = new CountDownLatch(memberCount); diff --git a/src/test/java/com/amorgakco/backend/security/WithMockMember.java b/main/src/test/java/com/amorgakco/backend/security/WithMockMember.java similarity index 100% rename from src/test/java/com/amorgakco/backend/security/WithMockMember.java rename to main/src/test/java/com/amorgakco/backend/security/WithMockMember.java diff --git a/src/test/java/com/amorgakco/backend/security/WithMockMemberSecurityContextFactory.java b/main/src/test/java/com/amorgakco/backend/security/WithMockMemberSecurityContextFactory.java similarity index 100% rename from src/test/java/com/amorgakco/backend/security/WithMockMemberSecurityContextFactory.java rename to main/src/test/java/com/amorgakco/backend/security/WithMockMemberSecurityContextFactory.java diff --git a/src/test/resources/application-test.yml b/main/src/test/resources/application-test.yml similarity index 100% rename from src/test/resources/application-test.yml rename to main/src/test/resources/application-test.yml diff --git a/src/test/resources/application.yml b/main/src/test/resources/application.yml similarity index 100% rename from src/test/resources/application.yml rename to main/src/test/resources/application.yml diff --git a/src/main/java/com/amorgakco/backend/global/config/redisson/AopForTransaction.java b/src/main/java/com/amorgakco/backend/global/config/redisson/AopForTransaction.java deleted file mode 100644 index 02eb451..0000000 --- a/src/main/java/com/amorgakco/backend/global/config/redisson/AopForTransaction.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.amorgakco.backend.global.config.redisson; - -import org.aspectj.lang.ProceedingJoinPoint; -import org.springframework.stereotype.Component; -import org.springframework.transaction.annotation.Propagation; -import org.springframework.transaction.annotation.Transactional; - -@Component -public class AopForTransaction { - - @Transactional(propagation = Propagation.REQUIRES_NEW) - public Object proceed(final ProceedingJoinPoint joinPoint) throws Throwable { - return joinPoint.proceed(); - } -} \ No newline at end of file diff --git a/src/main/java/com/amorgakco/backend/global/config/redisson/Lock.java b/src/main/java/com/amorgakco/backend/global/config/redisson/Lock.java deleted file mode 100644 index 526e388..0000000 --- a/src/main/java/com/amorgakco/backend/global/config/redisson/Lock.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.amorgakco.backend.global.config.redisson; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.util.concurrent.TimeUnit; - -@Target(ElementType.METHOD) -@Retention(RetentionPolicy.RUNTIME) -public @interface Lock { - - String key(); - - TimeUnit timeUnit() default TimeUnit.SECONDS; - - long waitTime() default 5L; - - long leaseTime() default 3L; -} \ No newline at end of file diff --git a/src/main/java/com/amorgakco/backend/global/config/redisson/LockAop.java b/src/main/java/com/amorgakco/backend/global/config/redisson/LockAop.java deleted file mode 100644 index ee2654b..0000000 --- a/src/main/java/com/amorgakco/backend/global/config/redisson/LockAop.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.amorgakco.backend.global.config.redisson; - -import com.amorgakco.backend.global.config.CustomSpringELParser; -import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; -import org.aspectj.lang.ProceedingJoinPoint; -import org.aspectj.lang.annotation.Around; -import org.aspectj.lang.annotation.Aspect; -import org.aspectj.lang.reflect.MethodSignature; -import org.redisson.api.RLock; -import org.redisson.api.RedissonClient; -import org.springframework.stereotype.Component; - -import java.lang.reflect.Method; - -@Aspect -@Component -@RequiredArgsConstructor -@Slf4j -public class LockAop { - private static final String REDISSON_LOCK_PREFIX = "LOCK:"; - - private final RedissonClient redissonClient; - private final AopForTransaction aopForTransaction; - - @Around("@annotation(com.amorgakco.backend.global.config.redisson.Lock)") - public Object lock(final ProceedingJoinPoint joinPoint) throws Throwable { - MethodSignature signature = (MethodSignature) joinPoint.getSignature(); - Method method = signature.getMethod(); - Lock lock = method.getAnnotation(Lock.class); - - String key = REDISSON_LOCK_PREFIX + CustomSpringELParser.getDynamicValue(signature.getParameterNames(), joinPoint.getArgs(), lock.key()); - RLock rLock = redissonClient.getLock(key); - - try { - boolean available = rLock.tryLock(lock.waitTime(), lock.leaseTime(), lock.timeUnit()); - if (!available) { - return false; - } - - return aopForTransaction.proceed(joinPoint); - } catch (InterruptedException e) { - throw new InterruptedException(); - } finally { - try { - rLock.unlock(); - } catch (IllegalMonitorStateException e) { - log.error("Already Unlock"); - } - } - } -} diff --git a/src/main/java/com/amorgakco/backend/global/config/redisson/RedissonConfig.java b/src/main/java/com/amorgakco/backend/global/config/redisson/RedissonConfig.java deleted file mode 100644 index ef68641..0000000 --- a/src/main/java/com/amorgakco/backend/global/config/redisson/RedissonConfig.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.amorgakco.backend.global.config.redisson; - -import org.redisson.Redisson; -import org.redisson.api.RedissonClient; -import org.redisson.config.Config; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -@Configuration -public class RedissonConfig { - private static final String REDISSON_HOST_PREFIX = "redis://"; - - @Value("${spring.data.redis.host}") - private String redisHost; - @Value("${spring.data.redis.port}") - private int redisPort; - - @Bean - public RedissonClient redissonClient() { - Config config = new Config(); - config.useSingleServer().setAddress(REDISSON_HOST_PREFIX + redisHost + ":" + redisPort); - return Redisson.create(config); - } -}