Package | Description |
---|---|
com.ibm.tivoli.maximo.watson.analytics.util |
Modifier and Type | Method and Description |
---|---|
static com.ibm.json.java.JSONObject |
PublicRESTAPIRequests.accessToken(org.apache.http.client.HttpClient client,
CloudEnv env,
java.lang.String authCode)
With a valid authentication code, get an access token.
|
static boolean |
PublicRESTAPIRequests.deleteDatasetPublicApi(org.apache.http.client.HttpClient httpClient,
CloudEnv env,
java.lang.String id) |
static java.lang.String |
SAMLLoginUtil.getAuthorizationCode(CloudEnv env,
java.lang.String loginURL,
java.lang.String username,
java.lang.String password,
java.lang.String clientid)
Get the authorization code based on username, password, and clientid
First Perform an SAML Interactive login by setting and processing the HTTP and HTML.
|
static boolean |
PublicRESTAPIRequests.getDatasetCSVPublicApi(org.apache.http.client.HttpClient httpClient,
CloudEnv env,
java.lang.String id) |
static boolean |
PublicRESTAPIRequests.getDatasetsPublicApi(org.apache.http.client.HttpClient httpClient,
CloudEnv env) |
static void |
SAMLLoginUtil.makeLogin(CloudEnv env,
org.apache.http.client.HttpClient client,
java.lang.String username,
java.lang.String password)
Makes HTTP requests to login.
|
static com.ibm.json.java.JSONObject |
PublicRESTAPIRequests.me(org.apache.http.client.HttpClient client,
CloudEnv env)
Get information about the logged in user.
|
static java.lang.String |
PublicRESTAPIRequests.uploadDatasetPublicAPI(org.apache.http.client.HttpClient client,
CloudEnv env,
java.lang.String datasetID,
java.io.File file,
java.lang.String datasetName,
UploadProgressIndicator uploadIndicator)
Upload a sample CSV dataset in a single operation.
|
static java.lang.String |
PublicRESTAPIRequests.uploadDatasetPublicAPIUsingSegments(org.apache.http.client.HttpClient client,
CloudEnv env,
java.lang.String datasetID,
java.io.File file,
java.lang.String datasetName)
Upload a sample CSV dataset using multiple segment operation.
|