Skip to content

Commit 77fdab7

Browse files
committed
CDS 9.6
1 parent 9007263 commit 77fdab7

File tree

13 files changed

+486
-481
lines changed

13 files changed

+486
-481
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## Version 0.9.0 - 2025-12-05
8+
## Version 0.9.0 - 2025-12-17
99

1010
### Fixed
1111

app/scheduling.monitoring.job/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/builds/sap-afc-sdk-0.9.0.jar

107 Bytes
Binary file not shown.

bin/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
"node": ["sqlite", "redis"],
1212
"java": [],
1313
"cf": ["mta"],
14-
"kyma": ["helm", "containerize"]
14+
"kyma": ["kyma"]
1515
},
1616
"basic": {
1717
"common": ["approuter", "hana"],
1818
"node": ["sqlite"],
1919
"java": [],
2020
"cf": ["mta"],
21-
"kyma": ["helm", "containerize"]
21+
"kyma": ["kyma"]
2222
}
2323
},
2424
"dependencies": {

bin/test/__snapshots__/build.test.js.snap

Lines changed: 56 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -860,9 +860,6 @@ spring:
860860
cds:
861861
data-source.auto-config.enabled: false
862862
---
863-
cds:
864-
index-page:
865-
enabled: true
866863
management:
867864
endpoint:
868865
health:
@@ -880,13 +877,15 @@ management:
880877
enabled: true
881878
db:
882879
enabled: true
880+
cds:
881+
index-page:
882+
enabled: true
883883
springdoc:
884-
packages-to-scan[0]: com.github.capjscommunity.sapafcsdk.scheduling.controllers
884+
packages-to-scan:
885+
- com.github.capjscommunity.sapafcsdk.scheduling.controllers
885886
swagger-ui:
886887
path: /api-docs/api/job-scheduling/v1
887888
sap-afc-sdk:
888-
syncJob:
889-
cron: 0 */1 * * * *
890889
broker:
891890
enabled: true
892891
name: afcsdk
@@ -899,6 +898,8 @@ sap-afc-sdk:
899898
credential-types:
900899
- binding-secret
901900
- x509
901+
syncJob:
902+
cron: 0 */1 * * * *
902903
mockProcessing:
903904
min: 0
904905
max: 10
@@ -1200,8 +1201,8 @@ modules:
12001201
srv-url: \${default-url}
12011202
requires:
12021203
- name: afcsdk-db
1203-
- name: afcsdk-cloud-logging
12041204
- name: afcsdk-destination
1205+
- name: afcsdk-cloud-logging
12051206
- name: afcsdk-auth
12061207
12071208
- name: afcsdk-db-deployer
@@ -1230,8 +1231,8 @@ modules:
12301231
name: srv-api # must be used in xs-app.json as well
12311232
url: ~{srv-url}
12321233
forwardAuthToken: true
1233-
- name: afcsdk-cloud-logging
12341234
- name: afcsdk-destination
1235+
- name: afcsdk-cloud-logging
12351236
- name: afcsdk-html5-runtime
12361237
- name: afcsdk-auth
12371238
provides:
@@ -1309,14 +1310,6 @@ resources:
13091310
parameters:
13101311
service: hana
13111312
service-plan: hdi-shared
1312-
- name: afcsdk-cloud-logging
1313-
type: org.cloudfoundry.managed-service
1314-
parameters:
1315-
service: cloud-logging
1316-
service-plan: standard
1317-
config:
1318-
ingest_otlp:
1319-
enabled: true
13201313
- name: afcsdk-destination
13211314
type: org.cloudfoundry.managed-service
13221315
parameters:
@@ -1337,6 +1330,14 @@ resources:
13371330
HTML5.DynamicDestination: true
13381331
requires:
13391332
- name: srv-api
1333+
- name: afcsdk-cloud-logging
1334+
type: org.cloudfoundry.managed-service
1335+
parameters:
1336+
service: cloud-logging
1337+
service-plan: standard
1338+
config:
1339+
ingest_otlp:
1340+
enabled: true
13401341
13411342
- name: afcsdk-html5-repo-host
13421343
type: org.cloudfoundry.managed-service
@@ -2233,9 +2234,6 @@ spring:
22332234
cds:
22342235
data-source.auto-config.enabled: false
22352236
---
2236-
cds:
2237-
index-page:
2238-
enabled: true
22392237
management:
22402238
endpoint:
22412239
health:
@@ -2253,13 +2251,15 @@ management:
22532251
enabled: true
22542252
db:
22552253
enabled: true
2254+
cds:
2255+
index-page:
2256+
enabled: true
22562257
springdoc:
2257-
packages-to-scan[0]: com.github.capjscommunity.sapafcsdk.scheduling.controllers
2258+
packages-to-scan:
2259+
- com.github.capjscommunity.sapafcsdk.scheduling.controllers
22582260
swagger-ui:
22592261
path: /api-docs/api/job-scheduling/v1
22602262
sap-afc-sdk:
2261-
syncJob:
2262-
cron: 0 */1 * * * *
22632263
broker:
22642264
enabled: true
22652265
name: afcsdk
@@ -2272,6 +2272,8 @@ sap-afc-sdk:
22722272
credential-types:
22732273
- binding-secret
22742274
- x509
2275+
syncJob:
2276+
cron: 0 */1 * * * *
22752277
mockProcessing:
22762278
min: 0
22772279
max: 10
@@ -2560,15 +2562,15 @@ dependencies:
25602562
- name: service-instance
25612563
alias: cloud-logging
25622564
version: ">0.0.0"
2565+
- name: service-instance
2566+
alias: destination
2567+
version: ">0.0.0"
25632568
- name: service-instance
25642569
alias: html5-apps-repo-host
25652570
version: ">0.0.0"
25662571
- name: content-deployment
25672572
alias: html5-apps-deployer
25682573
version: ">0.0.0"
2569-
- name: service-instance
2570-
alias: destination
2571-
version: ">0.0.0"
25722574
- name: service-instance
25732575
alias: html5-apps-repo-runtime
25742576
version: ">0.0.0"
@@ -2594,13 +2596,13 @@ srv:
25942596
bindings:
25952597
db:
25962598
serviceInstanceName: hana
2599+
destination:
2600+
serviceInstanceName: destination
25972601
cloud-logging:
25982602
serviceInstanceName: cloud-logging
25992603
credentialsRotationPolicy:
26002604
enabled: true
26012605
rotationFrequency: 168h
2602-
destination:
2603-
serviceInstanceName: destination
26042606
auth:
26052607
serviceInstanceName: xsuaa
26062608
image:
@@ -2667,18 +2669,18 @@ approuter:
26672669
backendDestinations:
26682670
srv-api:
26692671
service: srv
2670-
cloud-logging:
2671-
serviceOfferingName: cloud-logging
2672-
servicePlanName: standard
2673-
parameters:
2674-
ingest_otlp:
2675-
enabled: true
26762672
destination:
26772673
serviceOfferingName: destination
26782674
servicePlanName: lite
26792675
parameters:
26802676
version: 1.0.0
26812677
HTML5Runtime_enabled: true
2678+
cloud-logging:
2679+
serviceOfferingName: cloud-logging
2680+
servicePlanName: standard
2681+
parameters:
2682+
ingest_otlp:
2683+
enabled: true
26822684
html5-apps-repo-host:
26832685
serviceOfferingName: html5-apps-repo
26842686
servicePlanName: app-host
@@ -3750,8 +3752,8 @@ modules:
37503752
requires:
37513753
- name: afcsdk-db
37523754
- name: afcsdk-redis
3753-
- name: afcsdk-cloud-logging
37543755
- name: afcsdk-destination
3756+
- name: afcsdk-cloud-logging
37553757
- name: afcsdk-auth
37563758
37573759
- name: afcsdk-db-deployer
@@ -3775,8 +3777,8 @@ modules:
37753777
name: srv-api # must be used in xs-app.json as well
37763778
url: ~{srv-url}
37773779
forwardAuthToken: true
3778-
- name: afcsdk-cloud-logging
37793780
- name: afcsdk-destination
3781+
- name: afcsdk-cloud-logging
37803782
- name: afcsdk-html5-runtime
37813783
- name: afcsdk-auth
37823784
provides:
@@ -3869,14 +3871,6 @@ resources:
38693871
# day_of_week: Friday
38703872
# start_hour_utc: 0
38713873
# duration: 5 # hours
3872-
- name: afcsdk-cloud-logging
3873-
type: org.cloudfoundry.managed-service
3874-
parameters:
3875-
service: cloud-logging
3876-
service-plan: standard
3877-
config:
3878-
ingest_otlp:
3879-
enabled: true
38803874
- name: afcsdk-destination
38813875
type: org.cloudfoundry.managed-service
38823876
parameters:
@@ -3897,6 +3891,14 @@ resources:
38973891
HTML5.DynamicDestination: true
38983892
requires:
38993893
- name: srv-api
3894+
- name: afcsdk-cloud-logging
3895+
type: org.cloudfoundry.managed-service
3896+
parameters:
3897+
service: cloud-logging
3898+
service-plan: standard
3899+
config:
3900+
ingest_otlp:
3901+
enabled: true
39003902
39013903
- name: afcsdk-html5-repo-host
39023904
type: org.cloudfoundry.managed-service
@@ -4910,15 +4912,15 @@ dependencies:
49104912
- name: service-instance
49114913
alias: cloud-logging
49124914
version: ">0.0.0"
4915+
- name: service-instance
4916+
alias: destination
4917+
version: ">0.0.0"
49134918
- name: service-instance
49144919
alias: html5-apps-repo-host
49154920
version: ">0.0.0"
49164921
- name: content-deployment
49174922
alias: html5-apps-deployer
49184923
version: ">0.0.0"
4919-
- name: service-instance
4920-
alias: destination
4921-
version: ">0.0.0"
49224924
- name: service-instance
49234925
alias: html5-apps-repo-runtime
49244926
version: ">0.0.0"
@@ -4944,13 +4946,13 @@ srv:
49444946
bindings:
49454947
db:
49464948
serviceInstanceName: hana
4949+
destination:
4950+
serviceInstanceName: destination
49474951
cloud-logging:
49484952
serviceInstanceName: cloud-logging
49494953
credentialsRotationPolicy:
49504954
enabled: true
49514955
rotationFrequency: 168h
4952-
destination:
4953-
serviceInstanceName: destination
49544956
auth:
49554957
serviceInstanceName: xsuaa
49564958
image:
@@ -5015,18 +5017,18 @@ approuter:
50155017
backendDestinations:
50165018
srv-api:
50175019
service: srv
5018-
cloud-logging:
5019-
serviceOfferingName: cloud-logging
5020-
servicePlanName: standard
5021-
parameters:
5022-
ingest_otlp:
5023-
enabled: true
50245020
destination:
50255021
serviceOfferingName: destination
50265022
servicePlanName: lite
50275023
parameters:
50285024
version: 1.0.0
50295025
HTML5Runtime_enabled: true
5026+
cloud-logging:
5027+
serviceOfferingName: cloud-logging
5028+
servicePlanName: standard
5029+
parameters:
5030+
ingest_otlp:
5031+
enabled: true
50305032
html5-apps-repo-host:
50315033
serviceOfferingName: html5-apps-repo
50325034
servicePlanName: app-host

bin/test/build.test.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ const Commands = {
2222
BEGIN: [`cd ${tempDir}`],
2323
CDS_NODE: [`npx cds init ${PROJECT}`],
2424
CDS_JAVA: [`npx cds init ${PROJECT} --java`],
25-
INSTALL: [`cd ${PROJECT}`, "cp ../../test/.npmrc .", "npm install"],
25+
INSTALL: [`cd ${PROJECT}`, "cp ../../test/.npmrc .", "npm install ../../../"],
2626
AFC_CF: ["npx afc init cf"],
2727
AFC_KYMA: ["npx afc init kyma"],
2828
AFC_NODE: ["npx afc add -a app,broker,stub,mock,sample,test,http"],
2929
AFC_JAVA: ["npx afc add -a app,broker,stub,mock,sample,test,http"],
3030
END: [],
31-
TEST: [`cd ${PROJECT}`, "npm test"],
31+
TEST: [`cd ${tempDir}/${PROJECT}`, "npm test"],
3232
};
3333

3434
const Files = {
@@ -96,8 +96,6 @@ describe("Build", () => {
9696
...Commands.CDS_NODE,
9797
...Commands.INSTALL,
9898
...Commands.AFC_CF,
99-
...Commands.AFC_CF,
100-
...Commands.AFC_NODE,
10199
...Commands.AFC_NODE,
102100
...Commands.END,
103101
].join(" && "),
@@ -119,8 +117,6 @@ describe("Build", () => {
119117
...Commands.CDS_NODE,
120118
...Commands.INSTALL,
121119
...Commands.AFC_KYMA,
122-
...Commands.AFC_KYMA,
123-
...Commands.AFC_NODE,
124120
...Commands.AFC_NODE,
125121
...Commands.END,
126122
].join(" && "),
@@ -142,8 +138,6 @@ describe("Build", () => {
142138
...Commands.CDS_JAVA,
143139
...Commands.INSTALL,
144140
...Commands.AFC_CF,
145-
...Commands.AFC_CF,
146-
...Commands.AFC_JAVA,
147141
...Commands.AFC_JAVA,
148142
...Commands.END,
149143
].join(" && "),
@@ -165,8 +159,6 @@ describe("Build", () => {
165159
...Commands.CDS_JAVA,
166160
...Commands.INSTALL,
167161
...Commands.AFC_KYMA,
168-
...Commands.AFC_KYMA,
169-
...Commands.AFC_JAVA,
170162
...Commands.AFC_JAVA,
171163
...Commands.END,
172164
].join(" && "),

0 commit comments

Comments
 (0)