-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from kSideProject/dev
syn
- Loading branch information
Showing
142 changed files
with
3,593 additions
and
1,107 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] # push 되었을 때, 실행 | ||
|
||
jobs: | ||
cd: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# jdk 21 환경 구성 | ||
- name: set up jdk 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '21' | ||
|
||
# Gradle wrapper 파일 실행 권한주기 | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
# Gradle jib를 통한 이미지 배포 | ||
- name: update image using jib | ||
run: ./gradlew --info jib |
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
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 was deleted.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
chat/src/main/kotlin/kpring/chat/chat/repository/RoomChatRepository.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,15 +1,15 @@ | ||
package kpring.chat.chat.repository | ||
|
||
import kpring.chat.chat.model.RoomChat | ||
import kpring.chat.chat.model.Chat | ||
import org.springframework.data.domain.Pageable | ||
import org.springframework.data.mongodb.repository.MongoRepository | ||
import org.springframework.data.querydsl.QuerydslPredicateExecutor | ||
import org.springframework.stereotype.Repository | ||
|
||
@Repository | ||
interface RoomChatRepository : MongoRepository<RoomChat, String>, QuerydslPredicateExecutor<RoomChat> { | ||
fun findAllByRoomId( | ||
roomId: String, | ||
interface RoomChatRepository : MongoRepository<Chat, String>, QuerydslPredicateExecutor<Chat> { | ||
fun findAllByContextId( | ||
contextId: String, | ||
pageable: Pageable, | ||
): List<RoomChat> | ||
): List<Chat> | ||
} |
8 changes: 4 additions & 4 deletions
8
chat/src/main/kotlin/kpring/chat/chat/repository/ServerChatRepository.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,15 +1,15 @@ | ||
package kpring.chat.chat.repository | ||
|
||
import kpring.chat.chat.model.ServerChat | ||
import kpring.chat.chat.model.Chat | ||
import org.springframework.data.domain.Pageable | ||
import org.springframework.data.mongodb.repository.MongoRepository | ||
import org.springframework.data.querydsl.QuerydslPredicateExecutor | ||
import org.springframework.stereotype.Repository | ||
|
||
@Repository | ||
interface ServerChatRepository : MongoRepository<ServerChat, String>, QuerydslPredicateExecutor<ServerChat> { | ||
fun findAllByServerId( | ||
interface ServerChatRepository : MongoRepository<Chat, String>, QuerydslPredicateExecutor<Chat> { | ||
fun findAllByContextId( | ||
serverId: String, | ||
pageable: Pageable, | ||
): List<ServerChat> | ||
): List<Chat> | ||
} |
Oops, something went wrong.