Skip to content

Commit

Permalink
fix: remove redis config
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Jul 1, 2024
1 parent e34a5f0 commit 8e7c61a
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 60 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ jobs:
with:
files: ./src/main/resources/config/application-prod.yml
env:
spring.data.redis.host: ${{ secrets.SPRING_REDIS_HOST }}
spring.data.redis.port: ${{ secrets.SPRING_REDIS_PORT }}
hero.master.datasource.url: ${{ secrets.HERO_MASTER_DATASOURCE_URL }}
hero.master.datasource.username: ${{ secrets.HERO_MASTER_DATASOURCE_USERNAME }}
hero.master.datasource.password: ${{ secrets.HERO_MASTER_DATASOURCE_PASSWORD }}
Expand Down
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-data-redis-reactive")
kapt("org.springframework.boot:spring-boot-configuration-processor")

/** kotlin */
Expand Down
43 changes: 0 additions & 43 deletions src/main/kotlin/com/hero/alignlab/config/redis/RedisConfig.kt

This file was deleted.

1 change: 0 additions & 1 deletion src/main/kotlin/com/hero/alignlab/exception/ErrorCode.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ enum class ErrorCode(val status: HttpStatus, val description: String) {
QUERY_DSL_NOT_EXISTS_ERROR(HttpStatus.NOT_FOUND, "not found query dsl"),
COROUTINE_CANCELLATION_ERROR(HttpStatus.BAD_REQUEST, "coroutine cancellation error"),
FAIL_TO_TRANSACTION_TEMPLATE_EXECUTE_ERROR(HttpStatus.BAD_REQUEST, "fail to tx-templates execute error"),
FAIL_TO_REDIS_EXECUTE_ERROR(HttpStatus.BAD_REQUEST, "fail to redis execute error"),

/** short url */
NOT_FOUND_SHORT_URL(HttpStatus.NOT_FOUND, "not found short url"),
Expand Down
4 changes: 0 additions & 4 deletions src/main/resources/config/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ spring:
serialization:
indent_output: true
write-null-map-values: true
data:
redis:
host: localhost
port: 6379

# DEV-DATABASE-COMMON
datasource: &dev-datasource
Expand Down
4 changes: 0 additions & 4 deletions src/main/resources/config/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ spring:
serialization:
indent_output: true
write-null-map-values: true
data:
redis:
host:
port:

# DATABASE
hero:
Expand Down
5 changes: 0 additions & 5 deletions src/main/resources/config/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ spring:
timeout-per-shutdown-phase: 5s # format : https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-external-config-conversion-duration
application:
name: hero-alignlab-api
data:
redis:
repositories:
enabled: false


# DATABASE
hero:
Expand Down

0 comments on commit 8e7c61a

Please sign in to comment.