add recipe import from FoodSafety API#5
Closed
JHLEE0617 wants to merge 1 commit into
Closed
Conversation
Member
|
controller 호출없이 recipe 데이터 저장 및 현재 데이터 베이스 구조에 맞게 레시피 저장하는 로직으로 수정부탁드립니다. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
식품안전나라(CookRcp) API에서 레시피를 가져와 DB에 저장하는 기능을 추가했습니다.
application.properties
에 DB 및foodsafety` 관련 설정 추가애플리케이션 실행 시 자동으로 import 수행
recipe.instructions 컬럼은 LONGTEXT 로 설정해야 하는데 Recipe.java에서 instructions을 tinytext로 인식해서 조금 수정했습니다.