Skip to content

Commit

Permalink
Merge pull request #24 from joon6093/main
Browse files Browse the repository at this point in the history
feat : ECS에서 Api 프로젝트 git clone을 위한 submodule 설정
  • Loading branch information
joon6093 authored Jun 27, 2024
2 parents 769da60 + 37501a2 commit 95f0751
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
path = batch/src/main/resources/security
url = https://github.com/team-meot-ppo/webti_backend-Batch_Security.git
branch = main
[submodule "api/src/main/resources/security"]
path = api/src/main/resources/security
url = https://github.com/team-meot-ppo/webti_backend-api_security.git
branch = main
3 changes: 0 additions & 3 deletions api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,3 @@ out/

### VS Code ###
.vscode/

### Security ###
src/main/resources/security
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@
import org.meotppo.webti.dto.result.StatisticDTO;
import org.meotppo.webti.dto.result.TestResultRequest;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.stream.Collectors;

@RequiredArgsConstructor
@Service
@Transactional(readOnly = true)
public class ResultService {

private final TestResultRepository testResultRepository;
private final StatisticRepository statisticRepository;

@Transactional
public void createTestResult(TestResultRequest req) {
TestResult testResult = TestResult.builder()
.mbtiType(req.getMbtiType())
Expand Down
1 change: 1 addition & 0 deletions api/src/main/resources/security
Submodule security added at 053fa6

0 comments on commit 95f0751

Please sign in to comment.