-
Notifications
You must be signed in to change notification settings - Fork 16
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
V3 conformant #144
V3 conformant #144
Changes from 5 commits
752e86f
5fce847
5704ad1
b916316
53874e5
fac3e94
2ba3155
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,11 @@ | |
|
||
All notable changes to the IBM® Db2® Plug-in for Zowe CLI will be documented in this file. | ||
|
||
## Recent Changes | ||
|
||
- BugFix: Exit code 1 when DB2 calls do not succeed | ||
- V3 Breaking: Updated engines, removed health check and v1 profile support, added port and database to template | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs a PR/issue link. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added |
||
|
||
## `5.0.6` | ||
|
||
- BugFix: Update follow-redirects transitive dependency to resolve technical debt | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs a PR/issue link. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,18 +102,30 @@ When an unsuccessful message displays, you can troubleshoot the installation by | |
After you install the plug-in, you create a Db2 profile. A Db2 profile is required to issue commands to the Db2 region. Db2 profiles contain your host, port, user name, password, and a database name for the IBM Db2 server of your choice. You can create multiple profiles and switch between them as needed. | ||
|
||
**Follow these steps:** | ||
1. Create a Db2 profile: | ||
1. Install the IBM Db2 Plug-in for Zowe CLI | ||
2. Create a Db2 profile: | ||
|
||
``` | ||
zowe profiles create db2 <profile name> -H <host> -P <port> -u <user> -p <password> -d <database> | ||
zowe config init | ||
``` | ||
3. Set the port number to your Db2 port: | ||
|
||
``` | ||
zowe config set profiles.db2.properties.port <port number> | ||
``` | ||
|
||
4. Set the database to your Db2 database: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. data base should be two words. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do not believe database should be two words. It is referenced as |
||
|
||
``` | ||
zowe config set profiles.db2.properties.database <database name> | ||
``` | ||
|
||
5. If required, set the SSL File to the CA certificate used for the DB2 server | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should end w/ a colon There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed |
||
|
||
``` | ||
zowe config set profiles.db2.properties.sslFile <full path to SSL CA Certificate file> | ||
``` | ||
|
||
The result of the command displays as a success or failure message. You can use your profile when you issue commands in the Db2 command group. | ||
|
||
**Tip:** For more information about the syntax, actions, and options, for a profiles create command, open Zowe CLI and issue the following command: | ||
``` | ||
zowe profiles create db2 -h | ||
``` | ||
|
||
## Running tests | ||
|
||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should explain the actual fix for this. Also, this needs a PR/issue link.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated link and wording to state that the command will exit with code 1 if something goes wrong with issuing commands. This tells automation that something went wrong.