Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
564 commits
Select commit Hold shift + click to select a range
7c3efc9
ut fix
rishikunnath2747 Jan 30, 2026
a7b2321
added Integrationtest
deepikaSingh2711 Jan 30, 2026
7afad4c
mvn spotless
deepikaSingh2711 Jan 30, 2026
c3d6e8e
pom changes reverted
deepikaSingh2711 Feb 2, 2026
d664907
Fix Setting the custom properties value to null doesn't revert the va…
akgarg06 Feb 2, 2026
fd2214d
MoveBug fix for attachments with codeList type of custom property & C…
yashmeet29 Feb 2, 2026
99dae04
fix for moveAttachments
yashmeet29 Feb 2, 2026
ffd78ea
revert pom version
yashmeet29 Feb 3, 2026
aa10909
Update project revision to 1.7.1-SNAPSHOT
rishikunnath2747 Feb 3, 2026
6aad92c
Merge pull request #417 from cap-java/linkNestedEntities
rishikunnath2747 Feb 3, 2026
e58bf67
Merge branch 'develop' into moveAndCopyBugFix
yashmeet29 Feb 3, 2026
1243076
addressed github-code-quality review comments
yashmeet29 Feb 3, 2026
86eb33d
Merge branch 'moveAndCopyBugFix' of https://github.com/cap-java/sdm i…
yashmeet29 Feb 3, 2026
9698734
readme update
deepikaSingh2711 Feb 3, 2026
cd34db8
Merge pull request #419 from cap-java/moveAndCopyBugFix
yashmeet29 Feb 3, 2026
761116c
Merge branch 'develop' into DINC0721168
akgarg06 Feb 3, 2026
1f34fd4
Changes
rashmiangadi05 Feb 3, 2026
2a79487
Merge branch 'develop' into repoexception
rashmiangadi05 Feb 3, 2026
5789212
Update SDMReadAttachmentsHandler.java
rashmiangadi05 Feb 3, 2026
c1d2b59
Merge branch 'repoexception' of https://github.com/cap-java/sdm into …
rashmiangadi05 Feb 3, 2026
d57c060
update readme
rishikunnath2747 Feb 3, 2026
deb0d50
Merge branch 'develop' into hideLinkUrlFromUI
rishikunnath2747 Feb 3, 2026
4b4d1e5
integration test changes
deepikaSingh2711 Feb 3, 2026
9b1ef40
Update project revision to 1.0.0-RC1
rishikunnath2747 Feb 3, 2026
b2c3b7f
Change branch verification from local_deploy to maxAnnotation
rishikunnath2747 Feb 3, 2026
b781313
Change git clone branch from local_mtTests to attachmentSize
rishikunnath2747 Feb 3, 2026
6313813
Merge pull request #331 from cap-java/hideLinkUrlFromUI
yashmeet29 Feb 3, 2026
fec7b32
Merge branch 'develop' into repoexception
yashmeet29 Feb 3, 2026
6bd1d9a
Merge branch 'develop' into DINC0721168
akgarg06 Feb 3, 2026
bbef8d0
Merge branch 'develop' into attachmentSize
rishikunnath2747 Feb 3, 2026
f25b482
Update AssertJ core version to 3.27.7
rishikunnath2747 Feb 3, 2026
25acaf7
Change branch verification from 'maxAnnotation' to 'local_deploy'
rishikunnath2747 Feb 3, 2026
99d7643
Change git clone branch from attachmentSize to local_mtTests
rishikunnath2747 Feb 3, 2026
7ef8b0c
Update project revision to 1.7.1-SNAPSHOT
rishikunnath2747 Feb 3, 2026
21d9e6f
Merge pull request #413 from cap-java/attachmentSize
rishikunnath2747 Feb 3, 2026
0fc05b9
Remove linkUrl from hidden properties in README
rishikunnath2747 Feb 3, 2026
9c821e8
Update project revision to 1.0.0-RC1
rishikunnath2747 Feb 3, 2026
2278c39
Merge branch 'develop' into repoexception
rishikunnath2747 Feb 3, 2026
f055fb9
Merge branch 'develop' into DINC0721168
akgarg06 Feb 3, 2026
9f17c8d
Update project revision to 1.7.1-SNAPSHOT
rishikunnath2747 Feb 3, 2026
218bf1f
Merge pull request #421 from cap-java/repoexception
rishikunnath2747 Feb 3, 2026
fe4a4e4
Merge branch 'develop' into DINC0721168
rishikunnath2747 Feb 4, 2026
d90b320
Update project revision to 1.7.1-SNAPSHOT
rishikunnath2747 Feb 4, 2026
9581b6f
tests
rishikunnath2747 Feb 6, 2026
6b52780
Merge pull request #422 from cap-java/neTests
rishikunnath2747 Feb 6, 2026
7593a9b
Add integration test includes to pom.xml
rishikunnath2747 Feb 6, 2026
b902226
Merge pull request #423 from cap-java/pomUpdate
rishikunnath2747 Feb 8, 2026
0052d16
Supoort of moveAttachments for Active entity & Integration Tests Fix
yashmeet29 Feb 11, 2026
469ba4f
sonar fix
yashmeet29 Feb 11, 2026
860aa04
address github-code-quality review comments
yashmeet29 Feb 11, 2026
589d454
[Hyperspace] 🤖 Add PR Bot Configuration (#389)
hyperspace-insights[bot] Feb 11, 2026
3f2c637
Merge branch 'develop' into moveAttachmentsSupportForActiveEntity
yashmeet29 Feb 11, 2026
d5bd4e5
Merge pull request #424 from cap-java/moveAttachmentsSupportForActive…
yashmeet29 Feb 12, 2026
316659b
Update project revision to 1.7.1-SNAPSHOT
yashmeet29 Feb 12, 2026
24dc208
attachments plugin version update for file size restriction and allow…
yashmeet29 Feb 12, 2026
90cbc45
Update pom.xml
yashmeet29 Feb 12, 2026
5a77c5d
revert pom version
yashmeet29 Feb 13, 2026
04ecc9e
Merge pull request #426 from cap-java/attachmentsVersionUpdateForFile…
yashmeet29 Feb 13, 2026
e9eb340
feat(ci): add Build Doctor agent for pipeline failure diagnosis
vibhutikumar07 Feb 18, 2026
563013e
Remove 'Deploy to Artifactory' from workflow triggers
vibhutikumar07 Feb 18, 2026
a2d5de5
Add demo-build workflow and update build-doctor trigger
vibhutikumar07 Feb 19, 2026
69d54c9
Scenario 3: Unit Test Failure
vibhutikumar07 Feb 19, 2026
9a09cb3
Embed Build Doctor in demo-build.yml
vibhutikumar07 Feb 19, 2026
cafb1ec
Revert: Remove embedded Build Doctor
vibhutikumar07 Feb 19, 2026
f700805
Fix: Configure GITREPO_TOKEN and write permissions
vibhutikumar07 Feb 19, 2026
a992586
Merge feature/build-doctor into develop (Resolve conflicts)
vibhutikumar07 Feb 19, 2026
097d96a
Fix: Revert accidental test failure in SDMUtilsTest
vibhutikumar07 Feb 19, 2026
3f38c62
Trigger Scenario 3: Unit Test Failure Demo
vibhutikumar07 Feb 20, 2026
1339254
Feature: Configure Build Doctor to monitor existing workflows
vibhutikumar07 Feb 20, 2026
76426e6
Update build-doctor.yml
vibhutikumar07 Feb 20, 2026
04d346d
Fix: Pin @actions/github to v5 to fix ESM import error (#437)
vibhutikumar07 Feb 20, 2026
cb0d99b
Enhance log analysis prompt for DevOps diagnosis
vibhutikumar07 Feb 20, 2026
9239101
Merge branch 'develop' into feature/optimize-build-doctor
vibhutikumar07 Feb 20, 2026
1cf22d0
Refactor analysis comment posting logic
vibhutikumar07 Feb 20, 2026
548bae3
Added logs
deepikaSingh2711 Feb 23, 2026
3ce44c2
Spotless Indentation Changes
deepikaSingh2711 Feb 23, 2026
96db80f
perf: Parallelize multi-tenant integration tests (#433)
vibhutikumar07 Feb 25, 2026
36a8ddb
Update project revision to 1.8.1-SNAPSHOT
vibhutikumar07 Feb 25, 2026
c3d804c
Merge branch 'develop' into DINC0721168
akgarg06 Feb 26, 2026
6b74236
Merge pull request #420 from cap-java/DINC0721168
akgarg06 Feb 26, 2026
6a211f1
Merge branch 'develop' into logEnhancement
yashmeet29 Feb 27, 2026
50b4987
Merge pull request #438 from cap-java/logEnhancement
deepikaSingh2711 Feb 27, 2026
6fc6087
jackson-core-version update
deepikaSingh2711 Mar 13, 2026
d6d2ee9
Merge pull request #446 from cap-java/jacksonVersion-update
deepikaSingh2711 Mar 13, 2026
3568b57
Change log for release 1.8.1 & ReadMe enhancement
yashmeet29 Mar 18, 2026
70a439a
Merge pull request #449 from cap-java/changeLogForRel1.8.1
yashmeet29 Mar 18, 2026
8b2fadb
Update multiTenant_deploy_and_Integration_test.yml
vibhutikumar07 Mar 18, 2026
a3714f2
Update multiTenant_deploy_and_Integration_test_LatestVersion.yml
vibhutikumar07 Mar 18, 2026
f121234
Merge pull request #450 from cap-java/node-version
yashmeet29 Mar 18, 2026
c582a0f
removed wait time upload logic
deepikaSingh2711 Mar 23, 2026
24da9ce
spotless changes
deepikaSingh2711 Mar 23, 2026
e839117
chapters Integration tests fix
deepikaSingh2711 Mar 23, 2026
3dd6326
fix for finding 'Unread local variable'
deepikaSingh2711 Mar 23, 2026
c670779
changed pom for deployment
deepikaSingh2711 Mar 24, 2026
54e3bef
Update pom version back
deepikaSingh2711 Mar 24, 2026
b989cb0
pom change
deepikaSingh2711 Mar 25, 2026
c98078c
workflow update
deepikaSingh2711 Mar 25, 2026
53142c3
Update Node.js setup action version to v3
deepikaSingh2711 Mar 25, 2026
5d19b08
pom change
deepikaSingh2711 Mar 26, 2026
08dcb4d
Merge branch 'IntegrationTestsFix' of https://github.com/cap-java/sdm…
deepikaSingh2711 Mar 26, 2026
45cc0c2
Update gemini_issues_review.yml
vibhutikumar07 Mar 26, 2026
5e3b2b1
Update multiTenancyDeployLocal.yml
vibhutikumar07 Mar 26, 2026
d8ba558
Update gemini_issues_review.yml
vibhutikumar07 Mar 26, 2026
8cdf22c
upload in progress while copy attachment
deepikaSingh2711 Mar 26, 2026
af63cc1
Merge branch 'develop' into IntegrationTestsFix
deepikaSingh2711 Mar 26, 2026
e60554f
pom change
deepikaSingh2711 Mar 26, 2026
596a692
Merge branch 'IntegrationTestsFix' of https://github.com/cap-java/sdm…
deepikaSingh2711 Mar 26, 2026
34af7e2
pom reverted
deepikaSingh2711 Mar 26, 2026
f5775c3
Changes to support attachment creation in Active entity
yashmeet29 Mar 27, 2026
3833e06
added changes for error keys
deepikaSingh2711 Mar 27, 2026
32a5cc8
Merge remote-tracking branch 'origin/IntegrationTestsFix' into errorM…
deepikaSingh2711 Mar 27, 2026
b7eadb9
pom change
deepikaSingh2711 Mar 27, 2026
2bfcfa7
Fixed logging and UTs
yashmeet29 Mar 30, 2026
e31213c
single tenant deployment workflow update for testing
yashmeet29 Mar 30, 2026
a08013c
Update pom.xml
yashmeet29 Mar 30, 2026
b42722d
Change installation from cf-cli to cf8-cli
vibhutikumar07 Mar 30, 2026
d2c4cea
Update singleTenant_deploy_and_Integration_test_LatestVersion.yml
vibhutikumar07 Mar 30, 2026
bd153f6
Update singleTenant_deploy_and_Integration_test.yml
vibhutikumar07 Mar 30, 2026
34100f7
Change installation from cf-cli to cf8-cli
vibhutikumar07 Mar 30, 2026
94e76ca
Update multiTenant_deploy_and_Integration_test.yml
vibhutikumar07 Mar 30, 2026
ae02aff
Update multiTenant_deploy_and_Integration_test_LatestVersion.yml
vibhutikumar07 Mar 30, 2026
1443d61
pom version reverted
deepikaSingh2711 Mar 31, 2026
c717ca1
Merge pull request #454 from cap-java/IntegrationTestsFix
deepikaSingh2711 Mar 31, 2026
c43fd98
Merge branch 'develop' into errorMessages
yashmeet29 Mar 31, 2026
2bdc011
Merge branch 'develop' into createAttachmentInActiveEntity
yashmeet29 Mar 31, 2026
ddde326
readme update
deepikaSingh2711 Mar 31, 2026
dfddeba
deployment workflow update
deepikaSingh2711 Mar 31, 2026
a69d420
Merge branch 'errorMessages' of https://github.com/cap-java/sdm into …
deepikaSingh2711 Mar 31, 2026
f4a83ad
Update workflow file for testing
yashmeet29 Mar 31, 2026
4b749f4
Merge branch 'createAttachmentInActiveEntity' of https://www.github.c…
yashmeet29 Mar 31, 2026
4cf54f4
address review comments
yashmeet29 Mar 31, 2026
6cd5561
ReadMe update, revert pom and workflow changes and address review com…
yashmeet29 Mar 31, 2026
2657627
Fix ReadMe
yashmeet29 Mar 31, 2026
92597d9
Merge pull request #459 from cap-java/errorMessages
deepikaSingh2711 Mar 31, 2026
3fe7198
Merge branch 'develop' into createAttachmentInActiveEntity
yashmeet29 Mar 31, 2026
588490f
Merge pull request #460 from cap-java/createAttachmentInActiveEntity
yashmeet29 Apr 1, 2026
3f64b3c
SDM binding and technical user customer issues
rashmiangadi05 Apr 7, 2026
842b628
Update CHANGELOG.md
akgarg06 Apr 7, 2026
1e640f5
Update CHANGELOG.md
akgarg06 Apr 7, 2026
f832331
Update CHANGELOG.md
akgarg06 Apr 7, 2026
b95919b
Update CHANGELOG.md
akgarg06 Apr 7, 2026
8fc590e
Merge pull request #463 from cap-java/changelog_for_rel_1.9.0
yashmeet29 Apr 7, 2026
297b25a
Merge branch 'develop' into customer_issue
rashmiangadi05 Apr 7, 2026
23fda21
Changes for scannedAt
rashmiangadi05 Apr 8, 2026
8b3b3bb
Merge branch 'customer_issue' of https://github.com/cap-java/sdm into…
rashmiangadi05 Apr 8, 2026
3217451
Update SDMAttachmentsServiceHandler.java
rashmiangadi05 Apr 8, 2026
69691e2
Changes
rashmiangadi05 Apr 9, 2026
2f5ebfd
Update pom.xml
rashmiangadi05 Apr 14, 2026
d03407d
Update pom.xml
rashmiangadi05 Apr 14, 2026
187cfc6
Update pom.xml
rashmiangadi05 Apr 14, 2026
f106e43
i18n fix
rashmiangadi05 Apr 14, 2026
c0ebe22
Update attachments.cds
rashmiangadi05 Apr 14, 2026
b4239e1
Update attachments.cds
rashmiangadi05 Apr 14, 2026
b79ae44
Update attachments.cds
rashmiangadi05 Apr 14, 2026
9aa3757
Update attachments.cds
rashmiangadi05 Apr 14, 2026
3f7e031
Update attachments.cds
rashmiangadi05 Apr 14, 2026
5003625
References components are not localized
rashmiangadi05 Apr 14, 2026
b3db991
Support for disabling Upload button when max count is reached
yashmeet29 Apr 16, 2026
57464f7
workflow and pom version changes for testing
yashmeet29 Apr 17, 2026
6a77fac
Merge pull request #464 from cap-java/customer_issue
rashmiangadi05 Apr 17, 2026
bed2fa8
ReadMe update and revert changes done for running ITs
yashmeet29 Apr 23, 2026
a414b81
Merge branch 'develop' into internalizationissue
yashmeet29 Apr 23, 2026
d22a362
Update pom.xml
rashmiangadi05 Apr 23, 2026
29a53a0
Merge branch 'internalizationissue' of https://github.com/cap-java/sd…
rashmiangadi05 Apr 23, 2026
2f9aa24
Merge branch 'develop' into disableUploadButton
yashmeet29 Apr 23, 2026
c6a9960
Merge pull request #465 from cap-java/internalizationissue
rashmiangadi05 Apr 23, 2026
f7bcd2c
Merge branch 'develop' into disableUploadButton
yashmeet29 Apr 23, 2026
83b3a2c
Merge pull request #466 from cap-java/disableUploadButton
yashmeet29 Apr 23, 2026
4e730c1
Support download multiple attachments
deepikaSingh2711 Apr 27, 2026
b044998
readme update
deepikaSingh2711 Apr 28, 2026
30a8a4b
sonar fix
deepikaSingh2711 Apr 28, 2026
1b9238e
Merge pull request #472 from cap-java/DownloadAttchmnt
yashmeet29 Apr 29, 2026
004aec6
Revert code changes to disable upload button
yashmeet29 May 2, 2026
0d0b625
Changes for testing
yashmeet29 May 2, 2026
7310d2a
changes for testing
yashmeet29 May 2, 2026
f0f28b9
added permission to clone the repo
vibhutikumar07 May 5, 2026
0609e49
added permission to clone the repo
vibhutikumar07 May 5, 2026
9b01413
added a merge rule for test-summary step
vibhutikumar07 May 5, 2026
fb66915
Merge pull request #476 from cap-java/update_workflows
yashmeet29 May 5, 2026
1b5be51
Merge branch 'develop' into revertDisableUploadBtn
yashmeet29 May 5, 2026
d6760c2
revert changes done for ITs
yashmeet29 May 5, 2026
5982a24
Restrict file extension change during attachment rename (#474)
deepikaSingh2711 May 6, 2026
37d5f89
Merge branch 'develop' into revertDisableUploadBtn
yashmeet29 May 6, 2026
d07377d
Merge pull request #475 from cap-java/revertDisableUploadBtn
yashmeet29 May 6, 2026
c26dc89
Updated the workflow file so that it can deploy snapshot on our priva…
vibhutikumar07 May 6, 2026
f41ee9e
Merge pull request #479 from cap-java/fix_snapshotDeployment
yashmeet29 May 6, 2026
c79f12b
Update singleTenant_deploy_and_Integration_test.yml
vibhutikumar07 May 6, 2026
a5ea79e
gave read permission to workflow so that it can clone the private rep…
vibhutikumar07 May 6, 2026
9737a14
support java plugin with java 21
deepikaSingh2711 May 6, 2026
25edacb
Remove gemini workflows (#483)
vibhutikumar07 May 6, 2026
4bc5275
Update main-build-and-deploy-oss.yml (#487)
vibhutikumar07 May 13, 2026
d1d2e62
Update multiTenancyDeployLocal.yml (#488)
akgarg06 May 14, 2026
36fc90b
Adding integration test for single tenant to validate file extension …
PujaDeshmukh17 May 15, 2026
e59add5
Change log for release 1.10.0
deepikaSingh2711 May 18, 2026
176b1d2
addressed review comments
deepikaSingh2711 May 18, 2026
8b29824
Merge pull request #489 from cap-java/changelog10
yashmeet29 May 18, 2026
2fb5bf8
fix copy attachment with invalid properties
deepikaSingh2711 May 20, 2026
b95da2d
sonar fix
deepikaSingh2711 May 20, 2026
73a4b4f
Merge branch 'develop' into java21
deepikaSingh2711 May 20, 2026
c567210
changes
deepikaSingh2711 May 20, 2026
9ff552f
removed delete logic
deepikaSingh2711 May 20, 2026
f2c1622
fix
deepikaSingh2711 May 20, 2026
c732f5f
Revert "fix"
deepikaSingh2711 May 20, 2026
914ed29
Revert "removed delete logic"
deepikaSingh2711 May 20, 2026
3300b88
Revert "changes"
deepikaSingh2711 May 20, 2026
2adbccc
Revert "sonar fix"
deepikaSingh2711 May 20, 2026
f76b95f
Revert "fix copy attachment with invalid properties"
deepikaSingh2711 May 20, 2026
35ad613
fix copy attachment with invalid properties
deepikaSingh2711 May 20, 2026
b1f6a15
sonar fix
deepikaSingh2711 May 20, 2026
482cadb
fix
deepikaSingh2711 May 20, 2026
12e287d
added comment
deepikaSingh2711 May 20, 2026
0ed9794
fixed multiple copy
deepikaSingh2711 May 20, 2026
58dca1a
change
deepikaSingh2711 May 20, 2026
a762e5e
Extension change validation test in single facet
PujaDeshmukh17 May 21, 2026
cd8c2c9
Added mime type change test to chapters
PujaDeshmukh17 May 21, 2026
5be9fd1
Added test to restrict mime type change during rename while uploading
PujaDeshmukh17 May 21, 2026
c0563ed
Test scenarios for rename
PujaDeshmukh17 May 21, 2026
fadc073
Adding the commented test
PujaDeshmukh17 May 21, 2026
a338576
Merge branch 'develop' into RenameFileExtensionValidation
PujaDeshmukh17 May 21, 2026
0836afb
Read Handler to disable and re-enable upload button
yashmeet29 May 21, 2026
c1146fd
Changes for testing
yashmeet29 May 22, 2026
802405b
Update Java version in deploy job to 21 for testing
yashmeet29 May 25, 2026
4bc0c40
Merge pull request #481 from cap-java/java21
yashmeet29 May 25, 2026
f9548ec
Merge branch 'develop' into copyValidProp
yashmeet29 May 25, 2026
723599a
workflow file changes for testing
yashmeet29 May 26, 2026
086c83f
Merge branch 'develop' into hideUploadButton
yashmeet29 May 26, 2026
6937dbd
revert changes done for testing
yashmeet29 May 26, 2026
cf73ac8
Merge branch 'hideUploadButton' of https://www.github.com/cap-java/sd…
yashmeet29 May 26, 2026
e2678ac
Merge pull request #490 from cap-java/copyValidProp
yashmeet29 May 27, 2026
38d6d0f
Address review comments
yashmeet29 May 28, 2026
bbdf6f5
Merge branch 'develop' into hideUploadButton
yashmeet29 May 28, 2026
61475a8
ReadMe update and Review comments
yashmeet29 May 28, 2026
27546f9
Merge branch 'hideUploadButton' of https://www.github.com/cap-java/sd…
yashmeet29 May 28, 2026
810a2e8
Merge pull request #493 from cap-java/hideUploadButton
yashmeet29 May 28, 2026
2e042ff
Merge branch 'develop' into RenameFileExtensionValidation
yashmeet29 May 29, 2026
fcedc58
Merge pull request #492 from cap-java/RenameFileExtensionValidation
yashmeet29 Jun 1, 2026
e05208e
Multiple file download changes
PujaDeshmukh17 Jun 2, 2026
ca08194
Fix for multifacet
PujaDeshmukh17 Jun 2, 2026
1f75c51
Commenting other tests
PujaDeshmukh17 Jun 2, 2026
51974ee
Commenting other tests
PujaDeshmukh17 Jun 2, 2026
a126821
Test fix for multitenant
PujaDeshmukh17 Jun 2, 2026
83c0479
Spotless
PujaDeshmukh17 Jun 2, 2026
e827a28
Fix for multifacet & chapters
PujaDeshmukh17 Jun 2, 2026
d680ae8
Uncommenting tests
PujaDeshmukh17 Jun 2, 2026
5f11ff4
Revert "Uncommenting tests"
PujaDeshmukh17 Jun 2, 2026
2329ff2
Uncommenting singleFacet Changes
PujaDeshmukh17 Jun 2, 2026
a202300
Fixing node issue
PujaDeshmukh17 Jun 2, 2026
d196cb8
fix for test failure
PujaDeshmukh17 Jun 2, 2026
6f8b3a8
Fix to multifacet & chapters
PujaDeshmukh17 Jun 2, 2026
5c91450
Merge pull request #498 from cap-java/MultipleDownloadTests
yashmeet29 Jun 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/deploy-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
uses: actions/setup-java@v4
with:
distribution: 'sapmachine'
java-version: '17'
java-version: '21'
cache: maven
server-id: central
server-username: MAVEN_CENTRAL_USER
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ runs:
echo "altDeploymentRepository: ${{inputs.server-id}}::default::${{inputs.repository-url}}"
shell: bash

- name: Setup Java 17
- name: Setup Java 21
uses: actions/setup-java@v4
with:
distribution: sapmachine
java-version: '17'
java-version: '21'
server-id: ${{ inputs.server-id }}
server-username: CAP_DEPLOYMENT_USER
server-password: CAP_DEPLOYMENT_PASS
Expand Down
197 changes: 197 additions & 0 deletions .github/scripts/analyze-failure.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
const { getOctokit } = require("@actions/github");
const { GoogleGenerativeAI } = require("@google/generative-ai");

// Configuration
const MAX_LOG_LINES = 500; // Lines to analyze from the tail of the log
const MAX_TOKENS = 15000;

async function run() {
try {
const token = process.env.GITHUB_TOKEN;
const apiKey = process.env.GEMINI_API_KEY;
const runId = process.env.WORKFLOW_RUN_ID;
const workflowName = process.env.WORKFLOW_NAME;
const owner = process.env.REPO_OWNER;
const repo = process.env.REPO_NAME;

if (!token || !apiKey || !runId) {
throw new Error("Missing required environment variables.");
}

const octokit = getOctokit(token);
const genAI = new GoogleGenerativeAI(apiKey);
const model = genAI.getGenerativeModel({ model: "gemini-2.5-flash" });

console.log(`Analyzing failure for workflow run ${runId} (${workflowName})...`);

// 1. Get Jobs for the Run
const jobs = await octokit.rest.actions.listJobsForWorkflowRun({
owner,
repo,
run_id: runId,
});

// 2. Find the Failed Job(s)
const failedJob = jobs.data.jobs.find(j => j.conclusion === 'failure');
if (!failedJob) {
console.log("No failed job found (or it was cancelled). Exiting.");
return;
}

console.log(`Found failed job: ${failedJob.name} (ID: ${failedJob.id})`);

// 3. Download Logs for the Failed Job
console.log("Downloading logs...");
let logContent = "";
try {
const logs = await octokit.rest.actions.downloadJobLogsForWorkflowRun({
owner,
repo,
job_id: failedJob.id,
});
logContent = logs.data;
} catch (error) {
// Sometimes logs redirect, handle if necessary, but octokit usually handles it.
// If raw text is returned, use it.
logContent = error.response?.data || "";
if (!logContent && typeof logs === 'string') logContent = logs;
if (!logContent) {
console.error("Could not retrieve logs:", error.message);
return;
}
}

// 4. Pre-process Logs (Tail & Token Limit)
const lines = logContent.split('\n');
// Simple heuristic: Take the last N lines, as errors are usually at the end.
// For better results, one could scan for "ERROR" or "FAILED" and take surrounding context.
const tailLogs = lines.slice(-MAX_LOG_LINES).join('\n');

console.log(`Extracted log tail (${tailLogs.length} characters). Generating analysis...`);

// 5. Generate Analysis with Gemini
// const prompt = `
// You are a DevOps Expert and "Build Doctor".
// A GitHub Actions workflow '${workflowName}' failed.

// Analyze the following log snippet (last ${MAX_LOG_LINES} lines) to identify the root cause.

// Log Snippet:
// \`\`\`
// ${tailLogs}
// \`\`\`

// Your response must be a concise Markdown comment suitable for a developer.
// Structure:

// ## 🩺 Build Doctor Diagnosis

// **1. Root Cause:**
// (Explain what went wrong in 1-2 senteces. Be specific: Syntax error, Dependencies, Test failure, Infra, etc.)

// **2. Relevant Log Lines:**
// (Quote the specific error message from the logs)

// **3. Suggested Fix:**
// (Actionable advice. If it's a code fix, show the snippet. If it's a config tweak, show the command or yaml change.)

// **Confidence:** (High/Medium/Low)
// `;
const prompt = `
You are an expert DevOps engineer and "Build Doctor".
A GitHub Actions workflow '${workflowName}' has failed.

Your job:
- Read the log snippet carefully.
- Identify the **single most likely root cause** of the failure.
- Map it to a clear category (Syntax, Dependency, Test, Infra, Config, Credential, Network, Tooling, etc.).
- Propose **one** primary fix that a developer can apply quickly.

Context:
- These are the last ${MAX_LOG_LINES} lines of the job log.
- They may contain retries, warnings, and noisy stack traces.
- The **true error** is usually near the first occurrence of "error", "exception", "failed", "fatal", non‑zero exit codes, or GitHub Actions step failure messages.

Log Snippet:
\`\`\`
${tailLogs}
\`\`\`

First, think step by step (do NOT include this reasoning in the final answer):
1. Skim for the first real failure signal (error/exception/exit code/failed step).
2. Summarize in your own words what actually went wrong.
3. Decide which category it belongs to: Syntax, Dependency, Test, Infra, Config, Credential, Network, Tooling, Other.
4. Decide the most likely fix a DevOps/dev engineer should try first.
5. If there is not enough information, state that clearly and suggest what extra logs/checks are needed.

Then, output **only** the following Markdown comment, nothing else:

# 🩺 Build Doctor Diagnosis

### Diagnosis (${workflowName})
**1. Root Cause:**
(Explain what went wrong in 1–2 sentences. Be specific: e.g. "Maven dependency not found", "JUnit test failure", "Docker login failed", "Kubernetes connection timeout". If unsure, say "Most likely ..." and why.)

**2. Relevant Log Lines:**
(Quote the *minimal* most important 1–3 lines from the logs that show the error. Do not paste large blocks.)

**3. Suggested Fix:**
(Give concrete, copy‑pasteable steps.
- For code issues: show the key code or config snippet to change.
- For pipeline/config issues: show the YAML or command to adjust.
- For infra/credentials: describe exact checks or commands to run, and what to update.)

**Confidence:** High | Medium | Low
(Choose one based on how clear the error is. If logs are ambiguous or truncated, use Medium or Low and say what’s missing.)
`;


const result = await model.generateContent(prompt);
const analysis = result.response.text();

console.log("Analysis generated. Posting comment...");

// 6. Post Comment
// We need to find where to post.
// If triggered by PR, we post to the PR.
// If triggered by Push, we post to the Commit.

// Context is tricky in 'workflow_run'. We have to look at the 'workflow_run' event payload.
// We can get the PRs associated with the run.
const runDetails = await octokit.rest.actions.getWorkflowRun({
owner,
repo,
run_id: runId
});

const prs = runDetails.data.pull_requests;

if (prs && prs.length > 0) {
// Post to the first associated PR
const prNumber = prs[0].number;
await octokit.rest.issues.createComment({
owner,
repo,
issue_number: prNumber,
body: analysis
});
console.log(`Posted analysis to PR #${prNumber}`);
} else {
// Post to the Commit
const headSha = runDetails.data.head_sha;
await octokit.rest.repos.createCommitComment({
owner,
repo,
commit_sha: headSha,
body: analysis
});
console.log(`Posted analysis to Commit ${headSha}`);
}

} catch (error) {
console.error("Build Doctor failed:", error);
process.exit(1);
}
}

run();
2 changes: 1 addition & 1 deletion .github/workflows/SAPUI5_Version_Monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout the develop_deploy branch
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: develop_deploy

Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/blackduck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,33 @@ on:
workflow_dispatch:

permissions:
contents: read # allows workflow to checkout private repository
pull-requests: read # allows SonarQube to decorate PRs with analysis results

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v6
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven

- name: Install dependencies
run: |
mvn clean install -P unit-tests -DskipIntegrationTests

- name: Download Synopsys Detect Script
run: curl --silent -O https://detect.synopsys.com/detect9.sh
# - name: Download Synopsys Detect Script
# run: curl --silent -O https://detect.synopsys.com/detect9.sh
- name: Download Black Duck Detect Script
run: curl --silent -O https://detect.blackduck.com/detect9.sh

- name: Run & analyze BlackDuck Scan
run: |
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/cfdeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ on:
default: ''

permissions:
contents: read
pull-requests: read
packages: read # Added permission to read packages

Expand All @@ -36,14 +37,14 @@ jobs:

steps:
- name: Checkout repository 📁
uses: actions/checkout@v2
uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.deploy_branch }}

- name: Set up Java 17
- name: Set up Java 21
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'temurin'

- name: Build and package 🔨
Expand Down Expand Up @@ -114,7 +115,7 @@ jobs:
wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo tee /etc/apt/trusted.gpg.d/cloudfoundry.asc
echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
sudo apt update
sudo apt install cf-cli
sudo apt install cf8-cli

cf install-plugin multiapps -f

Expand All @@ -132,14 +133,14 @@ jobs:

steps:
- name: Checkout repository 📁
uses: actions/checkout@v2
uses: actions/checkout@v6
with:
ref: develop

- name: Set up Java 17
- name: Set up Java 21
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'temurin'

- name: Verify and Checkout Deploy Branch 🔄
Expand Down Expand Up @@ -249,7 +250,7 @@ jobs:
wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo tee /etc/apt/trusted.gpg.d/cloudfoundry.asc
echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
sudo apt update
sudo apt install cf-cli
sudo apt install cf8-cli

cf install-plugin multiapps -f

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/demo-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Demo Build

on:
push:
branches:
- 'demo/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install
Loading
Loading