Commit Graph

199 Commits

Author SHA1 Message Date
Marko Milić
929cb4d5d8 Merge branch 'develop' into pekko
# Conflicts:
#	pom.xml
2025-12-16 10:12:54 +01:00
Marko Milić
3c2df942d3 Replace Akka with Apache Pekko and fix scheduler actor system conflicts
BREAKING CHANGE: Migration from Akka to Apache Pekko 1.1.2

## Key Changes:

### Dependency Migration:
- Replaced Akka 2.6.20 with Apache Pekko 1.1.2
- Updated all imports from com.typesafe.akka to org.apache.pekko
- Updated Jetty from 9.4.50 to 9.4.58 for better Java 17 compatibility

### Actor System Architecture:
- Migrated all actor systems to Pekko
- Fixed critical scheduler initialization conflicts
- Consolidated schedulers to use shared ObpActorSystem.localActorSystem
- Prevented multiple actor system creation during boot

### Scheduler Fixes:
- DataBaseCleanerScheduler: Fixed actor system reference
- DatabaseDriverScheduler: Fixed actor system reference
- MetricsArchiveScheduler: Fixed actor system reference
- SchedulerUtil: Fixed actor system reference
- TransactionRequestStatusScheduler: Fixed actor system reference

### Technical Improvements:
- Resolved 'Address already in use' port binding errors
- Eliminated ExceptionInInitializerError during boot
- Fixed race conditions in actor system initialization
- Maintained all scheduler functionality (MUST-have features preserved)

### Files Modified:
- Core: pom.xml, obp-api/pom.xml
- Actor Systems: ObpActorConfig.scala, ObpActorSystem.scala, ObpLookupSystem.scala
- Connectors: AkkaConnector_vDec2018.scala, CardanoConnector, EthereumConnector
- Schedulers: All scheduler classes updated to use shared actor system
- Utilities: AkkaHttpClient.scala, DynamicUtil.scala, NewStyle.scala

## Testing:
 Application starts successfully on port 8080
 All schedulers operational with shared actor system
 Pekko actor system running on dynamically allocated port
 No port binding conflicts or initialization errors
 HTTP endpoints responding correctly

## Migration Notes:
- Akka licensing issues addressed by moving to Apache Pekko
- Backward compatibility maintained through Pekko's API compatibility
- All existing connector and scheduling functionality preserved
- Improved stability and reduced memory footprint
2025-12-11 15:35:55 +01:00
hongwei
e3e32458c4 Refactor/Disable Lift-specific schedulers and actor systems in Boot.scala; update pom.xml to upgrade classutil to 1.5.1 and configure maven-war-plugin with attachClasses; replace scala.jdk.CollectionConverters with scala.collection.JavaConverters for compatibility; add obp-http4s-runner module with fat JAR assembly configuration; update ClassScanUtils to handle UnsupportedOperationException from old ASM versions 2025-12-10 15:36:23 +01:00
hongwei
5bb4046123 Merge branch 'feature/AddedHttp4sMerge' into develop
# Conflicts:
#	obp-api/src/main/scala/bootstrap/liftweb/Boot.scala
2025-12-05 11:30:45 +01:00
simonredfern
5ee2ae6b74 docfix: intro sys doc .md table of contents 2025-10-29 16:24:14 +01:00
simonredfern
fa6c054411 Removing mortbay from pom.xml 2025-09-22 16:48:25 +02:00
Marko Milić
13b6ff7a89 feature/Bump scala compiler from 2.12.12 to 2.12.20 2025-05-30 10:04:06 +02:00
Hongwei
4894d01ec7 feature/added http4s - HelloWorld work -update to 0.23.30 2025-03-13 12:48:55 +01:00
Hongwei
273dbbf6bc feature/added http4s - HelloWorld work 2025-03-12 14:47:54 +01:00
Hongwei
0088560494 refactor/add akka.version back 2025-03-06 16:04:16 +01:00
Hongwei
dde267b122 refactor/removed "kafka" from yaml, pom and md 2025-03-06 15:45:08 +01:00
Marko Milić
61727b3579 feature/Bump scalatest-maven-plugin to 2.2.0 2024-07-12 09:05:38 +02:00
hongwei
e05a55f281 refactor/update the pom java and plugin version -step2 2024-07-02 15:52:40 +02:00
Marko Milić
861b65752f feature/Remove log4j library 2023-12-12 09:37:25 +01:00
Marko Milić
dd37c17774 feature/Bump Liftweb version to 3.5.0 2023-01-03 16:59:06 +01:00
Marko Milić
0cab1f52c3 Merge branch 'OpenBankProject:develop' into develop 2022-12-30 12:31:48 +01:00
Marko Milić
5b376a977b feature/Bump apache jetty library to 9.4.50.v20221201 2022-12-21 09:30:26 +01:00
Marko Milić
f7c5031453 feature/Bump apache commons-text library from 1.9 to 1.10.0 2022-12-09 09:30:35 +01:00
Marko Milić
45fb1a2957 feature/Bump Akka version 2.5.31 -> 2.5.32 2022-08-19 11:57:57 +02:00
Marko Milić
619477c4b8 refactor/Add apache library comons-text v1.9 2022-08-15 14:45:50 +02:00
Marko Milić
0b16c5b92f refactor/Get rid of library Apache Commons Collections 2 2022-08-11 17:12:51 +02:00
hongwei
4a4ee1e402 refactor/Vulnerability increased log4j to 2.17.1 2022-08-09 15:24:15 +02:00
Marko Milić
84a17df7d1 bugfix/Bump akka and akka streams kafka version 2022-07-11 15:43:04 +02:00
tawoe
12b662df07 bump git-commit-id-plugin to 4.9.10 2022-04-04 13:34:05 +02:00
hongwei
3407a22a62 Merge branch 'feature/dynamic_code_sandbox' into develop-Simon
# Conflicts:
#	obp-api/src/main/resources/props/sample.props.template
#	obp-api/src/main/scala/code/api/util/APIUtil.scala
#	obp-api/src/main/scala/code/api/util/ErrorMessages.scala
#	obp-api/src/main/scala/code/api/v4_0_0/APIMethods400.scala
2022-01-18 10:12:07 +01:00
Simon Redfern
a4a37a9d27 Bumping log4j.version to address CVE-2021-44228 (Log4Shell LogJam) 2021-12-11 18:16:07 +01:00
shuang
5618f44785 feature/dynamic_code_security: change macro repository from oldbig to OpenBankProject 2021-10-02 07:58:13 +08:00
shuang
29d812e96e add annotation OBPMemoize way, operate cache. 2021-08-22 13:21:38 +08:00
shuang
eb9793d03f feature/dynamic_resourceDoc: bump up version from 1.8.2 to 1.9.0 2021-02-16 20:42:08 +08:00
shuang
e503001aea feature/do_auth_type_validation: bump up pom version from 1.8.1 to 1.8.2 2020-12-17 17:52:11 +08:00
shuang
e5f188a619 feature/add_endpoint_get_scanned_api_versions: bump up pom version from '1.8.0' to '1.8.1' 2020-11-20 20:59:14 +08:00
shuang
0e336b286e feature/implement_FAPI_flow: bump up pom version from '1.7.1' to '1.8.0' 2020-11-18 21:24:49 +08:00
Marko Milić
aa47cbac14 refactor/Change queryTags => attributes 2020-08-14 17:46:21 +02:00
Guillaume Kergreis
a7a3ed0cb4 refactor/Add new error messages and optimise update requests 2020-08-11 11:15:42 +02:00
Marko Milić
83ec9eefa6 feature/Add connector method checkExternalUserExists part 2 2020-08-10 11:08:39 +02:00
Marko Milić
83e8c4f097 feature/Transaction Request Reasons - WIP 3 2020-07-28 14:55:11 +02:00
Marko Milić
7356b9fd4a feature/Transaction Request Reasons - WIP 2020-07-24 16:22:34 +02:00
shuang
a2526a86ec refactor/make_OutBound_hava_the_same_param_with_connector_method: move JsonSerializers to obp-commons module. 2020-07-23 17:09:47 +08:00
shuang
bae25385f1 bugfix/endpoint_show_wrong_dependent_connector_methods: bump up pom version from 1.6.0 to 1.6.1 2020-07-23 17:08:14 +08:00
shuang
ea97e1d5a1 feature/ignore_Inbound_field_value_for_unit_test: bump up pom version from 1.5.7 to 1.6.0 2020-07-14 17:18:24 +08:00
hongwei
8a27cf3679 docfix/update the obp-commons version 2020-07-11 21:43:05 +02:00
shuang
0ad332ce56 feature/endpoint_mapping_connector_methods: bump up version from 1.5.6 to 1.5.7 2020-07-09 21:49:04 +08:00
hongwei
e065029f98 update the obp-commons version 2020-07-06 15:37:09 +02:00
hongwei
5856045098 bugfix/update the new version for obp-commons 2020-07-06 11:56:31 +02:00
hongwei
38229b7928 feature/update the commons version 2020-07-02 16:36:46 +02:00
shuang
c0ab724128 feature/ignore_annotation_works_for_InBound_OutBound: bump up version from 1.5.2 to 1.5.3 2020-07-01 23:29:52 +08:00
shuang
a551be2444 bugfix/trait_way_enum_wrong_serialize: bump up version from 1.5.1 to 1.5.2 2020-06-29 20:49:24 +08:00
shuang
b9b2dd89ab bugfix/trait_way_enum_wrong_serialize: move reusable Serializer to obp-commons, make trait way enum be sub type of SimpleEnum, Delete TransactionCommons type, it cause many wrong result when do serialize and deserialize. 2020-06-29 17:05:47 +08:00
shuang
549a0092c3 bugfix/InBound_outBound_serialize_wrong_result: bump up version from 1.5.0 to 1.5.1 2020-06-24 19:12:59 +08:00
shuang
05f380838c feature/create_akka_connector_builder: bump up version from 1.4.4 to 1.5.0 2020-06-17 13:41:29 +08:00