Skip to content

mobigen-platform/workflow

Repository files navigation

Workflow

본 프로젝트는 UDF(사용자 정의 함수)를 이용하여 DAG 를 생성하고 실행, 관리 할 수 있는 Workflow 를 개발하는 것이 목표입니다. 사용자는 UI 를 통해 쉽게 Workflow 를 정의하고 결과를 확인 할 수 있습니다.

Overview

주요 기능

프로젝트 구조

프로젝트 파일 구조

.
├── Dockerfile                              # airflow + workflow plugin dockerfile
├── README.md
├── airflow.cfg                             # airflow 설정 파일
├── docker-compose-airflow-standalone.yaml  # docker-compose 배포 파일
├── entrypoint.sh                           # airflow + workflow plugin entrypoint
├── docs                                    # workflow 설명 문서들
├── example                                 # 예제 udf 파일
├── front                                   # Frontend 파일
├── requirements.txt
├── server                                  # 서버 코드

설치 및 실행

DAG 예제

  • API를 통해 생성하는 DAG 예제
{
  "name": "test_dag",
  "description": "test dag 입니다.",
  "nodes": [
    {
      "id": "task1",
      "function_id": "47be04a6-6ae2-402e-ad8a-5e644ed57d43"
    },
    {
      "id": "task2",
      "function_id": "47be04a6-6ae2-402e-ad8a-5e644ed57d43"
    }
  ],
  "edges": [
    {
      "from": "task1",
      "to": "task2"
    }
  ]
}
  • 생성된 DAG 코드
# ./server/dag_template.tpl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •