Comments (6)
What sort of change do you have in mind? Would you like there to be --nodejsappXML and --nodejsappProfile parameters that could optionally be used to identify existing meta-data files to use when generating a NODEJSAPP? Or how about a --profileinclude parameter that would cause the generated profile to include another named profile from within the current bundle? If we take that route, should we perhaps have more parameters to set NODEHOME, TZ and friends from the command line?
I'm asking as this use-case feels a little too off-piste to me, I'm wondering if you've thought of a usage pattern in which a naive user might legitimately encounter this requirement? Power users are of course able to modify the meta-data files however they like from first principles (including storing/recovering them to/from SCM), whereas bundle generate is aimed at someone who isn't that familiar with CICS Bundles.
I don't think we're intending to support all of the customisation options that could be imagined within the bundle generate command line, so what would make this scenario significant enough to be worth adding support for?
from zowe-cli-cics-deploy-plugin.
This is a good question.
Maybe in my niaive user role I'd like it to autodetect the .profile.
The options on a command line are probably the second choice. --profileinclude being my preference.
The other options may be nice to have - or indeed read in from some .properties file or something.
from zowe-cli-cics-deploy-plugin.
I think the straightforward answer here is that you can use your own profile, you'd just need to copy it over the top of the generated profile or modify the generate nodesjapp to point to your profile.
I'm inclined to agree with Paul here, I can't think of a use-case where Freyja would already have a profile in-hand, so I'm not sure it's worth going to too much effort here.
from zowe-cli-cics-deploy-plugin.
I also agree with Paul. If we compare this with Docker world, nodejs developers have to write their own Dockerfile, which is a somewhat similar to our profile, so I guess bundle generate command is a helping tool, rather than a tool that has to provide everything.
from zowe-cli-cics-deploy-plugin.
I think it unlikely a Node.js app will have an existing .profile. Rather, if the app had a need to set environment variables it would be an .env file and use a package such as https://www.npmjs.com/package/dotenv to read it - this should just work in when run in CICS.
More likely is the need to copy a .profile from another app that was deployed to CICS, in which case @matthewpwilson comments above apply - ie. they can copy the contents into the generate profile or copy over the generated file.
from zowe-cli-cics-deploy-plugin.
As discussed above this is thought to be invalid.
from zowe-cli-cics-deploy-plugin.
Related Issues (20)
- Clarify message when uploading files HOT 5
- Error when running with only command line options and no default profiles HOT 17
- Getting connection refused. On a deploy request. HOT 3
- Add code of conduct to project HOT 2
- Homepage: Change summary so first sentence isn't about Zowe CLI.
- Requierements HOT 1
- Installing HOT 8
- Publish v1.0 to npmjs.org
- Creating profiles HOT 5
- Preparing Z/OS PT image HOT 3
- Troubleshooting HOT 1
- .zosAttributes should be all lower case in message HOT 4
- Running without profiles - Error on jobcard. HOT 14
- Support Zowe CLI version 3
- Identify required options in command line help
- Improve search and left nav-bar
- Revert <any> to AbstractSession
- Deploy using the CICS bundle deployment API
- Improve performance of file uploads
- Not all examples work in Windows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zowe-cli-cics-deploy-plugin.