diff --git a/.gradle/8.2.1/checksums/checksums.lock b/.gradle/8.2.1/checksums/checksums.lock new file mode 100644 index 0000000..46e2414 Binary files /dev/null and b/.gradle/8.2.1/checksums/checksums.lock differ diff --git a/.gradle/8.2.1/dependencies-accessors/dependencies-accessors.lock b/.gradle/8.2.1/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000..9456192 Binary files /dev/null and b/.gradle/8.2.1/dependencies-accessors/dependencies-accessors.lock differ diff --git a/.gradle/8.2.1/dependencies-accessors/gc.properties b/.gradle/8.2.1/dependencies-accessors/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/.gradle/8.2.1/executionHistory/executionHistory.lock b/.gradle/8.2.1/executionHistory/executionHistory.lock new file mode 100644 index 0000000..44137fa Binary files /dev/null and b/.gradle/8.2.1/executionHistory/executionHistory.lock differ diff --git a/.gradle/8.2.1/fileChanges/last-build.bin b/.gradle/8.2.1/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/.gradle/8.2.1/fileChanges/last-build.bin differ diff --git a/.gradle/8.2.1/fileHashes/fileHashes.lock b/.gradle/8.2.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000..1fc78e9 Binary files /dev/null and b/.gradle/8.2.1/fileHashes/fileHashes.lock differ diff --git a/.gradle/8.2.1/gc.properties b/.gradle/8.2.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..d080545 Binary files /dev/null and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..1d36409 --- /dev/null +++ b/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Thu Oct 12 03:33:04 KST 2023 +gradle.version=8.2.1 diff --git a/.gradle/vcs-1/gc.properties b/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..70b7c1e --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +seminar \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..97d3707 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..c2bae49 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 0000000..ce1c62c --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,16 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..fdc392f --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/jpa-buddy.xml b/.idea/jpa-buddy.xml new file mode 100644 index 0000000..966d5f5 --- /dev/null +++ b/.idea/jpa-buddy.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..1d595b9 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,8 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..e0ad728 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/seminar.main.iml b/.idea/modules/seminar.main.iml new file mode 100644 index 0000000..afc1871 --- /dev/null +++ b/.idea/modules/seminar.main.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Week1/java-practice/.gitignore b/Week1/java-practice/.gitignore new file mode 100755 index 0000000..b63da45 --- /dev/null +++ b/Week1/java-practice/.gitignore @@ -0,0 +1,42 @@ +.gradle +build/ +!gradle/wrapper/gradle-wrapper.jar +!**/src/main/**/build/ +!**/src/test/**/build/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/Week1/java-practice/.idea/.gitignore b/Week1/java-practice/.idea/.gitignore new file mode 100755 index 0000000..13566b8 --- /dev/null +++ b/Week1/java-practice/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/Week1/java-practice/.idea/encodings.xml b/Week1/java-practice/.idea/encodings.xml new file mode 100755 index 0000000..c2bae49 --- /dev/null +++ b/Week1/java-practice/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Week1/java-practice/.idea/gradle.xml b/Week1/java-practice/.idea/gradle.xml new file mode 100755 index 0000000..14746e7 --- /dev/null +++ b/Week1/java-practice/.idea/gradle.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/Week1/java-practice/.idea/jpa-buddy.xml b/Week1/java-practice/.idea/jpa-buddy.xml new file mode 100755 index 0000000..966d5f5 --- /dev/null +++ b/Week1/java-practice/.idea/jpa-buddy.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/Week1/java-practice/.idea/misc.xml b/Week1/java-practice/.idea/misc.xml new file mode 100755 index 0000000..b084678 --- /dev/null +++ b/Week1/java-practice/.idea/misc.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Week1/java-practice/build.gradle b/Week1/java-practice/build.gradle new file mode 100755 index 0000000..f7beddb --- /dev/null +++ b/Week1/java-practice/build.gradle @@ -0,0 +1,19 @@ +plugins { + id 'java' +} + +group = 'org.example' +version = '1.0-SNAPSHOT' + +repositories { + mavenCentral() +} + +dependencies { + testImplementation platform('org.junit:junit-bom:5.9.1') + testImplementation 'org.junit.jupiter:junit-jupiter' +} + +test { + useJUnitPlatform() +} \ No newline at end of file diff --git a/Week1/java-practice/gradle/wrapper/gradle-wrapper.jar b/Week1/java-practice/gradle/wrapper/gradle-wrapper.jar new file mode 100755 index 0000000..249e583 Binary files /dev/null and b/Week1/java-practice/gradle/wrapper/gradle-wrapper.jar differ diff --git a/Week1/java-practice/gradle/wrapper/gradle-wrapper.properties b/Week1/java-practice/gradle/wrapper/gradle-wrapper.properties new file mode 100755 index 0000000..ad1e9be --- /dev/null +++ b/Week1/java-practice/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Sat Oct 07 14:16:57 KST 2023 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/Week1/java-practice/gradlew b/Week1/java-practice/gradlew new file mode 100755 index 0000000..1b6c787 --- /dev/null +++ b/Week1/java-practice/gradlew @@ -0,0 +1,234 @@ +#!/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. +# + +############################################################################## +# +# 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/master/subprojects/plugins/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 + +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +APP_NAME="Gradle" +APP_BASE_NAME=${0##*/} + +# 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"' + +# 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 + which java >/dev/null 2>&1 || 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 + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + 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 + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# 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/Week1/java-practice/gradlew.bat b/Week1/java-practice/gradlew.bat new file mode 100755 index 0000000..107acd3 --- /dev/null +++ b/Week1/java-practice/gradlew.bat @@ -0,0 +1,89 @@ +@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 + +@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=. +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%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +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%"=="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! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/Week1/java-practice/settings.gradle b/Week1/java-practice/settings.gradle new file mode 100755 index 0000000..8e9b58a --- /dev/null +++ b/Week1/java-practice/settings.gradle @@ -0,0 +1,2 @@ +rootProject.name = 'java-practice' + diff --git a/Week1/java-practice/src/main/java/org/example/Animal.java b/Week1/java-practice/src/main/java/org/example/Animal.java new file mode 100755 index 0000000..5fa55ae --- /dev/null +++ b/Week1/java-practice/src/main/java/org/example/Animal.java @@ -0,0 +1,5 @@ +package org.example; + +public interface Animal { + void 울다(); +} diff --git a/Week1/java-practice/src/main/java/org/example/AquaPoketmon.java b/Week1/java-practice/src/main/java/org/example/AquaPoketmon.java new file mode 100755 index 0000000..7a13abf --- /dev/null +++ b/Week1/java-practice/src/main/java/org/example/AquaPoketmon.java @@ -0,0 +1,8 @@ +package org.example; + +public class AquaPoketmon extends Poketmon{ + + public AquaPoketmon(String name, PoketmonType type) { + super(name, PoketmonType.AQUA); + } +} diff --git a/Week1/java-practice/src/main/java/org/example/Cat.java b/Week1/java-practice/src/main/java/org/example/Cat.java new file mode 100755 index 0000000..4cb31a9 --- /dev/null +++ b/Week1/java-practice/src/main/java/org/example/Cat.java @@ -0,0 +1,9 @@ +package org.example; + +public class Cat implements Animal{ + + @Override + public void 울다() { + System.out.println("야옹~ 야옹~"); + } +} diff --git a/Week1/java-practice/src/main/java/org/example/Main.java b/Week1/java-practice/src/main/java/org/example/Main.java new file mode 100755 index 0000000..425db55 --- /dev/null +++ b/Week1/java-practice/src/main/java/org/example/Main.java @@ -0,0 +1,11 @@ +package org.example; + +public class Main { + public static void main(String[] args) { + System.out.println("Hello world!"); + + Monkey 이케아원숭이 = new Monkey(); + 이케아원숭이.울다(); + + } +} \ No newline at end of file diff --git a/Week1/java-practice/src/main/java/org/example/Monkey.java b/Week1/java-practice/src/main/java/org/example/Monkey.java new file mode 100755 index 0000000..c3d7edc --- /dev/null +++ b/Week1/java-practice/src/main/java/org/example/Monkey.java @@ -0,0 +1,8 @@ +package org.example; + +public class Monkey implements Animal { + @Override + public void 울다() { + System.out.println("우끾 우끼끼 우끾"); + } +} diff --git a/Week1/java-practice/src/main/java/org/example/Poketmon.java b/Week1/java-practice/src/main/java/org/example/Poketmon.java new file mode 100755 index 0000000..1bee167 --- /dev/null +++ b/Week1/java-practice/src/main/java/org/example/Poketmon.java @@ -0,0 +1,30 @@ +package org.example; + +public abstract class Poketmon { + private String name; + private PoketmonType type; + + public String getName() { + return name; + } + + public PoketmonType getType() { + return type; + } + + public Poketmon(String name, PoketmonType type) { + this.name = name; + this.type = type; + } + + public Poketmon(String name) { + this.name = name; + System.out.println("내 이름은 " + name +"이야"); + } + + public Poketmon(PoketmonType type) { + this.type = type; + } + + +} diff --git a/Week1/java-practice/src/main/java/org/example/PoketmonType.java b/Week1/java-practice/src/main/java/org/example/PoketmonType.java new file mode 100755 index 0000000..b400807 --- /dev/null +++ b/Week1/java-practice/src/main/java/org/example/PoketmonType.java @@ -0,0 +1,5 @@ +package org.example; + +public enum PoketmonType { + FIRE, AQUA, GROUND, ELECTRIC, POISION; +} diff --git a/Week1/seminar/.gradle/8.2.1/checksums/checksums.lock b/Week1/seminar/.gradle/8.2.1/checksums/checksums.lock new file mode 100644 index 0000000..8c5cb04 Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/checksums/checksums.lock differ diff --git a/Week1/seminar/.gradle/8.2.1/checksums/md5-checksums.bin b/Week1/seminar/.gradle/8.2.1/checksums/md5-checksums.bin new file mode 100644 index 0000000..d633c4c Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/checksums/md5-checksums.bin differ diff --git a/Week1/seminar/.gradle/8.2.1/checksums/sha1-checksums.bin b/Week1/seminar/.gradle/8.2.1/checksums/sha1-checksums.bin new file mode 100644 index 0000000..d2d428d Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/checksums/sha1-checksums.bin differ diff --git a/Week1/seminar/.gradle/8.2.1/dependencies-accessors/dependencies-accessors.lock b/Week1/seminar/.gradle/8.2.1/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000..c44338f Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/dependencies-accessors/dependencies-accessors.lock differ diff --git a/Week1/seminar/.gradle/8.2.1/dependencies-accessors/gc.properties b/Week1/seminar/.gradle/8.2.1/dependencies-accessors/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/Week1/seminar/.gradle/8.2.1/executionHistory/executionHistory.bin b/Week1/seminar/.gradle/8.2.1/executionHistory/executionHistory.bin new file mode 100644 index 0000000..2062654 Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/executionHistory/executionHistory.bin differ diff --git a/Week1/seminar/.gradle/8.2.1/executionHistory/executionHistory.lock b/Week1/seminar/.gradle/8.2.1/executionHistory/executionHistory.lock new file mode 100644 index 0000000..0cc280f Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/executionHistory/executionHistory.lock differ diff --git a/Week1/seminar/.gradle/8.2.1/fileChanges/last-build.bin b/Week1/seminar/.gradle/8.2.1/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/fileChanges/last-build.bin differ diff --git a/Week1/seminar/.gradle/8.2.1/fileHashes/fileHashes.bin b/Week1/seminar/.gradle/8.2.1/fileHashes/fileHashes.bin new file mode 100644 index 0000000..e80886b Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/fileHashes/fileHashes.bin differ diff --git a/Week1/seminar/.gradle/8.2.1/fileHashes/fileHashes.lock b/Week1/seminar/.gradle/8.2.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000..6317e9e Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/fileHashes/fileHashes.lock differ diff --git a/Week1/seminar/.gradle/8.2.1/fileHashes/resourceHashesCache.bin b/Week1/seminar/.gradle/8.2.1/fileHashes/resourceHashesCache.bin new file mode 100644 index 0000000..f55b36c Binary files /dev/null and b/Week1/seminar/.gradle/8.2.1/fileHashes/resourceHashesCache.bin differ diff --git a/Week1/seminar/.gradle/8.2.1/gc.properties b/Week1/seminar/.gradle/8.2.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/Week1/seminar/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/Week1/seminar/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..0b338b9 Binary files /dev/null and b/Week1/seminar/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/Week1/seminar/.gradle/buildOutputCleanup/cache.properties b/Week1/seminar/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..1a4c4f7 --- /dev/null +++ b/Week1/seminar/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Thu Oct 12 17:58:39 KST 2023 +gradle.version=8.2.1 diff --git a/Week1/seminar/.gradle/buildOutputCleanup/outputFiles.bin b/Week1/seminar/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..fb5140d Binary files /dev/null and b/Week1/seminar/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/Week1/seminar/.gradle/file-system.probe b/Week1/seminar/.gradle/file-system.probe new file mode 100644 index 0000000..2bba51b Binary files /dev/null and b/Week1/seminar/.gradle/file-system.probe differ diff --git a/Week1/seminar/.gradle/vcs-1/gc.properties b/Week1/seminar/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/Week1/seminar/.idea/compiler.xml b/Week1/seminar/.idea/compiler.xml new file mode 100644 index 0000000..97d3707 --- /dev/null +++ b/Week1/seminar/.idea/compiler.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Week1/seminar/.idea/gradle.xml b/Week1/seminar/.idea/gradle.xml new file mode 100644 index 0000000..ce1c62c --- /dev/null +++ b/Week1/seminar/.idea/gradle.xml @@ -0,0 +1,16 @@ + + + + + + + \ No newline at end of file diff --git a/Week1/seminar/.idea/jarRepositories.xml b/Week1/seminar/.idea/jarRepositories.xml new file mode 100644 index 0000000..fdc392f --- /dev/null +++ b/Week1/seminar/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Week1/seminar/.idea/jpa-buddy.xml b/Week1/seminar/.idea/jpa-buddy.xml new file mode 100644 index 0000000..898e07a --- /dev/null +++ b/Week1/seminar/.idea/jpa-buddy.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/Week1/seminar/.idea/misc.xml b/Week1/seminar/.idea/misc.xml new file mode 100644 index 0000000..3f7765a --- /dev/null +++ b/Week1/seminar/.idea/misc.xml @@ -0,0 +1,11 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Week1/seminar/.idea/modules.xml b/Week1/seminar/.idea/modules.xml new file mode 100644 index 0000000..e0ad728 --- /dev/null +++ b/Week1/seminar/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Week1/seminar/.idea/modules/seminar.main.iml b/Week1/seminar/.idea/modules/seminar.main.iml new file mode 100644 index 0000000..afc1871 --- /dev/null +++ b/Week1/seminar/.idea/modules/seminar.main.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Week1/seminar/.idea/shelf/Uncommitted_changes_before_Checkout_at_2023_11_15_12_43_AM_[Changes]/shelved.patch b/Week1/seminar/.idea/shelf/Uncommitted_changes_before_Checkout_at_2023_11_15_12_43_AM_[Changes]/shelved.patch new file mode 100644 index 0000000..1476972 --- /dev/null +++ b/Week1/seminar/.idea/shelf/Uncommitted_changes_before_Checkout_at_2023_11_15_12_43_AM_[Changes]/shelved.patch @@ -0,0 +1,133 @@ +Index: .idea/workspace.xml +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP +<+>\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n + + + + + + + + + + + + + + + + + + + { + "keyToString": { + "RequestMappingsPanelOrder0": "0", + "RequestMappingsPanelOrder1": "1", + "RequestMappingsPanelWidth0": "75", + "RequestMappingsPanelWidth1": "75", + "RunOnceActivity.ShowReadmeOnStart": "true", + "WebServerToolWindowFactoryState": "false", + "git-widget-placeholder": "fist__seminar/#1", + "last_opened_file_path": "/Users/mihye/Desktop/SOPT/과제/mmihye/Week1/seminar", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "npm", + "project.structure.last.edited": "Modules", + "project.structure.proportion": "0.0", + "project.structure.side.proportion": "0.0", + "settings.editor.selected.configurable": "reference.settingsdialog.project.gradle", + "spring.configuration.checksum": "0b92280df95def67f05c696c1e7d4f22", + "vue.rearranger.settings.migration": "true" + } +} + + + + + + + + + + 1696662871780 + + + 1696910825803 + + + + + + + + + + + \ No newline at end of file diff --git a/Week1/seminar/HELP.md b/Week1/seminar/HELP.md new file mode 100755 index 0000000..5e958d5 --- /dev/null +++ b/Week1/seminar/HELP.md @@ -0,0 +1,22 @@ +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Gradle documentation](https://docs.gradle.org) +* [Spring Boot Gradle Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/3.0.11/gradle-plugin/reference/html/) +* [Create an OCI image](https://docs.spring.io/spring-boot/docs/3.0.11/gradle-plugin/reference/html/#build-image) +* [Spring Web](https://docs.spring.io/spring-boot/docs/3.0.11/reference/htmlsingle/index.html#web) + +### Guides +The following guides illustrate how to use some features concretely: + +* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) +* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) +* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/) + +### Additional Links +These additional references should also help you: + +* [Gradle Build Scans – insights for your project's build](https://scans.gradle.com#gradle) + diff --git a/Week1/seminar/build.gradle b/Week1/seminar/build.gradle new file mode 100644 index 0000000..87c2ac8 --- /dev/null +++ b/Week1/seminar/build.gradle @@ -0,0 +1,39 @@ +plugins { + id 'java' + id 'org.springframework.boot' version '3.0.11' + id 'io.spring.dependency-management' version '1.1.3' +} + +group = 'com.server.dosopt' +version = '0.0.1-SNAPSHOT' + +java { + sourceCompatibility = '17' +} + +configurations { + compileOnly { + extendsFrom annotationProcessor + } +} + +repositories { + mavenCentral() +} + +dependencies { + //jpa + implementation 'org.springframework.boot:spring-boot-starter-data-jpa' + + // H2 Datbase 추가 + runtimeOnly 'com.h2database:h2' + + implementation 'org.springframework.boot:spring-boot-starter-web' + compileOnly 'org.projectlombok:lombok' + annotationProcessor 'org.projectlombok:lombok' + testImplementation 'org.springframework.boot:spring-boot-starter-test' +} + +tasks.named('test') { + useJUnitPlatform() +} diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/ServerSeminarApplication.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/ServerSeminarApplication.class new file mode 100644 index 0000000..74389d4 Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/ServerSeminarApplication.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/controller/HealthCheckController.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/controller/HealthCheckController.class new file mode 100644 index 0000000..8672bff Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/controller/HealthCheckController.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/controller/MemberController.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/controller/MemberController.class new file mode 100644 index 0000000..68be6e3 Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/controller/MemberController.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/Member$MemberBuilder.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/Member$MemberBuilder.class new file mode 100644 index 0000000..5546c46 Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/Member$MemberBuilder.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/Member.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/Member.class new file mode 100644 index 0000000..c85cf71 Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/Member.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/Part.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/Part.class new file mode 100644 index 0000000..927dc57 Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/Part.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/SOPT.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/SOPT.class new file mode 100644 index 0000000..4ccac01 Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/domain/SOPT.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/request/MemberCreateRequest.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/request/MemberCreateRequest.class new file mode 100644 index 0000000..3e1343a Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/request/MemberCreateRequest.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/request/MemberProfileUpdateRequest.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/request/MemberProfileUpdateRequest.class new file mode 100644 index 0000000..b194b54 Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/request/MemberProfileUpdateRequest.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/response/HealthCheckResponse.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/response/HealthCheckResponse.class new file mode 100644 index 0000000..4df1bda Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/response/HealthCheckResponse.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/response/MemberGetResponse.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/response/MemberGetResponse.class new file mode 100644 index 0000000..40092be Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/dto/response/MemberGetResponse.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/reposiotry/MemberJpaRepository.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/reposiotry/MemberJpaRepository.class new file mode 100644 index 0000000..104b81d Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/reposiotry/MemberJpaRepository.class differ diff --git a/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/service/MemberService.class b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/service/MemberService.class new file mode 100644 index 0000000..5aae218 Binary files /dev/null and b/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/service/MemberService.class differ diff --git a/Week1/seminar/build/classes/java/test/com/server/dosopt/seminar/ServerSeminarApplicationTests.class b/Week1/seminar/build/classes/java/test/com/server/dosopt/seminar/ServerSeminarApplicationTests.class new file mode 100755 index 0000000..8d2279a Binary files /dev/null and b/Week1/seminar/build/classes/java/test/com/server/dosopt/seminar/ServerSeminarApplicationTests.class differ diff --git a/Week1/seminar/build/libs/seminar-0.0.1-SNAPSHOT-plain.jar b/Week1/seminar/build/libs/seminar-0.0.1-SNAPSHOT-plain.jar new file mode 100755 index 0000000..fb61f61 Binary files /dev/null and b/Week1/seminar/build/libs/seminar-0.0.1-SNAPSHOT-plain.jar differ diff --git a/Week1/seminar/build/libs/seminar-0.0.1-SNAPSHOT.jar b/Week1/seminar/build/libs/seminar-0.0.1-SNAPSHOT.jar new file mode 100755 index 0000000..4b95f8d Binary files /dev/null and b/Week1/seminar/build/libs/seminar-0.0.1-SNAPSHOT.jar differ diff --git a/Week1/seminar/build/reports/tests/test/classes/com.server.dosopt.seminar.ServerSeminarApplicationTests.html b/Week1/seminar/build/reports/tests/test/classes/com.server.dosopt.seminar.ServerSeminarApplicationTests.html new file mode 100755 index 0000000..e798f30 --- /dev/null +++ b/Week1/seminar/build/reports/tests/test/classes/com.server.dosopt.seminar.ServerSeminarApplicationTests.html @@ -0,0 +1,128 @@ + + + + + +Test results - ServerSeminarApplicationTests + + + + + +
+

ServerSeminarApplicationTests

+ +
+ + + + + +
+
+ + + + + + + +
+
+
1
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.197s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+ + + + + + + + + + + + + +
TestDurationResult
contextLoads()0.197spassed
+
+
+

Standard output

+ +
16:24:08.990 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Neither @ContextConfiguration nor @ContextHierarchy found for test class [ServerSeminarApplicationTests]: using SpringBootContextLoader
+16:24:08.992 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader -- Could not detect default resource locations for test class [com.server.dosopt.seminar.ServerSeminarApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
+16:24:08.993 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [com.server.dosopt.seminar.ServerSeminarApplicationTests]: ServerSeminarApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
+16:24:09.005 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Using ContextCustomizers for test class [ServerSeminarApplicationTests]: [DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, WebDriverContextCustomizer, ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer]
+16:24:09.040 [Test worker] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider -- Identified candidate component class: file [/Users/mihye/Desktop/SOPT/세미나/Week1/seminar/build/classes/java/main/com/server/dosopt/seminar/ServerSeminarApplication.class]
+16:24:09.041 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration com.server.dosopt.seminar.ServerSeminarApplication for test class com.server.dosopt.seminar.ServerSeminarApplicationTests
+16:24:09.088 [Test worker] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils -- Skipping candidate TestExecutionListener [org.springframework.test.context.observation.MicrometerObservationRegistryTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: io.micrometer.context.ThreadLocalAccessor. MicrometerObservationRegistryTestExecutionListener requires io.micrometer:micrometer-observation:1.10.8 or higher and io.micrometer:context-propagation:1.0.3 or higher.
+16:24:09.088 [Test worker] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils -- Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: org/springframework/transaction/interceptor/TransactionAttributeSource
+16:24:09.089 [Test worker] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils -- Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: org/springframework/transaction/interceptor/TransactionAttribute
+16:24:09.090 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Using TestExecutionListeners for test class [ServerSeminarApplicationTests]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener, ResetMocksTestExecutionListener]
+16:24:09.091 [Test worker] DEBUG org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener -- Before test class: class [ServerSeminarApplicationTests], class annotated with @DirtiesContext [false] with mode [null]
+
+  .   ____          _            __ _ _
+ /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
+( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
+ \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
+  '  |____| .__|_| |_|_| |_\__, | / / / /
+ =========|_|==============|___/=/_/_/_/
+ :: Spring Boot ::               (v3.0.11)
+
+2023-10-07T16:24:09.219+09:00  INFO 24572 --- [    Test worker] c.s.d.s.ServerSeminarApplicationTests    : Starting ServerSeminarApplicationTests using Java 20.0.1 with PID 24572 (started by mihye in /Users/mihye/Desktop/SOPT/세미나/Week1/seminar)
+2023-10-07T16:24:09.219+09:00  INFO 24572 --- [    Test worker] c.s.d.s.ServerSeminarApplicationTests    : No active profile set, falling back to 1 default profile: "default"
+2023-10-07T16:24:09.733+09:00  INFO 24572 --- [    Test worker] c.s.d.s.ServerSeminarApplicationTests    : Started ServerSeminarApplicationTests in 0.622 seconds (process running for 1.181)
+
+
+
+
+ +
+ + diff --git a/Week1/seminar/build/reports/tests/test/css/base-style.css b/Week1/seminar/build/reports/tests/test/css/base-style.css new file mode 100755 index 0000000..4afa73e --- /dev/null +++ b/Week1/seminar/build/reports/tests/test/css/base-style.css @@ -0,0 +1,179 @@ + +body { + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 12pt; +} + +body, a, a:visited { + color: #303030; +} + +#content { + padding-left: 50px; + padding-right: 50px; + padding-top: 30px; + padding-bottom: 30px; +} + +#content h1 { + font-size: 160%; + margin-bottom: 10px; +} + +#footer { + margin-top: 100px; + font-size: 80%; + white-space: nowrap; +} + +#footer, #footer a { + color: #a0a0a0; +} + +#line-wrapping-toggle { + vertical-align: middle; +} + +#label-for-line-wrapping-toggle { + vertical-align: middle; +} + +ul { + margin-left: 0; +} + +h1, h2, h3 { + white-space: nowrap; +} + +h2 { + font-size: 120%; +} + +ul.tabLinks { + padding-left: 0; + padding-top: 10px; + padding-bottom: 10px; + overflow: auto; + min-width: 800px; + width: auto !important; + width: 800px; +} + +ul.tabLinks li { + float: left; + height: 100%; + list-style: none; + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; + -moz-border-radius: 7px; + border-radius: 7px; + margin-right: 25px; + border: solid 1px #d4d4d4; + background-color: #f0f0f0; +} + +ul.tabLinks li:hover { + background-color: #fafafa; +} + +ul.tabLinks li.selected { + background-color: #c5f0f5; + border-color: #c5f0f5; +} + +ul.tabLinks a { + font-size: 120%; + display: block; + outline: none; + text-decoration: none; + margin: 0; + padding: 0; +} + +ul.tabLinks li h2 { + margin: 0; + padding: 0; +} + +div.tab { +} + +div.selected { + display: block; +} + +div.deselected { + display: none; +} + +div.tab table { + min-width: 350px; + width: auto !important; + width: 350px; + border-collapse: collapse; +} + +div.tab th, div.tab table { + border-bottom: solid #d0d0d0 1px; +} + +div.tab th { + text-align: left; + white-space: nowrap; + padding-left: 6em; +} + +div.tab th:first-child { + padding-left: 0; +} + +div.tab td { + white-space: nowrap; + padding-left: 6em; + padding-top: 5px; + padding-bottom: 5px; +} + +div.tab td:first-child { + padding-left: 0; +} + +div.tab td.numeric, div.tab th.numeric { + text-align: right; +} + +span.code { + display: inline-block; + margin-top: 0em; + margin-bottom: 1em; +} + +span.code pre { + font-size: 11pt; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + margin: 0; + background-color: #f7f7f7; + border: solid 1px #d0d0d0; + min-width: 700px; + width: auto !important; + width: 700px; +} + +span.wrapped pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: break-all; +} + +label.hidden { + display: none; +} \ No newline at end of file diff --git a/Week1/seminar/build/reports/tests/test/css/style.css b/Week1/seminar/build/reports/tests/test/css/style.css new file mode 100755 index 0000000..3dc4913 --- /dev/null +++ b/Week1/seminar/build/reports/tests/test/css/style.css @@ -0,0 +1,84 @@ + +#summary { + margin-top: 30px; + margin-bottom: 40px; +} + +#summary table { + border-collapse: collapse; +} + +#summary td { + vertical-align: top; +} + +.breadcrumbs, .breadcrumbs a { + color: #606060; +} + +.infoBox { + width: 110px; + padding-top: 15px; + padding-bottom: 15px; + text-align: center; +} + +.infoBox p { + margin: 0; +} + +.counter, .percent { + font-size: 120%; + font-weight: bold; + margin-bottom: 8px; +} + +#duration { + width: 125px; +} + +#successRate, .summaryGroup { + border: solid 2px #d0d0d0; + -moz-border-radius: 10px; + border-radius: 10px; +} + +#successRate { + width: 140px; + margin-left: 35px; +} + +#successRate .percent { + font-size: 180%; +} + +.success, .success a { + color: #008000; +} + +div.success, #successRate.success { + background-color: #bbd9bb; + border-color: #008000; +} + +.failures, .failures a { + color: #b60808; +} + +.skipped, .skipped a { + color: #c09853; +} + +div.failures, #successRate.failures { + background-color: #ecdada; + border-color: #b60808; +} + +ul.linkList { + padding-left: 0; +} + +ul.linkList li { + list-style: none; + margin-bottom: 5px; +} diff --git a/Week1/seminar/build/reports/tests/test/index.html b/Week1/seminar/build/reports/tests/test/index.html new file mode 100755 index 0000000..622f75e --- /dev/null +++ b/Week1/seminar/build/reports/tests/test/index.html @@ -0,0 +1,133 @@ + + + + + +Test results - Test Summary + + + + + +
+

Test Summary

+
+ + + + + +
+
+ + + + + + + +
+
+
1
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.197s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Packages

+ + + + + + + + + + + + + + + + + + + + + +
PackageTestsFailuresIgnoredDurationSuccess rate
+com.server.dosopt.seminar +1000.197s100%
+
+
+

Classes

+ + + + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+com.server.dosopt.seminar.ServerSeminarApplicationTests +1000.197s100%
+
+
+ +
+ + diff --git a/Week1/seminar/build/reports/tests/test/js/report.js b/Week1/seminar/build/reports/tests/test/js/report.js new file mode 100755 index 0000000..83bab4a --- /dev/null +++ b/Week1/seminar/build/reports/tests/test/js/report.js @@ -0,0 +1,194 @@ +(function (window, document) { + "use strict"; + + var tabs = {}; + + function changeElementClass(element, classValue) { + if (element.getAttribute("className")) { + element.setAttribute("className", classValue); + } else { + element.setAttribute("class", classValue); + } + } + + function getClassAttribute(element) { + if (element.getAttribute("className")) { + return element.getAttribute("className"); + } else { + return element.getAttribute("class"); + } + } + + function addClass(element, classValue) { + changeElementClass(element, getClassAttribute(element) + " " + classValue); + } + + function removeClass(element, classValue) { + changeElementClass(element, getClassAttribute(element).replace(classValue, "")); + } + + function initTabs() { + var container = document.getElementById("tabs"); + + tabs.tabs = findTabs(container); + tabs.titles = findTitles(tabs.tabs); + tabs.headers = findHeaders(container); + tabs.select = select; + tabs.deselectAll = deselectAll; + tabs.select(0); + + return true; + } + + function getCheckBox() { + return document.getElementById("line-wrapping-toggle"); + } + + function getLabelForCheckBox() { + return document.getElementById("label-for-line-wrapping-toggle"); + } + + function findCodeBlocks() { + var spans = document.getElementById("tabs").getElementsByTagName("span"); + var codeBlocks = []; + for (var i = 0; i < spans.length; ++i) { + if (spans[i].className.indexOf("code") >= 0) { + codeBlocks.push(spans[i]); + } + } + return codeBlocks; + } + + function forAllCodeBlocks(operation) { + var codeBlocks = findCodeBlocks(); + + for (var i = 0; i < codeBlocks.length; ++i) { + operation(codeBlocks[i], "wrapped"); + } + } + + function toggleLineWrapping() { + var checkBox = getCheckBox(); + + if (checkBox.checked) { + forAllCodeBlocks(addClass); + } else { + forAllCodeBlocks(removeClass); + } + } + + function initControls() { + if (findCodeBlocks().length > 0) { + var checkBox = getCheckBox(); + var label = getLabelForCheckBox(); + + checkBox.onclick = toggleLineWrapping; + checkBox.checked = false; + + removeClass(label, "hidden"); + } + } + + function switchTab() { + var id = this.id.substr(1); + + for (var i = 0; i < tabs.tabs.length; i++) { + if (tabs.tabs[i].id === id) { + tabs.select(i); + break; + } + } + + return false; + } + + function select(i) { + this.deselectAll(); + + changeElementClass(this.tabs[i], "tab selected"); + changeElementClass(this.headers[i], "selected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var h2 = document.createElement("H2"); + + h2.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(h2); + } + + function deselectAll() { + for (var i = 0; i < this.tabs.length; i++) { + changeElementClass(this.tabs[i], "tab deselected"); + changeElementClass(this.headers[i], "deselected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var a = document.createElement("A"); + + a.setAttribute("id", "ltab" + i); + a.setAttribute("href", "#tab" + i); + a.onclick = switchTab; + a.appendChild(document.createTextNode(this.titles[i])); + + this.headers[i].appendChild(a); + } + } + + function findTabs(container) { + return findChildElements(container, "DIV", "tab"); + } + + function findHeaders(container) { + var owner = findChildElements(container, "UL", "tabLinks"); + return findChildElements(owner[0], "LI", null); + } + + function findTitles(tabs) { + var titles = []; + + for (var i = 0; i < tabs.length; i++) { + var tab = tabs[i]; + var header = findChildElements(tab, "H2", null)[0]; + + header.parentNode.removeChild(header); + + if (header.innerText) { + titles.push(header.innerText); + } else { + titles.push(header.textContent); + } + } + + return titles; + } + + function findChildElements(container, name, targetClass) { + var elements = []; + var children = container.childNodes; + + for (var i = 0; i < children.length; i++) { + var child = children.item(i); + + if (child.nodeType === 1 && child.nodeName === name) { + if (targetClass && child.className.indexOf(targetClass) < 0) { + continue; + } + + elements.push(child); + } + } + + return elements; + } + + // Entry point. + + window.onload = function() { + initTabs(); + initControls(); + }; +} (window, window.document)); \ No newline at end of file diff --git a/Week1/seminar/build/reports/tests/test/packages/com.server.dosopt.seminar.html b/Week1/seminar/build/reports/tests/test/packages/com.server.dosopt.seminar.html new file mode 100755 index 0000000..b388194 --- /dev/null +++ b/Week1/seminar/build/reports/tests/test/packages/com.server.dosopt.seminar.html @@ -0,0 +1,103 @@ + + + + + +Test results - Package com.server.dosopt.seminar + + + + + +
+

Package com.server.dosopt.seminar

+ +
+ + + + + +
+
+ + + + + + + +
+
+
1
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
0.197s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Classes

+ + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+ServerSeminarApplicationTests +1000.197s100%
+
+
+ +
+ + diff --git a/Week1/seminar/build/resolvedMainClassName b/Week1/seminar/build/resolvedMainClassName new file mode 100755 index 0000000..5acfd61 --- /dev/null +++ b/Week1/seminar/build/resolvedMainClassName @@ -0,0 +1 @@ +com.server.dosopt.seminar.ServerSeminarApplication \ No newline at end of file diff --git a/Week1/seminar/build/resources/main/application.yml b/Week1/seminar/build/resources/main/application.yml new file mode 100644 index 0000000..502ab25 --- /dev/null +++ b/Week1/seminar/build/resources/main/application.yml @@ -0,0 +1,16 @@ +spring: + datasource: + driver-class-name: org.h2.Driver + url: jdbc:h2:tcp://localhost/~/database + username: sa + password: + + jpa: + show-sql: true + hibernate: + ddl-auto: create + properties: + hibernate: + format_sql: true + show_sql: true + diff --git a/Week1/seminar/build/resources/main/banner.txt b/Week1/seminar/build/resources/main/banner.txt new file mode 100644 index 0000000..033834c --- /dev/null +++ b/Week1/seminar/build/resources/main/banner.txt @@ -0,0 +1,7 @@ + , _ + )\ __`9) + _,/^`^(G)-' < + \(\a a ) / ) + `(v__/` ,_ (_, ) + mic `U) _,) )-(_/ + (_/ (_/ diff --git a/Week1/seminar/build/test-results/test/TEST-com.server.dosopt.seminar.ServerSeminarApplicationTests.xml b/Week1/seminar/build/test-results/test/TEST-com.server.dosopt.seminar.ServerSeminarApplicationTests.xml new file mode 100755 index 0000000..3633262 --- /dev/null +++ b/Week1/seminar/build/test-results/test/TEST-com.server.dosopt.seminar.ServerSeminarApplicationTests.xml @@ -0,0 +1,30 @@ + + + + + + + diff --git a/Week1/seminar/build/test-results/test/binary/output.bin b/Week1/seminar/build/test-results/test/binary/output.bin new file mode 100755 index 0000000..ea00cc3 Binary files /dev/null and b/Week1/seminar/build/test-results/test/binary/output.bin differ diff --git a/Week1/seminar/build/test-results/test/binary/output.bin.idx b/Week1/seminar/build/test-results/test/binary/output.bin.idx new file mode 100755 index 0000000..ed0745f Binary files /dev/null and b/Week1/seminar/build/test-results/test/binary/output.bin.idx differ diff --git a/Week1/seminar/build/test-results/test/binary/results.bin b/Week1/seminar/build/test-results/test/binary/results.bin new file mode 100755 index 0000000..7070f5e Binary files /dev/null and b/Week1/seminar/build/test-results/test/binary/results.bin differ diff --git a/Week1/seminar/build/tmp/bootJar/MANIFEST.MF b/Week1/seminar/build/tmp/bootJar/MANIFEST.MF new file mode 100755 index 0000000..ec52f2a --- /dev/null +++ b/Week1/seminar/build/tmp/bootJar/MANIFEST.MF @@ -0,0 +1,12 @@ +Manifest-Version: 1.0 +Main-Class: org.springframework.boot.loader.JarLauncher +Start-Class: com.server.dosopt.seminar.ServerSeminarApplication +Spring-Boot-Version: 3.0.11 +Spring-Boot-Classes: BOOT-INF/classes/ +Spring-Boot-Lib: BOOT-INF/lib/ +Spring-Boot-Classpath-Index: BOOT-INF/classpath.idx +Spring-Boot-Layers-Index: BOOT-INF/layers.idx +Build-Jdk-Spec: 17 +Implementation-Title: seminar +Implementation-Version: 0.0.1-SNAPSHOT + diff --git a/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/Member$MemberBuilder.class.uniqueId2 b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/Member$MemberBuilder.class.uniqueId2 new file mode 100644 index 0000000..5546c46 Binary files /dev/null and b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/Member$MemberBuilder.class.uniqueId2 differ diff --git a/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/Member.class.uniqueId0 b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/Member.class.uniqueId0 new file mode 100644 index 0000000..da72366 Binary files /dev/null and b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/Member.class.uniqueId0 differ diff --git a/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberController.class.uniqueId4 b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberController.class.uniqueId4 new file mode 100644 index 0000000..627432b Binary files /dev/null and b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberController.class.uniqueId4 differ diff --git a/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberGetResponse.class.uniqueId5 b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberGetResponse.class.uniqueId5 new file mode 100644 index 0000000..40092be Binary files /dev/null and b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberGetResponse.class.uniqueId5 differ diff --git a/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberJpaRepository.class.uniqueId3 b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberJpaRepository.class.uniqueId3 new file mode 100644 index 0000000..b179b21 Binary files /dev/null and b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberJpaRepository.class.uniqueId3 differ diff --git a/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberService.class.uniqueId1 b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberService.class.uniqueId1 new file mode 100644 index 0000000..05e29ea Binary files /dev/null and b/Week1/seminar/build/tmp/compileJava/compileTransaction/stash-dir/MemberService.class.uniqueId1 differ diff --git a/Week1/seminar/build/tmp/compileJava/previous-compilation-data.bin b/Week1/seminar/build/tmp/compileJava/previous-compilation-data.bin new file mode 100644 index 0000000..3ee2cca Binary files /dev/null and b/Week1/seminar/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/Week1/seminar/build/tmp/compileTestJava/previous-compilation-data.bin b/Week1/seminar/build/tmp/compileTestJava/previous-compilation-data.bin new file mode 100755 index 0000000..186e8eb Binary files /dev/null and b/Week1/seminar/build/tmp/compileTestJava/previous-compilation-data.bin differ diff --git a/Week1/seminar/build/tmp/jar/MANIFEST.MF b/Week1/seminar/build/tmp/jar/MANIFEST.MF new file mode 100755 index 0000000..59499bc --- /dev/null +++ b/Week1/seminar/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/Week1/seminar/gradle/wrapper/gradle-wrapper.jar b/Week1/seminar/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..033e24c Binary files /dev/null and b/Week1/seminar/gradle/wrapper/gradle-wrapper.jar differ diff --git a/Week1/seminar/gradle/wrapper/gradle-wrapper.properties b/Week1/seminar/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..9f4197d --- /dev/null +++ b/Week1/seminar/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip +networkTimeout=10000 +validateDistributionUrl=true +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/Week1/seminar/gradlew b/Week1/seminar/gradlew new file mode 100755 index 0000000..fcb6fca --- /dev/null +++ b/Week1/seminar/gradlew @@ -0,0 +1,248 @@ +#!/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. +# + +############################################################################## +# +# 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/subprojects/plugins/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##*/} +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || 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=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=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, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +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/Week1/seminar/gradlew.bat b/Week1/seminar/gradlew.bat new file mode 100644 index 0000000..93e3f59 --- /dev/null +++ b/Week1/seminar/gradlew.bat @@ -0,0 +1,92 @@ +@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 + +@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. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +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/Week1/seminar/out/production/classes/com/server/dosopt/seminar/ServerSeminarApplication.class b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/ServerSeminarApplication.class new file mode 100755 index 0000000..78fcf1b Binary files /dev/null and b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/ServerSeminarApplication.class differ diff --git a/Week1/seminar/out/production/classes/com/server/dosopt/seminar/controller/HealthCheckController.class b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/controller/HealthCheckController.class new file mode 100755 index 0000000..768fd0d Binary files /dev/null and b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/controller/HealthCheckController.class differ diff --git a/Week1/seminar/out/production/classes/com/server/dosopt/seminar/dto/HealthCheckResponse.class b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/dto/HealthCheckResponse.class new file mode 100755 index 0000000..066d2cc Binary files /dev/null and b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/dto/HealthCheckResponse.class differ diff --git a/Week1/seminar/out/production/classes/com/server/dosopt/seminar/sample/Person$PersonBuilder.class b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/sample/Person$PersonBuilder.class new file mode 100755 index 0000000..a6bcee6 Binary files /dev/null and b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/sample/Person$PersonBuilder.class differ diff --git a/Week1/seminar/out/production/classes/com/server/dosopt/seminar/sample/Person.class b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/sample/Person.class new file mode 100755 index 0000000..2f4ac62 Binary files /dev/null and b/Week1/seminar/out/production/classes/com/server/dosopt/seminar/sample/Person.class differ diff --git a/Week1/seminar/settings.gradle b/Week1/seminar/settings.gradle new file mode 100644 index 0000000..6b30e33 --- /dev/null +++ b/Week1/seminar/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'seminar' diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/ServerSeminarApplication.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/ServerSeminarApplication.java new file mode 100644 index 0000000..b7fddc3 --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/ServerSeminarApplication.java @@ -0,0 +1,13 @@ +package com.server.dosopt.seminar; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ServerSeminarApplication { + + public static void main(String[] args) { + SpringApplication.run(ServerSeminarApplication.class, args); + } + +} diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/controller/HealthCheckController.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/controller/HealthCheckController.java new file mode 100644 index 0000000..ef38086 --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/controller/HealthCheckController.java @@ -0,0 +1,52 @@ +package com.server.dosopt.seminar.controller; + +import com.server.dosopt.seminar.dto.response.HealthCheckResponse; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import java.util.HashMap; +import java.util.Map; + +@RestController +@RequestMapping("/health") +public class HealthCheckController { + + @GetMapping("/v1") + public Map healthCheck(){ + Map response = new HashMap<>(); + response.put("status", "OK"); + return response; + } + + @GetMapping("/v2") + public ResponseEntity healthCheckV2() { + return ResponseEntity.ok("ok"); + } + + @GetMapping("/v3") + public String healthCheckV3(){ + + // 빌더 패턴 +// Person person = Person.builder() +// .lastName("최") +// .firstName("윤한") +// .build(); + + return "OK"; + } + + @GetMapping("/v4") + public ResponseEntity> healthCheckV4() { + Map response = new HashMap<>(); + response.put("status", "OK"); + return ResponseEntity.ok(response); + } + + @GetMapping("/v5") + public ResponseEntity healthCheckV5(){ + return ResponseEntity.ok(new HealthCheckResponse()); + } + +} diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/controller/MemberController.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/controller/MemberController.java new file mode 100644 index 0000000..fc14557 --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/controller/MemberController.java @@ -0,0 +1,69 @@ +package com.server.dosopt.seminar.controller; + +import com.server.dosopt.seminar.dto.request.MemberCreateRequest; +import com.server.dosopt.seminar.dto.request.MemberProfileUpdateRequest; +import com.server.dosopt.seminar.dto.response.MemberGetResponse; +import com.server.dosopt.seminar.service.MemberService; +import lombok.Getter; +import lombok.RequiredArgsConstructor; +import org.apache.coyote.Response; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.net.URI; +import java.util.List; + +@RestController +@RequiredArgsConstructor +@RequestMapping("api/member") +public class MemberController { + + private final MemberService memberService; + + // 특정 사용자 정보 단건 조회 V1 + @GetMapping("{memberId}") + public ResponseEntity getMemberProfileV1(@PathVariable("memberId") Long memberId){ + MemberGetResponse response = memberService.getByIdV1(memberId); + return ResponseEntity.ok(response); + } + + // 특정 사용자 정보 단건 조회 V2 + @GetMapping(value = "{memberId}/v2", produces = "application/json") + public ResponseEntity getMemberProfileV2(@PathVariable Long memberId){ + return ResponseEntity.ok(memberService.getByIdV2(memberId)); + } + + // 목록 조회 + @GetMapping + public ResponseEntity> getMembersProfile(){ + return ResponseEntity.ok(memberService.getMembers()); + } + + // 생성 + @PostMapping + public ResponseEntity createMember(@RequestBody MemberCreateRequest request) { + URI location = URI.create("api/member/" + memberService.create(request)); + return ResponseEntity.created(location).build(); + + } + + // 수정 + @PatchMapping("/{memberId}") + public ResponseEntity updateMemberSoptInfo(@PathVariable Long memberId, @RequestBody MemberProfileUpdateRequest request) { + memberService.updateSOPT(memberId, request); + return ResponseEntity.noContent().build(); + } + + + // 삭제 + @DeleteMapping("/{memberId}") + public ResponseEntity deleteMember(@PathVariable Long memberId) { + memberService.deleteMember(memberId); + return ResponseEntity.noContent().build(); + } + + + + + +} diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/domain/Member.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/domain/Member.java new file mode 100644 index 0000000..919f442 --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/domain/Member.java @@ -0,0 +1,34 @@ +package com.server.dosopt.seminar.domain; + +import jakarta.persistence.*; +import lombok.AccessLevel; +import lombok.Builder; +import lombok.Getter; +import lombok.NoArgsConstructor; +@Entity +@Getter +@NoArgsConstructor(access = AccessLevel.PROTECTED) +public class Member { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + private String name; + private String nickname; + private int age; + + @Embedded + private SOPT sopt; + + @Builder + public Member(String name, String nickname, int age, SOPT sopt) { + this.name = name; + this.nickname = nickname; + this.age = age; + this.sopt = sopt; + } + + public void updateSOPT(SOPT sopt){ + this.sopt = sopt; + } +} diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/domain/Part.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/domain/Part.java new file mode 100644 index 0000000..f0697cd --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/domain/Part.java @@ -0,0 +1,17 @@ +package com.server.dosopt.seminar.domain; + +import lombok.AllArgsConstructor; +import lombok.Getter; + +@Getter +@AllArgsConstructor +public enum Part { + SERVER("서버"), + WEB("웹"), + ANDROID("안드로이드"), + IOS("iOS"), + PLAN("기획"), + DESIGN("디자인"); + + private final String name; +} diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/domain/SOPT.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/domain/SOPT.java new file mode 100644 index 0000000..e24cc7f --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/domain/SOPT.java @@ -0,0 +1,20 @@ +package com.server.dosopt.seminar.domain; + +import jakarta.persistence.Embeddable; +import jakarta.persistence.EnumType; +import jakarta.persistence.Enumerated; +import lombok.AccessLevel; +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; + +@Embeddable +@Getter +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor +public class SOPT { + private int generation; + + @Enumerated(EnumType.STRING) + private Part part; +} diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/request/MemberCreateRequest.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/request/MemberCreateRequest.java new file mode 100644 index 0000000..62a3d65 --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/request/MemberCreateRequest.java @@ -0,0 +1,13 @@ +package com.server.dosopt.seminar.dto.request; + +import com.server.dosopt.seminar.domain.SOPT; +import lombok.Data; + + +public record MemberCreateRequest( + String name, + String nickname, + int age, + SOPT sopt +) { +} \ No newline at end of file diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/request/MemberProfileUpdateRequest.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/request/MemberProfileUpdateRequest.java new file mode 100644 index 0000000..da0bcfb --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/request/MemberProfileUpdateRequest.java @@ -0,0 +1,10 @@ +package com.server.dosopt.seminar.dto.request; + +import com.server.dosopt.seminar.domain.Part; +import lombok.Data; + +@Data +public class MemberProfileUpdateRequest { + private int generation; + private Part part; +} \ No newline at end of file diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/response/HealthCheckResponse.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/response/HealthCheckResponse.java new file mode 100644 index 0000000..822fa19 --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/response/HealthCheckResponse.java @@ -0,0 +1,14 @@ +package com.server.dosopt.seminar.dto.response; + +import lombok.Getter; + +@Getter +public class HealthCheckResponse { + private static final String STATUS = "OK"; + + private String status; + + public HealthCheckResponse(){ + this.status = STATUS; + } +} diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/response/MemberGetResponse.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/response/MemberGetResponse.java new file mode 100644 index 0000000..d9561ab --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/dto/response/MemberGetResponse.java @@ -0,0 +1,21 @@ +package com.server.dosopt.seminar.dto.response; + +import com.server.dosopt.seminar.domain.Member; +import com.server.dosopt.seminar.domain.SOPT; +import lombok.Data; + +public record MemberGetResponse( + String name, + String nickname, + int age, + SOPT soptInfo +) { + public static MemberGetResponse of(Member member) { + return new MemberGetResponse( + member.getName(), + member.getNickname(), + member.getAge(), + member.getSopt() + ); + } +} diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/reposiotry/MemberJpaRepository.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/reposiotry/MemberJpaRepository.java new file mode 100644 index 0000000..a0208b4 --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/reposiotry/MemberJpaRepository.java @@ -0,0 +1,13 @@ +package com.server.dosopt.seminar.reposiotry; + +import com.server.dosopt.seminar.domain.Member; +import jakarta.persistence.EntityNotFoundException; +import org.springframework.data.jpa.repository.JpaRepository; + +public interface MemberJpaRepository extends JpaRepository { + + default Member findByIdOrThrow(Long memberId){ + return findById(memberId) + .orElseThrow(() ->new EntityNotFoundException("해당하는 회원이 없습니다")); + } +} \ No newline at end of file diff --git a/Week1/seminar/src/main/java/com/server/dosopt/seminar/service/MemberService.java b/Week1/seminar/src/main/java/com/server/dosopt/seminar/service/MemberService.java new file mode 100644 index 0000000..3b9b0e9 --- /dev/null +++ b/Week1/seminar/src/main/java/com/server/dosopt/seminar/service/MemberService.java @@ -0,0 +1,81 @@ +package com.server.dosopt.seminar.service; + +import com.server.dosopt.seminar.domain.Member; +import com.server.dosopt.seminar.domain.SOPT; +import com.server.dosopt.seminar.dto.request.MemberCreateRequest; +import com.server.dosopt.seminar.dto.request.MemberProfileUpdateRequest; +import com.server.dosopt.seminar.dto.response.MemberGetResponse; +import com.server.dosopt.seminar.reposiotry.MemberJpaRepository; +import jakarta.persistence.EntityNotFoundException; +import lombok.RequiredArgsConstructor; +import org.apache.coyote.Response; +import org.springframework.http.ResponseEntity; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; + +import java.net.URI; +import java.util.List; +import java.util.stream.Collectors; + +@Service +@RequiredArgsConstructor +@Transactional(readOnly = true) +public class MemberService { + + private final MemberJpaRepository memberJpaRepository; + + public MemberGetResponse getByIdV1(Long memberId) { + Member member = memberJpaRepository.findById(memberId).get(); + MemberGetResponse response = MemberGetResponse.of(member); + return response; + } + + + public MemberGetResponse getByIdV2(Long memberId) { + return MemberGetResponse.of(memberJpaRepository.findByIdOrThrow(memberId)); + } + + public List getMembers(){ + return memberJpaRepository.findAll() + .stream() +// .map(member -> MemberGetResponse.of(member)) + .map(MemberGetResponse::of) + .collect(Collectors.toList()); + + } + + // 메소드에 붙인 Transactional이 우선 적용 + @Transactional + public String create(MemberCreateRequest request){ + Member member = Member.builder() + .name(request.name()) + .nickname(request.nickname()) + .age(request.age()) + .sopt(request.sopt()) + .build(); + + return memberJpaRepository.save(member).getId().toString(); + } + + + private Member findById(Long memberId){ + return memberJpaRepository.findById(memberId).orElseThrow( + () -> new EntityNotFoundException("해당하는 회원이 없습니다.") + ); + } + + @Transactional + public void updateSOPT(Long memberId, MemberProfileUpdateRequest request) { + Member member = memberJpaRepository.findByIdOrThrow(memberId); + member.updateSOPT(new SOPT(request.getGeneration(), request.getPart())); + } + + + @Transactional + public void deleteMember(Long memberId) { + Member member = memberJpaRepository.findByIdOrThrow(memberId); + memberJpaRepository.delete(member); + } +} diff --git a/Week1/seminar/src/main/resources/application.yml b/Week1/seminar/src/main/resources/application.yml new file mode 100644 index 0000000..502ab25 --- /dev/null +++ b/Week1/seminar/src/main/resources/application.yml @@ -0,0 +1,16 @@ +spring: + datasource: + driver-class-name: org.h2.Driver + url: jdbc:h2:tcp://localhost/~/database + username: sa + password: + + jpa: + show-sql: true + hibernate: + ddl-auto: create + properties: + hibernate: + format_sql: true + show_sql: true + diff --git a/Week1/seminar/src/main/resources/banner.txt b/Week1/seminar/src/main/resources/banner.txt new file mode 100644 index 0000000..033834c --- /dev/null +++ b/Week1/seminar/src/main/resources/banner.txt @@ -0,0 +1,7 @@ + , _ + )\ __`9) + _,/^`^(G)-' < + \(\a a ) / ) + `(v__/` ,_ (_, ) + mic `U) _,) )-(_/ + (_/ (_/ diff --git a/Week1/seminar/src/test/java/com/server/dosopt/seminar/ServerSeminarApplicationTests.java b/Week1/seminar/src/test/java/com/server/dosopt/seminar/ServerSeminarApplicationTests.java new file mode 100644 index 0000000..83b0246 --- /dev/null +++ b/Week1/seminar/src/test/java/com/server/dosopt/seminar/ServerSeminarApplicationTests.java @@ -0,0 +1,13 @@ +package com.server.dosopt.seminar; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class ServerSeminarApplicationTests { + + @Test + void contextLoads() { + } + +}