zowe / zen

Eclipse Public License 2.0
1 stars 6 forks source link

Chore/planning stage #244

Closed skurnevich closed 3 months ago

skurnevich commented 3 months ago

I didn’t fix all the storage issues as there are more files affected. Like the JobStatement is still stored twice, in electron connection store and in the localStorage StageProgressStatus, that is potential source of issues. And there is still some arguable moment in classification, like what store/slice the job header should belong. Also we still need to remove directories and node/java from installationArgs as it is now stored in yaml. I’ll try to cover this in the next PR with overall storage review.

sakshibobade21 commented 3 months ago

Since the user cannot toggle the z/OSMF attributes checkbox, can we remove both the checkbox and the line that says "Set z/OSMF Attributes (Recommended)" entirely?

Also, don't we need Job ID and Job prefix to retrieve information about the job status, logs, and output?

sakshibobade21 commented 3 months ago

@skurnevich, thank you for submitting the PR.

The changes look excellent. You effectively handled the major code cleanup, both related and unrelated to maintaining the "state" of the planning stage. The removal of redundant code, unused state variables, and unnecessary checks, along with the elimination of additional steps through the node and Java version checks, is well implemented.

The PR also have the quick validation of theUSS paths and prevents users from disabling z/OSMF.

Overall, this is a great improvement. I have only one minor comment here - https://github.com/zowe/zen/pull/244#issuecomment-2312597551 , and I'll proceed with a quick round of testing before final approval.

Thanks

skurnevich commented 3 months ago

Since the user cannot toggle the z/OSMF attributes checkbox, can we remove both the checkbox and the line that says "Set z/OSMF Attributes (Recommended)" entirely?

Agree, i've removed the z/OSMF checkbox as redundant for now, also probably the entire z/OSMF section could be moved later to the certificates section as, i believe, it is not being used prior to that.

Also, don't we need Job ID and Job prefix to retrieve information about the job status, logs, and output?

These are not used by ZEN, it is for Zowe started task and some rules configuration, when ZEN submits jobs it uses Job ID returned directly by zos-node-accessor