Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
06fbb3c
initial commit
akgarg06 Mar 30, 2026
f4e331f
update location of files
akgarg06 Mar 30, 2026
dd06552
test changes
akgarg06 Mar 30, 2026
165022f
Update singleTenant_integration_test.yml
akgarg06 Mar 30, 2026
64ce464
Update singleTenant_integration_test.yml
akgarg06 Mar 30, 2026
97483a9
Update singleTenant_integration_test.yml
akgarg06 Mar 30, 2026
76de31c
Update singleTenant_integration_test.yml
akgarg06 Mar 30, 2026
445dcb6
Update singleTenant_integration_test.yml
akgarg06 Mar 30, 2026
0a96907
Update singleTenant_integration_test.yml
akgarg06 Mar 30, 2026
2028ca1
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
d0d2dc6
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
b224c17
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
30cbfd0
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
15b062e
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
f7f6190
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
f90bb53
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
e12ca5c
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
9748de4
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
40263af
virus file check
akgarg06 Mar 31, 2026
6648515
virus file enabled repo
akgarg06 Mar 31, 2026
1f9a0ab
spotless
akgarg06 Mar 31, 2026
57ba337
Update IntegrationTest_SingleFacet.java
akgarg06 Mar 31, 2026
773a591
test case and env update
akgarg06 Mar 31, 2026
779f9dd
Update IntegrationTest_SingleFacet.java
akgarg06 Mar 31, 2026
ed1d936
Update IntegrationTest_SingleFacet.java
akgarg06 Mar 31, 2026
fa461a4
Update IntegrationTest_SingleFacet.java
akgarg06 Mar 31, 2026
e4a51b4
Update IntegrationTest_SingleFacet.java
akgarg06 Mar 31, 2026
9654738
Update IntegrationTest_SingleFacet.java
akgarg06 Mar 31, 2026
c20a2d5
Update singleTenant_integration_test.yml
akgarg06 Mar 31, 2026
bd8f0ba
Update README.md
akgarg06 Apr 6, 2026
7fbd597
Update credentials.properties
akgarg06 Apr 6, 2026
7a643f7
clear sensitive info in logs
akgarg06 Apr 6, 2026
caccf01
test workflow changes
akgarg06 Apr 15, 2026
66e4f74
Update singleTenant_integration_test.yml
akgarg06 Apr 15, 2026
59d5f5c
Update singleTenant_integration_test.yml
akgarg06 Apr 15, 2026
30c15dc
virus file test case
akgarg06 Apr 15, 2026
f0f1abf
Update IntegrationTest_SingleFacet_Virus.java
akgarg06 Apr 15, 2026
08c8de5
Update singleTenant_integration_test.yml
akgarg06 Apr 15, 2026
a6f9a3d
Update IntegrationTest_SingleFacet_Virus.java
akgarg06 Apr 15, 2026
543c9cd
Update IntegrationTest_SingleFacet_Virus.java
akgarg06 Apr 15, 2026
cd909f3
Update IntegrationTest_SingleFacet_Virus.java
akgarg06 Apr 15, 2026
9befbf9
Updated and added new test cases and helper methods
akgarg06 May 7, 2026
c6c4026
updates some data using develop
akgarg06 May 7, 2026
95cf34e
Merge branch 'develop' into SDMEXT-1542
akgarg06 May 7, 2026
c098f38
Update IntegrationTest_Chapters_MultipleFacet.java
akgarg06 May 7, 2026
9d2b1b9
Update IntegrationTest_SingleFacet.java
akgarg06 May 7, 2026
be6c0db
Potential fix for pull request finding 'Boxed variable is never null'
akgarg06 May 7, 2026
48fa00e
Potential fix for pull request finding 'Boxed variable is never null'
akgarg06 May 7, 2026
640ecd0
Potential fix for pull request finding 'Boxed variable is never null'
akgarg06 May 7, 2026
cd5b9c9
Potential fix for pull request finding 'Boxed variable is never null'
akgarg06 May 7, 2026
81bf104
Potential fix for pull request finding 'Boxed variable is never null'
akgarg06 May 7, 2026
e5b5144
Potential fix for pull request finding 'Boxed variable is never null'
akgarg06 May 7, 2026
c146030
fixes for more stable run
akgarg06 May 7, 2026
ab50445
Merge branch 'SDMEXT-1542' of https://github.com/cap-java/sdm into SD…
akgarg06 May 7, 2026
3b5c305
fix for MT
akgarg06 May 8, 2026
fd94f10
Update IntegrationTest_Chapters_MultipleFacet_Virus.java
akgarg06 May 8, 2026
c60550d
test cases update
akgarg06 May 11, 2026
c09a1ef
remove logs from console
akgarg06 May 11, 2026
eb5f4ba
Update singleTenant_integration_test.yml
akgarg06 May 11, 2026
378ba9c
Update singleTenant_integration_test.yml
akgarg06 May 11, 2026
5a6616d
test run
akgarg06 May 11, 2026
0122876
secrets update
akgarg06 May 11, 2026
4b10319
debug setup
akgarg06 May 11, 2026
06982aa
debug setup
akgarg06 May 11, 2026
0fa8cf2
Update singleTenant_integration_test.yml
akgarg06 May 11, 2026
1316f79
fix issues
akgarg06 May 11, 2026
85295c4
remove debug
akgarg06 May 11, 2026
3afab51
versioned repo test cases
akgarg06 May 11, 2026
6de3c07
Update singleTenant_integration_test.yml
akgarg06 May 11, 2026
615f019
repo test cases addition
akgarg06 May 11, 2026
e2d0505
Update singleTenant_integration_test.yml
akgarg06 May 11, 2026
9a886dc
Update IntegrationTest_SingleFacet_RepoSpecific.java
akgarg06 May 11, 2026
6507e7e
repo test cases update
akgarg06 May 11, 2026
0f958d8
Update singleTenant_integration_test.yml
akgarg06 May 12, 2026
edc17f5
multitenant fix
akgarg06 May 12, 2026
a8395c2
fix for multitenant
akgarg06 May 12, 2026
a86ee52
Update multi tenancy_Integration.yml
akgarg06 May 12, 2026
5556ef3
Update multi tenancy_Integration.yml
akgarg06 May 12, 2026
643ce0a
github workflow fix
akgarg06 May 12, 2026
df8177d
fix multitenant
akgarg06 May 12, 2026
d5c34bd
fix job running after cancelled workflow and virus scan file download
akgarg06 May 12, 2026
9e863d6
remove output of restage
akgarg06 May 12, 2026
a7f7f0e
Update multi tenancy_Integration.yml
akgarg06 May 12, 2026
04ab6ee
btp install fix
akgarg06 May 13, 2026
6d03de7
temp commented repo test cases
akgarg06 May 13, 2026
c752deb
temp repo test cases removal
akgarg06 May 13, 2026
271218b
test case fix
akgarg06 May 13, 2026
646f21c
Update cf-subscribe.sh
akgarg06 May 13, 2026
da69231
subscription test cases fix
akgarg06 May 13, 2026
345c0ef
subscription test cases fix
akgarg06 May 13, 2026
f549429
fix subscription
akgarg06 May 13, 2026
12839ed
fix role collection issue
akgarg06 May 13, 2026
aa23f4d
Update IntegrationTest_Subscription.java
akgarg06 May 13, 2026
c182d6e
Merge branch 'develop' into SDMEXT-1542
yashmeet29 May 28, 2026
eaeb954
Merge branch 'develop' into SDMEXT-1542
akgarg06 Jun 2, 2026
e08ac9b
Merge branch 'develop' into SDMEXT-1542
akgarg06 Jun 12, 2026
33c520b
compile fix
akgarg06 Jun 12, 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
941 changes: 934 additions & 7 deletions .github/workflows/multi tenancy_Integration.yml

Large diffs are not rendered by default.

689 changes: 687 additions & 2 deletions .github/workflows/singleTenant_integration_test.yml

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions sdm/src/test/java/integration/com/sap/cds/sdm/Credentials.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import java.util.Properties;

public class Credentials {

public static Properties getCredentials() {
Properties properties = new Properties();
try (FileInputStream input = new FileInputStream("src/test/resources/credentials.properties")) {
Expand All @@ -14,4 +15,29 @@ public static Properties getCredentials() {
}
return properties;
}

public static Properties getCredentials(String tenant) {
Properties properties = getCredentials();
if (tenant == null) {
return properties;
}
String suffix = mapTenantToSuffix(tenant);

properties.setProperty("authUrlMT", properties.getProperty("authUrlMT" + suffix));
properties.setProperty(
"consumerSubaccountIdMT", properties.getProperty("consumerSubaccountIdMT" + suffix));
properties.setProperty(
"consumerSubdomainMT", properties.getProperty("consumerSubdomainMT" + suffix));

return properties;
}

private static String mapTenantToSuffix(String tenant) {
if ("TENANT1".equals(tenant)) {
return "1";
} else if ("TENANT2".equals(tenant)) {
return "2";
}
throw new IllegalArgumentException("Unknown tenant: " + tenant);
}
}
Loading
Loading