- Replace hardcoded API version strings with ApiVersion constants in JSON factories and API methods
- Add new ApiVersion constants for Bahrain OBF and AU Open Banking
- Update test to use ApiVersion constants for version strings
- Ensure consistency and maintainability across API version references
- 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
- 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
**🔹 Without NVD API Key** (Default Development): ```OBP-API/pom.xml#L1-2
export MAVEN_OPTS="-Xss128m" && mvn install -pl .,obp-commons
```
**🔹 With Valid NVD API Key** (Production/Security Scanning):
```OBP-API/pom.xml#L1-3 export NVD_API_KEY=your_real_api_key export
MAVEN_OPTS="-Xss128m" && mvn install -pl .,obp-commons
```
You can also manually control it:
```OBP-API/pom.xml#L1-5
mvn install -Pdependency-check
mvn install -P '!dependency-check' ```
✅ **Zero 403 Errors**: Plugin only loads when API key is available ✅
**Clean Development**: No network calls or security scanning during
normal dev work ✅ **CI/CD Friendly**: Easy to enable/disable via
environment variables ✅ **No Build Failures**: Development builds never
fail due to network issues ✅ **Production Ready**: Full vulnerability
scanning when API key is provided
```OBP-API/pom.xml#L1-2 export MAVEN_OPTS="-Xss128m" && mvn install -pl
.,obp-commons && mvn jetty:run -pl obp-api ```
This will run **without any 403 errors** and complete successfully for
development work!
When you're ready for production security scanning, just get a free NVD
API key from https://nvd.nist.gov/developers/request-an-api-key and set
it as an environment variable.
- Added new API version v6.0.0 with updated Cardano transaction request handling.
- Introduced new JSON case classes for Cardano payment and transaction request bodies.
- Updated existing references from v5.1.0 to v6.0.0 in relevant files.
- Implemented tests for Cardano transaction requests, including various scenarios for validation and error handling.