-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Feat : 토큰 업데이트 구현 * Feat : Controller DTO 수정 * Test : 회원가입 테스트 * Feat(batch) : batch 모듈 추가 및 초기 설정 * Feat(app) : 일기 시간 조회시 답변 타입도 같이 반환 * Feat(infra) : batch를 위한 meta DataSource 설정파일 * Feat(infra) : Schedule Repository Adapter계층 구현 * Feat(domain) : 도메인 계층 모델 정의 * Feat(domain) : 답변 작성시 알림 스케줄 이벤트 발행 - 추가적으로 SQS 로 메세지 발행 시, UserId 또한 포함하여 발송하도록 수정하였습니다. * Chore(etc) : 사용하지 않는 파일 제거 및 형식 변경 * Feat(batch) : build.gradle * Feat(batch) : config 추가 * Feat(batch) : Job 및 Step 구현 * Test(batch) : 일기 작성 알림 테스트 * Feat(domain) : schedule 엔티티 구현 * Feat(infra) : adapter 계층 구현 * Chore : 기타 파일 수정
- Loading branch information
Showing
55 changed files
with
1,147 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,3 +82,4 @@ replay_pid* | |
*.lock | ||
*.bin | ||
*.probe | ||
/clody-batch/build |
9 changes: 6 additions & 3 deletions
9
.../main/java/com/clody/clodyapi/diary/controller/dto/response/DiaryCreatedTimeResponse.java
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,11 +1,14 @@ | ||
package com.clody.clodyapi.diary.controller.dto.response; | ||
|
||
import com.clody.domain.reply.ReplyType; | ||
|
||
public record DiaryCreatedTimeResponse( | ||
int HH, | ||
int mm, | ||
int ss | ||
int ss, | ||
ReplyType replyType | ||
) { | ||
public static DiaryCreatedTimeResponse of(int HH, int mm, int ss) { | ||
return new DiaryCreatedTimeResponse(HH, mm, ss); | ||
public static DiaryCreatedTimeResponse of(int HH, int mm, int ss, ReplyType type) { | ||
return new DiaryCreatedTimeResponse(HH, mm, ss, type); | ||
} | ||
} |
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: 18 additions & 0 deletions
18
clody-app/src/test/java/com/clody/clodyapi/alarm/service/AlarmUpdateServiceTest.java
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,18 @@ | ||
package com.clody.clodyapi.alarm.service; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import org.junit.jupiter.api.extension.ExtendWith; | ||
import org.mockito.junit.jupiter.MockitoExtension; | ||
|
||
@ExtendWith(MockitoExtension.class) | ||
class AlarmUpdateServiceTest { | ||
|
||
@Test | ||
void updateAlarmInfo() { | ||
|
||
} | ||
|
||
@Test | ||
void updateFcmToken() { | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension | ||
import org.gradle.internal.impldep.org.junit.experimental.categories.Categories.CategoryFilter.include | ||
|
||
plugins { | ||
java | ||
id("org.springframework.boot") version "3.3.0" | ||
} | ||
|
||
group = "com.clody" | ||
version = "0.0.1-SNAPSHOT" | ||
|
||
java { | ||
toolchain { | ||
languageVersion = JavaLanguageVersion.of(21) | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation(project(":clody-domain")) | ||
implementation(project(":clody-infra")) | ||
implementation("org.springframework.boot:spring-boot-starter-batch") | ||
testImplementation("org.springframework.boot:spring-boot-starter-test") | ||
testImplementation("org.springframework.batch:spring-batch-test") | ||
testRuntimeOnly("org.junit.platform:junit-platform-launcher") | ||
implementation("org.springframework.boot:spring-boot-starter-data-jpa") | ||
|
||
//Lombok | ||
annotationProcessor("org.projectlombok:lombok") | ||
compileOnly("org.projectlombok:lombok") | ||
|
||
runtimeOnly("org.postgresql:postgresql") | ||
|
||
} | ||
|
||
tasks.withType<Test> { | ||
useJUnitPlatform() | ||
} | ||
|
||
the<DependencyManagementExtension>().apply { | ||
imports { | ||
mavenBom("org.springframework.cloud:spring-cloud-dependencies:${property("springCloudDependenciesVersion")}") | ||
} | ||
} |
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,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.