ResilienceDecorator
is the main entry point).CircuitBreakerConfiguration
now allows to explicitly specify buffer sizes for the circuit breaker. The buffer sizes control how many sample executions the circuit breaker monitors before calculating the failure rate and potentially opening the circuit breaker because of too many failures. Use CircuitBreakerConfiguration.closedBufferSize
and CircuitBreakerConfiguration.halfOpenBufferSize
to provide custom values for the respective buffer size.CircuitBreakerConfiguration
from 100 to 10 for transitioning from CLOSED to OPEN state and from 10 to 5 for transitioning from HALF-OPEN back to CLOSED state.closedBufferSize
), from OPEN to HALF-OPEN after a wait duration has passed, and from HALF-OPEN to CLOSED when a small number of consecutive attempts (halfOpenBufferSize
) succeed.CircuitBreakerConfiguration.disabled()
, TimeLimiterConfiguration.disabled()
, BulkheadConfiguration.disabled()
, RetryConfiguration.disabled()
, and CacheConfiguration.disabled()
.ResilienceConfiguration.empty
to initialize a new resilience configuration with all properties being disabled by default, so that you can adapt all properties to your needs without relying on defaults.ResilienceConfiguration
with a CacheConfiguration
in place. Use ResilienceDecorator.invalidateCache(configuration)
to clear the cache associated with a specific resilience configuration.CacheConfiguration
. The expiration strategy determines the point in the lifecycle of a cache entry that is used as basis for the expiration duration, for example, starting from when a cache entry has been created. Use withExpirationStrategy(strategy)
on the builder for a CacheConfiguration with the enum constants available from CacheExpirationStrategy
. WHEN_LAST_MODIFIED
remains the default value for the expiration strategy.--copyright-header your-custom-header
(or the corresponding Maven plugin parameter). By default, no header is generated.@Sisn-cloud-sdk/cli
on the central registry npmjs.com. The CLI makes it easy to add the SAP Cloud SDK for JavaScript to an existing project and simplifies several other tasks when building applications on SAP Cloud Platform. Install the CLI via npm (npm install @Sisn-cloud-sdk/cli
). For more information on how to use the CLI, take a look at the Readme or call sap-cloud-sdk --help
after installing.import { createLogger } from '@sap/cloud-sdk-util';
const logger = createLogger('destination');
logger.level = 'error';
OAuth2SAMLBearerAssertion
authentication type that include a property SystemUser
. The system user will be used instead of the currently logged in user to retrieve an access token to the destination. That is, no principal propagation takes place. As a consequence, no user JWT is required.DestinationOptions
in execute
method of OData VDM request builders. The type used previously was overly restrictive, which prevented passing of valid objects like a selectionStrategy
, even though the code actually handles it.sdk-bom
dependency.3.7.0
.<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.sap.cloud.sdk</groupId>
<artifactId>sdk-bom</artifactId>
<version>3.7.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
<!-- possibly further managed dependencies ... -->
</dependencyManagement>
sdk-bom
with sdk-modules-bom
to only update the version of SDK modules, not further dependencies.-DarchetypeVersion=3.7.0
(or RELEASE
).npm update
in the root folder of your module. Note that this will also update other modules, unless you explicitly specify which packages to update. If you want to check beforehand what will change, use npm outdated
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
26 | |
13 | |
12 | |
11 | |
9 | |
9 | |
7 | |
5 | |
5 | |
5 |