Skip to content

Commit 7fca5aa

Browse files
vmikhailenkomofterdingerbeckermarc
authored
Switch from sap_java_buildpack to java_buildpack (#252)
We need to switch the Postgres-based sample from the SAP Java Buildpack to the CF one. SAP buildpack does not work with SSL support we delivered in the recent release. --------- Co-authored-by: Markus Ofterdinger <[email protected]> Co-authored-by: Marc Becker <[email protected]>
1 parent 943c80c commit 7fca5aa

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

mta.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ modules:
1313
parameters:
1414
memory: 1024M
1515
disk-quota: 512M
16-
buildpack: sap_java_buildpack
16+
buildpack: java_buildpack
1717
properties:
1818
SPRING_PROFILES_ACTIVE: cloud
19-
JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jre.SAPMachineJRE']"
20-
JBP_CONFIG_SAP_MACHINE_JRE: '{ use_offline_repository: false, version: 17.+ }'
19+
JBP_CONFIG_COMPONENTS: '{jres: ["JavaBuildpack::Jre::SapMachineJRE"]}'
20+
JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "17.+" } }'
2121
build-parameters:
2222
builder: custom
2323
commands:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"repository": "https://github.com/SAP-samples/cloud-cap-samples-java.git",
77
"devDependencies": {
88
"@sap/cds-dk": "^7.2",
9-
"@cap-js/postgres": "^1.1"
9+
"@cap-js/postgres": "~1.2"
1010
}
1111
}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
<!-- DEPENDENCIES VERSION -->
1818
<jdk.version>17</jdk.version>
19-
<cds.services.version>2.2.0</cds.services.version>
20-
<spring.boot.version>3.1.3</spring.boot.version>
19+
<cds.services.version>2.3.0</cds.services.version>
20+
<spring.boot.version>3.1.4</spring.boot.version>
2121
<cf-java-logging-support.version>3.7.0</cf-java-logging-support.version>
2222
</properties>
2323

0 commit comments

Comments
 (0)