Commit Graph

15007 Commits

Author SHA1 Message Date
hongwei
354918936f refactor/Remove default disabled versions from getDisabledVersions; replace scala.jdk.CollectionConverters with scala.collection.JavaConverters for compatibility 2025-12-12 10:41:03 +01:00
Simon Redfern
ae4ae66bba
Merge pull request #2643 from constantine2nd/develop
Add query param checks at endpoint getResourceDocsOpenAPI31
2025-12-12 10:37:25 +01:00
hongwei
5e61fd5dee Merge remote-tracking branch 'Simon/develop' into develop 2025-12-12 10:03:10 +01:00
simonredfern
8227e1b382 debugfix: fully qualified version name in logging. 2025-12-12 10:02:11 +01:00
hongwei
aa7319fa5c Merge remote-tracking branch 'Simon/develop' into develop 2025-12-12 08:58:29 +01:00
simonredfern
a93e860fed Note: By default we don't serve some older OBP standards. Also v6.0.0 version of /api/versions shows is_active 2025-12-11 20:04:50 +01:00
hongwei
fc4585ea7d feature/Filter scanned API versions based on api_enabled_versions and api_disabled_versions props; add APIUtil.versionIsAllowed check to getScannedApiVersions endpoint and comprehensive test coverage for version filtering 2025-12-11 18:46:36 +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
simonredfern
ce4f09d392 webui_props related 2025-12-11 13:18:06 +01:00
hongwei
d9de077248 refactor/code clean 2025-12-11 12:57:51 +01:00
hongwei
2228202e6a feature/Add Http4sBoot.scala to initialize OBP-API core components without Lift Web framework dependencies 2025-12-11 11:32:43 +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
Marko Milić
a886e45b0f Merge remote-tracking branch 'upstream/develop' into develop 2025-12-10 10:52:58 +01:00
Marko Milić
7feddbd752 feature/Add query param checks at endpoint getResourceDocsOpenAPI31 2025-12-10 10:29:33 +01:00
simonredfern
8b0f059015 endpoint prio 3 2025-12-10 09:59:56 +01:00
simonredfern
af667463eb Merge branch 'develop' of github.com:OpenBankProject/OBP-API into develop 2025-12-10 09:35:29 +01:00
simonredfern
61a513a491 endpoint prio 2025-12-10 09:29:22 +01:00
simonredfern
bbd1a5ef6b webui-props v6.0.0 fix 2025-12-10 08:56:52 +01:00
simonredfern
66092c1513 webui-props path and public in v6.0.0 2025-12-10 08:01:02 +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
Simon Redfern
39f6a5a47d
Merge pull request #2642 from constantine2nd/develop
OpenAPI 3.1
2025-12-09 14:52:48 +01:00
hongwei
4df0cc9100 Merge remote-tracking branch 'Simon/develop' into develop 2025-12-09 14:17:25 +01:00
Marko Milić
dbfb31ab73 Merge remote-tracking branch 'upstream/develop' into develop 2025-12-09 13:07:20 +01:00
Marko Milić
9973288ca5 feature/Add instance url at OpenAPI 3.1 Spec 2025-12-09 13:00:05 +01:00
hongwei
a8f16a87f2 Refactor/Http4sServer to use v7.0.0 API and remove deprecated routes. Introduce new JSONFactory for v7.0.0 and update server configuration to use dynamic host and port settings. Clean up unused Middleware and RestRoutes files. 2025-12-09 09:09:37 +01:00
simonredfern
be69a20472 ideas: ABAC consents 2025-12-09 08:46:56 +01:00
hongwei
2ae58966c5 Merge remote-tracking branch 'refs/remotes/Simon/develop' into develop 2025-12-09 08:22:36 +01:00
simonredfern
4836dee90c docfix regarding firehose endpoints 2025-12-09 00:29:14 +01:00
simonredfern
546363e4b6 fixing validate email path logic 2025-12-08 13:46:34 +01:00
simonredfern
eb49ea7593 JSON type in Dynamic Entity 2025-12-08 12:14:28 +01:00
simonredfern
cc812f230f reference type checks entity record id and entity name only 2025-12-06 02:21:30 +01:00
simonredfern
9d92c1d300 Dynamic Entitity Delete Cascade in v6.0.0 2025-12-06 00:33:06 +01:00
simonredfern
280e45557c Delete System Dynamic Entity Cascade 2025-12-05 22:41:28 +01:00
simonredfern
c64a5d1089 role name field increase in entitlement etc. 2025-12-05 18:12:13 +01:00
simonredfern
0989f158a3 fixing email for user validation 2025-12-05 12:37:33 +01:00
simonredfern
aaf3e61313 v6.0.0 get webui_props 2025-12-05 11:56:31 +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
Simon Redfern
96d3c1df0f
Merge pull request #2641 from constantine2nd/develop
OpenAPI v3.1
2025-12-05 10:18:17 +01:00
simonredfern
89958d0cf6 http4s and dispatch thoughts 2 2025-12-05 08:24:02 +01:00
simonredfern
6ba32f562e http4s and dispatch thoughts 2025-12-05 08:14:45 +01:00
simonredfern
14b26fc667 Added v6.0.0 endpoint to get one webui_props 2025-12-05 07:04:40 +01:00
simonredfern
af05e99c51 Added test mode for email sending 2025-12-04 21:33:48 +01:00
Marko Milić
bb2f7b76b6 feature/Tweak OpenAPI 3.1 Spec 2025-12-04 19:19:50 +01:00
Marko Milić
32007bb6f8 feature/Generate OpenAPI 3.1 Spec 2025-12-04 16:07:53 +01:00
Simon Redfern
6785a28e79
Merge pull request #2640 from constantine2nd/develop
Tests
2025-12-04 15:31:05 +01:00
Marko Milić
4b7271f348 Merge remote-tracking branch 'upstream/develop' into develop 2025-12-04 14:24:44 +01:00
Marko Milić
9861d69df9 test/Fix failed v3.1.0 tests 2 2025-12-04 14:24:30 +01:00
simonredfern
51a5820e2a tweaking logback-test.xml and adding it to git so we don't spam test output 2025-12-04 14:02:39 +01:00
Marko Milić
9c16f74fe8 test/Fix failed v3.1.0 tests 2025-12-04 13:08:58 +01:00
Simon Redfern
416f8ecaa2
Merge pull request #2639 from constantine2nd/develop
test/Fix failed v6.0.0 tests
2025-12-04 12:17:32 +01:00