小可耐
4 weeks ago
committed by
GitHub
16 changed files with 186 additions and 9 deletions
@ -0,0 +1,81 @@
|
||||
# |
||||
# 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. |
||||
# |
||||
|
||||
project: |
||||
name: MasterIntegrationTest |
||||
code: 1 |
||||
description: This is a fake project |
||||
userId: 1 |
||||
userName: admin |
||||
createTime: 2024-08-12 00:00:00 |
||||
updateTime: 2021-08-12 00:00:00 |
||||
|
||||
workflows: |
||||
- name: workflow_with_one_fake_task_success |
||||
code: 1 |
||||
version: 1 |
||||
projectCode: 1 |
||||
description: This is a fake workflow with single task |
||||
releaseState: ONLINE |
||||
createTime: 2024-08-12 00:00:00 |
||||
updateTime: 2021-08-12 00:00:00 |
||||
userId: 1 |
||||
executionType: PARALLEL |
||||
|
||||
tasks: |
||||
- name: A |
||||
code: 1 |
||||
version: 1 |
||||
projectCode: 1 |
||||
userId: 1 |
||||
taskType: LogicFakeTask |
||||
taskParams: '{"localParams":[],"shellScript":"if [ \"${system.project.name}\" = \"MasterIntegrationTest\" ]; then\n exit 0 \nelse\n exit 1\nfi","resourceList":[]}' |
||||
workerGroup: default |
||||
createTime: 2024-08-12 00:00:00 |
||||
updateTime: 2021-08-12 00:00:00 |
||||
taskExecuteType: BATCH |
||||
- name: B |
||||
code: 2 |
||||
version: 1 |
||||
projectCode: 1 |
||||
userId: 1 |
||||
taskType: LogicFakeTask |
||||
taskParams: '{"localParams":[],"shellScript":"if [ \"${system.workflow.definition.name}\" = \"workflow_with_one_fake_task_success\" ]; then\n exit 0 \nelse\n exit 1\nfi","resourceList":[]}' |
||||
workerGroup: default |
||||
createTime: 2024-08-12 00:00:00 |
||||
updateTime: 2021-08-12 00:00:00 |
||||
taskExecuteType: BATCH |
||||
|
||||
taskRelations: |
||||
- projectCode: 1 |
||||
workflowDefinitionCode: 1 |
||||
workflowDefinitionVersion: 1 |
||||
preTaskCode: 0 |
||||
preTaskVersion: 0 |
||||
postTaskCode: 1 |
||||
postTaskVersion: 1 |
||||
createTime: 2024-08-12 00:00:00 |
||||
updateTime: 2024-08-12 00:00:00 |
||||
- projectCode: 1 |
||||
workflowDefinitionCode: 1 |
||||
workflowDefinitionVersion: 1 |
||||
preTaskCode: 0 |
||||
preTaskVersion: 0 |
||||
postTaskCode: 2 |
||||
postTaskVersion: 1 |
||||
createTime: 2024-08-12 00:00:00 |
||||
updateTime: 2024-08-12 00:00:00 |
Loading…
Reference in new issue