[Feature][Parameter] Add project-level parameters
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
- Currently, DS has local and global parameters. Note that Global parameters only take effect inside the workflow
- Add project-level parameters so that all workflows under the same project can use these project-level parameters
Why we need project-level parameters
- Allows users to more easily define parameters that are used in multiple workflows of the same project
- E.g., hundreds of workflows that use the same time parameter
${dt} - E.g., hundreds of workflows that use the same result location parameter
${loc}
- E.g., hundreds of workflows that use the same time parameter
UI
Restful API
1st iteration
-
createProjectParameter
-
updateProjectParameter
-
deleteProjectParametersByCode
-
batchDeleteProjectParametersByCodes
-
queryProjectParameterListPaging
-
queryProjectParameterByCode
2nd iteration
- batchExportByNames
- import
Sub-task
- #14214
- #14218
- #14339
Use case
No response
Related issues
No response
Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
- In order for us to understand your request as soon as possible, please provide detailed information, version or pictures.
- If you haven't received a reply for a long time, you can join our slack and send your question to channel
#troubleshooting
thanks for your proposal, I add label discussion because I am not sure whether we need a project level parameter, or do we need a system level one, can you share your design before coding? @rickchengx
thanks for your proposal, I add label discussion because I am not sure whether we need a project level parameter, or do we need a system level one, can you share your design before coding? @rickchengx
Of course, I'll add some design later.
@rickchengx Sounds great. I have the same idea with you. Would you like to talk about this feature?
Hi, @calvinjiang , I've added some design in this issue and I'll talk about this in our weekly-meeting at 8pm on May 24th. Are u interested in the front-end part of this feature?
I'll try to support some of front-end works. But I'm not sure if I have time to attend the weekly-meeting.
I'll try to support some of front-end works. But I'm not sure if I have time to attend the weekly-meeting.
Hi, @calvinjiang I added some description about the restful interface and split the front-end tasks. If you are interested in this, please comment under this issue
- #14218
I'll try to support some of front-end works. But I'm not sure if I have time to attend the weekly-meeting.
Hi, @calvinjiang I added some description about the restful interface and split the front-end tasks. If you are interested in this, please comment under this issue
@rickchengx I already leave a comment under that issue.
Hi @rickchengx , How's it going with the backend api? I need some more details about the backend apis. If you're all set, you could push your feature first.
Hi @rickchengx , How's it going with the backend api? I need some more details about the backend apis. If you're all set, you could push your feature first.
Hi, @calvinjiang , I've added the controller in #14264 for your reference
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.