Skip to content

Commit c44e707

Browse files
authored
Use CAP Java 3.0 (#343)
and @sap/[email protected]
1 parent c5d4247 commit c44e707

File tree

3 files changed

+7
-35
lines changed

3 files changed

+7
-35
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323

2424
<!-- DEPENDENCIES VERSION -->
2525
<jdk.version>17</jdk.version>
26-
<cds.services.version>2.10.2</cds.services.version>
26+
<cds.services.version>3.0.0</cds.services.version>
2727
<cloud.sdk.version>5.10.0</cloud.sdk.version>
2828
<xsuaa.version>3.5.2</xsuaa.version>
2929
<cf-java-logging-support.version>3.8.3</cf-java-logging-support.version>
30-
<cds.install-cdsdk.version>7.9.4</cds.install-cdsdk.version>
30+
<cds.install-cdsdk.version>8.0.2</cds.install-cdsdk.version>
3131
</properties>
3232

3333
<modules>

srv/pom.xml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -32,32 +32,12 @@
3232
<groupId>com.sap.cds</groupId>
3333
<artifactId>cds-starter-cloudfoundry</artifactId>
3434
<scope>runtime</scope>
35-
<exclusions>
36-
<exclusion>
37-
<groupId>com.sap.cds</groupId>
38-
<artifactId>cds-feature-xsuaa</artifactId>
39-
</exclusion>
40-
<exclusion>
41-
<groupId>com.sap.cloud.security.xsuaa</groupId>
42-
<artifactId>xsuaa-spring-boot-starter</artifactId>
43-
</exclusion>
44-
</exclusions>
4535
</dependency>
4636

4737
<dependency>
4838
<groupId>com.sap.cds</groupId>
4939
<artifactId>cds-starter-k8s</artifactId>
5040
<scope>runtime</scope>
51-
<exclusions>
52-
<exclusion>
53-
<groupId>com.sap.cds</groupId>
54-
<artifactId>cds-feature-xsuaa</artifactId>
55-
</exclusion>
56-
<exclusion>
57-
<groupId>com.sap.cloud.security.xsuaa</groupId>
58-
<artifactId>xsuaa-spring-boot-starter</artifactId>
59-
</exclusion>
60-
</exclusions>
6141
</dependency>
6242

6343
<dependency>
@@ -212,7 +192,7 @@
212192
<goal>npm</goal>
213193
</goals>
214194
<configuration>
215-
<arguments>install @sap/cds-dk@${cds.install-cdsdk.version} @sap/cds-mtxs@^1 --no-save</arguments>
195+
<arguments>install @sap/cds-dk@${cds.install-cdsdk.version} @sap/cds-mtxs@^2 --no-save</arguments>
216196
</configuration>
217197
</execution>
218198

@@ -230,7 +210,7 @@
230210
</goals>
231211
<configuration>
232212
<commands>
233-
<command>build --for java --opts contentLocalizedEdmx=false</command>
213+
<command>build --for java</command>
234214
<command>deploy --to h2 --with-mocks --dry &gt;
235215
"${project.basedir}/src/main/resources/schema.sql"</command>
236216
<command>deploy --to h2 --dry &gt;
@@ -248,7 +228,6 @@
248228
</goals>
249229
<configuration>
250230
<basePackage>cds.gen</basePackage>
251-
<uniqueEventContexts>true</uniqueEventContexts>
252231
</configuration>
253232
</execution>
254233
</executions>

srv/src/main/resources/application.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ spring:
88
cds:
99
odata-v4:
1010
endpoint.path: "/api"
11-
lazy-i18n.enabled: true
12-
multi-tenancy:
13-
compatibility.enabled: false
14-
mtxs.enabled: true
1511
security:
16-
authentication.normalize-provider-tenant: true
1712
mock.users:
1813
admin:
1914
password: admin
@@ -47,11 +42,9 @@ spring:
4742
config.activate.on-profile: cloud
4843
sql.init.schema-locations: "classpath:schema-nomocks.sql"
4944
cds:
50-
sql.hana:
51-
optimizationMode: hex
52-
search:
53-
fuzzy: true
54-
fuzzinessThreshold: 0.9
45+
sql.hana.search:
46+
fuzzy: true
47+
fuzzinessThreshold: 0.9
5548
messaging.services:
5649
bupa-messaging:
5750
kind: enterprise-messaging

0 commit comments

Comments
 (0)