DefaultHttpClientFactory
instance, that is exposed through HttpClientAccessor
. Changes that happen in this API also affect the internal requests through the SAP Cloud SDK.HttpClientFactory factory = DefaultHttpClientFactory.builder()
.timeoutMilliseconds(60000)
.maxConnectionsPerRoute(100)
.maxConnectionsTotal(200)
.build();
HttpClientAccessor.setHttpClientFactory(factory);
HttpClient httpClient = HttpClientAccessor.getHttpClient();
HttpDestination destination = DestinationAccessor.getDestination("MyDestination").asHttp();
HttpClient httpClient = HttpClientAccessor.getHttpClient(destination);
pom.xml
file. Bump the version of com.sap.cloud.sdk
dependency to 3.26.0
similar to the XML code snippet below and you're done! Mind, because of Maven Central relying on CDN it takes a bit of time for new maven module to be distributed.<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.sap.cloud.sdk</groupId>
<artifactId>sdk-bom</artifactId>
<version>3.27.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
<!-- possibly further managed dependencies ... -->
</dependencyManagement>
mvn clean install
from the command line in the root directory of your project.enum
types. Check the code snippet below on how to use it.TestEntity.builder()
.enumProperty(TestEnumType.Member1)
.build()
TestEnumType
is generated.Edm.Geography
, we introduced a type called Edm.Any
, so that these properties are not ignored. However, type safe features like url conversion are not supported.'
(single quotes),
(space) and ä
(umlaut) are encoded properly when used in the Filter
.authorization
headers, a warning is logged with the information about which one is used.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
.@Sisn
). This is no longer required, as all packages by SAP are now available from the standard public NPM registry. You can safely remove the configuration option sapNpmRegistry
../cx-server update image
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
23 | |
11 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 |