Skip to content

Commit 162fcc4

Browse files
committed
Reflect updated apiKey.json filename
1 parent 9da2c51 commit 162fcc4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ The test cases use the `CreateConnectionFactoryFromDefaultJSONFiles` method to o
193193
- `connection_info.json` contains information like the hostname/port/channel
194194
- If you are using the MQ on Cloud service you can download a pre-populated file directly from the queue manager details page as [described here](https://cloud.ibm.com/docs/services/mqcloud/mqoc_jms_tls.html#connection_info-json)
195195
- Otherwise you can insert details of your own queue manager into [this sample file](./config-samples/connection_info.json) and copy it to your `/Downloads` directory
196-
- `apiKey.json` contains the Application username and password that will be used to connect to your queue manager
196+
- `applicationApiKey.json` contains the Application username and password that will be used to connect to your queue manager
197197
- If you are using the MQ on Cloud service you can download a pre-populated file directly from the Application Permissions tab in the service console as [described here](https://cloud.ibm.com/docs/services/mqcloud/mqoc_jms_tls.html#apikey-json)
198-
- Otherwise you can insert details of your own queue manager into [this sample file](./config-samples/apiKey.json) and copy it to your `/Downloads` directory
198+
- Otherwise you can insert details of your own queue manager into [this sample file](./config-samples/applicationApiKey.json) and copy it to your `/Downloads` directory
199199

200200
Once you have added the details of your queue manager and user credentials into the two JSON files and placed them in your `/Downloads` directory you are ready to run the test, which is done in the same way as any other Go tests.
201201

File renamed without changes.

mqjms/FactoryFactory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func CreateConnectionFactoryFromJSON(connectionInfoLocn string, apiKeyLocn strin
5858
}
5959

6060
if apiKeyLocn == "" {
61-
apiKeyLocn = os.Getenv("HOME") + "/Downloads/apiKey.json"
61+
apiKeyLocn = os.Getenv("HOME") + "/Downloads/applicationApiKey.json"
6262
}
6363

6464
// Attempt to read the connection info file at the specified location.

0 commit comments

Comments
 (0)