File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "requires" : {
33 "multitenancy" : true ,
44 "extensibility" : true ,
5- "toggles" : true
5+ "toggles" : true ,
6+ "ord" : true
67 },
78 "profile" : " with-mtx-sidecar" ,
89 "odata" : {
Original file line number Diff line number Diff line change @@ -36,3 +36,5 @@ hs_err*
3636
3737/chart /
3838.reloadtrigger
39+
40+ srv /src /main /resources /ord /**
Original file line number Diff line number Diff line change 99 },
1010 "scripts" : {
1111 "start" : " node node_modules/@sap/hdi-deploy/deploy.js --use-hdb" ,
12- "build" : " npm ci && npx cds build .. --for hana --production"
12+ "build" : " npm install && npx cds build .. --for hana --production"
1313 }
1414}
Original file line number Diff line number Diff line change 11{
2+ "name" : " bookshop-cds" ,
23 "dependencies" : {
34 "@cap-js/hana" : " ^2" ,
45 "@sap/cds" : " ^9" ,
56 "@sap/cds-mtxs" : " ^3" ,
67 "@sap/xssec" : " ^4" ,
7- "express" : " ^4"
8+ "express" : " ^4" ,
9+ "@cap-js/ord" : " ^1.6.0"
810 },
911 "devDependencies" : {
1012 "@cap-js/sqlite" : " ^2"
1315 "node" : " ^22"
1416 },
1517 "cds" : {
16- "profiles" : [" mtx-sidecar" , " java" ]
18+ "profiles" : [" mtx-sidecar" , " java" ],
19+ "ord" : {
20+ "namespace" : " sap.sample" ,
21+ "policyLevels" : [" sap:core:v1" ],
22+ "description" : " This is a custom description"
23+ }
1724 },
1825 "scripts" : {
1926 "start" : " cds-serve" ,
20- "build" : " cds build ../.. --for mtx-sidecar --production && npm ci --prefix gen"
27+ "build" : " cds build ../.. --for mtx-sidecar --production && npm install --prefix gen"
2128 }
2229}
Original file line number Diff line number Diff line change 44 "description" : " Generated by cds-services-archetype" ,
55 "devDependencies" : {
66 "@sap/cds-dk" : " 9.8.1" ,
7- "@sap/cds-mtxs" : " ^3"
7+ "@sap/cds-mtxs" : " ^3" ,
8+ "@cap-js/ord" : " ^1.6.0"
89 },
910 "workspaces" : [
1011 " mtx/sidecar"
Original file line number Diff line number Diff line change 2828
2929 <!-- DEPENDENCIES VERSION -->
3030 <jdk .version>21</jdk .version>
31- <cds .services.version>4.8 .0</cds .services.version>
31+ <cds .services.version>4.9 .0</cds .services.version>
3232 <cloud .sdk.version>5.27.0</cloud .sdk.version>
3333 <xsuaa .version>3.6.8</xsuaa .version>
3434 <cf-java-logging-support .version>4.1.0</cf-java-logging-support .version>
Original file line number Diff line number Diff line change 6464 <scope >runtime</scope >
6565 </dependency >
6666
67+ <dependency >
68+ <groupId >com.sap.cds</groupId >
69+ <artifactId >cds-feature-ord</artifactId >
70+ <scope >runtime</scope >
71+ </dependency >
72+
6773 <!-- CLOUD SDK dependencies -->
6874 <dependency >
6975 <groupId >com.sap.cloud.sdk.cloudplatform</groupId >
218224 <configuration >
219225 <commands >
220226 <command >build --for java</command >
227+ <command >build --for ord -o "${project.basedir} /src/main/resources/ord"</command >
221228 <command >deploy --to h2 --with-mocks --dry --out "${project.basedir} /src/main/resources/schema-h2.sql"</command >
222229 <command >compile srv/cat-service.cds -2 openapi --openapi:url /api/browse >
223230 "${project.basedir} /src/main/resources/swagger/openapi.json"</command >
You can’t perform that action at this time.
0 commit comments