Modifier and Type | Class and Description |
---|---|
class |
DefaultDestination
Immutable default implementation of the
Destination interface to be used as the "single source of truth". |
class |
ScpCfDestination
SCP Cloud Foundry specific representation of a destination as a collection of key-value pairs, potentially
decoratable as a
ScpCfHttpDestination or a ScpCfRfcDestination . |
class |
ScpNeoDestination
SCP Neo specific representation of a destination as a collection of key-value pairs, potentially decoratable as a
ScpNeoHttpDestination or a ScpNeoRfcDestination . |
Modifier and Type | Method and Description |
---|---|
protected abstract Destination |
ScpVcapDestinationLoader.createDestination(VcapDataT vcapData,
DestinationOptions options)
Create an instance of
Destination from the structured data, which was retrieved from the VCAP lookup |
static Destination |
DestinationAccessor.getDestination(String destinationName)
Loads the destination with the given name.
|
Modifier and Type | Method and Description |
---|---|
io.vavr.control.Try<Destination> |
ScpXfDestinationLoader.tryGetDestination(String destinationName)
Retrieves a destination for the given name.
|
static io.vavr.control.Try<Destination> |
DestinationAccessor.tryGetDestination(String destinationName)
Loads the destination with the given name.
|
default io.vavr.control.Try<Destination> |
DestinationLoader.tryGetDestination(String destinationName)
Retrieves a destination for the given name.
|
io.vavr.control.Try<Destination> |
ScpCfDestinationLoader.tryGetDestination(String destinationName,
DestinationOptions options)
Retrieves a destination for the given name and configuration options.
|
io.vavr.control.Try<Destination> |
ScpVcapDestinationLoader.tryGetDestination(String destinationName,
DestinationOptions options)
Retrieves a destination for the given name and configuration options.
|
io.vavr.control.Try<Destination> |
ScpXfDestinationLoader.tryGetDestination(String destinationName,
DestinationOptions options)
Retrieves a destination for the given name and configuration options.
|
io.vavr.control.Try<Destination> |
ScpNeoDestinationLoader.tryGetDestination(String destinationName,
DestinationOptions options)
Retrieves a destination for the given name and configuration options.
|
io.vavr.control.Try<Destination> |
EnvVarDestinationLoader.tryGetDestination(String destinationName,
DestinationOptions options)
Retrieves a destination for the given name and configuration options.
|
io.vavr.control.Try<Destination> |
DestinationLoaderChain.tryGetDestination(String destinationName,
DestinationOptions options)
Retrieves a destination for the given name and configuration options.
|
io.vavr.control.Try<Destination> |
DestinationLoader.tryGetDestination(String destinationName,
DestinationOptions options)
Retrieves a destination for the given name and configuration options.
|
Modifier and Type | Method and Description |
---|---|
abstract RequestResultT |
Request.execute(Destination destination)
Executes a given request using the given
Destination . |
RequestResultT |
RequestExecutor.execute(Destination destination,
RequestT request)
Executes a request against an SAP S/4HANA system.
|
Modifier and Type | Method and Description |
---|---|
void |
SoapTransaction.before(Destination destination,
RequestT request) |
void |
JCoTransaction.before(Destination destination,
RequestT request) |
void |
Transaction.before(Destination destination,
RequestT request)
This method gets called before anything else gets called in the
RemoteFunctionRequestExecutor . |
void |
SoapTransaction.commit(Destination destination,
RequestT request) |
void |
JCoTransaction.commit(Destination destination,
RequestT request) |
void |
Transaction.commit(Destination destination,
RequestT request)
If
Transaction.execute(Destination, AbstractRemoteFunctionRequest) succeeded, this method is called to actually
commit the changes. |
RfmRequestResult |
RfmRequest.execute(Destination destination)
Executes a given request using the given
Destination . |
BapiRequestResult |
BapiRequest.execute(Destination destination)
Executes a given request using the given
Destination . |
RequestResultT |
RemoteFunctionRequestExecutor.execute(Destination destination,
RequestT request) |
RequestResultT |
SoapTransaction.execute(Destination destination,
RequestT request) |
RequestResultT |
JCoTransaction.execute(Destination destination,
RequestT request) |
RequestResultT |
Transaction.execute(Destination destination,
RequestT request)
The actual logic to be executed.
|
void |
SoapTransaction.rollback(Destination destination,
RequestT request) |
void |
JCoTransaction.rollback(Destination destination,
RequestT request) |
void |
Transaction.rollback(Destination destination,
RequestT request)
If there was a problem with
Transaction.execute(Destination, AbstractRemoteFunctionRequest) or
Transaction.commit(Destination, AbstractRemoteFunctionRequest) this method will get called to rollback any unwanted
changes. |
Constructor and Description |
---|
SoapRequest(Class<ServiceT> serviceClass,
Destination destination)
Deprecated.
This constructor is deprecated, use
SoapRequest.SoapRequest(Class, HttpDestination) instead |
Modifier and Type | Method and Description |
---|---|
Destination |
MockUtil.mockDestination(DestinationType destinationType,
String destinationName,
Map<String,String> propertiesByName) |
Destination |
MockUtil.mockDestination(MockDestination destination) |
Destination |
MockUtil.mockDestination(String name,
String systemAlias) |
Destination |
MockUtil.mockDestination(String name,
TestSystem<?> testSystem) |
Destination |
MockUtil.mockDestination(String name,
URI uri) |
Destination |
MockUtil.mockDestination(String name,
URI uri,
AuthenticationType authenticationType,
Credentials credentials,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
List<Header> headers,
KeyStore trustStore,
String trustStorePassword,
Boolean isTrustingAllCertificates,
KeyStore keyStore,
String keyStorePassword,
Map<String,String> propertiesByName) |
Destination |
MockUtil.mockDestination(String name,
URI uri,
Credentials credentials) |
Destination |
MockUtil.mockDestination(String name,
URI uri,
Credentials credentials,
ProxyConfiguration proxyConfiguration) |
Destination |
MockUtil.mockErpDestination(MockErpDestination destination) |
Destination |
MockUtil.mockErpDestination(String destinationName,
ErpSystem erpSystem) |
Destination |
MockUtil.mockErpDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials) |
Destination |
MockUtil.mockErpDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials,
AuthenticationType authenticationType,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
List<Header> headers,
KeyStore trustStore,
String trustStorePassword,
Boolean isTrustingAllCertificates,
KeyStore keyStore,
String keyStorePassword,
Map<String,String> propertiesByName) |
Destination |
MockUtil.mockErpDestination(String destinationName,
String systemAlias) |
Destination |
MockUtil.mockRfcDestination(MockRfcDestination destination) |
Destination |
MockUtil.mockRfcDestination(String destinationName,
ErpSystem erpSystem) |
Destination |
MockUtil.mockRfcDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials) |
Destination |
MockUtil.mockRfcDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials,
Map<String,String> propertiesByName) |
Destination |
MockUtil.mockRfcDestination(String destinationName,
String systemAlias) |
Modifier and Type | Method and Description |
---|---|
DestinationAccessorMocker |
DestinationAccessorMocker.addNamedDestination(Destination destination)
Add a destination with "name" property.
|
Copyright © 2020 SAP SE. All rights reserved.