Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform | |
com.sap.cloud.sdk.cloudplatform.connectivity | |
com.sap.cloud.sdk.cloudplatform.exception |
Modifier and Type | Class and Description |
---|---|
class |
ServiceBindingDataException
Indicates a problem with service binding information in VCAP_SERVICES, an environment variable used to inform the
application of usable services in SAP Cloud Platform Cloud Foundry.
|
Modifier and Type | Method and Description |
---|---|
String |
CloudPlatform.getApplicationName() |
String |
ScpCfCloudPlatform.getApplicationName() |
String |
ScpNeoCloudPlatform.getApplicationName() |
String |
ScpNeoCloudPlatform.getApplicationProcessId() |
String |
ScpNeoCloudPlatform.getApplicationUrl() |
String |
ScpNeoCloudPlatform.getCloudPlatformLandscape() |
String |
ScpNeoCloudPlatform.getCloudPlatformRegion() |
String |
ScpNeoCloudPlatform.getCloudPlatformRegionHost() |
String |
ScpNeoCloudPlatform.getCloudPlatformRegionHostCert() |
String |
ScpNeoCloudPlatform.getCloudPlatformRegionHostSvc() |
com.google.gson.JsonObject |
ScpCfCloudPlatform.getConnectivityServiceCredentials()
Retrieves the connectivity service credentials.
|
com.google.gson.JsonObject |
ScpCfCloudPlatform.getDestinationServiceCredentials()
Retrieves the destination service credentials.
|
static ScpCfCloudPlatform |
ScpCfCloudPlatform.getInstanceOrThrow()
Be aware that this method is Beta (as indicated by the annotation) and therefore subject to breaking changes.
|
int |
ScpNeoCloudPlatform.getLocalHttpPort() |
String |
ScpNeoCloudPlatform.getOnPremiseProxyHost() |
int |
ScpNeoCloudPlatform.getOnPremiseProxyPort() |
String |
ScpNeoCloudPlatform.getProviderAccountId() |
com.google.gson.JsonObject |
ScpCfCloudPlatform.getServiceCredentials(String serviceName)
Retrieves the credentials of a service.
|
com.google.gson.JsonObject |
ScpCfCloudPlatform.getServiceCredentials(String serviceName,
String servicePlan)
Retrieves the credentials of a service.
|
Map<String,com.google.gson.JsonElement> |
ScpCfCloudPlatform.getVcapApplication()
Provides access to the "VCAP_APPLICATION" environment variable.
|
Map<String,com.google.gson.JsonArray> |
ScpCfCloudPlatform.getVcapServices()
Provides access to the "VCAP_SERVICES" environment variable.
|
String |
ScpCfCloudPlatform.getXsAppName()
Retrieves the "xsappname" from the XSUAA service credentials.
|
com.google.gson.JsonObject |
ScpCfCloudPlatform.getXsuaaServiceCredentials()
Retrieves the XSUAA service credentials.
|
com.google.gson.JsonObject |
ScpCfCloudPlatform.getXsuaaServiceCredentials(String servicePlan)
Retrieves the XSUAA service credentials.
|
Modifier and Type | Method and Description |
---|---|
static ScpCfService |
ScpCfService.of(ScpCfServiceDesignator designator,
String authUrlJsonPath,
String clientIdJsonPath,
String clientSecretJsonPath,
String serviceLocationJsonPath)
Factory method reading information about service from VCAP_SERVICES.
|
static ScpCfService |
ScpCfService.of(String serviceType,
String servicePlan,
String authUrlJsonPath,
String clientIdJsonPath,
String clientSecretJsonPath,
String serviceLocationJsonPath)
Factory method reading information about service from VCAP_SERVICES.
|
static ScpCfService |
ScpCfService.ofMultiTenant(ScpCfServiceDesignator designator,
String authUrlJsonPath,
String clientIdJsonPath,
String clientSecretJsonPath,
String serviceLocationJsonPath,
boolean useProviderTenant)
Factory method reading information about service from VCAP_SERVICES.
|
static ScpCfService |
ScpCfService.ofMultiTenant(String serviceType,
String servicePlan,
String authUrlJsonPath,
String clientIdJsonPath,
String clientSecretJsonPath,
String serviceLocationJsonPath,
boolean useProviderTenant)
Factory method reading information about service from VCAP_SERVICES.
|
Modifier and Type | Class and Description |
---|---|
class |
MultipleServiceBindingsException
Thrown if multiple bindings are found to a service on SAP Cloud Platform Cloud Foundry.
|
class |
NoServiceBindingException
Thrown if no binding is found to a service on SAP Cloud Platform Cloud Foundry.
|
Copyright © 2018 SAP SE. All rights reserved.