Implement Zen Technical Preview
Closed this issue · 9 comments
Need to prepare Technical Preview version of Zen after contributing it to the Zowe community
Preview:
Start with the new installation.
Dry run was intended to show steps needed, and create config file without actually running any actions, now has no functionality.
Specify connection details.
"Validate credentials" button will try to create FTP connection with given config using zos-node-accessor
Planning step in meant to describe prerequisites and roles needed during installation so user knows in advance what they can face with.
"Save and validate" button will try to submit job with given Job Statement. Job will try to issue shell command on MF and read env for JAVA_HOME and NODE_HOME. Main goal here is to validate the JOB ran successfully with given job statement, having Java and Node home dirs is just a benefit.
"Validate locations" will run three jobs trying to get Java and Node versions in given locations and check free space in the installation dir.
Installation page uses JsonForms so form is generated automatically from zowe.setup.dataset section of example-zowe.yaml and values there are validated agains zowe schema.
"Install MVS datasets" button runs the installation procedure which includes
- generating and sending to the USS zowe.yaml file
- downloading Zowe convenience build locally
- uploading it to the USS
- un-paxing files
- running zwe install -c /path/to/zowe.yaml
Configuration page should handle basic zowe configuration and update the zowe.yaml. Idea is to use JsonForms to generate form for entire example-zowe.yaml except security and certificates which will be handled separately.
This page should have detailed steps for configuring security and certificates as these are most painful steps. Need to add as much background validation as possible. Check if certificates are valid, Zowe user has all the permissions needed, cryptographic services are up etc. Build-in any troubleshooting tips we have collected so far.
Last step should provide ability to customise the zowe.yaml config manually in built-in editor. And finally run zwe init command.
@skurnevich Hi, is this the right place to learn more about ZEN? It looks good from the screen shots.
@Joe-Winchester @struga0258
I think a demo video would be useful for the community. Up & Running is a priority area after all. Thanks
TP delivered, code donated. I believe we can close this issue.
Want to try out Zen - is it available on zowe.org/downloads, or part of core Zowe, or where is the best place to find doc ? Cheers !
I'm not sure about builds, but you can try it from source:
- Clone the repository to your local
- Run npm install to install dependencies
- Run npm run start to run the application locally
- Run npm run make to package and make platform-specific distributable