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

Add support to connect to the LoginFlow AI service #5971

Open
wants to merge 536 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
536 commits
Select commit Hold shift + click to select a range
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
934f4dc
Merge branch 'wso2:master' into add-custom-local-auth-mgt-support
Thisara-Welmilla Dec 8, 2024
4a0a0b0
Provide support for managing the user defined local authenticators,
Thisara-Welmilla Dec 8, 2024
6224c1c
Update getLocalClaims to set UniquenessScope property
AfraHussaindeen Dec 9, 2024
62b239d
Introduce a config to allow system prefix for roles
ImalshaG 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
f8e8c26
methods for create and call context specific tenanted keystores
Thumimku Dec 10, 2024
dd985fb
update doc
Thumimku Dec 10, 2024
51f9d24
Add get role count method for a filter in a given tenant.
mpmadhavig Dec 10, 2024
b9ca824
Add unit tests.
mpmadhavig Dec 10, 2024
cdcd718
Add a default implementation to the interface method.
mpmadhavig Dec 10, 2024
52cdf24
Add meaningful comment.
mpmadhavig Dec 10, 2024
6ca0b3d
address comments
Thumimku Dec 10, 2024
0843eac
Increase resend code validity period
ashensw Dec 10, 2024
d1a9b67
Merge pull request #6193 from ashensw/product-is-21793
ashensw Dec 10, 2024
3657daf
Fix unit test.
mpmadhavig Dec 10, 2024
65258fe
[WSO2 Release] [Jenkins #8122] [Release 7.7.25] prepare release v7.7.25
wso2-jenkins-bot Dec 10, 2024
fe23af6
[WSO2 Release] [Jenkins #8122] [Release 7.7.25] prepare for next deve…
wso2-jenkins-bot Dec 10, 2024
f0ab060
Merge pull request #6190 from mpmadhavig/rolecount-issue
mpmadhavig Dec 11, 2024
eb56b09
[WSO2 Release] [Jenkins #8124] [Release 7.7.26] prepare release v7.7.26
wso2-jenkins-bot Dec 11, 2024
016a4ec
[WSO2 Release] [Jenkins #8124] [Release 7.7.26] prepare for next deve…
wso2-jenkins-bot Dec 11, 2024
553dce4
Remove isBeforeFirst() check in trusted app config retrieval. Fix 21749
ThaminduR Dec 11, 2024
8c49027
address comment and init unit tests
Thumimku Dec 11, 2024
980a36b
Improve to use cross component transaction.
Thisara-Welmilla Dec 11, 2024
02ba530
Fix user name association in PostAuthAssociationHandler for configure…
kayathiri4 Dec 11, 2024
1191c5b
Address comments.
Thisara-Welmilla Dec 11, 2024
4da76dd
[WSO2 Release] [Jenkins #8126] [Release 7.7.27] prepare release v7.7.27
wso2-jenkins-bot Dec 11, 2024
dcba4c8
[WSO2 Release] [Jenkins #8126] [Release 7.7.27] prepare for next deve…
wso2-jenkins-bot Dec 11, 2024
0477800
add unit tests
Thumimku Dec 11, 2024
44c7bca
Expose org.wso2.carbon.identity.action.management.cache from the acti…
ashanthamara Dec 11, 2024
75b0fb4
Expose org.wso2.carbon.identity.certificate.management.cache from the…
ashanthamara Dec 11, 2024
f3c7779
Merge pull request #6198 from ashanthamara/action-properties
ashanthamara Dec 11, 2024
af04bb9
[WSO2 Release] [Jenkins #8128] [Release 7.7.28] prepare release v7.7.28
wso2-jenkins-bot Dec 11, 2024
4207fb0
[WSO2 Release] [Jenkins #8128] [Release 7.7.28] prepare for next deve…
wso2-jenkins-bot Dec 11, 2024
2e3f8af
comment out unit test for PR analysis
Thumimku Dec 11, 2024
503233a
Merge pull request #6157 from PasinduYeshan/patch-001
PasinduYeshan Dec 12, 2024
3ee406e
[WSO2 Release] [Jenkins #8130] [Release 7.7.29] prepare release v7.7.29
wso2-jenkins-bot Dec 12, 2024
0b98edb
[WSO2 Release] [Jenkins #8130] [Release 7.7.29] prepare for next deve…
wso2-jenkins-bot Dec 12, 2024
1f9d94d
Improve unit tests.
Thisara-Welmilla Dec 11, 2024
d8e9659
enabled unit tests
Thumimku Dec 12, 2024
1aef70b
Add configuration to specify debug tenants for notification templates
darshanasbg Dec 12, 2024
d9435e0
Fix Oracle specific discoverable app retrieval query
ThaminduR Dec 12, 2024
0e088ff
Merge pull request #6199 from darshanasbg/unicode-cache-issue
darshanasbg Dec 12, 2024
743dbdb
Add configs related to run suspension task from masternode.
inthirakumaaran Dec 12, 2024
0d05529
[WSO2 Release] [Jenkins #8132] [Release 7.7.30] prepare release v7.7.30
wso2-jenkins-bot Dec 12, 2024
e00c94c
[WSO2 Release] [Jenkins #8132] [Release 7.7.30] prepare for next deve…
wso2-jenkins-bot Dec 12, 2024
1dc07af
Improvement with cross component transactions.
Thisara-Welmilla Dec 12, 2024
664de74
Add permissions and scopes.
Thisara-Welmilla Dec 12, 2024
1a890a8
Merge pull request #6195 from ThaminduR/fix-21749
ThaminduR Dec 12, 2024
8983f8a
Merge pull request #6200 from ThaminduR/fix-21644
ThaminduR Dec 12, 2024
21d2933
Update config name.
inthirakumaaran Dec 12, 2024
778bd66
[WSO2 Release] [Jenkins #8134] [Release 7.7.31] prepare release v7.7.31
wso2-jenkins-bot Dec 12, 2024
a1d1ce6
[WSO2 Release] [Jenkins #8134] [Release 7.7.31] prepare for next deve…
wso2-jenkins-bot Dec 12, 2024
2bc48da
Merge pull request #6201 from inthirakumaaran/idle_account_duplicate_…
inthirakumaaran Dec 12, 2024
3818bb6
[WSO2 Release] [Jenkins #8136] [Release 7.7.32] prepare release v7.7.32
wso2-jenkins-bot Dec 12, 2024
928bb05
[WSO2 Release] [Jenkins #8136] [Release 7.7.32] prepare for next deve…
wso2-jenkins-bot Dec 12, 2024
00e6969
Remove exceptions thrown on validations in deleteActionById api
ashanthamara Dec 12, 2024
fb1e112
Merge pull request #6203 from ashanthamara/action-properties
ashanthamara Dec 12, 2024
1feba42
[WSO2 Release] [Jenkins #8138] [Release 7.7.33] prepare release v7.7.33
wso2-jenkins-bot Dec 12, 2024
e4fd720
[WSO2 Release] [Jenkins #8138] [Release 7.7.33] prepare for next deve…
wso2-jenkins-bot Dec 12, 2024
969d45a
Merge pull request #6189 from Thumimku/create-and-use-context-keystore
Thumimku Dec 12, 2024
7e0b66f
[WSO2 Release] [Jenkins #8140] [Release 7.7.34] prepare release v7.7.34
wso2-jenkins-bot Dec 12, 2024
3cec419
[WSO2 Release] [Jenkins #8140] [Release 7.7.34] prepare for next deve…
wso2-jenkins-bot Dec 12, 2024
2bbabf4
Add unit tests for role mgt service
ImalshaG Dec 12, 2024
2be96a3
Add new test class to testng.xml
ImalshaG Dec 12, 2024
12f8728
change method name
Thumimku Dec 13, 2024
4300b0f
Addressed comments.
Thisara-Welmilla Dec 12, 2024
ccad22a
Add event listener info
PasinduYeshan Dec 13, 2024
3ae4685
Merge pull request #6188 from ImalshaG/system-role
ImalshaG Dec 13, 2024
b44fa59
Merge pull request #6205 from Thumimku/methodRename
Thumimku Dec 13, 2024
e548a93
[WSO2 Release] [Jenkins #8142] [Release 7.7.35] prepare release v7.7.35
wso2-jenkins-bot Dec 13, 2024
c1fb741
[WSO2 Release] [Jenkins #8142] [Release 7.7.35] prepare for next deve…
wso2-jenkins-bot Dec 13, 2024
84027a3
Add versioning, created updated times for notification templates schema
darshanasbg Oct 31, 2024
3dd227c
Merge pull request #6171 from darshanasbg/add-columns
darshanasbg Dec 13, 2024
09652e7
Merge commit 'c1fb741ae7a5206c0b21f13de33fa20924135867' into 8cbf79f7…
wso2-jenkins-bot Dec 13, 2024
2a0acb4
[WSO2 Release] [Jenkins #8143] [Release 7.7.36] prepare release v7.7.36
wso2-jenkins-bot Dec 13, 2024
f879879
[WSO2 Release] [Jenkins #8143] [Release 7.7.36] prepare for next deve…
wso2-jenkins-bot Dec 13, 2024
9e519ad
Merge pull request #6170 from PasinduYeshan/feature/password-expiry
PasinduYeshan Dec 13, 2024
6eb5bf0
[WSO2 Release] [Jenkins #8145] [Release 7.7.37] prepare release v7.7.37
wso2-jenkins-bot Dec 13, 2024
65ae6fe
[WSO2 Release] [Jenkins #8145] [Release 7.7.37] prepare for next deve…
wso2-jenkins-bot Dec 13, 2024
493b17b
Remove cross component transaction for add method.
Thisara-Welmilla Dec 15, 2024
bafd769
Add rule management component.
malithie Dec 12, 2024
f517b87
Add table schemas.
malithie Dec 12, 2024
9112e8f
Add component to the feature.
malithie Dec 12, 2024
66226c6
[WSO2 Release] [Jenkins #8140] [Release 7.7.34] prepare release v7.7.34
wso2-jenkins-bot Dec 12, 2024
58fca57
[WSO2 Release] [Jenkins #8140] [Release 7.7.34] prepare for next deve…
wso2-jenkins-bot Dec 12, 2024
189176f
Update version to reflect master branch version.
malithie Dec 12, 2024
2c9c180
Fix to use int id as primary key.
malithie Dec 15, 2024
de5e134
Merge branch 'master' into rules-management
malithie Dec 15, 2024
5577799
Fix to use int id as primary key.
malithie Dec 15, 2024
07409db
Add exception to dao doc comment.
malithie Dec 15, 2024
92de268
Add version to the rule data layer.
malithie Dec 15, 2024
0d7b085
Update db schemas with version and int id.
malithie Dec 15, 2024
fb79fe7
Remove unused import.
malithie Dec 15, 2024
0df4b5d
Make all dao queries to be executed under withTransaction() in NamedJ…
ashanthamara Dec 15, 2024
f113514
Merge pull request #6206 from ashanthamara/action-properties
ashanthamara Dec 16, 2024
384f7ab
[WSO2 Release] [Jenkins #8147] [Release 7.7.38] prepare release v7.7.38
wso2-jenkins-bot Dec 16, 2024
1a565dc
[WSO2 Release] [Jenkins #8147] [Release 7.7.38] prepare for next deve…
wso2-jenkins-bot Dec 16, 2024
41f2eb1
Improve dao layer.
Thisara-Welmilla Dec 16, 2024
335a489
Introduce role properties object to store role related properties
ShanChathusanda93 Dec 14, 2024
a894553
Fix to use same connection with transactions.
malithie Dec 16, 2024
c904b60
Remove redundant index.
malithie Dec 16, 2024
7fdd5a2
Fix reading rule id for legacy db types.
malithie Dec 16, 2024
574eeef
Fix returning internal id from lamda.
malithie Dec 16, 2024
4053895
Merge pull request #6143 from SujanSanjula96/userinfo-config
SujanSanjula96 Dec 16, 2024
e9a330f
[WSO2 Release] [Jenkins #8149] [Release 7.7.39] prepare release v7.7.39
wso2-jenkins-bot Dec 16, 2024
1695c8d
[WSO2 Release] [Jenkins #8149] [Release 7.7.39] prepare for next deve…
wso2-jenkins-bot Dec 16, 2024
b4c7215
Address comments
Thisara-Welmilla Dec 16, 2024
db2d2a8
Merge pull request #6194 from ShanChathusanda93/role-prop-branch
ShanChathusanda93 Dec 16, 2024
dd218ed
Merge commit '1695c8d355c15b0e6576412fbdcb67bbc8a62f11' into afded223…
wso2-jenkins-bot Dec 16, 2024
414bfdd
Add oracle an mssql specific queries for queryWithOutCreatedTime
mpmadhavig Dec 16, 2024
7dd69e3
Address comments
Thisara-Welmilla Dec 16, 2024
ec5106d
Change column name to avoid reserved keywords.
malithie Dec 16, 2024
be755b7
Address comments
Thisara-Welmilla Dec 16, 2024
0346211
[WSO2 Release] [Jenkins #8151] [Release 7.7.40] prepare release v7.7.40
wso2-jenkins-bot Dec 16, 2024
df291ff
[WSO2 Release] [Jenkins #8151] [Release 7.7.40] prepare for next deve…
wso2-jenkins-bot Dec 16, 2024
fce4e30
Merge pull request #6172 from Thisara-Welmilla/add-custom-local-auth-…
Thisara-Welmilla Dec 16, 2024
7d1b400
[WSO2 Release] [Jenkins #8153] [Release 7.7.41] prepare release v7.7.41
wso2-jenkins-bot Dec 16, 2024
0ab1c6f
[WSO2 Release] [Jenkins #8153] [Release 7.7.41] prepare for next deve…
wso2-jenkins-bot Dec 16, 2024
d7512c2
Rename IDN_ACTION_ENDPOINT table to IDN_ACTION_PROPERTIES
ashanthamara Dec 17, 2024
03e663d
Introduce the fragment app check when adding the app role association
ShanChathusanda93 Dec 16, 2024
810ef1f
Remove fallback logic to IDN_ACTION_ENDPOINT table
ashanthamara Dec 17, 2024
8d83cdb
Enable authentication.authenticator.basic.parameters.showAuthFailureR…
shanggeeth Dec 17, 2024
f8ecc09
Fix the application certificate update issue with postgress
ThaminduDilshan Dec 17, 2024
c4a43ff
Update cert mgt dao impl class
ThaminduDilshan Dec 17, 2024
6995e97
Merge pull request #6209 from ashanthamara/action-properties
ashanthamara Dec 17, 2024
00d128c
[WSO2 Release] [Jenkins #8155] [Release 7.7.42] prepare release v7.7.42
wso2-jenkins-bot Dec 17, 2024
7c75a33
[WSO2 Release] [Jenkins #8155] [Release 7.7.42] prepare for next deve…
wso2-jenkins-bot Dec 17, 2024
4170bf9
Merge pull request #6161 from Yasasr1/api-resource-collection-remove
Yasasr1 Dec 17, 2024
7ff9acd
[WSO2 Release] [Jenkins #8157] [Release 7.7.43] prepare release v7.7.43
wso2-jenkins-bot Dec 17, 2024
02006eb
[WSO2 Release] [Jenkins #8157] [Release 7.7.43] prepare for next deve…
wso2-jenkins-bot Dec 17, 2024
04f8e51
Merge pull request #6210 from shanggeeth/show-auth-failure
shanggeeth Dec 17, 2024
e11863f
Merge commit '02006eb9d0626f99f76f5d4809176e0a105b13f5' into 8d74cc31…
wso2-jenkins-bot Dec 17, 2024
c14d864
Improve error codes for user defined local authenticator mgt.
Thisara-Welmilla Dec 17, 2024
d269820
Merge pull request #6185 from ShanChathusanda93/fragment-app-check-br…
ShanChathusanda93 Dec 17, 2024
c5705a2
Merge pull request #6211 from ThaminduDilshan/thamindu-cert-fix
ThaminduDilshan Dec 17, 2024
d2e4552
[WSO2 Release] [Jenkins #8159] [Release 7.7.44] prepare release v7.7.44
wso2-jenkins-bot Dec 17, 2024
00b928a
[WSO2 Release] [Jenkins #8159] [Release 7.7.44] prepare for next deve…
wso2-jenkins-bot Dec 17, 2024
8a93a2f
Merge commit '00b928aa97c061c8c4d9579ae685b49db8a8cd62' into 52aa6644…
wso2-jenkins-bot Dec 17, 2024
8550c6b
[WSO2 Release] [Jenkins #8160] [Release 7.7.45] prepare release v7.7.45
wso2-jenkins-bot Dec 17, 2024
8960263
[WSO2 Release] [Jenkins #8160] [Release 7.7.45] prepare for next deve…
wso2-jenkins-bot Dec 17, 2024
c0ff72e
Merge branch 'master' into rules-management
malithie Dec 17, 2024
da19889
Improve error codes for user defined federated authenticator mgt.
Thisara-Welmilla Dec 17, 2024
691edd7
Rename tag CUSTOM to Custom.
Thisara-Welmilla Dec 17, 2024
71e2dd4
Merge pull request #6216 from Thisara-Welmilla/CUSTOM-to-Custom
Thisara-Welmilla Dec 18, 2024
cbadad5
Merge pull request #6213 from Thisara-Welmilla/improve-custom-fed-aut…
Thisara-Welmilla Dec 18, 2024
1461ebc
Merge pull request #6168 from sandushi/fix-auit-log
sandushi Dec 18, 2024
3d52c4a
[WSO2 Release] [Jenkins #8162] [Release 7.7.46] prepare release v7.7.46
wso2-jenkins-bot Dec 18, 2024
3d75e5e
[WSO2 Release] [Jenkins #8162] [Release 7.7.46] prepare for next deve…
wso2-jenkins-bot Dec 18, 2024
dc96408
Merge commit '3d75e5ef9146dc20dad9a8163a9812805a917ffa' into 5e23424c…
wso2-jenkins-bot Dec 18, 2024
e6e7134
[WSO2 Release] [Jenkins #8163] [Release 7.7.47] prepare release v7.7.47
wso2-jenkins-bot Dec 18, 2024
a0faf5c
[WSO2 Release] [Jenkins #8163] [Release 7.7.47] prepare for next deve…
wso2-jenkins-bot Dec 18, 2024
9db98fa
Merge branch 'master' into rules-management
malithie Dec 18, 2024
c0b83b6
Update version to reflect master version.
malithie Dec 18, 2024
ac8f488
Update components/rule-mgt/org.wso2.carbon.identity.rule.management/s…
malithie Dec 18, 2024
cbe7f22
Merge branch 'master' into rules-management
malithie Dec 18, 2024
7f86c4f
Update version to reflect master version.
malithie Dec 18, 2024
e24e872
Merge remote-tracking branch 'origin/rules-management' into rules-man…
malithie Dec 18, 2024
c91b060
Merge pull request #6204 from malithie/rules-management
malithie Dec 18, 2024
1c36a56
Add create and delete scopes to access control for SCIM2 Roles endpoi…
ShanChathusanda93 Nov 7, 2024
62db3d1
[WSO2 Release] [Jenkins #8165] [Release 7.7.48] prepare release v7.7.48
wso2-jenkins-bot Dec 18, 2024
1de1add
[WSO2 Release] [Jenkins #8165] [Release 7.7.48] prepare for next deve…
wso2-jenkins-bot Dec 18, 2024
18d209d
Cleanup keystore data storage config and add the default value for no…
darshanasbg Dec 18, 2024
5194759
add unfiltered lolcally mapped remote claims to authn results (#6214)
shashimalcse Dec 18, 2024
e1d314f
Merge commit '1de1add33283d6227eabcb800d0305e8d9817649' into e9596989…
wso2-jenkins-bot Dec 18, 2024
6a2c01f
Merge pull request #6112 from ShanChathusanda93/org-path-role-api-sco…
ShanChathusanda93 Dec 18, 2024
c0eb05f
Merge branch 'wso2:master' into improve-error-code
Thisara-Welmilla Dec 18, 2024
d33954d
[WSO2 Release] [Jenkins #8167] [Release 7.7.49] prepare release v7.7.49
wso2-jenkins-bot Dec 18, 2024
b0c374c
[WSO2 Release] [Jenkins #8167] [Release 7.7.49] prepare for next deve…
wso2-jenkins-bot Dec 18, 2024
53df20b
Merge pull request #6219 from darshanasbg/improve-datastorage-configs
darshanasbg Dec 18, 2024
443d895
[WSO2 Release] [Jenkins #8169] [Release 7.7.50] prepare release v7.7.50
wso2-jenkins-bot Dec 18, 2024
f721c11
[WSO2 Release] [Jenkins #8169] [Release 7.7.50] prepare for next deve…
wso2-jenkins-bot Dec 18, 2024
903b6b5
Fix: Unable to Update Google Connector after Configuring Outbound Pro…
bhagyasakalanka Dec 18, 2024
538488d
remove redundant id
Yoshani Dec 18, 2024
b492a3d
Cleanup enable_unicode_support config
darshanasbg Dec 19, 2024
df7c998
Merge pull request #6224 from darshanasbg/cleanup-unicode-migration-c…
UdeshAthukorala Dec 19, 2024
c5817a8
Merge pull request #6220 from bhagyasakalanka/outbound-prov-issue
bhagyasakalanka Dec 19, 2024
67792b9
[WSO2 Release] [Jenkins #8171] [Release 7.7.51] prepare release v7.7.51
wso2-jenkins-bot Dec 19, 2024
24d0d4e
[WSO2 Release] [Jenkins #8171] [Release 7.7.51] prepare for next deve…
wso2-jenkins-bot Dec 19, 2024
f316ac3
Merge commit '24d0d4e0fadcfdc86f2dd573f82bf54214bf0eaf' into 922c233a…
wso2-jenkins-bot Dec 19, 2024
cc53ce2
[WSO2 Release] [Jenkins #8172] [Release 7.7.52] prepare release v7.7.52
wso2-jenkins-bot Dec 19, 2024
01d04fe
[WSO2 Release] [Jenkins #8172] [Release 7.7.52] prepare for next deve…
wso2-jenkins-bot Dec 19, 2024
9b2eeb7
add sp mapped claims as mapped remote claims (#6227)
shashimalcse Dec 19, 2024
93b9879
[WSO2 Release] [Jenkins #8174] [Release 7.7.53] prepare release v7.7.53
wso2-jenkins-bot Dec 19, 2024
d354b23
[WSO2 Release] [Jenkins #8174] [Release 7.7.53] prepare for next deve…
wso2-jenkins-bot Dec 19, 2024
dd78653
Merge pull request #6212 from Thisara-Welmilla/improve-error-code
Thisara-Welmilla Dec 19, 2024
14185f1
[WSO2 Release] [Jenkins #8176] [Release 7.7.54] prepare release v7.7.54
wso2-jenkins-bot Dec 19, 2024
fca042d
[WSO2 Release] [Jenkins #8176] [Release 7.7.54] prepare for next deve…
wso2-jenkins-bot Dec 19, 2024
feea1c5
Revert "Cleanup enable_unicode_support config"
darshanasbg Dec 19, 2024
276c88f
Merge pull request #6229 from wso2/revert-6224-cleanup-unicode-migrat…
UdeshAthukorala Dec 19, 2024
fe991d6
Revert "Improve error codes for user defined local authenticator mgt."
Thisara-Welmilla Dec 19, 2024
ad6a21c
Merge pull request #6230 from wso2/revert-6212-improve-error-code
Thisara-Welmilla Dec 19, 2024
1365a4d
Merge commit 'fca042d3a880e36028c02b1e9d8a9a657d7a5c66' into 34baf3c2…
wso2-jenkins-bot Dec 19, 2024
2befdf7
Revert "Fix: Unable to Update Google Connector after Configuring Outb…
UdeshAthukorala Dec 19, 2024
1d488c6
Merge pull request #6231 from wso2/revert-6220-outbound-prov-issue
UdeshAthukorala Dec 19, 2024
27b88bc
[WSO2 Release] [Jenkins #8178] [Release 7.7.55] prepare release v7.7.55
wso2-jenkins-bot Dec 19, 2024
9dbc3dd
[WSO2 Release] [Jenkins #8178] [Release 7.7.55] prepare for next deve…
wso2-jenkins-bot Dec 19, 2024
c34506b
Revert "Revert "Fix: Unable to Update Google Connector after Configur…
bhagyasakalanka Dec 19, 2024
17f132e
Merge remote-tracking branch 'wso2/master' into remove-reg-saml
darshanasbg Dec 19, 2024
5567167
Revert "Revert "Cleanup enable_unicode_support config""
darshanasbg Dec 20, 2024
6e5adfd
Merge pull request #6221 from Yoshani/oracle-rac-fix
Yoshani Dec 20, 2024
3d16f5a
[WSO2 Release] [Jenkins #8180] [Release 7.7.56] prepare release v7.7.56
wso2-jenkins-bot Dec 20, 2024
b26c4f3
[WSO2 Release] [Jenkins #8180] [Release 7.7.56] prepare for next deve…
wso2-jenkins-bot Dec 20, 2024
44b8576
Improve SAML persistence layer
Osara-B Dec 20, 2024
10ec6c0
Merge pull request #6239 from Osara-B/saml-removal
darshanasbg Dec 20, 2024
50dd783
Merge pull request #6237 from wso2/revert-6229-revert-6224-cleanup-un…
darshanasbg Dec 20, 2024
42a5dc2
[WSO2 Release] [Jenkins #8182] [Release 7.7.57] prepare release v7.7.57
wso2-jenkins-bot Dec 20, 2024
a47a1ff
[WSO2 Release] [Jenkins #8182] [Release 7.7.57] prepare for next deve…
wso2-jenkins-bot Dec 20, 2024
85b5bc6
Merge commit 'a47a1ff1bbc3a1b2075c025df6993d8ca5907d9e' into b1bc0cc1…
wso2-jenkins-bot Dec 20, 2024
cf1db17
[WSO2 Release] [Jenkins #8183] [Release 7.7.58] prepare release v7.7.58
wso2-jenkins-bot Dec 20, 2024
e42bf21
[WSO2 Release] [Jenkins #8183] [Release 7.7.58] prepare for next deve…
wso2-jenkins-bot Dec 20, 2024
d1e5ee4
Introduce maxPasswordAllowedLength config. (#6182)
Malith-19 Dec 20, 2024
7c68916
Introduce SAMLSSOServiceProviderDAO Factory class
Osara-B Dec 20, 2024
37630be
[WSO2 Release] [Jenkins #8185] [Release 7.7.59] prepare release v7.7.59
wso2-jenkins-bot Dec 20, 2024
96a835d
[WSO2 Release] [Jenkins #8185] [Release 7.7.59] prepare for next deve…
wso2-jenkins-bot Dec 20, 2024
f7352ad
Merge pull request #6240 from Osara-B/saml-removal
darshanasbg Dec 21, 2024
2b4897c
[WSO2 Release] [Jenkins #8187] [Release 7.7.60] prepare release v7.7.60
wso2-jenkins-bot Dec 21, 2024
f70492e
[WSO2 Release] [Jenkins #8187] [Release 7.7.60] prepare for next deve…
wso2-jenkins-bot Dec 21, 2024
4821563
Merge pull request #6207 from mpmadhavig/oracle-issue
mpmadhavig Jan 2, 2025
510f966
[WSO2 Release] [Jenkins #8189] [Release 7.7.61] prepare release v7.7.61
wso2-jenkins-bot Jan 2, 2025
aa26213
[WSO2 Release] [Jenkins #8189] [Release 7.7.61] prepare for next deve…
wso2-jenkins-bot Jan 2, 2025
da378db
Merge pull request #6232 from wso2/revert-6231-revert-6220-outbound-p…
bhagyasakalanka Jan 2, 2025
4d6ef25
[WSO2 Release] [Jenkins #8191] [Release 7.7.62] prepare release v7.7.62
wso2-jenkins-bot Jan 2, 2025
3e7e0ce
[WSO2 Release] [Jenkins #8191] [Release 7.7.62] prepare for next deve…
wso2-jenkins-bot Jan 2, 2025
45ab16e
Add support to connect to the LoginFlow AI service
sahandilshan Sep 30, 2024
d9e0ba2
Add AI Management component
sahandilshan Oct 18, 2024
90ae363
Add ai feature component
sahandilshan Oct 18, 2024
b4df626
Add loginflow AI capability
sahandilshan Oct 18, 2024
57f6c5f
Bump new component version
sahandilshan Oct 18, 2024
ddc1733
Fix code quality
sahandilshan Oct 18, 2024
16e792e
Bump AI version to latest framework version
sahandilshan Oct 18, 2024
a5229cc
Add more unit tests to cover complex scenarios
sahandilshan Nov 15, 2024
da6360b
Bump framework version in AI components
sahandilshan Nov 15, 2024
95eef11
Fix checkstyle issues
sahandilshan Nov 15, 2024
aca5555
Add support for connection pool with other improvements
sahandilshan Jan 6, 2025
998b94f
Merge remote-tracking branch 'origin/loginflow-ai' into loginflow-ai-2
sahandilshan Jan 6, 2025
cdad525
Modify LoginFlowAI Implementation
sahandilshan Jan 6, 2025
00b0147
Add connectiontime out support with other modifications
sahandilshan Jan 8, 2025
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
187 changes: 187 additions & 0 deletions components/ai-services-mgt/org.wso2.carbon.ai.service.mgt/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>ai-services-mgt</artifactId>
<version>7.5.73-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>org.wso2.carbon.ai.service.mgt</artifactId>
<packaging>bundle</packaging>
<name>WSO2 Carbon - AI Service Management Bundle</name>
<description>This is a Carbon bundle that represents the AI Service Management Bundle.</description>
<url>http://wso2.org</url>

<dependencies>
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-api</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>org.wso2.carbon.identity.core</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.orbit.org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.wso2</groupId>
<artifactId>httpcore</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</dependency>
</dependencies>

<build>
<plugins>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>
${project.artifactId}
</Bundle-SymbolicName>
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Import-Package>
org.osgi.framework; version="${osgi.framework.imp.pkg.version.range}",
org.osgi.service.component; version="${osgi.service.component.imp.pkg.version.range}",
com.google.gson;version="${com.google.code.gson.osgi.version.range}",
org.wso2.carbon.identity.core.util; version="${carbon.identity.package.import.version.range}",
org.apache.commons.lang; version="${commons-lang.wso2.osgi.version.range}",
org.apache.commons.logging; version="${import.package.version.commons.logging}",
com.fasterxml.jackson.databind.*; version="${com.fasterxml.jackson.annotation.version.range}",
org.wso2.carbon.context; version="${carbon.kernel.package.import.version.range}",

org.apache.http; version="${httpcore.version.osgi.import.range}",
org.apache.http.client; version="${httpcomponents-httpclient.imp.pkg.version.range}",
org.apache.http.client.methods; version="${httpcomponents-httpclient.imp.pkg.version.range}",
org.apache.http.entity; version="${httpcore.version.osgi.import.range}",
org.apache.http.message; version="${httpcore.version.osgi.import.range}",
org.apache.http.protocol; version="${httpcore.version.osgi.import.range}",
org.apache.http.util; version="${httpcore.version.osgi.import.range}",
org.apache.http.impl.client; version="${httpcomponents-httpclient.imp.pkg.version.range}",
org.apache.http.impl.nio.client; version="${httpasyncclient.version.osgi.import.range}",
org.apache.http.concurrent; version="${httpcore.version.osgi.import.range}",
</Import-Package>
<Export-Package>
org.wso2.carbon.ai.service.mgt.*; version="${carbon.identity.package.export.version}"
Copy link
Member

@omindu omindu Nov 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<!--suppress UnresolvedMavenProperty -->
<argLine>
sahandilshan marked this conversation as resolved.
Show resolved Hide resolved
${argLine}
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens java.xml/jdk.xml.internal=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/sun.nio.fs=ALL-UNNAMED
</argLine>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-prepare-agent-integration</id>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>default-report-integration</id>
<goals>
<goal>report-integration</goal>
</goals>
</execution>
<execution>
<id>default-check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule implementation="org.jacoco.maven.RuleConfiguration">
<element>BUNDLE</element>
<limits>
<limit implementation="org.jacoco.report.check.Limit">
<counter>COMPLEXITY</counter>
<value>COVEREDRATIO</value>
<minimum>0.50</minimum>
sahandilshan marked this conversation as resolved.
Show resolved Hide resolved
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<configuration>
<threshold>High</threshold>
</configuration>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/*
* 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.ai.service.mgt.constants;

/**
* Constants for the LoginFlowAI module.
*/
public class AIConstants {

/**
* Enums for error messages.
*/
public enum ErrorMessages {

MAXIMUM_RETRIES_EXCEEDED("AI_10000", "Maximum retries exceeded to retrieve the access token."),
UNABLE_TO_ACCESS_AI_SERVICE_WITH_RENEW_ACCESS_TOKEN("AI_10003", "Unable to access the " +
sahandilshan marked this conversation as resolved.
Show resolved Hide resolved
"AI service with the renewed access token."),
REQUEST_TIMEOUT("AI_10004", "Request to the AI service timed out."),
ERROR_RETRIEVING_ACCESS_TOKEN("AI_10007", "Error occurred while retrieving the " +
"access token."),
CLIENT_ERROR_WHILE_CONNECTING_TO_AI_SERVICE("AI_10008", "Client error occurred " +
"for %s tenant while connecting to AI service."),
SERVER_ERROR_WHILE_CONNECTING_TO_AI_SERVICE("AI_10009", "Server error occurred " +
"for %s tenant while connecting to AI service.");

sahandilshan marked this conversation as resolved.
Show resolved Hide resolved

private final String code;
private final String message;

ErrorMessages(String code, String message) {

this.code = code;
this.message = message;
}

public String getCode() {

return code;
}

public String getMessage() {

return message;
}

@Override
public String toString() {

return code + ":" + message;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* 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.ai.service.mgt.exceptions;

import org.wso2.carbon.ai.service.mgt.util.AIHttpClientUtil;

/**
* Client Exception class for AI service.
*/
public class AIClientException extends Exception {

private final String errorCode;
private AIHttpClientUtil.HttpResponseWrapper loginFlowAIResponse;

public AIClientException(String message, String errorCode) {

super(message);
this.errorCode = errorCode;
}

public AIClientException(AIHttpClientUtil.HttpResponseWrapper httpResponseWrapper,
String message, String errorCode) {

super(message);
this.errorCode = errorCode;
this.loginFlowAIResponse = httpResponseWrapper;
}

public AIClientException(String message, String errorCode, Throwable cause) {

super(message, cause);
this.errorCode = errorCode;
}

public String getErrorCode() {

return errorCode;
}

public AIHttpClientUtil.HttpResponseWrapper getLoginFlowAIResponse() {

return loginFlowAIResponse;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/*
* 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.ai.service.mgt.exceptions;

import org.wso2.carbon.ai.service.mgt.util.AIHttpClientUtil;

/**
* Client Exception class for AI service.
*/
public class AIServerException extends Exception {

private String errorCode;
private AIHttpClientUtil.HttpResponseWrapper loginFlowAIResponse;

public AIServerException(String message, String errorCode) {

super(message);
this.errorCode = errorCode;
}

public AIServerException(AIHttpClientUtil.HttpResponseWrapper httpResponseWrapper,
String message, String errorCode) {

super(message);
this.errorCode = errorCode;
this.loginFlowAIResponse = httpResponseWrapper;
}

public AIServerException(String message, Throwable cause) {

super(cause);
}

public AIServerException(String message, String errorCode, Throwable cause) {

super(message, cause);
this.errorCode = errorCode;
}

public String getErrorCode() {

return errorCode;
}

public AIHttpClientUtil.HttpResponseWrapper getBrandingAIResponse() {

return loginFlowAIResponse;
}
}
Loading
Loading