You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-13Lines changed: 14 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ APIs and SDKs that use cognitive computing to solve complex problems.
36
36
*[Changes for v4.0](#changes-for-v40)
37
37
*[Using a Proxy](#using-a-proxy)
38
38
*[Android](#android)
39
-
*[Running in Bluemix](#running-in-bluemix)
39
+
*[Running in IBM Cloud](#running-in-ibm-cloud)
40
40
*[Default Headers](#default-headers)
41
41
*[Debug](#debug)
42
42
*[Eclipse and Intellij](#working-with-eclipse-and-intellij-idea)
@@ -119,21 +119,21 @@ Now, you are ready to see some [examples](https://github.com/watson-developer-cl
119
119
## Usage
120
120
121
121
The examples within each service assume that you already have service credentials. If not,
122
-
you will have to create a service in [Bluemix][bluemix].
122
+
you will have to create a service in [IBM Cloud][ibm_cloud].
123
123
124
-
If you are running your application in Bluemix, you don't need to specify the
125
-
credentials; the library will get them for you by looking at the `VCAP_SERVICES` environment variable.
124
+
If you are running your application in IBM Cloud (or other platforms based on Cloud Foundry), you don't need to specify the
125
+
credentials; the library will get them for you by looking at the [`VCAP_SERVICES`][vcap_services] environment variable.
126
126
127
127
## Getting the Service Credentials
128
128
129
-
You will need the `username` and `password` (`api_key` for AlchemyAPI) credentials, and the API endpoint for each service. Service credentials are different from your Bluemix account username and password.
129
+
You will need the `username` and `password` (`api_key` for AlchemyAPI) credentials, and the API endpoint for each service. Service credentials are different from your IBM Cloud account username and password.
130
130
131
131
To get your service credentials, follow these steps:
132
132
133
-
1. Log in to [Bluemix](https://console.bluemix.net/catalog?category=watson)
133
+
1. Log in to [IBM Cloud](https://console.bluemix.net/catalog?category=watson)
134
134
135
135
1. Create an instance of the service:
136
-
1. In the Bluemix**Catalog**, select the service you want to use.
136
+
1. In the IBM Cloud**Catalog**, select the service you want to use.
For more information see: [OkHTTPClient Proxy authentication how to?](https://stackoverflow.com/a/35567936/456564)
175
175
176
-
## Running in Bluemix
176
+
## Running in IBM Cloud
177
177
178
-
When running in Bluemix, the library will automatically get the credentials from `VCAP_SERVICES`.
179
-
If you have more than one plan, you can use `BluemixUtils` to get the service credentials for an specific plan.
178
+
When running in IBM Cloud (or other platforms based on Cloud Foundry), the library will automatically get the credentials from [`VCAP_SERVICES`][vcap_services].
179
+
If you have more than one plan, you can use `CredentialUtils` to get the service credentials for an specific plan.
180
180
181
181
```java
182
182
PersonalityInsights service =newPersonalityInsights();
0 commit comments