Closed lealobanov closed 4 months ago
The recent changes enhance the project's structure by introducing a new common
module, updating dependencies across various Gradle build files, and improving integration testing capabilities. The project now targets Java 21, facilitating better performance and compatibility. Additionally, several utility functions and import statements have been refactored, promoting a more streamlined testing process. Overall, these updates aim to improve maintainability and modularity within the codebase.
Files | Change Summary |
---|---|
.github/workflows/ci-examples-pull-request.yml |
Added jobs for running integration tests and publishing their results. |
build.gradle.kts , java-example/build.gradle.kts , |
Updated dependencies to replace sdk project references with common . |
kotlin-example/build.gradle.kts , sdk/build.gradle.kts |
Changed kotlinOptions.jvmTarget to 21; added common as test implementation dependency. |
common/build.gradle.kts |
Introduced a new Gradle build configuration for the common module with specific settings. |
common/src/intTest/... |
Restructured test packages and updated how contracts are referenced in tests. |
sdk/src/intTest/... , sdk/src/test/... |
Updated import statements to point to common.test instead of sdk.test and modified script loading. |
settings.gradle.kts |
Added foojay-resolver-convention plugin for toolchain management and included the new common module. |
java-example/src/main/java/.../AccessAPIConnector.java |
Removed unused import of com.google.common.io.BaseEncoding , simplifying dependencies. |
sequenceDiagram
participant CI as CI Workflow
participant IT as Integration Tests
participant PR as Publish Results
CI->>IT: Run Integration Tests
IT-->>CI: Test Results
CI->>PR: Publish Results
PR-->>CI: Results Published
π In the codeβs warren, changes take flight,
New paths and modules make everything right.
With tests updated and imports anew,
Our project hops high, as itβs meant to do!
Letβs cheer for the code, for it grows and it glows,
A brighter future is what this change sows! π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
2 filesββ2 suitesβββ34s :stopwatch: 6 testsβ6 :heavy_check_mark:β0 :zzz:β0 :x:
Results for commit d337f4ee.
:recycle: This comment has been updated with latest results.
ββ53 filesβ Β±0ββββ53 suitesβ Β±0βββ23s :stopwatch: Β±0s 298 tests Β±0ββ298 :heavy_check_mark: Β±0ββ0 :zzz: Β±0ββ0 :x: Β±0β
Results for commit 2feb1f72.βΒ± Comparison against base commit 2feb1f72.
:recycle: This comment has been updated with latest results.
ββ5 filesβ Β±0ββββ5 suitesβ Β±0βββ1m 51s :stopwatch: Β±0s 31 tests Β±0ββ31 :heavy_check_mark: Β±0ββ0 :zzz: Β±0ββ0 :x: Β±0β
Results for commit 2feb1f72.βΒ± Comparison against base commit 2feb1f72.
:recycle: This comment has been updated with latest results.
Description
common
module which stores shared files and utils used throughout the repo submodules, including:For contributor use:
master
branchFiles changed
in the Github PR explorerSummary by CodeRabbit
New Features
common
module for improved code organization and shared resources.Bug Fixes
common
project, ensuring consistency in testing.Documentation
Refactor
AccessAPIConnector
by removing unnecessary imports.Chores