File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ modules:
1313 parameters :
1414 memory : 1024M
1515 disk-quota : 512M
16- buildpack : sap_java_buildpack_jakarta
16+ buildpacks :
17+ - https://github.com/SAP/cloud-authorization-buildpack/releases/latest/download/opa_buildpack.zip
18+ - sap_java_buildpack_jakarta
1719 routes :
1820 - route : ' ${default-url}'
1921 - route : ' ${default-host}.cert.${default-domain}'
@@ -22,6 +24,7 @@ modules:
2224 CDS_MULTITENANCY_APPUI_TENANTSEPARATOR : " -"
2325 JBP_CONFIG_COMPONENTS : " jres: ['com.sap.xs.java.buildpack.jre.SAPMachineJRE']"
2426 JBP_CONFIG_SAP_MACHINE_JRE : ' { version: 21.+ }'
27+ AMS_DCL_ROOT : " /BOOT-INF/classes/ams/"
2528 build-parameters :
2629 builder : custom
2730 commands :
Original file line number Diff line number Diff line change 2828 <xsuaa .version>3.5.3</xsuaa .version>
2929 <cf-java-logging-support .version>3.8.4</cf-java-logging-support .version>
3030 <cds .cdsdk-version>8.3.0</cds .cdsdk-version>
31+ <ams .client.version>1.7.0</ams .client.version>
3132 </properties >
3233
3334 <modules >
7172 <version >4.0.0</version >
7273 </dependency >
7374
75+ <!-- AUTHORIZATION MANAGEMENT SERVICE (AMS) -->
76+ <dependency >
77+ <groupId >com.sap.cloud.security.ams.client</groupId >
78+ <artifactId >jakarta-ams</artifactId >
79+ <version >1.7.0</version >
80+ </dependency >
81+ <!-- INTEGRATE CAP WITH AMS -->
82+ <dependency >
83+ <groupId >com.sap.cloud.security.ams.client</groupId >
84+ <artifactId >cap-support</artifactId >
85+ <version >1.7.0</version >
86+ </dependency >
87+
7488 </dependencies >
7589 </dependencyManagement >
7690
Original file line number Diff line number Diff line change 133133 <artifactId >spring-boot-devtools</artifactId >
134134 <optional >true</optional >
135135 </dependency >
136+
137+ <!-- ADD THE AUTHORIZATION MANAGEMENT SERVICE (AMS) -->
138+ <dependency >
139+ <groupId >com.sap.cloud.security.ams.client</groupId >
140+ <artifactId >jakarta-ams</artifactId >
141+ </dependency >
142+ <!-- INTEGRATE CAP WITH AMS -->
143+ <dependency >
144+ <groupId >com.sap.cloud.security.ams.client</groupId >
145+ <artifactId >cap-support</artifactId >
146+ </dependency >
136147 </dependencies >
137148
138149 <build >
Original file line number Diff line number Diff line change 1+ POLICY Admin {
2+ GRANT admin ON $ SCOPES;
3+ }
4+
5+ POLICY Expert {
6+ GRANT expert ON $ SCOPES;
7+ }
Original file line number Diff line number Diff line change 1+ SCHEMA {
2+ }
You can’t perform that action at this time.
0 commit comments