Commit Graph

58 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
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
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
Marko Milić
46028185cc feature/check NIST messages at startup
**🔹 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.
2025-11-05 10:58:17 +01:00
hongwei
7fb61717c2 refactor/update dependencies to exclude javax.activation and clean up code 2025-08-07 23:20:37 +02:00
dependabot[bot]
9b41093c1a
Bump guava from 31.1-jre to 32.0.0-jre in /obp-commons
Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 15:32:06 +00:00
Marko Milić
481c2de79a feature/Bump apache commons-text library from 1.9 to 1.10.0 - 2 2022-12-13 15:49:11 +01:00
Marko Milić
78ec419775 feature/Bump guava library version 23.0 -> 31.1-jre 2022-09-06 11:22:18 +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
Marko Milić
fea4e89a5c refactor/Get rid of library Apache Commons Collections 2022-08-11 16:56:39 +02:00
shuang
29eb2164c6 feature/exclude_response_json_fields according "excluded.response.field.values" to exclude response json fields. 2022-03-26 09:11:50 +08: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
hongwei
38229b7928 feature/update the commons version 2020-07-02 16:36:46 +02:00
hongwei
460d0f3c6c Merge remote-tracking branch 'Hongwei/develop' into develop 2020-07-02 09:21:39 +02:00
shuang
c0ab724128 feature/ignore_annotation_works_for_InBound_OutBound: bump up version from 1.5.2 to 1.5.3 2020-07-01 23:29:52 +08:00
hongwei
bb22809a03 feature/upgrade transmittable-thread-local to 2.11.5 2020-07-01 12:59:39 +02:00
shuang
a551be2444 bugfix/trait_way_enum_wrong_serialize: bump up version from 1.5.1 to 1.5.2 2020-06-29 20:49:24 +08:00
shuang
b9b2dd89ab bugfix/trait_way_enum_wrong_serialize: move reusable Serializer to obp-commons, make trait way enum be sub type of SimpleEnum, Delete TransactionCommons type, it cause many wrong result when do serialize and deserialize. 2020-06-29 17:05:47 +08:00
shuang
549a0092c3 bugfix/InBound_outBound_serialize_wrong_result: bump up version from 1.5.0 to 1.5.1 2020-06-24 19:12:59 +08:00
shuang
05f380838c feature/create_akka_connector_builder: bump up version from 1.4.4 to 1.5.0 2020-06-17 13:41:29 +08:00
shuang
5f4e4f9950 bugfix/dynamic_entity_data_404_process: bumpup version from 1.4.3 to 1.4.4. 2020-06-03 21:44:20 +08:00
shuang
dabd24e7de feature/request_and_response_body_can_empty_or_primary_type: bump up pom version from 1.4.2 to 1.4.3. 2020-04-22 13:29:26 +08:00
shuang
52f98b3e66 feature/support_openjdk11_oraclejdk13 : bump up pom version from 1.4.1 to 1.4.2. 2020-04-17 08:19:21 +08:00
shuang
da4462069f feature/add_dynamic_endpoints_with_swagger: bump up pom version from 1.4.0 to 1.4.1 2020-04-10 14:24:46 +08:00
shuang
3dde35418f feature/add_dynamic_endpoints_with_swagger: add apache collections4 dependency 2020-04-10 14:24:46 +08:00
shuang
81532359c2 feature/dynamicEntity_add_type_DATE_WITH_DAY: update pom version from 1.3.0 to 1.4.0. 2020-03-18 11:53:35 +08:00
shuang
943859e957 feature/query_customer_account_product_entity_by_attribute: bump up pom.xml version from 1.2.0 to 1.3.0 2020-03-06 11:30:40 +08:00
shuang
0ea9db1432 feature/add_required_field_annotation : make ApiVersion can passed to connector, make InBound json String can tolerate null value, make all required field annotation be extract those include nested fields. 2020-01-21 08:49:23 +08:00
shuang
f1f6c7931c bugfix/OutOfMemoryError: fix scala-maven-plugin seeings 2019-11-15 21:20:00 +08:00
shuang
849d912e23 feature/update_jdk_13: update scalatest-maven-plugin version 2019-10-29 16:40:05 +08:00