Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more info around adding entries to cps and cred file where possible #619

Open
CaroMac opened this issue Apr 18, 2023 · 0 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@CaroMac
Copy link
Contributor

CaroMac commented Apr 18, 2023

Brian Leblanc
5 days ago
hi all, where can I find a good description of the entries needed in the cps and credentials files?
3 replies

Jade Carino
4 days ago
Hi Brian, CPS properties that are needed for each Galasa manager which you add to your test classes, can be found on the galasa.dev website under the 'Configuring' section of whichever manager you are using. There isn't really a set list of properties you should have as it depends on what Galasa managers you are using and what you're doing in your test.
However, the Galasa CLI does have a command 'galasactl local init' to initialise your ~/.galasa folder and within it places a template of the cps.properties file. If you already have ~/.galasa, then it won't overwrite it so you might need to move/rename that directory to see the output.
The credentials you need will depend on what you use in your test, but the 'galasactl local init' command shows an example credentials.properties also.
https://galasa.dev/docs/initialising-home-folder
galasa.devgalasa.dev
Initialising your local environment by using the CLI
To start using Galasa tools, or running Galasa tests, you need to set up some basic file structures and files in your home folder. These…

Brian Leblanc
19 hours ago
Hi Jade, I did run the local init and the examples in the files are good. I am now getting the error zOS Credentials missing for image D10A id T5098BL .................... my credentials file has the entries secure.credentials.D10A.username=T5098BL
secure.credentials.D10A.password=#########
secure.credentials.DEFAULT.username=T5098BL
secure.credentials.DEFAULT.password=#########
secure.credentials.zos.username=T5098BL
secure.credentials.zos.password=#########
secure.credentials.PRIMARY.username=T5098BL
secure.credentials.PRIMARY.password=#######
secure.credentials.PLEX2.username=T5098BL
secure.credentials.PLEX2.password=######## do I need an additional tag? thanks

Brian Leblanc
18 hours ago
hi Jade, I figured it out, but going forward, it would help if there is a better description of how to add entries to the cps.properties and credentials.properties files

@CaroMac CaroMac added the documentation Improvements or additions to documentation label Apr 18, 2023
@CaroMac CaroMac self-assigned this Apr 18, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in galasa-dev team May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant