Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
if ("extension".equals(source)) {
authResult.put(customState, accessToken, sessionId);
response.sendRedirect(redirect_domain + "/extension/success");
response.flushBuffer();
return;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import jakarta.persistence.NoResultException;
import jakarta.validation.constraints.NotBlank;
import lombok.RequiredArgsConstructor;
import org.hibernate.service.spi.ServiceException;
import org.hibernate.validator.constraints.Length;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.stereotype.Service;
Expand Down Expand Up @@ -99,6 +98,7 @@ public Space createSpace(@NotBlank @Length(max = 50) String name, String thumbna
* @return 삭제된 스페이스 이름
* @throws IllegalArgumentException 스페이스가 존재하지 않을 경우
*/

@Transactional
public String deleteSpace(Integer spaceId) {
Space space = spaceRepository.findById(spaceId)
Expand All @@ -118,6 +118,7 @@ public String deleteSpace(Integer spaceId) {
* @throws IllegalArgumentException 스페이스가 존재하지 않을 경우
* @throws DuplicateSpaceNameException 새로운 스페이스 이름이 중복될 경우
*/

@Transactional
public Space updateSpaceName(Integer spaceId, @NotBlank @Length(max = 50) String name) {
Space space = spaceRepository.findById(spaceId)
Expand Down
11 changes: 11 additions & 0 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ spring:
ddl-auto: create-drop
show-sql: true

data: #RedisTemplate 등을 사용하기 위한 직접 연결용
redis:
host: localhost
port: 6379
timeout: 6000
cache: #Spring Cache를 사용하기 위한 Redis
type: redis
redis:
time-to-live: 300000
cache-null-values: false

app:
seed:
enabled: true
Expand Down
12 changes: 12 additions & 0 deletions src/main/resources/application-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ spring:
hibernate:
ddl-auto: update

data: #RedisTemplate 등을 사용하기 위한 직접 연결용
redis:
host: 127.0.0.1
port: 6379
timeout: 6000
password: zoopzoopRedisTest!
cache: #Spring Cache를 사용하기 위한 Redis
type: redis
redis:
time-to-live: 300000
cache-null-values: false

management:
endpoints:
web:
Expand Down
12 changes: 1 addition & 11 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,7 @@ spring:
options:
model: meta-llama/llama-4-scout-17b-16e-instruct
temperature: 0
data: #RedisTemplate 등을 사용하기 위한 직접 연결용
redis:
host: localhost
port: 6379
timeout: 6000
cache: #Spring Cache를 사용하기 위한 Redis
type: redis
redis:
time-to-live: 300000
cache-null-values: false
key-prefix:


springdoc:
default-produces-media-type: application/json;charset=UTF-8
Expand Down