Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update database setup and DAO implementation for schema changes #6014

Draft
wants to merge 1,265 commits into
base: feature-remove-registry-saml
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1265 commits
Select commit Hold shift + click to select a range
d37616b
Add support for claim-wise uniqueness validation
AfraHussaindeen Nov 8, 2024
4a11b0a
Update poms to new pack for framework
BimsaraBodaragama Nov 17, 2024
1e7779f
Address comments
Thisara-Welmilla Nov 15, 2024
1c6e529
Merge remote-tracking branch 'upstream/master' into DP-add-ancestor-a…
dhaura Nov 18, 2024
257ab9b
Add unit tests for claim management component
AfraHussaindeen Nov 17, 2024
cb80ce3
Handle possible NPE and improve DAO code formatting.
dhaura Nov 18, 2024
1ced9d1
Improve error message.
dhaura Nov 18, 2024
fbb515a
Added updateEndpointAuthentication() public method to the service layer
ashanthamara Nov 18, 2024
6b9c81d
Enable API Resources APIs for organization level
ShanChathusanda93 Oct 25, 2024
ca15349
Fix client errors logged.
JeethJJ Nov 18, 2024
5aa0545
Change error log to debug.
JeethJJ Nov 18, 2024
1c89f92
Fix checkstyle.
JeethJJ Nov 18, 2024
b964638
Address comments
Thisara-Welmilla Nov 19, 2024
3a24af8
Add provisioning handler interface.
mpmadhavig Nov 19, 2024
0fc102d
Address sonar suggestion.
JeethJJ Nov 19, 2024
6bd7605
Merge pull request #6134 from mpmadhavig/prov-handler
mpmadhavig Nov 19, 2024
79974c3
Merge pull request #6133 from JeethJJ/internal-2695
sadilchamishka Nov 19, 2024
0a2ec96
[WSO2 Release] [Jenkins #8052] [Release 7.6.10] prepare release v7.6.10
wso2-jenkins-bot Nov 19, 2024
23fd6ad
[WSO2 Release] [Jenkins #8052] [Release 7.6.10] prepare for next deve…
wso2-jenkins-bot Nov 19, 2024
3bbd138
Merge commit '23fd6ad24b701c086e698ff055761511fc92b3e6' into 8ddff062…
wso2-jenkins-bot Nov 19, 2024
607b220
[WSO2 Release] [Jenkins #8053] [Release 7.6.11] prepare release v7.6.11
wso2-jenkins-bot Nov 19, 2024
7727d00
[WSO2 Release] [Jenkins #8053] [Release 7.6.11] prepare for next deve…
wso2-jenkins-bot Nov 19, 2024
e3a30bc
Merge pull request #6002 from ShanChathusanda93/org-path-api-res-branch
ShanChathusanda93 Nov 19, 2024
0abd24e
Merge commit '7727d0006c6ddecf1bf31682011a0a0ffce7cdc5' into ab396822…
wso2-jenkins-bot Nov 19, 2024
730fc6f
Add ancestor app id retrieval test for invalid app.
dhaura Nov 19, 2024
eab9155
Revert "Revert "In-Memory Claim Management""
amanda-ariyaratne Nov 19, 2024
671f33b
Merge pull request #6136 from wso2/revert-6127-revert-6007-issue-26702
amanda-ariyaratne Nov 19, 2024
4cbdfb7
[WSO2 Release] [Jenkins #8055] [Release 7.6.12] prepare release v7.6.12
wso2-jenkins-bot Nov 19, 2024
f73c299
[WSO2 Release] [Jenkins #8055] [Release 7.6.12] prepare for next deve…
wso2-jenkins-bot Nov 19, 2024
40e7614
Add unit tests for ActionManagementAuditLogger
Shenali-SJ Nov 14, 2024
70d183c
Merge pull request #6130 from Shenali-SJ/actions-audit-logs-unit-tests
malithie Nov 19, 2024
8b4ce77
[WSO2 Release] [Jenkins #8057] [Release 7.6.13] prepare release v7.6.13
wso2-jenkins-bot Nov 19, 2024
1cdd6a5
[WSO2 Release] [Jenkins #8057] [Release 7.6.13] prepare for next deve…
wso2-jenkins-bot Nov 19, 2024
ca7d892
Addressed comments.
Thisara-Welmilla Nov 19, 2024
2a17d7c
Add server exception uni tests for ancestor app id retrieval.
dhaura Nov 20, 2024
b588c1c
Merge pull request #6122 from HasiniSama/opensaml-version
SujanSanjula96 Nov 20, 2024
d354fa0
[WSO2 Release] [Jenkins #8059] [Release 7.6.14] prepare release v7.6.14
wso2-jenkins-bot Nov 20, 2024
b1ebad7
[WSO2 Release] [Jenkins #8059] [Release 7.6.14] prepare for next deve…
wso2-jenkins-bot Nov 20, 2024
e00802e
Add config to indicate the unicode support
darshanasbg Nov 7, 2024
1fd42ca
Merge pull request #6129 from dhaura/DP-add-ancestor-app-retrieval
AnuradhaSK Nov 21, 2024
66afbd2
[WSO2 Release] [Jenkins #8061] [Release 7.6.15] prepare release v7.6.15
wso2-jenkins-bot Nov 21, 2024
01102c3
[WSO2 Release] [Jenkins #8061] [Release 7.6.15] prepare for next deve…
wso2-jenkins-bot Nov 21, 2024
914034c
Merge pull request #6120 from darshanasbg/unicode-issue
darshanasbg Nov 21, 2024
0f12078
Merge pull request #6142 from darshanasbg/unicode-support-config
darshanasbg Nov 21, 2024
74dfba1
[WSO2 Release] [Jenkins #8063] [Release 7.6.16] prepare release v7.6.16
wso2-jenkins-bot Nov 21, 2024
74bd248
[WSO2 Release] [Jenkins #8063] [Release 7.6.16] prepare for next deve…
wso2-jenkins-bot Nov 21, 2024
2a7e0c8
Merge commit '74bd2488f0cc091fe535b24c3bfd11aaf8e85c9c' into 6fe51219…
wso2-jenkins-bot Nov 21, 2024
f981144
[WSO2 Release] [Jenkins #8064] [Release 7.6.17] prepare release v7.6.17
wso2-jenkins-bot Nov 21, 2024
307d331
[WSO2 Release] [Jenkins #8064] [Release 7.6.17] prepare for next deve…
wso2-jenkins-bot Nov 21, 2024
f93c375
Return error code for a password policy violation error (#6131)
KaveeshaPiumini Nov 21, 2024
f1ea17d
[WSO2 Release] [Jenkins #8066] [Release 7.6.18] prepare release v7.6.18
wso2-jenkins-bot Nov 21, 2024
091a62a
[WSO2 Release] [Jenkins #8066] [Release 7.6.18] prepare for next deve…
wso2-jenkins-bot Nov 21, 2024
b99a36a
Merge remote-tracking branch 'upstream/master' into action-properties
ashanthamara Nov 21, 2024
6899f28
Addressed comments.
Thisara-Welmilla Nov 20, 2024
f2ef83c
add claim mgt config
amanda-ariyaratne Nov 22, 2024
f5abf5c
Merge pull request #6147 from amanda-ariyaratne/add-claim-mgt-config
amanda-ariyaratne Nov 22, 2024
a76be63
[WSO2 Release] [Jenkins #8068] [Release 7.6.19] prepare release v7.6.19
wso2-jenkins-bot Nov 22, 2024
ff9802f
[WSO2 Release] [Jenkins #8068] [Release 7.6.19] prepare for next deve…
wso2-jenkins-bot Nov 22, 2024
fd27b27
Refactor action management with facade layer
ashanthamara Nov 22, 2024
ec3d693
Improve unit test coverage.
Thisara-Welmilla Nov 22, 2024
ca69b24
Merge branch 'wso2:master' into add-cutsom-fed-auth-mgt-support
Thisara-Welmilla Nov 23, 2024
93cef51
Merge pull request #6076 from AfraHussaindeen/master_idvp-remove-imag…
AfraHussaindeen Nov 25, 2024
306cca9
[WSO2 Release] [Jenkins #8070] [Release 7.6.20] prepare release v7.6.20
wso2-jenkins-bot Nov 25, 2024
6de9566
[WSO2 Release] [Jenkins #8070] [Release 7.6.20] prepare for next deve…
wso2-jenkins-bot Nov 25, 2024
42b86e0
Refactor ActionManagementDAOImpl test
ashanthamara Nov 25, 2024
c53a681
Merge remote-tracking branch 'upstream/master' into action-properties
ashanthamara Nov 25, 2024
4d242f4
Add unit tests
Thisara-Welmilla Nov 25, 2024
10f4143
Keep abstract implementation and remove XACMLBasedRuleHandler
adibmbrk Oct 30, 2024
856de28
Remove XACML related modules
adibmbrk Oct 30, 2024
df89511
Remove XACML dbscripts
adibmbrk Nov 8, 2024
0bc9a26
Remove usage of XACML scope validator
adibmbrk Nov 8, 2024
b274410
Remove xacml related dependencies and dbscript
adibmbrk Nov 8, 2024
3022aab
Apply new xacml osgi implementation.
mpmadhavig Nov 20, 2024
6eb39ac
Remove xacml configs.
mpmadhavig Nov 20, 2024
97e741e
Bump minor version.
mpmadhavig Nov 25, 2024
19deaef
Added ActionManagementDAOFacadeTest
ashanthamara Nov 26, 2024
73129ff
Rename ActionBuilder to ActionConverter
ashanthamara Nov 26, 2024
0d427a3
Modify ActionManagementServiceImplTest
ashanthamara Nov 26, 2024
e53c6c2
Merge pull request #6137 from mpmadhavig/remove-xacml
mpmadhavig Nov 26, 2024
b6dd578
[WSO2 Release] [Jenkins #8072] [Release 7.7.0] prepare release v7.7.0
wso2-jenkins-bot Nov 26, 2024
7a81f4c
[WSO2 Release] [Jenkins #8072] [Release 7.7.0] prepare for next devel…
wso2-jenkins-bot Nov 26, 2024
2df1190
Remove authz dependency.
mpmadhavig Nov 26, 2024
f5a7e56
Merge pull request #6149 from mpmadhavig/remove-xacml
mpmadhavig Nov 26, 2024
de7fe1e
[WSO2 Release] [Jenkins #8074] [Release 7.7.1] prepare release v7.7.1
wso2-jenkins-bot Nov 26, 2024
37bd1b3
[WSO2 Release] [Jenkins #8074] [Release 7.7.1] prepare for next devel…
wso2-jenkins-bot Nov 26, 2024
e8eeb35
Upgrade kernel version
asha15 Nov 26, 2024
3d069a9
Add unit tests
Thisara-Welmilla Nov 26, 2024
4986fd4
Add CachedBackedActionManagementServiceTest
ashanthamara Nov 26, 2024
9946dae
Merge remote-tracking branch 'upstream/master' into action-properties
ashanthamara Nov 26, 2024
55fdd27
Update scripts
ashanthamara Nov 26, 2024
68fc46c
Revamp the code
AfraHussaindeen Nov 26, 2024
a99b1c7
Remove unused "prepStmt" local variable.
AfraHussaindeen Nov 26, 2024
95223b9
Refactor file locations
ashanthamara Nov 26, 2024
3c78c36
Merged upstream/master into master_attribute-uniqueness-feature with …
AfraHussaindeen Nov 26, 2024
ae7790b
Correct optional service cardinality.
mpmadhavig Nov 27, 2024
e09cbd2
Merge pull request #6155 from mpmadhavig/fix-osgi-issue
mpmadhavig Nov 27, 2024
1ade763
[WSO2 Release] [Jenkins #8076] [Release 7.7.2] prepare release v7.7.2
wso2-jenkins-bot Nov 27, 2024
d512df8
[WSO2 Release] [Jenkins #8076] [Release 7.7.2] prepare for next devel…
wso2-jenkins-bot Nov 27, 2024
2101f87
Fix minor bug
osandamaleesha Nov 27, 2024
504b065
Add unit testing
osandamaleesha Nov 27, 2024
b37fc70
Add ActionSecretProcessorTest
ashanthamara Nov 27, 2024
0288ba0
Modify other tests
ashanthamara Nov 27, 2024
fa32db0
Fix exposing packages
ashanthamara Nov 27, 2024
84bfd43
Improve role permission extraction when roles are shared and not shared
ShanChathusanda93 Nov 1, 2024
956241f
Merge pull request #6156 from osandamaleesha/test/diagnosticsLogs
ashanthamara Nov 27, 2024
2852704
[WSO2 Release] [Jenkins #8078] [Release 7.7.3] prepare release v7.7.3
wso2-jenkins-bot Nov 27, 2024
8c6b1d7
[WSO2 Release] [Jenkins #8078] [Release 7.7.3] prepare for next devel…
wso2-jenkins-bot Nov 27, 2024
931588f
Improve tests for failure cases
ashanthamara Nov 27, 2024
e49e2d3
Add rule meta service component.
malithie Nov 7, 2024
a9db00c
fix two ext claim mapping to same local claim
amanda-ariyaratne Nov 28, 2024
c85012a
fix unit tests
amanda-ariyaratne Nov 28, 2024
acef81c
fix formatting issue
amanda-ariyaratne Nov 28, 2024
16418d4
Fix auditlogger
ashanthamara Nov 28, 2024
6289d27
Merge pull request #6094 from ShanChathusanda93/role-permission-impr-…
ShanChathusanda93 Nov 28, 2024
7cf8bb4
[WSO2 Release] [Jenkins #8080] [Release 7.7.4] prepare release v7.7.4
wso2-jenkins-bot Nov 28, 2024
bc2be86
[WSO2 Release] [Jenkins #8080] [Release 7.7.4] prepare for next devel…
wso2-jenkins-bot Nov 28, 2024
e52e536
Merge pull request #6150 from asha15/master
asha15 Nov 28, 2024
c025506
[WSO2 Release] [Jenkins #8082] [Release 7.7.5] prepare release v7.7.5
wso2-jenkins-bot Nov 28, 2024
51c1049
[WSO2 Release] [Jenkins #8082] [Release 7.7.5] prepare for next devel…
wso2-jenkins-bot Nov 28, 2024
0fb05cc
refactor code
amanda-ariyaratne Nov 28, 2024
5b7d03f
Modify secretDao deleteSecret and uodateSecret methods to utilize jdb…
ashanthamara Nov 28, 2024
db7185f
Add rule meta service component.
malithie Nov 28, 2024
f236442
Ugrade json version
asha15 Nov 28, 2024
1a85ee8
add comment explaining the logic
amanda-ariyaratne Nov 28, 2024
2763282
Merge pull request #6160 from ashanthamara/secret-dao
ashanthamara Nov 28, 2024
eabc122
[WSO2 Release] [Jenkins #8084] [Release 7.7.6] prepare release v7.7.6
wso2-jenkins-bot Nov 28, 2024
5c9efb7
[WSO2 Release] [Jenkins #8084] [Release 7.7.6] prepare for next devel…
wso2-jenkins-bot Nov 28, 2024
d3222d9
Merge remote-tracking branch 'upstream/master' into action-properties
ashanthamara Nov 28, 2024
0623b3f
Merge branch 'wso2:master' into master_attribute-uniqueness-feature
AfraHussaindeen Nov 29, 2024
c3a73b8
Merge branch 'master' into add-org-discovery-identity-xml
Yasasr1 Nov 29, 2024
f948c3e
Remove unnecessary account lock disable checks (#6159)
Malith-19 Nov 29, 2024
094271d
[WSO2 Release] [Jenkins #8086] [Release 7.7.7] prepare release v7.7.7
wso2-jenkins-bot Nov 29, 2024
ae33baf
[WSO2 Release] [Jenkins #8086] [Release 7.7.7] prepare for next devel…
wso2-jenkins-bot Nov 29, 2024
ce0e85b
change comment format
amanda-ariyaratne Nov 29, 2024
a811ccf
[Merge] Merge updated master to feature/user-share
BimsaraBodaragama Nov 29, 2024
03ea136
Rename class RoleMgtContants to RoleMgtConstants
BimsaraBodaragama Nov 29, 2024
66c4d86
Merge pull request #6084 from asha15/json
asha15 Nov 29, 2024
6858fec
improve performance by reducing array iteration
amanda-ariyaratne Nov 29, 2024
7004a1f
remove externalClaimWithSameLocalClaim variable
amanda-ariyaratne Nov 29, 2024
8158c74
[Checkstyle] Fix checkstyle issues.
BimsaraBodaragama Nov 29, 2024
c8bd247
[WSO2 Release] [Jenkins #8088] [Release 7.7.8] prepare release v7.7.8
wso2-jenkins-bot Nov 29, 2024
3e4f086
[WSO2 Release] [Jenkins #8088] [Release 7.7.8] prepare for next devel…
wso2-jenkins-bot Nov 29, 2024
2fdf170
improve getExternalClaim method
amanda-ariyaratne Nov 29, 2024
4f99922
Update scopes for organization discovery config.
Yasasr1 Nov 22, 2024
d8cd9c5
[Test] Unit test for getMainRoleUUIDsForSharedRoles()
BimsaraBodaragama Nov 29, 2024
8a7d7c0
Fix minor issue
osandamaleesha Nov 29, 2024
cbf46dd
Merge pull request #6158 from amanda-ariyaratne/issue-27603
amanda-ariyaratne Nov 29, 2024
29e13fa
[WSO2 Release] [Jenkins #8090] [Release 7.7.9] prepare release v7.7.9
wso2-jenkins-bot Nov 29, 2024
618c4d0
[WSO2 Release] [Jenkins #8090] [Release 7.7.9] prepare for next devel…
wso2-jenkins-bot Nov 29, 2024
8ef16af
Add org discovery config client.
Yasasr1 Nov 1, 2024
a4b3f35
Add unit tests.
Yasasr1 Nov 1, 2024
15f0d09
Address review comments.
Yasasr1 Nov 6, 2024
4374dc2
Address review comments.
Yasasr1 Nov 22, 2024
edeb975
Address comments
ashanthamara Nov 29, 2024
f305301
Merge remote-tracking branch 'upstream/master' into action-properties
ashanthamara Nov 29, 2024
dab9dd7
Minor fix
ashanthamara Nov 29, 2024
28f661d
Merge pull request #6099 from Yasasr1/add-discovery-config-client
Yasasr1 Nov 29, 2024
0e705b7
[WSO2 Release] [Jenkins #8092] [Release 7.7.10] prepare release v7.7.10
wso2-jenkins-bot Nov 29, 2024
79d2452
[WSO2 Release] [Jenkins #8092] [Release 7.7.10] prepare for next deve…
wso2-jenkins-bot Nov 29, 2024
f821a22
Merge pull request #6098 from Yasasr1/add-org-discovery-identity-xml
Yasasr1 Nov 29, 2024
14b97e4
Merge commit '79d2452cead410a8c6b6c1c79101d68e8967abf5' into 42c4cbb7…
wso2-jenkins-bot Nov 29, 2024
b1521a2
Merge pull request #6163 from osandamaleesha/test/diagnosticsLogs
malithie Nov 30, 2024
d519865
[WSO2 Release] [Jenkins #8094] [Release 7.7.11] prepare release v7.7.11
wso2-jenkins-bot Nov 30, 2024
366a820
[WSO2 Release] [Jenkins #8094] [Release 7.7.11] prepare for next deve…
wso2-jenkins-bot Nov 30, 2024
42705b9
Restructure the returning of the main role ids for given role ids int…
BimsaraBodaragama Nov 30, 2024
c104cd2
Complete testing newly added method 100%
BimsaraBodaragama Nov 30, 2024
1f23352
Add rule meta service component.
malithie Nov 29, 2024
baa7e58
Improve role management in sub organization level with conflict resolve
ShanChathusanda93 Nov 30, 2024
dfbb182
Add rule meta service component.
malithie Nov 7, 2024
8ddbdf8
Protect and add rule meta api to system apis.
malithie Dec 1, 2024
c1b3dab
Merge branch 'rule-meta' into rule-meta-3
malithie Dec 1, 2024
86bc708
Merge branch 'master' into rule-meta-3
malithie Dec 1, 2024
15118e4
Improve unit test coverage.
malithie Dec 1, 2024
68bc8a1
Merge pull request #6164 from malithie/rule-meta-3
malithie Dec 1, 2024
20241bf
[WSO2 Release] [Jenkins #8096] [Release 7.7.12] prepare release v7.7.12
wso2-jenkins-bot Dec 1, 2024
ae2eaf2
[WSO2 Release] [Jenkins #8096] [Release 7.7.12] prepare for next deve…
wso2-jenkins-bot Dec 1, 2024
9374c39
Add method descriptions
ashanthamara Dec 1, 2024
f190c87
Merge remote-tracking branch 'upstream/master' into action-properties
ashanthamara Dec 1, 2024
3031894
Update uniqueness validation properties update logic to preserve lega…
AfraHussaindeen Nov 30, 2024
56b53bd
Update uniqueness validation properties update logic to preserve lega…
AfraHussaindeen Dec 2, 2024
d60b8ad
Merge pull request #6145 from Yasasr1/update-api-resource-collection
Yasasr1 Dec 2, 2024
24044d4
[WSO2 Release] [Jenkins #8098] [Release 7.7.13] prepare release v7.7.13
wso2-jenkins-bot Dec 2, 2024
b386aed
[WSO2 Release] [Jenkins #8098] [Release 7.7.13] prepare for next deve…
wso2-jenkins-bot Dec 2, 2024
06d2a2a
Merge pull request #6010 from ShanChathusanda93/org-path-role-mgt-branch
ShanChathusanda93 Dec 2, 2024
05ca9b4
rename variable for readability
amanda-ariyaratne Dec 2, 2024
22a9154
[WSO2 Release] [Jenkins #8100] [Release 7.7.14] prepare release v7.7.14
wso2-jenkins-bot Dec 2, 2024
574a6a4
[WSO2 Release] [Jenkins #8100] [Release 7.7.14] prepare for next deve…
wso2-jenkins-bot Dec 2, 2024
2b501c0
Merge pull request #6167 from amanda-ariyaratne/issue-27603
amanda-ariyaratne Dec 2, 2024
f9d9a2c
[WSO2 Release] [Jenkins #8102] [Release 7.7.15] prepare release v7.7.15
wso2-jenkins-bot Dec 2, 2024
56b7c3b
[WSO2 Release] [Jenkins #8102] [Release 7.7.15] prepare for next deve…
wso2-jenkins-bot Dec 2, 2024
2d1289a
Address comments
ashanthamara Dec 2, 2024
12a0485
Merge remote-tracking branch 'upstream/master' into action-properties
ashanthamara Dec 2, 2024
c1def6b
Rename Exception files
ashanthamara Dec 2, 2024
147cd27
Merge branch 'master' into feature/user-share
BimsaraBodaragama Dec 2, 2024
b2054ba
Format
BimsaraBodaragama Dec 2, 2024
df1d23e
Merge remote-tracking branch 'origin/feature/user-share' into feature…
BimsaraBodaragama Dec 2, 2024
7a1ad73
Merge branch 'wso2:master' into add-cutsom-fed-auth-mgt-support
Thisara-Welmilla Dec 3, 2024
cccc26e
Update tests and exception message
BimsaraBodaragama Dec 3, 2024
81cbe9e
Refine tests
BimsaraBodaragama Dec 3, 2024
2c417ec
Merge pull request #6105 from Thisara-Welmilla/add-cutsom-fed-auth-mg…
Thisara-Welmilla Dec 3, 2024
b91a0b0
[WSO2 Release] [Jenkins #8104] [Release 7.7.16] prepare release v7.7.16
wso2-jenkins-bot Dec 3, 2024
441034e
[WSO2 Release] [Jenkins #8104] [Release 7.7.16] prepare for next deve…
wso2-jenkins-bot Dec 3, 2024
7993093
Address comments
ashanthamara Dec 3, 2024
7069964
Merge remote-tracking branch 'upstream/master' into action-properties
ashanthamara Dec 3, 2024
ea0adc8
Modify actionMnagementService imports
ashanthamara Dec 3, 2024
e271a0d
Relocate the logic for updating uniqueness validation properties to t…
AfraHussaindeen Dec 3, 2024
c46ebb5
Restructure tests
BimsaraBodaragama Dec 3, 2024
29d61a2
Minor improvement
ashanthamara Dec 3, 2024
145665f
Added new method for IdentityProviderManagementClientException.
Thisara-Welmilla Dec 4, 2024
bb517d3
Merge pull request #6162 from BimsaraBodaragama/feature/user-share
AnuradhaSK Dec 4, 2024
c915388
[WSO2 Release] [Jenkins #8106] [Release 7.7.17] prepare release v7.7.17
wso2-jenkins-bot Dec 4, 2024
ec52ff3
[WSO2 Release] [Jenkins #8106] [Release 7.7.17] prepare for next deve…
wso2-jenkins-bot Dec 4, 2024
2b156a6
Merge pull request #6174 from Thisara-Welmilla/improve-IdentityProvid…
Thisara-Welmilla Dec 4, 2024
a33d8fe
[WSO2 Release] [Jenkins #8108] [Release 7.7.18] prepare release v7.7.18
wso2-jenkins-bot Dec 4, 2024
78c31ab
[WSO2 Release] [Jenkins #8108] [Release 7.7.18] prepare for next deve…
wso2-jenkins-bot Dec 4, 2024
30d9ad4
Add fallback to IDN_ACTION_ENDPOINT table
ashanthamara Dec 4, 2024
f1716a5
Merge remote-tracking branch 'upstream/master' into action-properties
ashanthamara Dec 4, 2024
d910644
Fix role association check
ShanChathusanda93 Dec 4, 2024
3f2a42d
Revert db scripts
ashanthamara Dec 4, 2024
b30a89b
Revert db scripts
ashanthamara Dec 4, 2024
c6d4e92
Merge pull request #6119 from ashanthamara/action-properties
malithie Dec 4, 2024
b23bd35
[WSO2 Release] [Jenkins #8110] [Release 7.7.19] prepare release v7.7.19
wso2-jenkins-bot Dec 4, 2024
a6dd13a
[WSO2 Release] [Jenkins #8110] [Release 7.7.19] prepare for next deve…
wso2-jenkins-bot Dec 4, 2024
7cf2ed0
Merge pull request #6175 from ShanChathusanda93/role-association-branch
ShanChathusanda93 Dec 4, 2024
1f5a6f8
[WSO2 Release] [Jenkins #8112] [Release 7.7.20] prepare release v7.7.20
wso2-jenkins-bot Dec 4, 2024
7069589
[WSO2 Release] [Jenkins #8112] [Release 7.7.20] prepare for next deve…
wso2-jenkins-bot Dec 4, 2024
d316508
Add methods for signing and signature validation
sadilchamishka Dec 4, 2024
382ff71
Code refactoring
sadilchamishka Dec 4, 2024
43523e5
Address review comments and add unit tests
sadilchamishka Dec 4, 2024
0caf192
Code refactoring
sadilchamishka Dec 4, 2024
eee404d
Improve test coverage
sadilchamishka Dec 4, 2024
47297af
Merge pull request #6176 from sadilchamishka/add-utils-for-contents-s…
sadilchamishka Dec 5, 2024
16026f4
[WSO2 Release] [Jenkins #8114] [Release 7.7.21] prepare release v7.7.21
wso2-jenkins-bot Dec 5, 2024
ca6bc45
[WSO2 Release] [Jenkins #8114] [Release 7.7.21] prepare for next deve…
wso2-jenkins-bot Dec 5, 2024
3b6ada1
Throw signature exception from signing and signature validation utils
sadilchamishka Dec 5, 2024
18a8f0c
Merge pull request #6179 from sadilchamishka/add-utils-for-contents-s…
sadilchamishka Dec 5, 2024
4ae00be
[WSO2 Release] [Jenkins #8116] [Release 7.7.22] prepare release v7.7.22
wso2-jenkins-bot Dec 5, 2024
9af469a
[WSO2 Release] [Jenkins #8116] [Release 7.7.22] prepare for next deve…
wso2-jenkins-bot Dec 5, 2024
c39855e
Refactor ActionManagementAuditLogger
ashanthamara Dec 5, 2024
9d9bf3c
Merge pull request #6180 from ashanthamara/action-properties
ashanthamara Dec 5, 2024
045edf4
[WSO2 Release] [Jenkins #8118] [Release 7.7.23] prepare release v7.7.23
wso2-jenkins-bot Dec 5, 2024
37745ca
[WSO2 Release] [Jenkins #8118] [Release 7.7.23] prepare for next deve…
wso2-jenkins-bot Dec 5, 2024
6224c1c
Update getLocalClaims to set UniquenessScope property
AfraHussaindeen Dec 9, 2024
194ab4b
Merge pull request #6113 from AfraHussaindeen/master_attribute-unique…
AfraHussaindeen Dec 10, 2024
a797a53
[WSO2 Release] [Jenkins #8120] [Release 7.7.24] prepare release v7.7.24
wso2-jenkins-bot Dec 10, 2024
ed0296a
[WSO2 Release] [Jenkins #8120] [Release 7.7.24] prepare for next deve…
wso2-jenkins-bot Dec 10, 2024
7da001c
Add unit tests for SAMLSSOServiceProviderManager JDBC Implementation
Osara-B Nov 27, 2024
162f177
Update uploadServiceProvider in SAMLSSOServiceProviderDAOImpl.java
Osara-B Dec 10, 2024
a946ac0
Merge pull request #2 from Osara-B/saml-feature-tests
Osara-B Dec 10, 2024
2aad2ce
Merge branch 'saml-feature-branch' into saml-feature
Osara-B Dec 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
156 changes: 156 additions & 0 deletions .github/workflows/coverage-generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
name: Code Coverage Generator

on:
workflow_dispatch:
schedule:
# Daily 22:00 UTC (3.30 AM SL time).
- cron: '00 22 * * *'

jobs:
build-source:
runs-on: ubuntu-latest

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

- name: Set up Adopt JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: "adopt"

- name: Build with Maven
run: |
mvn clean install -U -B -Dmaven.test.skip=true
- name: Cache source code
uses: actions/cache@v4
with:
path: .
key: ${{ runner.os }}-source-${{ github.sha }}

oidc-conformance-report:
needs: build-source
runs-on: ubuntu-latest

steps:
- name: Restore source code
uses: actions/cache@v4
with:
path: .
key: ${{ runner.os }}-source-${{ github.sha }}
restore-keys: |
${{ runner.os }}-source-
- name: Get the latest Jacoco report URL
id: get-artifact-url-oidc
run: |
GITHUB_API_URL="https://api.github.com"
OWNER="wso2"
REPO="product-is"
WORKFLOW_ID="oidc-conformance-test.yml"
GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
# Get the latest successful workflow run
WORKFLOW_RUNS=$(curl -s -H "Authorization: token $GITHUB_TOKEN" "$GITHUB_API_URL/repos/$OWNER/$REPO/actions/workflows/$WORKFLOW_ID/runs?status=success&per_page=1")
RUN_ID=$(echo $WORKFLOW_RUNS | jq -r '.workflow_runs[0].id')
if [ "$RUN_ID" == "null" ]; then
echo "No successful workflow runs found"
exit 1
fi
# Get the artifacts for the workflow run
ARTIFACTS=$(curl -s -H "Authorization: token $GITHUB_TOKEN" "$GITHUB_API_URL/repos/$OWNER/$REPO/actions/runs/$RUN_ID/artifacts")
ARTIFACT_URL=$(echo $ARTIFACTS | jq -r '.artifacts[] | select(.name == "jacoco-xml") | .archive_download_url')
if [ "$ARTIFACT_URL" == "null" ]; then
echo "Artifact not found"
exit 1
fi
echo "::set-output name=artifact-url::$ARTIFACT_URL"
- name: Download latest Jacoco report
run: |
curl -L -o artifact-oidc.zip \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
${{ steps.get-artifact-url-oidc.outputs.artifact-url }}
- name: Unzip Jacoco report
run: |
unzip artifact-oidc.zip -d ./artifacts-oidc
- name: Upload coverage reports to Codecov for OIDC
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./artifacts-oidc/jacoco.xml
flags: conformance-oidc
disable_search: true

fapi-conformance-report:
needs: build-source
runs-on: ubuntu-latest

steps:
- name: Restore source code
uses: actions/cache@v4
with:
path: .
key: ${{ runner.os }}-source-${{ github.sha }}
restore-keys: |
${{ runner.os }}-source-
- name: Get the latest Jacoco report URL
id: get-artifact-url-fapi
run: |
GITHUB_API_URL="https://api.github.com"
OWNER="wso2"
REPO="product-is"
WORKFLOW_ID="fapi-oidc-conformance-test.yml"
GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
# Get the latest successful workflow run
WORKFLOW_RUNS=$(curl -s -H "Authorization: token $GITHUB_TOKEN" "$GITHUB_API_URL/repos/$OWNER/$REPO/actions/workflows/$WORKFLOW_ID/runs?status=success&per_page=1")
RUN_ID=$(echo $WORKFLOW_RUNS | jq -r '.workflow_runs[0].id')
if [ "$RUN_ID" == "null" ]; then
echo "No successful workflow runs found"
exit 1
fi
# Get the artifacts for the workflow run
ARTIFACTS=$(curl -s -H "Authorization: token $GITHUB_TOKEN" "$GITHUB_API_URL/repos/$OWNER/$REPO/actions/runs/$RUN_ID/artifacts")
ARTIFACT_URL=$(echo $ARTIFACTS | jq -r '.artifacts[] | select(.name == "jacoco-xml") | .archive_download_url')
if [ "$ARTIFACT_URL" == "null" ]; then
echo "Artifact not found"
exit 1
fi
echo "::set-output name=artifact-url::$ARTIFACT_URL"
- name: Download the latest Jacoco report
run: |
curl -L -o artifact-fapi.zip \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
${{ steps.get-artifact-url-fapi.outputs.artifact-url }}
- name: Unzip Jacoco report
run: |
unzip artifact-fapi.zip -d ./artifacts-fapi
- name: Upload coverage reports to Codecov for FAPI
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./artifacts-fapi/jacoco.xml
flags: conformance-fapi
disable_search: true

integration-test-report:
needs: build-source
runs-on: ubuntu-latest

steps:
- name: Restore source code
uses: actions/cache@v4
with:
path: .
key: ${{ runner.os }}-source-${{ github.sha }}
restore-keys: |
${{ runner.os }}-source-
- name: Download integration Jacoco XML report
run: |
mkdir artifacts-integration
curl -L -o ./artifacts-integration/jacoco.xml https://wso2.org/jenkins/job/products/job/product-is/lastSuccessfulBuild/artifact/modules/integration/tests-integration/tests-backend/target/jacoco/coverage/jacoco.xml
- name: Upload coverage reports to Codecov for integration tests
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./artifacts-integration/jacoco.xml
flags: integration
disable_search: true
8 changes: 8 additions & 0 deletions .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,13 @@ jobs:
${{ runner.os }}-
- name: Build with Maven
run: mvn clean install -U -B
- name: Generate coverage report
run: mvn test jacoco:report
- name: Delete SNAPSHOT artifacts
run: find ~/.m2/repository/ -name "*-SNAPSHOT" -type d -print -prune -exec rm -r {} +
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: target/site/jacoco/jacoco.xml
flags: unit
22 changes: 22 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes
max_report_age: false
coverage:
status:
project: off
patch: off

flag_management:
default_rules:
carryforward: true
individual_flags:
- name: unit
statuses:
- type: project # Checks the effect for the unit test coverage rate of the repository.
target: auto
threshold: null
- type: patch # This status indicates the extent of unit test coverage achieved by the pull request.
target: 80%
threshold: 40% # With a target of 80% and a threshold of 40%, the acceptable coverage range is 40% to 80%.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>action-mgt</artifactId>
<version>7.4.8-SNAPSHOT</version>
<version>7.7.25-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -41,6 +41,10 @@
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>org.wso2.carbon.identity.action.management</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>org.wso2.carbon.identity.central.log.mgt</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
Expand Down Expand Up @@ -77,9 +81,13 @@
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Private-Package>
org.wso2.carbon.identity.action.execution.internal,
org.wso2.carbon.identity.action.execution.impl,
org.wso2.carbon.identity.action.execution.util,
</Private-Package>
<Export-Package>
!org.wso2.carbon.identity.action.execution.internal,
!org.wso2.carbon.identity.action.execution.impl,
!org.wso2.carbon.identity.action.execution.util,
org.wso2.carbon.identity.action.execution.*;
version="${carbon.identity.package.export.version}"
</Export-Package>
Expand All @@ -100,7 +108,9 @@
org.apache.http.impl.conn; version="${httpcomponents-httpclient.imp.pkg.version.range}",
org.osgi.framework; version="${osgi.framework.imp.pkg.version.range}",
org.osgi.service.component; version="${osgi.service.component.imp.pkg.version.range}",
org.wso2.carbon.identity.central.log.mgt.utils; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.identity.core.util; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.identity.core; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.utils; version="${carbon.kernel.package.import.version.range}",
com.fasterxml.jackson.core.*; version="${com.fasterxml.jackson.annotation.version.range}",
com.fasterxml.jackson.databind.*;
Expand Down Expand Up @@ -163,7 +173,8 @@
<limit implementation="org.jacoco.report.check.Limit">
<counter>LINE</counter>
<value>COVEREDRATIO</value>
<minimum>0.80</minimum>
<!-- temp decreasing the coverage -->
<minimum>0.79</minimum>
</limit>
<limit implementation="org.jacoco.report.check.Limit">
<counter>COMPLEXITY</counter>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

package org.wso2.carbon.identity.action.execution;

/**
* Diagnostics Logs Constants for Action execution service.
*/
public class ActionExecutionLogConstants {

private ActionExecutionLogConstants() {}

public static final String ACTION_EXECUTION_COMPONENT_ID = "action-execution";

/**
* Action IDs.
*/
public static class ActionIDs {

public static final String EXECUTE_ACTION = "execute-action";
public static final String PROCESS_ACTION_REQUEST = "process-action-request";
public static final String SEND_ACTION_REQUEST = "send-action-request";
public static final String RECEIVE_ACTION_RESPONSE = "receive-action-response";
public static final String VALIDATE_ACTION_RESPONSE = "validate-action-response";
public static final String PROCESS_ACTION_RESPONSE = "process-action-response";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@
import org.wso2.carbon.identity.action.execution.exception.ActionExecutionResponseProcessorException;
import org.wso2.carbon.identity.action.execution.model.ActionExecutionStatus;
import org.wso2.carbon.identity.action.execution.model.ActionInvocationErrorResponse;
import org.wso2.carbon.identity.action.execution.model.ActionInvocationFailureResponse;
import org.wso2.carbon.identity.action.execution.model.ActionInvocationSuccessResponse;
import org.wso2.carbon.identity.action.execution.model.ActionType;
import org.wso2.carbon.identity.action.execution.model.Error;
import org.wso2.carbon.identity.action.execution.model.ErrorStatus;
import org.wso2.carbon.identity.action.execution.model.Event;
import org.wso2.carbon.identity.action.execution.model.FailedStatus;
import org.wso2.carbon.identity.action.execution.model.Failure;
import org.wso2.carbon.identity.action.execution.model.Success;

import java.util.Map;

Expand All @@ -36,13 +42,26 @@ public interface ActionExecutionResponseProcessor {

ActionType getSupportedActionType();

ActionExecutionStatus processSuccessResponse(Map<String, Object> eventContext,
Event actionEvent,
ActionInvocationSuccessResponse successResponse) throws
ActionExecutionStatus<Success> processSuccessResponse(Map<String, Object> eventContext,
Event actionEvent,
ActionInvocationSuccessResponse successResponse) throws
ActionExecutionResponseProcessorException;

ActionExecutionStatus processErrorResponse(Map<String, Object> eventContext,
Event actionEvent,
ActionInvocationErrorResponse errorResponse) throws
ActionExecutionResponseProcessorException;
default ActionExecutionStatus<Error> processErrorResponse(Map<String, Object> eventContext,
Event actionEvent,
ActionInvocationErrorResponse errorResponse) throws
ActionExecutionResponseProcessorException {

return new ErrorStatus(new Error(errorResponse.getErrorMessage(), errorResponse.getErrorDescription()));
}

default ActionExecutionStatus<Failure> processFailureResponse(Map<String, Object> eventContext,
Event actionEvent,
ActionInvocationFailureResponse failureResponse)
throws
ActionExecutionResponseProcessorException {

return new FailedStatus(new Failure(failureResponse.getFailureReason(),
failureResponse.getFailureDescription()));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
* under the License.
*/

package org.wso2.carbon.identity.action.execution;
package org.wso2.carbon.identity.action.execution.impl;

import org.wso2.carbon.identity.action.execution.ActionExecutionRequestBuilder;
import org.wso2.carbon.identity.action.execution.model.ActionExecutionRequest;
import org.wso2.carbon.identity.action.execution.model.ActionType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
* under the License.
*/

package org.wso2.carbon.identity.action.execution;
package org.wso2.carbon.identity.action.execution.impl;

import org.wso2.carbon.identity.action.execution.ActionExecutionResponseProcessor;
import org.wso2.carbon.identity.action.execution.model.ActionType;

import java.util.HashMap;
Expand All @@ -38,6 +39,8 @@ public static ActionExecutionResponseProcessor getActionExecutionResponseProcess
switch (actionType) {
case PRE_ISSUE_ACCESS_TOKEN:
return actionInvocationResponseProcessors.get(ActionType.PRE_ISSUE_ACCESS_TOKEN);
case AUTHENTICATION:
return actionInvocationResponseProcessors.get(ActionType.AUTHENTICATION);
default:
return null;
}
Expand Down
Loading
Loading