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

Updating 3.0.0 branch with latest 3.0.0 implementation #102

Merged
merged 346 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
346 commits
Select commit Hold shift + click to select a range
a20ff5a
Fixed review comments
Ashi1993 Mar 5, 2024
83666b0
Fixed review comments
Ashi1993 Mar 5, 2024
f51e3d2
Fixed review comments
Ashi1993 Mar 6, 2024
5c470ec
Fixed code review comments
Ashi1993 Mar 6, 2024
336d1c5
Fixed code review comments
Ashi1993 Mar 7, 2024
5b18a4c
Add isExpired method as a deprecated method
RivinduM Mar 7, 2024
2e54ae5
Fixed code review comments
Ashi1993 Mar 8, 2024
9286661
Merge pull request #44 from Ashi1993/event
hasithakn Mar 8, 2024
be66a37
Implementation of the persistence flow
kalpanakanagasabai Mar 8, 2024
2105df8
Unit test for persistence flow
kalpanakanagasabai Mar 8, 2024
e6889f2
Merge pull request #46 from RivinduM/main
Akila94 Mar 11, 2024
fa29ae7
Fixing the changes after the code review
kalpanakanagasabai Mar 12, 2024
60a3cf3
Resolving the comments for Retrieval flow
kalpanakanagasabai Mar 12, 2024
5f6d81b
Resolving the comments for Retrieval flow
kalpanakanagasabai Mar 13, 2024
4800926
Removal of Retrieval handler classes present in the Retrieval Flow
kalpanakanagasabai Mar 13, 2024
01f2f08
Resolving the comments
kalpanakanagasabai Mar 14, 2024
02c291d
Resolving the comments
kalpanakanagasabai Mar 14, 2024
4e69857
Resolving the comments
kalpanakanagasabai Mar 14, 2024
7782781
Resolving the comments for the unit test
kalpanakanagasabai Mar 15, 2024
460b4c0
Resolving the comments for the unit test
kalpanakanagasabai Mar 18, 2024
20e0817
Resolving the comments for the unit test
kalpanakanagasabai Mar 19, 2024
f8affec
Resolving the comments for the unit test
kalpanakanagasabai Mar 20, 2024
5fc68ee
Merge branch 'main' of https://github.com/wso2/financial-open-banking…
kalpanakanagasabai Mar 20, 2024
ef5d7a6
Merge branch 'main' into vrp-auth-flow
kalpanakanagasabai Mar 20, 2024
ce8d5a3
Merge branch 'vrp-auth-flow' of https://github.com/kalpanakanagasabai…
kalpanakanagasabai Mar 20, 2024
38efb6c
Resolving the comments
kalpanakanagasabai Mar 20, 2024
e3d9f0c
Committing the testng file
kalpanakanagasabai Mar 20, 2024
013455d
commit
kalpanakanagasabai Mar 20, 2024
a80caba
Merge pull request #38 from kalpanakanagasabai/vrp-auth-flow
Ashi1993 Mar 20, 2024
f697902
Merge branch 'main' of https://github.com/wso2/financial-open-banking…
kalpanakanagasabai Mar 21, 2024
1cfe6fb
Removal of persistence handlers
kalpanakanagasabai Mar 21, 2024
87fd19b
Removal of persistence handler classes
kalpanakanagasabai Mar 21, 2024
959398c
Implementation of persistence flow
kalpanakanagasabai Mar 21, 2024
5e8c84e
Improvement to Idempotency validation with extending capability (#51)
Ashi1993 Mar 26, 2024
3fd494e
Changing parent pom version to support jenkins releases
Ashi1993 Mar 26, 2024
8eb6717
Fixing spotbug issue
Ashi1993 Mar 27, 2024
ec0e734
Fixing spotbug issue
Ashi1993 Mar 27, 2024
d352c0b
Changing parent pom version to support jenkins releases
Ashi1993 Mar 27, 2024
6214bc4
Changing parent pom version to support jenkins releases (#52)
Ashi1993 Mar 27, 2024
da2c1e4
Fixing javadoc issues in maven release build
Ashi1993 Mar 28, 2024
f159a07
Merge remote-tracking branch 'upstream/main' into build
Ashi1993 Mar 28, 2024
51aee7f
Fixing javadoc issues in maven release build
Ashi1993 Mar 28, 2024
9566f11
Merge pull request #53 from Ashi1993/build
RivinduM Mar 28, 2024
234035a
Fixing javadoc issues in maven release build
Ashi1993 Mar 28, 2024
71efcc3
Fixing javadoc issues in maven release build
Ashi1993 Mar 28, 2024
5ee70ae
Merge pull request #54 from Ashi1993/build
RivinduM Mar 28, 2024
a4c4783
[WSO2 Release] [Jenkins #270] [Release 3.2.0] prepare release v3.2.0
wso2-jenkins-bot Mar 28, 2024
fb87910
[WSO2 Release] [Jenkins #270] [Release 3.2.0] prepare for next develo…
wso2-jenkins-bot Mar 28, 2024
75a9f10
Handle optional nullable params in SSA
hasithakn Mar 29, 2024
a1e61fa
Merge pull request #55 from hasithakn/fix_nullable_values_in_dcr_SSA_…
Ashi1993 Mar 29, 2024
114c1f4
[WSO2 Release] [Jenkins #272] [Release 3.2.1] prepare release v3.2.1
wso2-jenkins-bot Mar 29, 2024
861e403
[WSO2 Release] [Jenkins #272] [Release 3.2.1] prepare for next develo…
wso2-jenkins-bot Mar 29, 2024
559afcc
Fixing javadoc issues in JDK 11 build
Ashi1993 Apr 3, 2024
4d97893
Merge pull request #56 from Ashi1993/build
anjuchamantha Apr 3, 2024
be527bb
[WSO2 Release] [Jenkins #274] [Release 3.2.2] prepare release v3.2.2
wso2-jenkins-bot Apr 3, 2024
e690877
[WSO2 Release] [Jenkins #274] [Release 3.2.2] prepare for next develo…
wso2-jenkins-bot Apr 3, 2024
2ebf6db
App2App Test Authenticator
ImalshaD Apr 10, 2024
5b0da62
Fixed Issue in idempotency validation for APIs without a payload
Ashi1993 Apr 25, 2024
b97b4cf
Fixed review comments
Ashi1993 Apr 26, 2024
a266b47
Merge pull request #57 from Ashi1993/build
aka4rKO Apr 26, 2024
2e65b36
[WSO2 Release] [Jenkins #276] [Release 3.2.3] prepare release v3.2.3
wso2-jenkins-bot Apr 26, 2024
e0d9b6d
[WSO2 Release] [Jenkins #276] [Release 3.2.3] prepare for next develo…
wso2-jenkins-bot Apr 26, 2024
57eccec
Implementation of VRP service class
kalpanakanagasabai Apr 29, 2024
a0efde6
Implementation of VRP submission flow
kalpanakanagasabai Apr 29, 2024
b5975f0
Implementation of unit test for VRP submission flow
kalpanakanagasabai Apr 29, 2024
909ecfe
Resolving the comments
kalpanakanagasabai Apr 29, 2024
a33b714
Remove the tight coupling of jsfunctions service
Akila94 May 2, 2024
e6c1916
Resolving the comments
kalpanakanagasabai May 3, 2024
48eb1b8
Merge branch 'main' of https://github.com/wso2/financial-open-banking…
kalpanakanagasabai May 3, 2024
2fd1e20
App2App Test Authenticator
ImalshaD May 6, 2024
afbc298
Commits after building the pack
kalpanakanagasabai May 7, 2024
f1f5354
Resolving the comments
kalpanakanagasabai May 8, 2024
b6f317b
Resolving the comments
kalpanakanagasabai May 8, 2024
e1e94db
Resolving the comments
kalpanakanagasabai May 8, 2024
624ad9e
Merge pull request #50 from kalpanakanagasabai/vrp-auth-flow-persiste…
hasithakn May 8, 2024
e711dc6
[WSO2 Release] [Jenkins #278] [Release 3.2.4] prepare release v3.2.4
wso2-jenkins-bot May 8, 2024
e874db6
[WSO2 Release] [Jenkins #278] [Release 3.2.4] prepare for next develo…
wso2-jenkins-bot May 8, 2024
c3c0e71
App2App Authenticator structure changed
ImalshaD May 9, 2024
fa0f62f
Added MTLSCertificateValidatorTest JavaDoc
ImalshaD May 9, 2024
003a1fb
Architectural changes reflected.
ImalshaD May 11, 2024
473b48e
Model name refactored.
ImalshaD May 11, 2024
3ecb07f
Architecture modified to reduce coupling in validators and AuthUtils.
ImalshaD May 12, 2024
4d2591b
Optimised Imports.
ImalshaD May 12, 2024
b02ea52
Modify DCR Flow to make SSA an optional parameter
VenukshiMendis May 14, 2024
493c35e
Commits of vrp submission flow
kalpanakanagasabai May 15, 2024
7301826
Commits of vrp submission flow
kalpanakanagasabai May 15, 2024
273c2a4
Commits of vrp submission flow Unit test
kalpanakanagasabai May 15, 2024
d272acd
Tests added.
ImalshaD May 15, 2024
dde9fda
Modified DCR Executor to make SSA an optional parameter
VenukshiMendis May 15, 2024
626c3ee
Validation Groups moved to Identity.common.
ImalshaD May 16, 2024
9b85578
DisputeResolutionFilter added back.
ImalshaD May 16, 2024
b784b2a
Response Wrapper modifications reverted.
ImalshaD May 16, 2024
a57e628
Consent Extension Changes reverted.
ImalshaD May 16, 2024
7527873
Consent Extension Changes reverted.
ImalshaD May 16, 2024
1ed46dd
Dispute Resolution changes reverted.
ImalshaD May 16, 2024
9c0a3bc
Merge branch 'wso2:main' into App2App-Flow
ImalshaD May 16, 2024
9dba06e
Refactored the model to reflect the usage.
ImalshaD May 16, 2024
be20a7a
Comments added.
ImalshaD May 16, 2024
fbd3ef8
License header changed.
ImalshaD May 16, 2024
e798910
Code formatting changed.
ImalshaD May 16, 2024
b02187f
Code formatting changed.
ImalshaD May 16, 2024
23a8a60
Adding null check for did and loginHint.
ImalshaD May 17, 2024
9fd68cd
Code reformatted.
ImalshaD May 17, 2024
a2cbe69
Commits
kalpanakanagasabai May 17, 2024
87fc7fd
Merge branch 'main' of https://github.com/wso2/financial-open-banking…
kalpanakanagasabai May 17, 2024
94668f7
Fixed Unit test issue
Ashi1993 May 17, 2024
e498dd5
Comments resolved.
ImalshaD May 17, 2024
19959af
Typo Fixed.
ImalshaD May 17, 2024
7eaee49
License header updated.
ImalshaD May 17, 2024
fcdce04
Temp fix for MTLSCert expired unit tests failing problem,
ImalshaD May 20, 2024
ccd0a96
Method comments added for validation classes.
ImalshaD May 20, 2024
d4c5d47
Merge pull request #6 from ImalshaD/App2App-Flow
ImalshaD May 20, 2024
e0e4478
Fixed Unit test issue
Ashi1993 May 20, 2024
65a5473
Method comments added for validation classes.
ImalshaD May 20, 2024
05b0c7c
Formatting issues resolved.
ImalshaD May 20, 2024
347da59
Merge pull request #7 from ImalshaD/App2App-Flow
ImalshaD May 20, 2024
2783080
Fixed Unit test issue
Ashi1993 May 20, 2024
83b773e
Merge pull request #65 from Ashi1993/build
RivinduM May 20, 2024
7d5726d
Merge branch 'wso2:main' into main
ImalshaD May 20, 2024
8257ac3
Merge branch 'wso2:main' into App2App-Flow
ImalshaD May 20, 2024
f15c97c
MTLS cert changes riverted.
ImalshaD May 20, 2024
4ff89dd
Merge branch 'wso2:main' into main
VenukshiMendis May 20, 2024
547c513
Merge branch 'main' of https://github.com/wso2/financial-open-banking…
kalpanakanagasabai May 20, 2024
8b039d7
MTLS cert changes riverted.
ImalshaD May 20, 2024
6b78621
MTLS cert changes riverted.
ImalshaD May 20, 2024
dc22143
MTLS cert changes riverted.
ImalshaD May 20, 2024
761ae7c
Formatting on MTLSCertificateValidatorTest rearranged.
ImalshaD May 20, 2024
427ea55
Merge pull request #8 from ImalshaD/App2App-Flow
ImalshaD May 20, 2024
88d0ac2
Resolved Comments
VenukshiMendis May 20, 2024
8657c32
Resolved Comments
VenukshiMendis May 21, 2024
83fe18b
Fix formatting issues
VenukshiMendis May 21, 2024
f3a8558
[OB3] Improvements and Changes to Consent Manager Self-Care Portal UI…
Sandaru-Vithanage May 21, 2024
260e508
Digest validation logic added.
ImalshaD May 21, 2024
cbf2bbd
Comments resolved.
ImalshaD May 21, 2024
83e631f
Comments resolved.
ImalshaD May 22, 2024
53d4c3b
Comments resolved on response wrapper.
ImalshaD May 22, 2024
001f76d
Error messages reformatted.
ImalshaD May 22, 2024
696f2d5
Fix formatting isuses
VenukshiMendis May 22, 2024
0b0c5d5
Merge pull request #62 from VenukshiMendis/main
RivinduM May 22, 2024
4e52564
Comments Resolved.
ImalshaD May 22, 2024
3180209
Typo Fixed.
ImalshaD May 22, 2024
300527e
[WSO2 Release] [Jenkins #283] [Release 3.2.5] prepare release v3.2.5
wso2-jenkins-bot May 22, 2024
85f2058
[WSO2 Release] [Jenkins #283] [Release 3.2.5] prepare for next develo…
wso2-jenkins-bot May 22, 2024
81c865e
Merge pull request #67 from ImalshaD/main
imesh94 May 22, 2024
991e96c
Resolving comments
kalpanakanagasabai May 29, 2024
8362873
Resolving comments
kalpanakanagasabai May 31, 2024
dc8a94b
Resolving comments
kalpanakanagasabai May 31, 2024
983db07
Resolving comments - adding inline comments and method comments
kalpanakanagasabai May 31, 2024
1645a72
Event Notification bug fix for postgresql
anjuchamantha Jun 3, 2024
5e08584
Adding a separate class to handle Postgre Sql EventSubscription
anjuchamantha Jun 4, 2024
0fe7bbd
Remove not used constant
anjuchamantha Jun 4, 2024
b18a4b2
Change licence header
anjuchamantha Jun 7, 2024
5db84aa
Merge pull request #71 from anjuchamantha/main
Ashi1993 Jun 11, 2024
3b48f70
[WSO2 Release] [Jenkins #286] [Release 3.2.6] prepare release v3.2.6
wso2-jenkins-bot Jun 11, 2024
57bb9fe
[WSO2 Release] [Jenkins #286] [Release 3.2.6] prepare for next develo…
wso2-jenkins-bot Jun 11, 2024
a613632
Resolving comments
kalpanakanagasabai Jun 19, 2024
111dea6
Removed additional lines
kalpanakanagasabai Jun 19, 2024
1b1d6a5
Unit test for vrp submission flow
kalpanakanagasabai Jun 19, 2024
001c042
Unit test for vrp submission flow
kalpanakanagasabai Jun 19, 2024
2c042bf
Deprecate old package and method
Akila94 Jun 24, 2024
57b96a2
Correct license headers
Akila94 Jun 24, 2024
a7bcaa4
Revert method name change back to original
Akila94 Jun 24, 2024
af3eebd
Merge pull request #72 from Akila94/depreciate-old-validation-package
Ashi1993 Jun 24, 2024
6d37691
[WSO2 Release] [Jenkins #288] [Release 3.2.7] prepare release v3.2.7
wso2-jenkins-bot Jun 24, 2024
cf970a2
[WSO2 Release] [Jenkins #288] [Release 3.2.7] prepare for next develo…
wso2-jenkins-bot Jun 24, 2024
1181096
resolving comments
kalpanakanagasabai Jun 25, 2024
af24a0c
Unit test of submission flow
kalpanakanagasabai Jun 25, 2024
b922317
resolving comments
kalpanakanagasabai Jun 25, 2024
620c1b6
resolving comments
kalpanakanagasabai Jun 25, 2024
4cf2bb6
unit test
kalpanakanagasabai Jun 25, 2024
bfaf99e
Resolving comments
kalpanakanagasabai Jun 26, 2024
2465fd1
Resolving comments
kalpanakanagasabai Jun 26, 2024
b29d4a9
Merge pull request #58 from kalpanakanagasabai/vrp-submission-flow
Ashi1993 Jun 26, 2024
da16476
[OB3] Styling of Accordions in Accelerator Consent Manager Self Care …
Sandaru-Vithanage Jun 26, 2024
0a8b9e8
Update bouncycastle version
RivinduM Jun 27, 2024
2983a03
Merge pull request #76 from RivinduM/bouncycastle
VimukthiRajapaksha Jun 27, 2024
cdc0563
VRP swagger file and the insequence file
kalpanakanagasabai Jun 27, 2024
47a6f85
[WSO2 Release] [Jenkins #291] [Release 3.2.8] prepare release v3.2.8
wso2-jenkins-bot Jun 27, 2024
ddad8b2
[WSO2 Release] [Jenkins #291] [Release 3.2.8] prepare for next develo…
wso2-jenkins-bot Jun 27, 2024
8886cbb
Merge pull request #78 from kalpanakanagasabai/vrp-submission-flow
hasithakn Jun 28, 2024
5e1fe37
Fixed Issues Related to Consent Manager Self Care Portal (#79)
Sandaru-Vithanage Jun 28, 2024
004a5ca
[OB3] [Accelerator] Saving Multiple Control Parameters in Variable Re…
Sandaru-Vithanage Jun 28, 2024
3623f1f
Fix introspection data provider to call configured providers first
Akila94 Jun 30, 2024
ddece1a
Update license header
Akila94 Jul 1, 2024
6213c67
Merge pull request #80 from Akila94/fix-introspection-data-provider-main
aka4rKO Jul 1, 2024
fda5ec4
Merge pull request #60 from Akila94/jsfunctions-osgi-dependency-fix-p…
Ashi1993 Jul 1, 2024
98157c2
Fix unnecessary account mapping update in application deletion (#82)
imesh94 Jul 1, 2024
be71b17
Improve DCR JWT validation error response
Akila94 Jul 4, 2024
1149fbf
Merge pull request #84 from Akila94/improve-dcr-jwt-validation-error-…
aka4rKO Jul 5, 2024
439c49c
Moved the merge scripts from batch scripts to powershell, since the I…
NiTR0-CH4RG3R Jul 15, 2024
f991470
Used the Join-Path cmdlet to take the spaces in file paths into accou…
NiTR0-CH4RG3R Jul 15, 2024
284d2d3
Added EoF lines to the files.
NiTR0-CH4RG3R Jul 16, 2024
b777dba
Changed the year of the licenses from 2024 to 2023-2024.
NiTR0-CH4RG3R Jul 16, 2024
1e80e28
Consider all users of the consent in revocation
imesh94 Jul 16, 2024
1f81475
Improve dcr content type error
imesh94 Jul 17, 2024
bcbeef8
Update license header
imesh94 Jul 17, 2024
465ac47
Add commit transaction statement
imesh94 Jul 18, 2024
718d6de
Merge pull request #90 from imesh94/fix/open-source/dcr-error-title
hasithakn Jul 18, 2024
8ec5f50
[WSO2 Release] [Jenkins #296] [Release 3.2.9] prepare release v3.2.9
wso2-jenkins-bot Jul 18, 2024
a532cf8
[WSO2 Release] [Jenkins #296] [Release 3.2.9] prepare for next develo…
wso2-jenkins-bot Jul 18, 2024
b56a65c
Merge pull request #91 from imesh94/fix/open-source/migration-issue
Akila94 Jul 19, 2024
6210b0f
Merge pull request #89 from imesh94/fix/open-source/consent-revoke-issue
aka4rKO Jul 20, 2024
4cf1a44
Add dao level changes
imesh94 Jul 23, 2024
b6ef1d2
Add consent core service changes
imesh94 Jul 23, 2024
b5223fa
Add new method to update mapping permissions
imesh94 Jul 23, 2024
353db90
Update comments
imesh94 Jul 23, 2024
6a5fdb0
Fix review comments
imesh94 Jul 23, 2024
4e101f1
Merge pull request #94 from imesh94/fix/open-source/add-mapping-permi…
Akila94 Jul 24, 2024
dd3aa5a
Fix toolkit build failure
imesh94 Jul 28, 2024
cdbc7f6
Update license header
imesh94 Jul 28, 2024
db1b38a
Reformat
imesh94 Jul 28, 2024
c461bae
Modify license header
imesh94 Jul 28, 2024
9e24aff
Remove unnecessary comments
imesh94 Jul 28, 2024
a5210ee
Update license header
imesh94 Jul 28, 2024
b90dd93
Remove wrapper classes from coverage
imesh94 Jul 29, 2024
2313184
Merge pull request #96 from imesh94/fix/toolkit-build-failure
Ashi1993 Jul 29, 2024
ccaa6d6
Event Notification bug fix for postgresql
anjuchamantha Jun 3, 2024
15ad23f
Adding a separate class to handle Postgre Sql EventSubscription
anjuchamantha Jun 4, 2024
f49a0d1
Remove not used constant
anjuchamantha Jun 4, 2024
456d84a
Change licence header year
anjuchamantha Aug 5, 2024
1258767
get and update event subscription bug fix in postgresql
anjuchamantha Jul 31, 2024
272fd74
Fix getEventSubscriptionsByClientId for postgresql and fix bug in del…
anjuchamantha Aug 1, 2024
3f483ea
Add unit tests for PostgreSqlEventSubscriptionDAOImpl
anjuchamantha Aug 1, 2024
8c6f299
Change licence header year
anjuchamantha Aug 5, 2024
9f59b21
Add gateway client auth handler
imesh94 Aug 5, 2024
065fb42
Add error handling logic
imesh94 Aug 5, 2024
7e762ba
Add new configs
imesh94 Aug 5, 2024
771eda8
Change logic to check for transport cert header first
imesh94 Aug 5, 2024
886d890
Merge pull request #88 from NiTR0-CH4RG3R/main
anjuchamantha Aug 5, 2024
26525c4
Fix licence header year
anjuchamantha Aug 5, 2024
cc5a91d
Reformat
imesh94 Aug 5, 2024
9598a1f
Move util methods to gateway utils
imesh94 Aug 5, 2024
1314cee
Fix licence header year
anjuchamantha Aug 5, 2024
efb096c
Merge pull request #97 from anjuchamantha/postgres-bug-event-subs
Ashi1993 Aug 6, 2024
fe2e963
[WSO2 Release] [Jenkins #308] [Release 3.2.10] prepare release v3.2.10
wso2-jenkins-bot Aug 6, 2024
ba64804
[WSO2 Release] [Jenkins #308] [Release 3.2.10] prepare for next devel…
wso2-jenkins-bot Aug 6, 2024
0fb7a0c
Add new config to handle url encoding
imesh94 Aug 7, 2024
b1b67e5
Use json object to create error string
imesh94 Aug 7, 2024
0f930a1
Revert changes to ob-iam
imesh94 Aug 7, 2024
d051242
Remove redundant return statements
imesh94 Aug 7, 2024
96b23c5
Merge pull request #98 from imesh94/feat/tls-cert-as-header
anjuchamantha Aug 7, 2024
831d336
Prevent overriding exsiting mtls header (#99)
imesh94 Aug 8, 2024
e779d22
Fix publising 0 as response time on gateway error
imesh94 Aug 12, 2024
42437f5
Merge branch '3.0.0' into OB-3
Ashi1993 Aug 15, 2024
3f49a2a
Merge pull request #100 from imesh94/fix/opensource/zero-response-tim…
RivinduM Aug 15, 2024
08af0a0
Modifying action build
Ashi1993 Aug 15, 2024
e908c9a
Merge remote-tracking branch 'origin/Ob-3' into OB-3
Ashi1993 Aug 15, 2024
965b2ed
Merge pull request #103 from imesh94/fix/opensource/identifier-auth-fix
aka4rKO Aug 15, 2024
4f49fea
Merge remote-tracking branch 'upstream/main' into OB-3
Ashi1993 Aug 16, 2024
e400f18
Fixed review comment
Ashi1993 Aug 21, 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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
name: Build Open Banking Repository

on:
# Triggers the workflow on push or pull request events but only for the master branch
# Triggers the workflow on push or pull request events
pull_request:
imesh94 marked this conversation as resolved.
Show resolved Hide resolved
branches:
- 'main'
- '3.0.0'

jobs:

Expand Down
320 changes: 203 additions & 117 deletions open-banking-accelerator/accelerators/ob-apim/bin/configure.ps1

Large diffs are not rendered by default.

53 changes: 0 additions & 53 deletions open-banking-accelerator/accelerators/ob-apim/bin/merge.bat

This file was deleted.

82 changes: 82 additions & 0 deletions open-banking-accelerator/accelerators/ob-apim/bin/merge.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Copyright (c) 2023-2024, WSO2 LLC. (https://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.

# How to execute :
# If your accelerator is located inside of the base product you can just call .\merge.ps1
# If your accelerator is in a different location you can call .\merge.ps1 <YOUR_BASE_PRODUCT_HOME_DIR>

# IMPORTANT :
# Please note that these powershell files are not digitally signed yet. So, powershell will not allow these scripts under any of their execution policies.
# You may need to run these scripts on an execution policy bypassed powershell instance. You can do that using the following command.
# powershell.exe -executionpolicy bypass <SCRIPT_FILEPATH>

# Get the current working directory of the powershell session, so we can set to this directory after the script finishes.
$CURRENT_DIRECTORY = (Get-Location).path

# Some black magic to get the fully qualified path of the WSO2 Base Product if it was given as an argument.
$WSO2_BASE_PRODUCT_HOME = $args[0]
if (-NOT($null -eq $WSO2_BASE_PRODUCT_HOME)) {
if (Test-Path $WSO2_BASE_PRODUCT_HOME) {
Set-Location $WSO2_BASE_PRODUCT_HOME
$WSO2_BASE_PRODUCT_HOME = (Get-Location).path
Set-Location $CURRENT_DIRECTORY
}
}

Function Exit-Clean {
Set-Location $CURRENT_DIRECTORY
exit 1
}

# Get the root directory location of the accelerator. Which is <BASE_PRODUCT>/<ACCELERATOR>/
Set-Location (Join-Path $PSScriptRoot ".\..\")
$WSO2_OB_ACCELERATOR_HOME = (Get-Location).path
Write-Output "[INFO] Accelerator Home : $WSO2_OB_ACCELERATOR_HOME"

# Get the root directory of the base product.
if ($null -eq $WSO2_BASE_PRODUCT_HOME) {
Set-Location (Join-Path $WSO2_OB_ACCELERATOR_HOME ".\..\")
$WSO2_BASE_PRODUCT_HOME = (Get-Location).path
}
Write-Output "[INFO] Base Product Home : $WSO2_BASE_PRODUCT_HOME"

# Check whether the extracted base product location contains a valid WSO2 carbon product by checking whether this location
# contains the "repository/components" directory.
if (-NOT(Test-Path (Join-Path $WSO2_BASE_PRODUCT_HOME "repository\components"))) {
Write-Error "[ERROR] $WSO2_BASE_PRODUCT_HOME does NOT contain a valid carbon product!"
# The current path does not contain a valid carbon product.
# Set the current working directory to the original location and exit.
Exit-Clean
} else {
Write-Output "[INFO] $WSO2_BASE_PRODUCT_HOME is a valid carbon product home."
}

# Remove old open-banking artifacts
Write-Output "[INFO] Removing old open-banking artifacts..."
Get-ChildItem (Join-Path $WSO2_BASE_PRODUCT_HOME "repository\components\dropins") | Where-Object{$_.Name -Match "com.wso2.openbanking.accelerator.*"} | Remove-Item
Get-ChildItem (Join-Path $WSO2_BASE_PRODUCT_HOME "repository\components\lib") | Where-Object{$_.Name -Match "com.wso2.openbanking.accelerator.*"} | Remove-Item
Write-Output "[INFO] All previous OB artifacts have been deleted!"

# Copying all the new OB artifacts to the base product
# Copy-Item -Force -Recurse -Verbose (Join-Path $WSO2_OB_ACCELERATOR_HOME "carbon-home\*") -Destination $WSO2_BASE_PRODUCT_HOME
# Using Robocopy.exe becuase powershell Copy-Item cmdlet doesn't do recursive copying after a certain number of subdirectories.
Write-Output "[INFO] Copying new open-banking artifacts..."
Robocopy.exe (Join-Path $WSO2_OB_ACCELERATOR_HOME "carbon-home") $WSO2_BASE_PRODUCT_HOME * /E /NFL /NDL /NJH /NJS /nc /ns /np
Write-Output "[INFO] All the new OB artifacts has been copied!"

Write-Output "[INFO] Completed!"

Exit-Clean
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2023, WSO2 LLC. (https://www.wso2.com).
~ Copyright (c) 2023-2024, WSO2 LLC. (https://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
Expand Down Expand Up @@ -66,13 +66,6 @@
<CacheModifiedExpiry>{{open_banking.gateway.cache.cache_modified_expiry_minutes}}</CacheModifiedExpiry>
{% endif %}
</GatewayCache>
<IdempotencyValidationCache>
{% if open_banking.gateway.cache.idempotency_validation_cache.cache_time_to_live is defined %}
<CacheTimeToLive>{{open_banking.gateway.cache.idempotency_validation_cache.cache_time_to_live}}</CacheTimeToLive>
{% else %}
<CacheTimeToLive>1440</CacheTimeToLive>
{% endif %}
</IdempotencyValidationCache>
</Cache>

<CertificateManagement>
Expand Down Expand Up @@ -170,6 +163,16 @@
{% else %}
<TrustStoreDynamicLoadingInterval>86400</TrustStoreDynamicLoadingInterval>
{% endif %}
{% if open_banking.gateway.certificate_management.client_transport_cert_header_name is defined %}
<ClientTransportCertHeaderName>{{open_banking.gateway.certificate_management.client_transport_cert_header_name}}</ClientTransportCertHeaderName>
{% else %}
<ClientTransportCertHeaderName>x-wso2-mutual-auth-cert</ClientTransportCertHeaderName>
{% endif %}
{% if open_banking.gateway.certificate_management.url_encode_client_transport_cert_header_enabled is defined %}
<UrlEncodeClientTransportCertHeaderEnabled>{{open_banking.gateway.certificate_management.url_encode_client_transport_cert_header_enabled}}</UrlEncodeClientTransportCertHeaderEnabled>
{% else %}
<UrlEncodeClientTransportCertHeaderEnabled>true</UrlEncodeClientTransportCertHeaderEnabled>
{% endif %}
</CertificateManagement>

<TPPManagement>
Expand Down Expand Up @@ -210,26 +213,6 @@
</AllowedScopes>

</TPPManagement>

<Idempotency>
{% if open_banking.gateway.idempotency.enabled is defined %}
<IsEnabled>{{open_banking.gateway.idempotency.enabled}}</IsEnabled>
{% else %}
<IsEnabled>false</IsEnabled>
{% endif %}

{% if open_banking.gateway.idempotency.allowed_time_duration is defined %}
<AllowedTimeDuration>{{open_banking.gateway.idempotency.allowed_time_duration}}</AllowedTimeDuration>
{% else %}
<AllowedTimeDuration>1440</AllowedTimeDuration>
{% endif %}

{% if open_banking.gateway.idempotency.idempotency_key_header is defined %}
<IdempotencyKeyHeader>{{open_banking.gateway.idempotency.idempotency_key_header}}</IdempotencyKeyHeader>
{% else %}
<IdempotencyKeyHeader>x-idempotency-key</IdempotencyKeyHeader>
{% endif %}
</Idempotency>
</Gateway>
<DCR>
<APIMRESTEndPoints>
Expand Down Expand Up @@ -301,6 +284,25 @@
{% else %}
<RequestJWTValidation>true</RequestJWTValidation>
{% endif %}
<RegistrationRequestParams>
<SoftwareEnvironmentIdentification>
{% if open_banking.dcr.registration.software_environment_identification.ssa_property_name is defined %}
<PropertyName>{{open_banking.dcr.registration.software_environment_identification.ssa_property_name}}</PropertyName>
{% else %}
<PropertyName>software_environment</PropertyName>
{% endif %}
{% if open_banking.dcr.registration.software_environment_identification.ssa_property_value_for_sandbox is defined %}
<PropertyValueForSandbox>{{open_banking.dcr.registration.software_environment_identification.ssa_property_value_for_sandbox}}</PropertyValueForSandbox>
{% else %}
<PropertyValueForSandbox>sandbox</PropertyValueForSandbox>
{% endif %}
{% if open_banking.dcr.registration.software_environment_identification.ssa_property_value_for_production is defined %}
<PropertyValueForProduction>{{open_banking.dcr.registration.software_environment_identification.ssa_property_value_for_production}}</PropertyValueForProduction>
{% else %}
<PropertyValueForProduction>production</PropertyValueForProduction>
{% endif %}
</SoftwareEnvironmentIdentification>
</RegistrationRequestParams>
</DCR>
<KeyManagerName>{{open_banking.keyManager.name}}</KeyManagerName>
{% if open_banking.publisher.hostname is defined %}
Expand All @@ -315,6 +317,13 @@
<Enabled>false</Enabled>
{% endif %}
</APIMAnalytics>
<ELKAnalytics>
{% if open_banking.analytics.elk is defined %}
<Enabled>{{open_banking.analytics.elk.enabled}}</Enabled>
{% else %}
<Enabled>false</Enabled>
{% endif %}
</ELKAnalytics>
<DataPublishing>
{% if open_banking.data_publishing.enable is defined %}
<Enabled>{{open_banking.data_publishing.enable}}</Enabled>
Expand Down Expand Up @@ -478,83 +487,6 @@
{% endif %}
</KeyManagerAdditionalProperties>
</KeyManager>
<DistributedCache>
{% if open_banking.distributed_cache.enabled is defined %}
<Enabled>{{open_banking.distributed_cache.enabled}}</Enabled>
{% else %}
<Enabled>false</Enabled>
{% endif %}
{% if open_banking.distributed_cache.host_name is defined %}
<HostName>{{open_banking.distributed_cache.host_name}}</HostName>
{% else %}
<HostName>localhost</HostName>
{% endif %}
{% if open_banking.distributed_cache.port is defined %}
<Port>{{open_banking.distributed_cache.port}}</Port>
{% else %}
<Port>5701</Port>
{% endif %}
{% if ( (open_banking.distributed_cache.discovery_mechanism is defined) and (open_banking.distributed_cache.discovery_mechanism == "TCP") ) %}
<DiscoveryMechanism>{{open_banking.distributed_cache.discovery_mechanism}}</DiscoveryMechanism>
{% if open_banking.distributed_cache.members is defined %}
<Members>
{% for member in open_banking.distributed_cache.members %}
<Member>{{member}}</Member>
{% endfor %}
</Members>
{% else %}
<Members></Members>
{% endif %}
{% else %}
<DiscoveryMechanism>Multicast</DiscoveryMechanism>
{% if open_banking.distributed_cache.multicast_group is defined %}
<MulticastGroup>{{open_banking.distributed_cache.multicast_group}}</MulticastGroup>
{% else %}
<MulticastGroup>224.2.2.3</MulticastGroup>
{% endif %}
{% if open_banking.distributed_cache.multicast_port is defined %}
<MulticastPort>{{open_banking.distributed_cache.multicast_port}}</MulticastPort>
{% else %}
<MulticastPort>54321</MulticastPort>
{% endif %}
{% if open_banking.distributed_cache.trusted_interfaces is defined %}
<TrustedInterfaces>
{% for trusted_interface in open_banking.distributed_cache.trusted_interfaces %}
<TrustedInterface>{{trusted_interface}}</TrustedInterface>
{% endfor %}
</TrustedInterfaces>
{% else %}
<TrustedInterfaces></TrustedInterfaces>
{% endif %}
{% endif %}
<Properties>
{% if open_banking.distributed_cache.properties.max_heartbeat is defined %}
<MaxHeartbeat>{{open_banking.distributed_cache.properties.max_heartbeat}}</MaxHeartbeat>
{% else %}
<MaxHeartbeat>600</MaxHeartbeat>
{% endif %}
{% if open_banking.distributed_cache.properties.max_master_confirmation is defined %}
<MaxMasterConfirmation>{{open_banking.distributed_cache.properties.max_master_confirmation}}</MaxMasterConfirmation>
{% else %}
<MaxMasterConfirmation>900</MaxMasterConfirmation>
{% endif %}
{% if open_banking.distributed_cache.properties.merge_first_run_delay is defined %}
<MergeFirstRunDelay>{{open_banking.distributed_cache.properties.merge_first_run_delay}}</MergeFirstRunDelay>
{% else %}
<MergeFirstRunDelay>60</MergeFirstRunDelay>
{% endif %}
{% if open_banking.distributed_cache.properties.merge_next_run_delay is defined %}
<MergeNextRunDelay>{{open_banking.distributed_cache.properties.merge_next_run_delay}}</MergeNextRunDelay>
{% else %}
<MergeNextRunDelay>30</MergeNextRunDelay>
{% endif %}
{% if open_banking.distributed_cache.properties.logging_type is defined %}
<LoggingType>{{open_banking.distributed_cache.properties.logging_type}}</LoggingType>
{% else %}
<LoggingType>none</LoggingType>
{% endif %}
</Properties>
</DistributedCache>
<!--This configuration applies for Request Validation and Response Signing for `x-jws-signature`. -->
<JwsSignatureConfiguration>
<!-- Configs for Signature Validation -->
Expand Down
8 changes: 2 additions & 6 deletions open-banking-accelerator/accelerators/ob-apim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.wso2</groupId>
<groupId>com.wso2.openbanking.accelerator</groupId>
<artifactId>open-banking</artifactId>
<version>3.0.0</version>
<version>3.2.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -49,14 +49,10 @@
<directory>${project.basedir}/carbon-home/repository/components/lib</directory>
<excludes>
<exclude>**/jjwt-0.9.1.jar</exclude>
<exclude>**/mysql-connector-java-5.1.44.jar</exclude>
</excludes>
</fileset>
<fileset>
<directory>${project.basedir}/carbon-home/repository/components/dropins</directory>
<excludes>
<exclude>**/hazelcast-5.0.2.jar</exclude>
</excludes>
</fileset>
<fileset>
<directory>${project.basedir}/carbon-home/repository/deployment/server/webapps</directory>
Expand Down
Loading
Loading