-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature][scaleph-datasource] init scaleph datasource to gravitino (#711
) * fix: seatunnel dag delete edge error * feature: update dag instance, step and link schema * feature: update dag instance, step and link mapper * feature: update dag instance, step and link mapper * feature: update dag instance, step and link dto * feature: scaleph-gravitino dockerfile * feature: scaleph-gravitino dockerfile * feature: add dag instance, step and link service * feature: add dag instance, step and link service * feature: update dag instance statemachine * feature: update dag step instance statemachine * feature: update workflow instance and task instance statemachine * feature: update datasource type * feature: update datasource type * feature: update local docker-compose README --------- Co-authored-by: wangqi <wangqi@xinxuan.net>
- Loading branch information
Showing
77 changed files
with
1,205 additions
and
794 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Release-Docker-Gravitino | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
gravitinoVersion: | ||
description: 'gravitino version' | ||
required: true | ||
default: '0.5.0' | ||
type: choice | ||
options: | ||
- 0.5.0 | ||
env: | ||
HUB: ghcr.io/flowerfine/scaleph-gravitino | ||
GRAVITINO_VERSION: ${{ inputs.gravitinoVersion }} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
timeout-minutes: 360 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
- name: Log in to the Container registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.HUB }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: amd64,arm64 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Build image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
no-cache: false | ||
cache-from: type=gha | ||
cache-to: type=gha | ||
push: true | ||
context: . | ||
build-args: | | ||
GRAVITINO_VERSION=${{ env.GRAVITINO_VERSION }} | ||
platforms: linux/amd64,linux/arm64 | ||
file: tools/docker/build/scaleph-gravitino/Dockerfile | ||
tags: ${{ env.HUB }}:${{ env.GRAVITINO_VERSION }} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
60 changes: 60 additions & 0 deletions
60
scaleph-dao/src/main/java/cn/sliew/scaleph/dao/entity/master/dag/DagLinkVO.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package cn.sliew.scaleph.dao.entity.master.dag; | ||
|
||
import cn.sliew.scaleph.dao.entity.BaseDO; | ||
import com.baomidou.mybatisplus.annotation.TableField; | ||
import com.baomidou.mybatisplus.annotation.TableName; | ||
import lombok.Data; | ||
|
||
import java.util.Date; | ||
|
||
/** | ||
* DAG 连线 | ||
*/ | ||
@Data | ||
@TableName("dag_link") | ||
public class DagLinkVO extends BaseDO { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
@TableField("dag_instance_id") | ||
private Long dagInstanceId; | ||
|
||
@TableField(value = "dag_config_link_id", exist = false) | ||
private DagConfigLink dagConfigLink; | ||
|
||
@TableField("instance_id") | ||
private String instanceId; | ||
|
||
@TableField("inputs") | ||
private String inputs; | ||
|
||
@TableField("outputs") | ||
private String outputs; | ||
|
||
@TableField("`status`") | ||
private String status; | ||
|
||
@TableField("start_time") | ||
private Date startTime; | ||
|
||
@TableField("end_time") | ||
private Date endTime; | ||
} |
Oops, something went wrong.