Commit Graph

200 Commits

Author SHA1 Message Date
hongwei
4ffd9474df refactor/build: Reduce memory allocation for tests and remove parallel execution settings 2026-01-16 12:23:21 +01:00
hongwei
58a9c0b834 refactor/build: Simplify Scala plugin configs and adjust JVM arguments 2026-01-16 12:21:09 +01:00
hongwei
3c9ecdfbfa refactor/(pom.xml): increase Scala compiler JVM memory allocation
- Increase initial heap size from 1G to 4G (-Xms)
- Increase maximum heap size from 3G to 12G (-Xmx)
- Increase metaspace size from 1G to 4G (-XX:MaxMetaspaceSize)
- Improve compilation performance and reduce out-of-memory errors during large-scale builds
2026-01-09 14:40:18 +01:00
hongwei
3703ab1a00 refactor/(pom.xml): disable parallel test execution to prevent database conflicts
- Disable parallel test execution in obp-api module to avoid shared H2 database state issues
- Disable parallel test execution in obp-commons module for consistency
- Set parallel configuration to false across both modules
- Comment out threadCount configuration as it is no longer needed
- Tests share an in-memory H2 database which causes conflicts when run concurrently
- This resolves intermittent test failures caused by database state contamination between parallel test runs
2026-01-09 13:30:45 +01:00
hongwei
5251d79051 rafactor/ perf(pom.xml): optimize Scala compiler JVM memory configuration
- Reduce initial heap size from 4G to 1G for faster startup
- Lower maximum heap size from 12G to 3G for resource efficiency
- Add stack size configuration (-Xss4m) for thread optimization
- Reduce metaspace size from 4G to 1G to minimize memory overhead
- Improve build performance on resource-constrained environments while maintaining compilation stability
2026-01-09 12:27:51 +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
simonredfern
3d6f418bc0 Drun.mode=test flags --add-opens 2025-12-22 17:24:01 +01:00
simonredfern
2a3df1d8eb POM.XML 2025-12-20 17:28:44 +01:00
Marko Milić
6a7a76b44f feature/Add OpenAPI 3.1 YAML response 2025-12-17 14:51:00 +01:00
hongwei
8dbaaf8bbf Merge remote-tracking branch 'Marko/pekko' into develop
# Conflicts:
#	pom.xml
2025-12-15 11:42:44 +01:00
hongwei
c63bf9125f refactor/Remove http4s-jar Maven profile from obp-api pom.xml 2025-12-12 14:58:00 +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
21f6314e4d feature/Add http4s-jar profile to pom.xml and update scala-maven-plugin configuration; refactor withCallContext to use OptionT in Http4s700.scala 2025-12-09 21:49:55 +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
bd20986670 Accept true / false without quotes in Dynamic Entity field values. Allow tests to run 2025-12-03 23:12:01 +01:00
simonredfern
5ee2ae6b74 docfix: intro sys doc .md table of contents 2025-10-29 16:24:14 +01:00
Simon Redfern
3b7b31b4f4
Merge pull request #2620 from hongwei1/develop
feature/OBPv6.0.0 added ETH payments endpoints ETH_SEND_RAW_TRANSACTION and ETH_SEND_TRANSACTION
2025-10-02 13:35:22 +02:00
hongwei
cc7b925203 feature/Add DecodeRawTx utility for decoding Ethereum raw transactions to JSON format and include web3j dependency 2025-09-24 23:11:18 +02:00
simonredfern
fa6c054411 Removing mortbay from pom.xml 2025-09-22 16:48:25 +02:00
hongwei
a141dca5a7 refactor/used jakarta Email instead of Apache Commons Email - step9 2025-08-08 00:36:07 +02:00
hongwei
7fb61717c2 refactor/update dependencies to exclude javax.activation and clean up code 2025-08-07 23:20:37 +02:00
hongwei
db98592214 refactor/update RabbitMQConnectionPool to use typed GenericObjectPoolConfig and add commons-pool2 dependency 2025-08-06 11:20:24 +02:00
hongwei
da1bf7e615 refactor/ comment out unused scalaxb-maven-plugin in pom.xml 2025-08-05 10:42:02 +02:00
hongwei
ba36503a1e feature/used Apache Commons Email instead of LiftMail- step1 2025-08-05 10:40:02 +02:00
Hongwei
20f5160a2b Merge remote-tracking branch 'Simon/develop' into simon-develop
# Conflicts:
#	obp-api/pom.xml
2025-07-31 10:07:15 +02:00
Marko Milić
c5103e8c3c feature/Change password policy to accept strong passwords 2025-07-30 12:52:46 +02:00
Hongwei
ebfdcb9821 refactor/add jakarta.activation dependency to pom.xml 2025-07-30 10:22:04 +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
dde267b122 refactor/removed "kafka" from yaml, pom and md 2025-03-06 15:45:08 +01:00
Marko Milić
f08dbfa6ed feature/Add customer at Keycloak via restful api 2025-01-23 13:33:33 +01:00
Marko Milić
a8a0d490df feature/Add testcontainers Kafka 2024-11-18 13:03:56 +01:00
Marko Milić
fa323be804 feature/Add testcontainers RabbitMQ 2024-11-16 16:53:40 +01:00
Marko Milić
260072fc23 Merge remote-tracking branch 'upstream/develop' into develop 2024-11-03 14:12:30 +01:00
hongwei
a7ec44067b refactor/use inMemory cache instead of AtomicReference for ClassPool 2024-10-29 13:12:57 +01:00
Marko Milić
57dfcff9f2 Merge remote-tracking branch 'upstream/develop' into develop 2024-10-28 15:30:06 +01:00
Marko Milić
34fa53c085 refactor/Get rid of macmemo 0.6-OBP-SNAPSHOT library 2024-10-16 10:47:42 +02:00
hongwei
e7e0a5a55a feature/added RabbitMQ-step1 2024-10-04 06:59:13 +02:00
Hongwei
517986f71c refactor/update the pom java and plugin version -step3 2024-07-02 16:19:28 +02:00
hongwei
e05a55f281 refactor/update the pom java and plugin version -step2 2024-07-02 15:52:40 +02:00
Simon Redfern
a92f9d24f5
Merge pull request #2397 from OpenBankProject/dependabot/maven/obp-api/org.postgresql-postgresql-42.4.4
Bump org.postgresql:postgresql from 42.4.3 to 42.4.4 in /obp-api
2024-06-17 12:02:58 +02:00
dependabot[bot]
a76e82ba3b
Bump org.apache.commons:commons-compress in /obp-api
Bumps org.apache.commons:commons-compress from 1.23.0 to 1.26.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 10:01:35 +00:00
Simon Redfern
865a0dc1e1
Merge pull request #2399 from OpenBankProject/dependabot/maven/obp-api/com.nimbusds-nimbus-jose-jwt-9.37.2
Bump com.nimbusds:nimbus-jose-jwt from 9.31 to 9.37.2 in /obp-api
2024-06-17 12:01:07 +02:00
dependabot[bot]
a15b699785
Bump org.elasticsearch:elasticsearch from 8.10.3 to 8.14.0 in /obp-api
Bumps [org.elasticsearch:elasticsearch](https://github.com/elastic/elasticsearch) from 8.10.3 to 8.14.0.
- [Release notes](https://github.com/elastic/elasticsearch/releases)
- [Changelog](https://github.com/elastic/elasticsearch/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elastic/elasticsearch/compare/v8.10.3...v8.14.0)

---
updated-dependencies:
- dependency-name: org.elasticsearch:elasticsearch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 10:00:09 +00:00
dependabot[bot]
6caecebb84
Bump com.nimbusds:nimbus-jose-jwt from 9.31 to 9.37.2 in /obp-api
Bumps [com.nimbusds:nimbus-jose-jwt](https://bitbucket.org/connect2id/nimbus-jose-jwt) from 9.31 to 9.37.2.
- [Changelog](https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt)
- [Commits](https://bitbucket.org/connect2id/nimbus-jose-jwt/branches/compare/9.37.2..9.31)

---
updated-dependencies:
- dependency-name: com.nimbusds:nimbus-jose-jwt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 09:59:54 +00:00
dependabot[bot]
2a0f086222
Bump org.postgresql:postgresql from 42.4.3 to 42.4.4 in /obp-api
Bumps [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) from 42.4.3 to 42.4.4.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.4.3...REL42.4.4)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 09:59:53 +00:00
Simon Redfern
0fc644fffc
Merge pull request #2270 from OpenBankProject/dependabot/maven/obp-api/org.apache.commons-commons-compress-1.24.0
Bump org.apache.commons:commons-compress from 1.23.0 to 1.24.0 in /obp-api
2024-06-17 11:59:44 +02:00