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