-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
907 additions
and
1,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...lasang/common/annotation/ApiStatistics.kt → ...uwon/sulasang/annotation/ApiStatistics.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package univ.suwon.sulasang.common.annotation | ||
package univ.suwon.sulasang.annotation | ||
|
||
@Target(AnnotationTarget.FUNCTION) | ||
@Retention(AnnotationRetention.RUNTIME) | ||
annotation class ApiStatistics | ||
annotation class ApiStatistics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
sulasang-api/src/main/kotlin/univ/suwon/sulasang/common/config/CacheType.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
sulasang-api/src/main/kotlin/univ/suwon/sulasang/config/CacheType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package univ.suwon.sulasang.config | ||
|
||
|
||
enum class CacheType( | ||
val cacheName: String, | ||
val expiredAfterWrite: Long, | ||
val maximumSize: Long | ||
) { | ||
WEEKLY_DIET(WEEKLY_DIET_CACHE_NAME, CACHE_LIFE_TIME, MAXIMUM_CACHE_SIZE), | ||
DATE_TYPE_DIET(DATE_TYPE_CACHE_NAME, CACHE_LIFE_TIME, MAXIMUM_CACHE_SIZE) | ||
} | ||
|
||
const val WEEKLY_DIET_CACHE_NAME = "weekly-diet" | ||
const val DATE_TYPE_CACHE_NAME = "date-type-diet" | ||
|
||
const val CACHE_LIFE_TIME = 10 * 60L | ||
const val MAXIMUM_CACHE_SIZE = 1000L |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lasang/common/SuLaSangExceptionHandler.kt → ...asang/handler/SuLaSangExceptionHandler.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
...ng-crawler/src/main/kotlin/univ/suwon/sulasang/component/const/AceEducationCenterConst.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.