Skip to content

Conversation

@anselmo228
Copy link
Collaborator

📌 요약

#4

  • 해당 Batch에서 저장된 공연 카테고리 값들을 추천모델이 학습할 수 있는 csv파일에 저장합니다.

📝 상세 내용

  • Step4: concerts.csv 파일을 S3에서 가져온후 해당 배치에서 추가된 값들을 csv파일에 업로드 합니다.
  • Step5: 해당 배치에서 저장된 값들을 전부 다시 비워줍니다
Screenshot 2024-10-28 at 5 16 49 PM

🗣️ 질문 및 이외 사항

  • Main MySQL로 Migration 필요

☑️ 누구에게 리뷰를 요청할까요?

@anselmo228 anselmo228 added the documentation Improvements or additions to documentation label Oct 28, 2024
@anselmo228 anselmo228 requested a review from devkeon October 28, 2024 08:18
@anselmo228 anselmo228 self-assigned this Oct 28, 2024
@anselmo228 anselmo228 linked an issue Oct 28, 2024 that may be closed by this pull request
3 tasks
Comment on lines +121 to +129
@Bean
public Step finalStep() {
return new StepBuilder("finalStep", jobRepository)
.tasklet((StepContribution contribution, ChunkContext chunkContext) -> {
// 데이터베이스에서 ConcertEntity와 관련된 모든 데이터를 삭제
deleteAllConcertData();
return RepeatStatus.FINISHED;
}, platformTransactionManager).build();
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

스텝 명시한 메서드 이름 알아보기 너무 쉽네요! 👍

Comment on lines +23 to +30
public AmazonS3Client amazonS3Client() {
BasicAWSCredentials credentials = new BasicAWSCredentials(accessKey, secretKey);

return (AmazonS3Client) AmazonS3ClientBuilder
.standard()
.withRegion(region)
.withCredentials(new AWSStaticCredentialsProvider(credentials))
.build();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@anselmo228 anselmo228 merged commit 845ebb5 into master Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[✨FEATURE] 공연정보 CSV파일 변환

3 participants