-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] 미션 API 마이그레이션 #83
Conversation
- naver에서 microsoft azure image analysis api로 이전
naver -> Google cloud vision api로 이전
- joy, anger, sorrow, surprise 4개로 수정
## ☀️ 작업 사항 - 표정 인식 미션 객체 수정 - 표정 인식 ENUM 타입으로 파라미터 검사 ## ☀️ 관련 이슈 related: #80
@Bean | ||
GoogleCredentials googleCredentials() { | ||
try (InputStream serviceAccount = new ClassPathResource(resourceName).getInputStream()) { | ||
GoogleCredentials GoogleCredentials() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
대문자로 시작하게 수정한 이유가 궁금해요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
착오가 있었던것 같습니다! 수정하겠습니다
GoogleCredentials googleCredentials() { | ||
try (InputStream serviceAccount = new ClassPathResource(resourceName).getInputStream()) { | ||
GoogleCredentials GoogleCredentials() { | ||
try (InputStream serviceAccount = new ClassPathResource(credentials).getInputStream()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이름 수정한 이유가 궁금해요!
26번째 줄의 credentials하고 같은 이름으로 수정할려고 한 것일까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네 resourcename이 애매한 변수명이라고 생각하여 수정했습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm~!
고생하셨습니다!
☀️ 작업 사항
☀️ 관련 이슈
related: #80
☀️ 참고 사항
ex) 강아지 사진 -> 강아지 품종이 결과로 나옴 -> 미션 실패