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/ChoiSeungJun.iml b/.idea/ChoiSeungJun.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/ChoiSeungJun.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..69b5334 --- /dev/null +++ b/.idea/modules.xml @@ -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/firstSeminarAdvancedAssignment/.gradle/7.6.1/checksums/checksums.lock b/firstSeminarAdvancedAssignment/.gradle/7.6.1/checksums/checksums.lock new file mode 100644 index 0000000..daa6a0e Binary files /dev/null and b/firstSeminarAdvancedAssignment/.gradle/7.6.1/checksums/checksums.lock differ diff --git a/firstSeminarAdvancedAssignment/.gradle/7.6.1/checksums/md5-checksums.bin b/firstSeminarAdvancedAssignment/.gradle/7.6.1/checksums/md5-checksums.bin new file mode 100644 index 0000000..e6869d7 Binary files /dev/null and b/firstSeminarAdvancedAssignment/.gradle/7.6.1/checksums/md5-checksums.bin differ diff --git a/firstSeminarAdvancedAssignment/.gradle/7.6.1/checksums/sha1-checksums.bin b/firstSeminarAdvancedAssignment/.gradle/7.6.1/checksums/sha1-checksums.bin new file mode 100644 index 0000000..0db11e0 Binary files /dev/null and b/firstSeminarAdvancedAssignment/.gradle/7.6.1/checksums/sha1-checksums.bin differ diff --git a/firstSeminarAdvancedAssignment/.gradle/7.6.1/dependencies-accessors/dependencies-accessors.lock b/firstSeminarAdvancedAssignment/.gradle/7.6.1/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000..6942723 Binary files /dev/null and b/firstSeminarAdvancedAssignment/.gradle/7.6.1/dependencies-accessors/dependencies-accessors.lock differ diff --git a/firstSeminarAdvancedAssignment/.gradle/7.6.1/dependencies-accessors/gc.properties b/firstSeminarAdvancedAssignment/.gradle/7.6.1/dependencies-accessors/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/firstSeminarAdvancedAssignment/.gradle/7.6.1/executionHistory/executionHistory.lock b/firstSeminarAdvancedAssignment/.gradle/7.6.1/executionHistory/executionHistory.lock new file mode 100644 index 0000000..95992a7 Binary files /dev/null and b/firstSeminarAdvancedAssignment/.gradle/7.6.1/executionHistory/executionHistory.lock differ diff --git a/firstSeminarAdvancedAssignment/.gradle/7.6.1/fileChanges/last-build.bin b/firstSeminarAdvancedAssignment/.gradle/7.6.1/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/firstSeminarAdvancedAssignment/.gradle/7.6.1/fileChanges/last-build.bin differ diff --git a/firstSeminarAdvancedAssignment/.gradle/7.6.1/fileHashes/fileHashes.lock b/firstSeminarAdvancedAssignment/.gradle/7.6.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000..a331905 Binary files /dev/null and b/firstSeminarAdvancedAssignment/.gradle/7.6.1/fileHashes/fileHashes.lock differ diff --git a/firstSeminarAdvancedAssignment/.gradle/7.6.1/gc.properties b/firstSeminarAdvancedAssignment/.gradle/7.6.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/firstSeminarAdvancedAssignment/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/firstSeminarAdvancedAssignment/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..2dcbb7b Binary files /dev/null and b/firstSeminarAdvancedAssignment/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/firstSeminarAdvancedAssignment/.gradle/buildOutputCleanup/cache.properties b/firstSeminarAdvancedAssignment/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..27a4707 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Sun Apr 23 23:47:04 KST 2023 +gradle.version=7.6.1 diff --git a/firstSeminarAdvancedAssignment/.gradle/vcs-1/gc.properties b/firstSeminarAdvancedAssignment/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/firstSeminarAdvancedAssignment/.idea/compiler.xml b/firstSeminarAdvancedAssignment/.idea/compiler.xml new file mode 100644 index 0000000..d7f17a5 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/compiler.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__ch_qos_logback_logback_classic_1_2_11.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__ch_qos_logback_logback_classic_1_2_11.xml new file mode 100644 index 0000000..ad133f5 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__ch_qos_logback_logback_classic_1_2_11.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__ch_qos_logback_logback_core_1_2_11.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__ch_qos_logback_logback_core_1_2_11.xml new file mode 100644 index 0000000..7b34e9d --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__ch_qos_logback_logback_core_1_2_11.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__com_jayway_jsonpath_json_path_2_7_0.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__com_jayway_jsonpath_json_path_2_7_0.xml new file mode 100644 index 0000000..0bbc0f8 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__com_jayway_jsonpath_json_path_2_7_0.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml new file mode 100644 index 0000000..1a91429 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__jakarta_activation_jakarta_activation_api_1_2_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__jakarta_activation_jakarta_activation_api_1_2_2.xml new file mode 100644 index 0000000..d0a3d47 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__jakarta_activation_jakarta_activation_api_1_2_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__jakarta_annotation_jakarta_annotation_api_1_3_5.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__jakarta_annotation_jakarta_annotation_api_1_3_5.xml new file mode 100644 index 0000000..5858d1f --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__jakarta_annotation_jakarta_annotation_api_1_3_5.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml new file mode 100644 index 0000000..ae0cd8c --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_12_23.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_12_23.xml new file mode 100644 index 0000000..bf9031d --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_12_23.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_12_23.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_12_23.xml new file mode 100644 index 0000000..d29e505 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_12_23.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_minidev_accessors_smart_2_4_9.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_minidev_accessors_smart_2_4_9.xml new file mode 100644 index 0000000..e234b49 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_minidev_accessors_smart_2_4_9.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_minidev_json_smart_2_4_10.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_minidev_json_smart_2_4_10.xml new file mode 100644 index 0000000..e2a9478 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__net_minidev_json_smart_2_4_10.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_apache_logging_log4j_log4j_api_2_17_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_apache_logging_log4j_log4j_api_2_17_2.xml new file mode 100644 index 0000000..19f2073 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_apache_logging_log4j_log4j_api_2_17_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_apache_logging_log4j_log4j_to_slf4j_2_17_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_apache_logging_log4j_log4j_to_slf4j_2_17_2.xml new file mode 100644 index 0000000..abb8734 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_apache_logging_log4j_log4j_to_slf4j_2_17_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_apiguardian_apiguardian_api_1_1_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_apiguardian_apiguardian_api_1_1_2.xml new file mode 100644 index 0000000..ec7423e --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_apiguardian_apiguardian_api_1_1_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_assertj_assertj_core_3_22_0.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_assertj_assertj_core_3_22_0.xml new file mode 100644 index 0000000..54d01b6 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_assertj_assertj_core_3_22_0.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_hamcrest_hamcrest_2_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_hamcrest_hamcrest_2_2.xml new file mode 100644 index 0000000..6148d02 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_hamcrest_hamcrest_2_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_5_8_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_5_8_2.xml new file mode 100644 index 0000000..556089c --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_5_8_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_api_5_8_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_api_5_8_2.xml new file mode 100644 index 0000000..34a7f43 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_api_5_8_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_engine_5_8_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_engine_5_8_2.xml new file mode 100644 index 0000000..7e6bb5f --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_engine_5_8_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_params_5_8_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_params_5_8_2.xml new file mode 100644 index 0000000..b74af99 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_params_5_8_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_platform_junit_platform_commons_1_8_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_platform_junit_platform_commons_1_8_2.xml new file mode 100644 index 0000000..a591818 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_platform_junit_platform_commons_1_8_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_platform_junit_platform_engine_1_8_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_platform_junit_platform_engine_1_8_2.xml new file mode 100644 index 0000000..0512ca7 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_junit_platform_junit_platform_engine_1_8_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_mockito_mockito_core_4_5_1.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_mockito_mockito_core_4_5_1.xml new file mode 100644 index 0000000..c3cb265 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_mockito_mockito_core_4_5_1.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_mockito_mockito_junit_jupiter_4_5_1.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_mockito_mockito_junit_jupiter_4_5_1.xml new file mode 100644 index 0000000..e142344 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_mockito_mockito_junit_jupiter_4_5_1.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_objenesis_objenesis_3_2.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_objenesis_objenesis_3_2.xml new file mode 100644 index 0000000..c937a33 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_objenesis_objenesis_3_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_opentest4j_opentest4j_1_2_0.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_opentest4j_opentest4j_1_2_0.xml new file mode 100644 index 0000000..c0ad60c --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_opentest4j_opentest4j_1_2_0.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_ow2_asm_asm_9_3.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_ow2_asm_asm_9_3.xml new file mode 100644 index 0000000..42f5517 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_ow2_asm_asm_9_3.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_projectlombok_lombok_1_18_22.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_projectlombok_lombok_1_18_22.xml new file mode 100644 index 0000000..35682d3 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_projectlombok_lombok_1_18_22.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_skyscreamer_jsonassert_1_5_1.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_skyscreamer_jsonassert_1_5_1.xml new file mode 100644 index 0000000..63ba003 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_skyscreamer_jsonassert_1_5_1.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_slf4j_jul_to_slf4j_1_7_36.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_slf4j_jul_to_slf4j_1_7_36.xml new file mode 100644 index 0000000..954af90 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_slf4j_jul_to_slf4j_1_7_36.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_36.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_36.xml new file mode 100644 index 0000000..912652c --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_36.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_2_7_10.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_2_7_10.xml new file mode 100644 index 0000000..ab338a8 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_2_7_10.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_autoconfigure_2_7_10.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_autoconfigure_2_7_10.xml new file mode 100644 index 0000000..ea467a9 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_autoconfigure_2_7_10.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_2_7_10.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_2_7_10.xml new file mode 100644 index 0000000..ba10bce --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_2_7_10.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_logging_2_7_10.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_logging_2_7_10.xml new file mode 100644 index 0000000..8fce166 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_logging_2_7_10.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_test_2_7_10.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_test_2_7_10.xml new file mode 100644 index 0000000..6820281 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_test_2_7_10.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_test_2_7_10.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_test_2_7_10.xml new file mode 100644 index 0000000..b0c7123 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_test_2_7_10.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_test_autoconfigure_2_7_10.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_test_autoconfigure_2_7_10.xml new file mode 100644 index 0000000..b849c4f --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_boot_spring_boot_test_autoconfigure_2_7_10.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_aop_5_3_26.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_aop_5_3_26.xml new file mode 100644 index 0000000..9820f2a --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_aop_5_3_26.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_beans_5_3_26.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_beans_5_3_26.xml new file mode 100644 index 0000000..7240469 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_beans_5_3_26.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_context_5_3_26.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_context_5_3_26.xml new file mode 100644 index 0000000..0f93354 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_context_5_3_26.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_core_5_3_26.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_core_5_3_26.xml new file mode 100644 index 0000000..843e052 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_core_5_3_26.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_expression_5_3_26.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_expression_5_3_26.xml new file mode 100644 index 0000000..ff97ff7 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_expression_5_3_26.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_jcl_5_3_26.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_jcl_5_3_26.xml new file mode 100644 index 0000000..5436515 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_jcl_5_3_26.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_test_5_3_26.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_test_5_3_26.xml new file mode 100644 index 0000000..7cdbde1 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_springframework_spring_test_5_3_26.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_xmlunit_xmlunit_core_2_9_1.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_xmlunit_xmlunit_core_2_9_1.xml new file mode 100644 index 0000000..de6e5ae --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_xmlunit_xmlunit_core_2_9_1.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_yaml_snakeyaml_1_30.xml b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_yaml_snakeyaml_1_30.xml new file mode 100644 index 0000000..b458104 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/libraries/Gradle__org_yaml_snakeyaml_1_30.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/misc.xml b/firstSeminarAdvancedAssignment/.idea/misc.xml new file mode 100644 index 0000000..4adede7 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/modules.xml b/firstSeminarAdvancedAssignment/.idea/modules.xml new file mode 100644 index 0000000..e74ffaf --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/modules.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/modules/firstSeminarAdvancedAssignment.iml b/firstSeminarAdvancedAssignment/.idea/modules/firstSeminarAdvancedAssignment.iml new file mode 100644 index 0000000..8eaeaac --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/modules/firstSeminarAdvancedAssignment.iml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/modules/firstSeminarAdvancedAssignment_main.iml b/firstSeminarAdvancedAssignment/.idea/modules/firstSeminarAdvancedAssignment_main.iml new file mode 100644 index 0000000..ffa586a --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/modules/firstSeminarAdvancedAssignment_main.iml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/modules/firstSeminarAdvancedAssignment_test.iml b/firstSeminarAdvancedAssignment/.idea/modules/firstSeminarAdvancedAssignment_test.iml new file mode 100644 index 0000000..1464329 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/modules/firstSeminarAdvancedAssignment_test.iml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/vcs.xml b/firstSeminarAdvancedAssignment/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/.idea/workspace.xml b/firstSeminarAdvancedAssignment/.idea/workspace.xml new file mode 100644 index 0000000..f6364aa --- /dev/null +++ b/firstSeminarAdvancedAssignment/.idea/workspace.xml @@ -0,0 +1,243 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1681712523334 + + + 1681796138259 + + + 1681797031637 + + + 1681797166310 + + + 1681798099734 + + + 1681798818004 + + + 1681802503847 + + + 1681803951987 + + + 1681804407534 + + + 1681804797880 + + + 1681809880866 + + + 1681810011831 + + + 1681813156362 + + + 1681813645548 + + + 1681813749471 + + + 1681814198362 + + + 1681815006346 + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/firstSeminarAdvancedAssignment/out/production/resources/application.properties b/firstSeminarAdvancedAssignment/out/production/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/firstSeminarAdvancedAssignment/out/production/resources/application.properties @@ -0,0 +1 @@ + diff --git a/secondSeminarAdvancedAssignment/.gitignore b/secondSeminarAdvancedAssignment/.gitignore new file mode 100644 index 0000000..c2065bc --- /dev/null +++ b/secondSeminarAdvancedAssignment/.gitignore @@ -0,0 +1,37 @@ +HELP.md +.gradle +build/ +!gradle/wrapper/gradle-wrapper.jar +!**/src/main/**/build/ +!**/src/test/**/build/ + +### 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/secondSeminarAdvancedAssignment/build.gradle b/secondSeminarAdvancedAssignment/build.gradle new file mode 100644 index 0000000..ba82953 --- /dev/null +++ b/secondSeminarAdvancedAssignment/build.gradle @@ -0,0 +1,30 @@ +plugins { + id 'java' + id 'org.springframework.boot' version '2.7.11' + id 'io.spring.dependency-management' version '1.0.15.RELEASE' +} + +group = 'sopt.org' +version = '0.0.1-SNAPSHOT' +sourceCompatibility = '11' + +configurations { + compileOnly { + extendsFrom annotationProcessor + } +} + +repositories { + mavenCentral() +} + +dependencies { + 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/secondSeminarAdvancedAssignment/gradle/wrapper/gradle-wrapper.jar b/secondSeminarAdvancedAssignment/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..249e583 Binary files /dev/null and b/secondSeminarAdvancedAssignment/gradle/wrapper/gradle-wrapper.jar differ diff --git a/secondSeminarAdvancedAssignment/gradle/wrapper/gradle-wrapper.properties b/secondSeminarAdvancedAssignment/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..774fae8 --- /dev/null +++ b/secondSeminarAdvancedAssignment/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/secondSeminarAdvancedAssignment/gradlew b/secondSeminarAdvancedAssignment/gradlew new file mode 100644 index 0000000..a69d9cb --- /dev/null +++ b/secondSeminarAdvancedAssignment/gradlew @@ -0,0 +1,240 @@ +#!/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 \ + "$@" + +# 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/secondSeminarAdvancedAssignment/gradlew.bat b/secondSeminarAdvancedAssignment/gradlew.bat new file mode 100644 index 0000000..f127cfd --- /dev/null +++ b/secondSeminarAdvancedAssignment/gradlew.bat @@ -0,0 +1,91 @@ +@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% 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/secondSeminarAdvancedAssignment/settings.gradle b/secondSeminarAdvancedAssignment/settings.gradle new file mode 100644 index 0000000..2ac96d3 --- /dev/null +++ b/secondSeminarAdvancedAssignment/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'secondSeminarAdvancedAssignment' diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/SecondSeminarAdvancedAssignmentApplication.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/SecondSeminarAdvancedAssignmentApplication.java new file mode 100644 index 0000000..1c7f74b --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/SecondSeminarAdvancedAssignmentApplication.java @@ -0,0 +1,13 @@ +package sopt.org.secondSeminarAdvancedAssignment; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SecondSeminarAdvancedAssignmentApplication { + + public static void main(String[] args) { + SpringApplication.run(SecondSeminarAdvancedAssignmentApplication.class, args); + } + +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/controller/ResponseEntityGenerator.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/controller/ResponseEntityGenerator.java new file mode 100644 index 0000000..695a340 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/controller/ResponseEntityGenerator.java @@ -0,0 +1,30 @@ +package sopt.org.secondSeminarAdvancedAssignment.controller; + +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import sopt.org.secondSeminarAdvancedAssignment.domain.User; + +import java.util.Optional; + +public abstract class ResponseEntityGenerator { + + protected ResponseEntity generateSaveResponseEntity(boolean saveResult) { + return (saveResult) ? + new ResponseEntity<>("정보가 성공적으로 등록 되었습니다.", HttpStatus.OK): + new ResponseEntity<>("등록에 실패하였습니다.", HttpStatus.NO_CONTENT); + } + + protected abstract ResponseEntity generateFindResponseEntity(Optional domain, Long id); + + protected ResponseEntity generateUpdateResponseEntity(boolean updateResult, Long id) { + return (updateResult) ? + new ResponseEntity<>(id + "번 데이터에 대한 정보가 성공적으로 업데이트 되었습니다.", HttpStatus.OK): + new ResponseEntity<>(id + "번 데이터에 대한 정보가 존재하지 않습니다.", HttpStatus.NO_CONTENT); + } + + protected ResponseEntity generateDeleteResponseEntity(boolean deleteResult, Long id) { + return (deleteResult) ? + new ResponseEntity<>(id + "번 데이터에 대한 정보가 성공적으로 삭제 되었습니다.", HttpStatus.OK): + new ResponseEntity<>(id + "번 데이터에 대한 정보가 존재하지 않습니다.", HttpStatus.NO_CONTENT); + } +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/controller/UserController.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/controller/UserController.java new file mode 100644 index 0000000..7942773 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/controller/UserController.java @@ -0,0 +1,56 @@ +package sopt.org.secondSeminarAdvancedAssignment.controller; + + +import lombok.RequiredArgsConstructor; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; +import sopt.org.secondSeminarAdvancedAssignment.domain.User; +import sopt.org.secondSeminarAdvancedAssignment.dto.UserRequestDto; +import sopt.org.secondSeminarAdvancedAssignment.service.UserService; + +import java.util.Optional; + +@RestController +@RequestMapping(value = "/user", produces = "application/json; charset=UTF8") +@RequiredArgsConstructor +public class UserController extends ResponseEntityGenerator{ + private final UserService userService; + + @PostMapping("/save") + public ResponseEntity saveUser(@RequestBody final UserRequestDto userRequestDto) { + boolean saveResult = userService.saveUser(userRequestDto); + + return generateSaveResponseEntity(saveResult); + } + + @GetMapping("/{userId}") + public ResponseEntity findUser(@PathVariable final Long userId) { + Optional findUser = userService.findUserById(userId); + + return generateFindResponseEntity(findUser, userId); + } + + @PutMapping("/update/{userId}") + public ResponseEntity updateUser(@PathVariable final Long userId, @RequestBody final UserRequestDto userRequestDto) { + boolean updateResult = userService.updateUser(userId, userRequestDto); + + return generateUpdateResponseEntity(updateResult, userId); + } + + @DeleteMapping("/delete/{userId}") + public ResponseEntity updateUser(@PathVariable final Long userId) { + boolean deleteResult = userService.deleteUser(userId); + + return generateDeleteResponseEntity(deleteResult, userId); + } + + + @Override + public ResponseEntity generateFindResponseEntity(Optional user, final Long userId) { + return (user.isEmpty()) ? + new ResponseEntity<>(userId + "번 유저에 대한 정보가 존재하지 않습니다.", HttpStatus.NO_CONTENT) : + new ResponseEntity<>(((User)user.get()).toDto(userId), HttpStatus.OK); + } + +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/domain/User.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/domain/User.java new file mode 100644 index 0000000..824e130 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/domain/User.java @@ -0,0 +1,25 @@ +package sopt.org.secondSeminarAdvancedAssignment.domain; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Getter; +import sopt.org.secondSeminarAdvancedAssignment.dto.UserRequestDto; +import sopt.org.secondSeminarAdvancedAssignment.dto.UserResponseDto; + +@Builder +@Getter +@AllArgsConstructor +public class User { + + private String name; + private Integer age; + + public UserResponseDto toDto(Long userId) { + return new UserResponseDto(userId, name, age); + } + + public void update(UserRequestDto userRequestDto) { + this.name = userRequestDto.getName(); + this.age = userRequestDto.getAge(); + } +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/dto/UserRequestDto.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/dto/UserRequestDto.java new file mode 100644 index 0000000..2e5c9a3 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/dto/UserRequestDto.java @@ -0,0 +1,24 @@ +package sopt.org.secondSeminarAdvancedAssignment.dto; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Getter; +import lombok.NoArgsConstructor; +import sopt.org.secondSeminarAdvancedAssignment.domain.User; + +@Builder +@AllArgsConstructor +@NoArgsConstructor +@Getter +public class UserRequestDto { + private String name; + private Integer age; + + + public User from() { + return User.builder() + .name(name) + .age(age) + .build(); + } +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/dto/UserResponseDto.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/dto/UserResponseDto.java new file mode 100644 index 0000000..9c02f50 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/dto/UserResponseDto.java @@ -0,0 +1,15 @@ +package sopt.org.secondSeminarAdvancedAssignment.dto; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Getter; + +@Builder +@AllArgsConstructor +@Getter +public class UserResponseDto { + + private Long id; + private String name; + private Integer age; +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/repository/UserRepository.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/repository/UserRepository.java new file mode 100644 index 0000000..caaf21e --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/repository/UserRepository.java @@ -0,0 +1,19 @@ +package sopt.org.secondSeminarAdvancedAssignment.repository; + +import sopt.org.secondSeminarAdvancedAssignment.domain.User; + +import java.util.HashMap; +import java.util.Map; +import java.util.Optional; + +public interface UserRepository { + Map userData = new HashMap<>(); + + void save(User user); + + Optional find(Long userId); + + void update(Long userId, User user); + + void delete(Long userId); +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/repository/UserRepositoryImpl.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/repository/UserRepositoryImpl.java new file mode 100644 index 0000000..189359b --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/repository/UserRepositoryImpl.java @@ -0,0 +1,41 @@ +package sopt.org.secondSeminarAdvancedAssignment.repository; + +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Repository; +import sopt.org.secondSeminarAdvancedAssignment.domain.User; + +import java.util.Optional; + +import static sopt.org.secondSeminarAdvancedAssignment.repository.UserSequence.userSeq; + +@Repository +@Slf4j +public class UserRepositoryImpl implements UserRepository { + + @Override + public void save(User user) { + userData.put(++userSeq, user); + } + + @Override + public Optional find(Long userId) { + Optional user; + try { + user = Optional.of(userData.get(userId)); + } catch (Exception e) { + user = Optional.empty(); + } + + return user; + } + + @Override + public void update(Long userId, User user) { + userData.replace(userId, user); + } + + @Override + public void delete(Long userId) { + userData.remove(userId); + } +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/repository/UserSequence.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/repository/UserSequence.java new file mode 100644 index 0000000..08eca57 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/repository/UserSequence.java @@ -0,0 +1,5 @@ +package sopt.org.secondSeminarAdvancedAssignment.repository; + +public class UserSequence { + protected static Long userSeq = 0L; +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/service/UserService.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/service/UserService.java new file mode 100644 index 0000000..c591319 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/service/UserService.java @@ -0,0 +1,18 @@ +package sopt.org.secondSeminarAdvancedAssignment.service; + +import sopt.org.secondSeminarAdvancedAssignment.domain.User; +import sopt.org.secondSeminarAdvancedAssignment.dto.UserRequestDto; +import sopt.org.secondSeminarAdvancedAssignment.dto.UserResponseDto; + +import java.util.Optional; + +public interface UserService{ + + boolean saveUser(UserRequestDto userDto); + + Optional findUserById(Long userId); + + boolean updateUser(Long userId, UserRequestDto userDto); + + boolean deleteUser(Long userId); +} diff --git a/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/service/UserServiceImpl.java b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/service/UserServiceImpl.java new file mode 100644 index 0000000..b3503f5 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/java/sopt/org/secondSeminarAdvancedAssignment/service/UserServiceImpl.java @@ -0,0 +1,67 @@ +package sopt.org.secondSeminarAdvancedAssignment.service; + +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; +import sopt.org.secondSeminarAdvancedAssignment.domain.User; +import sopt.org.secondSeminarAdvancedAssignment.dto.UserRequestDto; +import sopt.org.secondSeminarAdvancedAssignment.repository.UserRepository; + +import java.util.Optional; + +@Service +@RequiredArgsConstructor +public class UserServiceImpl implements UserService { + private final UserRepository userRepository; + + @Override + public boolean saveUser(UserRequestDto userDto) { + boolean saveResult = true; + + try { + userRepository.save(userDto.from()); + } catch (Exception e) { + saveResult = false; + } + + return saveResult; + } + + @Override + public Optional findUserById(Long userId) { + return userRepository.find(userId); + } + + @Override + public boolean updateUser(Long userId, UserRequestDto updateDto) { + boolean updateResult = true; + + Optional user = userRepository.find(userId); + + if(user.isEmpty()) { + updateResult = false; + return updateResult; + } + + User updatedUser = user.get(); + updatedUser.update(updateDto); + + userRepository.update(userId, updatedUser); + + return updateResult; + } + + @Override + public boolean deleteUser(Long userId) { + boolean deleteResult = true; + + Optional user = userRepository.find(userId); + + if(user.isEmpty()) { + deleteResult = false; + return deleteResult; + } + + userRepository.delete(userId); + return deleteResult; + } +} diff --git a/secondSeminarAdvancedAssignment/src/main/resources/application.properties b/secondSeminarAdvancedAssignment/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/secondSeminarAdvancedAssignment/src/test/java/sopt/org/secondSeminarAdvancedAssignment/SecondSeminarAdvancedAssignmentApplicationTests.java b/secondSeminarAdvancedAssignment/src/test/java/sopt/org/secondSeminarAdvancedAssignment/SecondSeminarAdvancedAssignmentApplicationTests.java new file mode 100644 index 0000000..f76f0d7 --- /dev/null +++ b/secondSeminarAdvancedAssignment/src/test/java/sopt/org/secondSeminarAdvancedAssignment/SecondSeminarAdvancedAssignmentApplicationTests.java @@ -0,0 +1,13 @@ +package sopt.org.secondSeminarAdvancedAssignment; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class SecondSeminarAdvancedAssignmentApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/thirdSeminar/.gradle/7.6.1/checksums/checksums.lock b/thirdSeminar/.gradle/7.6.1/checksums/checksums.lock new file mode 100644 index 0000000..760d3dd Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/checksums/checksums.lock differ diff --git a/thirdSeminar/.gradle/7.6.1/checksums/md5-checksums.bin b/thirdSeminar/.gradle/7.6.1/checksums/md5-checksums.bin new file mode 100644 index 0000000..cf0116e Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/checksums/md5-checksums.bin differ diff --git a/thirdSeminar/.gradle/7.6.1/checksums/sha1-checksums.bin b/thirdSeminar/.gradle/7.6.1/checksums/sha1-checksums.bin new file mode 100644 index 0000000..7484dff Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/checksums/sha1-checksums.bin differ diff --git a/thirdSeminar/.gradle/7.6.1/dependencies-accessors/dependencies-accessors.lock b/thirdSeminar/.gradle/7.6.1/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000..3335a02 Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/dependencies-accessors/dependencies-accessors.lock differ diff --git a/thirdSeminar/.gradle/7.6.1/dependencies-accessors/gc.properties b/thirdSeminar/.gradle/7.6.1/dependencies-accessors/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/thirdSeminar/.gradle/7.6.1/executionHistory/executionHistory.bin b/thirdSeminar/.gradle/7.6.1/executionHistory/executionHistory.bin new file mode 100644 index 0000000..758a3c2 Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/executionHistory/executionHistory.bin differ diff --git a/thirdSeminar/.gradle/7.6.1/executionHistory/executionHistory.lock b/thirdSeminar/.gradle/7.6.1/executionHistory/executionHistory.lock new file mode 100644 index 0000000..3072d43 Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/executionHistory/executionHistory.lock differ diff --git a/thirdSeminar/.gradle/7.6.1/fileChanges/last-build.bin b/thirdSeminar/.gradle/7.6.1/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/fileChanges/last-build.bin differ diff --git a/thirdSeminar/.gradle/7.6.1/fileHashes/fileHashes.bin b/thirdSeminar/.gradle/7.6.1/fileHashes/fileHashes.bin new file mode 100644 index 0000000..fb11705 Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/fileHashes/fileHashes.bin differ diff --git a/thirdSeminar/.gradle/7.6.1/fileHashes/fileHashes.lock b/thirdSeminar/.gradle/7.6.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000..44ff201 Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/fileHashes/fileHashes.lock differ diff --git a/thirdSeminar/.gradle/7.6.1/fileHashes/resourceHashesCache.bin b/thirdSeminar/.gradle/7.6.1/fileHashes/resourceHashesCache.bin new file mode 100644 index 0000000..4395bee Binary files /dev/null and b/thirdSeminar/.gradle/7.6.1/fileHashes/resourceHashesCache.bin differ diff --git a/thirdSeminar/.gradle/7.6.1/gc.properties b/thirdSeminar/.gradle/7.6.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/thirdSeminar/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/thirdSeminar/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..a2e7eb1 Binary files /dev/null and b/thirdSeminar/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/thirdSeminar/.gradle/buildOutputCleanup/cache.properties b/thirdSeminar/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..c57cebb --- /dev/null +++ b/thirdSeminar/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Sat Apr 22 16:15:45 KST 2023 +gradle.version=7.6.1 diff --git a/thirdSeminar/.gradle/buildOutputCleanup/outputFiles.bin b/thirdSeminar/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..71ea025 Binary files /dev/null and b/thirdSeminar/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/thirdSeminar/.gradle/file-system.probe b/thirdSeminar/.gradle/file-system.probe new file mode 100644 index 0000000..cbc2eaa Binary files /dev/null and b/thirdSeminar/.gradle/file-system.probe differ diff --git a/thirdSeminar/.gradle/vcs-1/gc.properties b/thirdSeminar/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/thirdSeminar/.idea/.gitignore b/thirdSeminar/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/thirdSeminar/.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/thirdSeminar/.idea/compiler.xml b/thirdSeminar/.idea/compiler.xml new file mode 100644 index 0000000..fefc2d2 --- /dev/null +++ b/thirdSeminar/.idea/compiler.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/thirdSeminar/.idea/gradle.xml b/thirdSeminar/.idea/gradle.xml new file mode 100644 index 0000000..666de69 --- /dev/null +++ b/thirdSeminar/.idea/gradle.xml @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/thirdSeminar/.idea/jarRepositories.xml b/thirdSeminar/.idea/jarRepositories.xml new file mode 100644 index 0000000..fdc392f --- /dev/null +++ b/thirdSeminar/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/thirdSeminar/.idea/misc.xml b/thirdSeminar/.idea/misc.xml new file mode 100644 index 0000000..2de045e --- /dev/null +++ b/thirdSeminar/.idea/misc.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/thirdSeminar/.idea/vcs.xml b/thirdSeminar/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/thirdSeminar/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/thirdSeminar/HELP.md b/thirdSeminar/HELP.md new file mode 100644 index 0000000..8fe5fdc --- /dev/null +++ b/thirdSeminar/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/2.7.11/gradle-plugin/reference/html/) +* [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.7.11/gradle-plugin/reference/html/#build-image) +* [Spring Web](https://docs.spring.io/spring-boot/docs/2.7.11/reference/htmlsingle/#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/thirdSeminar/build/resources/main/application.yaml b/thirdSeminar/build/resources/main/application.yaml new file mode 100644 index 0000000..c961207 --- /dev/null +++ b/thirdSeminar/build/resources/main/application.yaml @@ -0,0 +1,22 @@ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/sopt_32?useSSL=true&useUnicode=true&serverTimezone=Asia/Seoul + username: root + password: 1234 + + jpa: + show-sql: true + hibernate: + ddl-auto: update + properties: + hibernate: + format_sql: true + +logging: + level: + org: + hibernate: + type: + descriptor: + sql: trace \ No newline at end of file diff --git a/thirdSeminar/build/tmp/compileJava/previous-compilation-data.bin b/thirdSeminar/build/tmp/compileJava/previous-compilation-data.bin new file mode 100644 index 0000000..1f864a3 Binary files /dev/null and b/thirdSeminar/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/thirdSeminar/out/production/resources/application.yaml b/thirdSeminar/out/production/resources/application.yaml new file mode 100644 index 0000000..c961207 --- /dev/null +++ b/thirdSeminar/out/production/resources/application.yaml @@ -0,0 +1,22 @@ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/sopt_32?useSSL=true&useUnicode=true&serverTimezone=Asia/Seoul + username: root + password: 1234 + + jpa: + show-sql: true + hibernate: + ddl-auto: update + properties: + hibernate: + format_sql: true + +logging: + level: + org: + hibernate: + type: + descriptor: + sql: trace \ No newline at end of file