Commit Graph

14869 Commits

Author SHA1 Message Date
Marko Milić
ebc893c75e Merge remote-tracking branch 'upstream/develop' into develop 2026-01-15 17:32:12 +01:00
karmaking
57f9f30a44 add Github actions conditionals 2026-01-15 11:45:30 +01:00
Simon Redfern
efb2d6e7b4
Merge pull request #2658 from simonredfern/develop
Various New Features
2026-01-15 10:46:23 +01:00
simonredfern
c40e033e77 Merge remote-tracking branch 'origin/develop' into develop
Fixed following

# Conflicts:
#	.github/workflows/build_container_develop_branch.yml
#	.github/workflows/build_container_non_develop_branch.yml
#	.github/workflows/build_pull_request.yml
2026-01-15 10:43:32 +01:00
simonredfern
f5dd612088 Merge upstream/develop into develop after conflict resolution 2026-01-14 16:21:47 +01:00
karmaking
3a264ed326 fix Github Action 2026-01-14 14:44:19 +01:00
simonredfern
439423fc4d Adding SuperAdmin Entitlement 2 2026-01-14 14:08:15 +01:00
simonredfern
423c0c17bd JKS endpoint tagged OAuth and OIDC 2 adding tags - and adding SuperAdmin Entitlement 2026-01-14 13:44:02 +01:00
simonredfern
ae599cef45 JKS endpoint tagged OAuth and OIDC 2026-01-14 13:30:33 +01:00
simonredfern
9eb9843066 Execute Policy endpoint 2026-01-14 09:55:02 +01:00
simonredfern
f95e8b8645 ABAC Policy instead of tag 2026-01-14 09:32:23 +01:00
simonredfern
d95189e36f Aligning ABAC examples with actual field names 2026-01-13 19:07:23 +01:00
simonredfern
9576a5ccc7 Feature: ABAC has entitlements for auth user and obo user 2026-01-13 17:27:10 +01:00
simonredfern
63b46b77f2 Docfix: Fewer ABA examples part 2 2026-01-13 17:27:10 +01:00
simonredfern
09e8c6c48f Docfix: Fewer ABA examples part 1 2026-01-13 17:27:10 +01:00
simonredfern
8698c8c0b5 Changed role name to canGetSystemConnectorMethodNames 2026-01-13 17:27:10 +01:00
simonredfern
4fe6775029 CanGetMethodRoutingNames 2026-01-13 17:27:10 +01:00
simonredfern
17f9677f1d flushall_build_and_run only liftweb run once again 2026-01-13 17:27:10 +01:00
hongwei
b9ca1591f4 test/fixed failed tests 2026-01-13 17:27:10 +01:00
simonredfern
e5dd7c4481 flushall build and run runs http4s as well 2026-01-13 17:27:10 +01:00
hongwei
886bbf04f6 refactor/code clean 2026-01-13 17:27:10 +01:00
hongwei
9e6cc0fb87 docfix/tweaked the default port for http4s 2026-01-13 17:27:10 +01:00
karmaking
bb8af5059d fix restore build pipeline 2026-01-13 17:27:10 +01:00
hongwei
2ab1f4ff3e test/ApiVersionUtilsTest: Update expected version count to 25 2026-01-13 17:26:49 +01:00
hongwei
46bf0ddcfe docfix/Update .gitignore to exclude .trae files 2026-01-13 17:26:49 +01:00
hongwei
f816f230b5 feature/Enhance resource docs handling for v7.0.0
- Update `getResourceDocsList` to include v7.0.0 in `ResourceDocsAPIMethods`
- Modify `Http4s700` to utilize centralized `ResourceDocs140` for fetching resource docs
- Simplify resource docs filtering logic for v7.0.0 with tailored handling
2026-01-13 17:26:49 +01:00
hongwei
4a0eded98c refactor/Http4sServer: Update default http4s.port from 8181 to 8086 2026-01-13 16:38:23 +01:00
hongwei
da29c29c40 feature/Support API version 7.0.0
- Add `v7_0_0` to supported API versions in `ApiVersionUtils`
- Update `Http4s700` to return pre-defined resource docs instead of scanning for version 7.0.0
2026-01-13 16:38:23 +01:00
hongwei
ad7b6fe357 refactor(Http4sServer): Reorder service initialization and improve comments 2026-01-13 16:38:23 +01:00
hongwei
7c9095f0aa feature/Get resource docs endpoint for v7.0.0
- Introduce `getResourceDocsObpV700` to handle resource docs retrieval for API version 7.0.0
- Add `getResourceDocsList` helper function for fetching version-specific resource docs
- Update `allRoutes` to include the new endpoint
- Modify imports to include necessary utilities and remove unused references
2026-01-13 16:38:23 +01:00
hongwei
d32947ba06 refactor/Introduce http4s routes for v7.0.0 and update API resource docs
- Add `Http4sEndpoint` type alias and `http4sPartialFunction` in APIUtil for handling http4s routes
- Refactor Http4s700 to define routes as standalone functions (e.g., `root`, `getBanks`) within Implementations7_0_0 object
- Attach resource documentation to each route for better maintainability
- Create a unified `allRoutes` combining v7.0.0 route handlers
- Update imports and clean up unused references
2026-01-13 16:38:23 +01:00
Marko Milić
798834a1b8
Merge pull request #4 from karmaking/daniel2
fix Github Action
2026-01-13 15:05:50 +01:00
karmaking
2b4bda7157 edit gitignore 2026-01-13 14:46:31 +01:00
karmaking
128595cdb0 fix github action 2026-01-13 14:45:22 +01:00
Simon Redfern
f10a070a07
Merge pull request #2652 from constantine2nd/develop
Warnings, webui prop
2026-01-13 12:11:46 +01:00
Marko Milić
346cefcc90 Revert "feature/Remove Sign Up flow from legacy portal"
This reverts commit 233af77b75.
2026-01-13 12:08:13 +01:00
Marko Milić
8c3f2e2671 Merge remote-tracking branch 'upstream/develop' into develop 2026-01-13 09:02:12 +01:00
Simon Redfern
5d0ed75231
Merge pull request #2657 from hongwei1/develop
feature/update the run_all_test script
2026-01-09 18:35:50 +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
8b39edb618 refactor/(run_all_tests.sh): fix grep pattern quoting for consistency
- Change double quotes to single quotes in grep regex pattern
- Improve shell script best practices for pattern matching
- Ensure consistent quoting style with grep -E flag usage
2026-01-09 14:29:16 +01:00
hongwei
e9f1ea2167 refactor/(run_all_tests.sh): enhance port management and add timeout support
- Make script executable by updating file permissions
- Remove global `set -e` to prevent grep failures and handle errors explicitly
- Add `--timeout=<minutes>` command line argument for test execution timeout
- Enhance command line argument parsing to support multiple arguments via case statement
- Improve port availability checking with fallback to alternative ports
- Add `find_available_port()` function to search for available ports in range
- Implement dynamic port configuration when primary port is unavailable
- Add error handling with `2>/dev/null` redirects to grep commands in summary generation
- Improve stale process cleanup with safer command substitution
- Add timeout variable initialization for future timeout implementation
- Enhance logging messages with variable port numbers instead of hardcoded values
- Improve robustness of port killing and verification logic with explicit checks
2026-01-09 14:02:24 +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
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
fa57525093 refactor/(run_all_tests.sh): enhance HTML report generation with asset copying
- Update surefire report filename from surefire-report.html to surefire.html
- Add copying of CSS, JS, images, fonts, and img directories for proper report rendering
- Copy report assets for both obp-api and obp-commons modules
- Add error suppression for missing asset directories to prevent script failures
- Clarify alternative naming convention in site reports location comment
- Ensure HTML reports render correctly with all required static assets
2026-01-09 12:57:15 +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
2f68e00c2a refactor/(run_all_tests.sh): add HTML report generation and display functionality
- Add HTML report generation step using mvn surefire-report:report-only
- Create dedicated html-reports directory in test results for organized report storage
- Copy surefire HTML reports from both obp-api and obp-commons modules
- Check multiple report locations (target/surefire-reports and target/site)
- Display generated HTML report paths in final test summary output
- Improve test result accessibility by centralizing HTML reports in one location
2026-01-09 12:27:16 +01:00
hongwei
f2b9b2a33d rafactor/ ci(workflows): update branch pattern matching for container build
- Change branch filter pattern from '*' to '**' for improved glob matching
- Ensures workflow triggers on all branches except develop with correct pattern syntax
- Improves CI/CD pipeline reliability by using proper wildcard pattern matching
2026-01-09 11:34:47 +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
1428b52905 refactor/(run_all_tests.sh): enhance logging to write to detail log file
- Update log_message function to write messages to both summary and detail log files
- Add output redirection to DETAIL_LOG in addition to existing SUMMARY_LOG
- Improve logging documentation comment to reflect dual log file writes
- Ensures comprehensive logging across all test execution phases
2026-01-09 02:50:28 +01:00
hongwei
ead4bf349c refactor/ (run_all_tests.sh): enhance terminal styling and add phase timing
- Update set_terminal_style() to use phase-specific background colors (gray for starting, orange for building, blue for testing, green for complete)
- Add get_time_ms() function to capture millisecond timestamps across macOS and Linux platforms
- Implement record_phase_time() function to track duration of each test execution phase (starting, building, testing, complete)
- Store phase timing data in temporary file for performance analysis
- Replace grep -P (PCRE) with sed-based parsing for macOS compatibility in generate_summary()
- Update test statistics extraction to sum values across all modules instead of just the last run
- Add cleanup for stale phase_timing.tmp file during initialization
- Improve parsing of Maven output for duration, test counts, and test results using portable sed commands
2026-01-09 02:50:27 +01:00