Commit Graph

205 Commits

Author SHA1 Message Date
hongwei
58a9c0b834 refactor/build: Simplify Scala plugin configs and adjust JVM arguments 2026-01-16 12:21:09 +01:00
hongwei
b575771d2e refactor/ fix(pom.xml): enforce test failure detection in Maven build
- Change maven.test.failure.ignore property from true to false
- Enable Maven to fail the build when tests fail instead of ignoring failures
- Ensure build pipeline properly detects and reports test failures
- This change restores strict test failure handling for CI/CD pipelines
2026-01-09 13:25:03 +01:00
hongwei
31e39e3773 refactor(build): optimize JVM memory allocation and enable parallel test execution
- Increase JVM heap memory from 512m to 2-4G for faster test execution
- Add G1GC garbage collector and tiered compilation for improved performance
- Enable parallel test execution with threadCount=4 to avoid shared state issues
- Add incremental recompilation mode and Zinc server for faster builds
- Increase Scala compiler JVM memory from 64m/1024m to 512m/2G
- Add language feature flags to suppress compiler warnings
- Add test-results directory to .gitignore for cleaner repository
- Apply optimizations consistently across obp-api, obp-commons, and root pom.xml
- These changes reduce build and test execution time while maintaining stability
2026-01-09 02:51:18 +01:00
hongwei
e7a13797af reafctor/add test failure ignore property to maven config
Add maven.test.failure.ignore property to control test execution behavior
2026-01-07 11:23:31 +01:00
hongwei
6eea791193 feature/enhance test reporting and build logging in workflows
Add surefire report plugin and test report artifact uploads
Enable pipefail in maven builds and upload build logs
Remove redundant scala-test-compile execution
2026-01-06 21:39:42 +01:00
hongwei
0a185461a2 chore(pom.xml): Update Jetty dependency version
- Bump Jetty version from 9.4.50.v20250814 to 9.4.58.v20250814
- Ensures latest security patches and bug fixes are included
- Maintains compatibility with existing HTTP4s and Lift configurations
2025-12-16 11:02:12 +01:00
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