Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Workflow level import and export functionality #1069

Closed
2 tasks done
wxyn opened this issue Jul 7, 2023 · 1 comment
Closed
2 tasks done

[Feature] Workflow level import and export functionality #1069

wxyn opened this issue Jul 7, 2023 · 1 comment

Comments

@wxyn
Copy link
Contributor

wxyn commented Jul 7, 2023

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Problem Description

In DSS1.0 version, there is an import and export function for workflows, which was removed due to workflow revisions. Now, it needs to be reopened in this version

Description

Export function
The 'Export' option is provided in the options on the right side of the workflow.

  1. The user clicks "Export"
  2. At the top of the page, there is a prompt saying 'Exporting, please wait'. If the export is successful, the corresponding workflow will be downloaded locally with the file name 'projectname_workflow name.zip' (name to be confirmed); If the export fails, there will be an error prompt in the upper right corner of the page, and editing the workflow is not allowed during the export process.
    image
    image
    Import function
    The "Import Workflow" option is provided in the project right-click options
  3. The user clicks on "Import Workflow"
  4. You can choose to import as a zip package or from hdfs.
  5. After the user clicks OK, the message "Importing, please wait" will appear at the top of the page. When the import is successful, the newly imported workflow will be displayed under the corresponding item on the right side of the page and opened for the user. When the import fails, an error message will appear in the upper right corner of the page.
    Only allow import and export within the same project
    image
    image
    image
    image
    image

Use case

No response

solutions

Open the import and export button at the workflow level in the front-end
Export interface:
image
Import interface:
image

Anything else

  1. It is not allowed to be edited during export
  2. Allow modification of the exported package name, and the workflow name will not change after modification
  3. After exporting workflow A, editing and publishing operations are performed on workflow A, and then importing workflow A, the imported workflow A will overwrite the edited workflow

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@wxyn wxyn added the enhancement New feature or request label Jul 7, 2023
@zqburde
Copy link
Contributor

zqburde commented Aug 9, 2023

Add it in DSS1.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants