[Task]: fix/populate info fields for workflows and pipelines
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 476
- Avg merge
- 18h 32m
- Merged PRs (30d)
- 216
Description
### What needs to happen?
Pipeline and workflows have the following fields
* created_date: Works
* modified_date: Doesn't work, never gets updated and always equals created_date
* created_user: Always '-'
* modified_user: Always '-'
* pipeline_version, workflow_version: Works, but is just free text, so needs to be set and updated manually. Doesn't add any value in the git era.
* pipeline_type: Normal vs single threaded. Since single threaded is now in the pipeline run configuration,
* pipeline_status: Always -1 (clear)
Additionally, the Get System Info transform has options to return the last modified date (which is currently the creation date) and the user who last modified the pipeline (which always returns '-').
Suggested implementation:
* created_date: Leave as is
* modified_date: Populate on save, behind a `hasChanged()` guard.
* created_user, modified_user: Check in `HopSecurityContext`, populate when available
* pipeline_version, workflow_version, pipeline_type pipeline_status: Deprecate, remove in a future release
* Get System Info: For completeness, add created user and date options
### Issue Priority
Priority: 3
### Issue Component
Component: Hop Gui
Contributor guide
Research direction
Start by tracing pipeline and workflow save handling, including the hasChanged() guard and HopSecurityContext, then inspect the Get System Info transform options. Done means modified dates and available users are populated correctly, created user/date options exist, and the obsolete version, type, and status fields follow the stated deprecation plan.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100