Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8a918b9
chore: JobMapper 메서드 추가
thkim7 Sep 26, 2025
0dc53d5
feat: Job 생성 조회 초안
thkim7 Sep 26, 2025
9bd6d11
chore: Job E2eTest제거 및 IntegrationTest 작성
thkim7 Sep 26, 2025
2d0cdda
chore: spotlessApply
thkim7 Sep 26, 2025
f7162c0
feat: Task 관련 작업(초안)
thkim7 Sep 26, 2025
d2d8ba7
feat: OCR 단계가 추가되면서 bodybuilder 작성 및 sql 수정
thkim7 Sep 27, 2025
65c602c
Merge pull request #224 from Kernel180-BE12/feature/ocr-bodybuilder
thkim7 Sep 27, 2025
91af446
Merge branch 'develop' of https://github.com/Kernel180-BE12/Final-4te…
thkim7 Sep 27, 2025
a089da1
feat: Job/Task CRUD를 WorkflowService로 통합 및 Task 데이터 구조 업데이트
thkim7 Sep 27, 2025
1ad18d4
fix: Job/Task CRUD IntegrationTest 통과를 위한 수정
thkim7 Sep 27, 2025
7037376
fix: RDB loging execution_type TASK로 통일 (#227)
kakusiA Sep 28, 2025
df90c84
feat & fix : logging 정보에 ip 및 user-agent 추가 & traceId 생성 시점 변경
rll2641 Sep 28, 2025
a1c632d
chore & style : spotless 적용 및 주석 추가
rll2641 Sep 28, 2025
0470999
TraceId 생성 시점 변경 및 IP, User-Agent Logging 추가
rll2641 Sep 29, 2025
b69e36a
refactor: test 코드 정상 동작하도록 수정
jihukimme Sep 29, 2025
a11ffd0
chore: spotlessApply
thkim7 Sep 29, 2025
efc22bf
hofix : Test 관련 오류 수정 (Matcher 사용)
rll2641 Sep 29, 2025
b7f5042
fix: 워크플로우 수동 실행 API 통합 테스트 Mockito 검증 수정
thkim7 Sep 29, 2025
0bc56d5
Merge branch 'develop' of https://github.com/Kernel180-BE12/Final-4te…
thkim7 Sep 29, 2025
289a8b8
chore: develop이랑 머지
thkim7 Sep 29, 2025
6dfa7aa
chore: develop이랑 머지
thkim7 Sep 29, 2025
ab59877
Merge pull request #213 from Kernel180-BE12/feature/task
thkim7 Sep 29, 2025
59a3bbc
Log4j2 설정 boot jar에서 제외 및 외부 file mount로 변경 (#229)
can019 Sep 29, 2025
5c210db
워크플로우 컨텍스트를 영속적 방식으로 변경 (#231)
jihukimme Sep 29, 2025
c595a51
fix: blogger post_url 추가 (#233)
kakusiA Sep 29, 2025
23dc63f
Workflow run 시 history가 insert되지 않는 버그 (#234)
can019 Sep 29, 2025
50e3641
Task io data 조회 api (#235)
can019 Sep 29, 2025
c1e39a1
fix: rag_create 문제 생긴거 수정
thkim7 Sep 29, 2025
7cef1e7
hofix : 환경변수 추가
rll2641 Sep 29, 2025
3cc8e9f
Merge pull request #236 from Kernel180-BE12/fix/rag_create
thkim7 Sep 29, 2025
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
3 changes: 2 additions & 1 deletion .github/workflows/deploy-fastapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
echo "IMAGE_DOWNLOAD_TIMEOUT=${{ secrets.IMAGE_DOWNLOAD_TIMEOUT }}" >> .env.prod
echo "MAX_IMAGE_SIZE_MB=${{ secrets.MAX_IMAGE_SIZE_MB }}" >> .env.prod
echo "MECAB_PATH=${{ secrets.MECAB_PATH }}" >> .env.prod
echo "MECABRC=${{ secrets.MECABRC }}" >> .env.prod
echo "MECABRC=${{ secrets.MECABRC }}" >> .env.prod
echo "GOOGLE_APPLICATION_CREDENTIALS=${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}" >> .env.prod

- name: Set repo lowercase
run: echo "REPO_LC=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/deploy-java.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Deploy

on:
push:
branches:
- fix/**
workflow_run:
workflows: ["CI (Java)"]
types: [completed]
Expand Down
2 changes: 2 additions & 0 deletions apps/pre-processing-service/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/blogger
/key
1 change: 0 additions & 1 deletion apps/pre-processing-service/app/api/endpoints/product.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from fastapi import APIRouter, Request, HTTPException
from app.decorators.logging import log_api_call
from ...errors.CustomException import (
InvalidItemDataException,
ItemNotFoundException,
Expand Down
45 changes: 0 additions & 45 deletions apps/pre-processing-service/app/api/endpoints/sample.py

This file was deleted.

5 changes: 0 additions & 5 deletions apps/pre-processing-service/app/api/endpoints/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
from fastapi import APIRouter
from sqlalchemy import text

from app.decorators.logging import log_api_call
from ...errors.CustomException import *
from fastapi import APIRouter
from typing import Mapping, Any, Dict
from ...model.schemas import *
from ...service.blog.blog_create_service import BlogContentService
from ...service.blog.naver_blog_post_service import NaverBlogPostService
from ...service.blog.tistory_blog_post_service import TistoryBlogPostService
from ...service.crawl_service import CrawlService
from ...service.keyword_service import keyword_search
from ...service.match_service import MatchService
Expand All @@ -27,7 +25,6 @@


@router.get("/hello/{name}", tags=["hello"])
# @log_api_call
async def say_hello(name: str):
return {"message": f"Hello {name}"}

Expand Down Expand Up @@ -122,8 +119,6 @@ async def processing_tester():
# tistory_service = TistoryBlogPostService()
naverblogPostService = NaverBlogPostService()
result = naverblogPostService.post_content(
# blog_id="wtecho331",
# blog_pw="wt505033@#",
title=data.get("title"),
content=data.get("content"),
tags=data.get("tags"),
Expand Down
14 changes: 2 additions & 12 deletions apps/pre-processing-service/app/api/router.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# app/api/router.py
from fastapi import APIRouter
from .endpoints import keywords, blog, product, test, sample
from .endpoints import keywords, blog, product, test
from ..core.config import settings

api_router = APIRouter()
Expand All @@ -15,19 +15,9 @@
api_router.include_router(product.router, prefix="/products", tags=["product"])

# 모듈 테스터를 위한 endpoint -> 추후 삭제 예정
api_router.include_router(test.router, prefix="/tests", tags=["Test"])

api_router.include_router(sample.router, prefix="/v0", tags=["Sample"])
# api_router.include_router(test.router, prefix="/tests", tags=["Test"])


@api_router.get("/ping")
async def root():
return {"message": "서버 실행중입니다."}


@api_router.get("/db")
def get_settings():
"""
환경 변수가 올바르게 로드되었는지 확인하는 엔드포인트
"""
return {"환경": settings.env_name, "데이터베이스 URL": settings.db_url}
Empty file.
85 changes: 0 additions & 85 deletions apps/pre-processing-service/app/decorators/logging.py

This file was deleted.

6 changes: 3 additions & 3 deletions apps/pre-processing-service/app/errors/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ async def validation_exception_handler(request: Request, exc: RequestValidationE
"""
# 변경점: ErrorBaseModel을 기본 구조로 사용하고, 추가 정보를 더함
base_error = ErrorBaseModel(
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
detail=ERROR_MESSAGES[status.HTTP_422_UNPROCESSABLE_ENTITY],
status_code=status.HTTP_422_UNPROCESSABLE_CONTENT,
detail=ERROR_MESSAGES[status.HTTP_422_UNPROCESSABLE_CONTENT],
code="VALIDATION_ERROR",
)

Expand All @@ -67,7 +67,7 @@ async def validation_exception_handler(request: Request, exc: RequestValidationE
response_content["details"] = exc.errors()

return JSONResponse(
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
status_code=status.HTTP_422_UNPROCESSABLE_CONTENT,
content=response_content,
)

Expand Down
2 changes: 1 addition & 1 deletion apps/pre-processing-service/app/errors/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
status.HTTP_401_UNAUTHORIZED: "인증이 필요합니다.",
status.HTTP_403_FORBIDDEN: "접근 권한이 없습니다.",
status.HTTP_404_NOT_FOUND: "요청하신 리소스를 찾을 수 없습니다.",
status.HTTP_422_UNPROCESSABLE_ENTITY: "입력 데이터가 유효하지 않습니다.",
status.HTTP_422_UNPROCESSABLE_CONTENT: "입력 데이터가 유효하지 않습니다.",
status.HTTP_500_INTERNAL_SERVER_ERROR: "서버 내부 오류가 발생했습니다.",
}

Expand Down

This file was deleted.

Loading
Loading