Commit c13116f
authored
Prepare for 0.0.3 release (#18)
* Enhance Besu binary management and update configuration
- Added methods for logging and verifying the Besu binary path, ensuring the correct binary is used for service configuration.
- Updated the BesuNodeConfig struct to include a required version field for better configuration management.
- Refactored the installation process to improve error handling and logging during Besu binary installation.
- Implemented tests for binary path construction and detection logic to ensure robustness.
These changes improve the reliability and clarity of the Besu node management process.
Signed-off-by: dviejokfs <dviejo@kfs.es>
* Update API documentation and enhance chaincode management features
- Regenerated Swagger documentation to reflect recent changes, including updates to the `service.Mode` field in `docs.go`, `swagger.json`, and `swagger.yaml`.
- Enhanced the `ChaincodeService` to include new fields for managing Docker labels and environment variables during chaincode deployment, improving deployment flexibility.
- Introduced new API endpoints for managing chaincode definitions, including deployment and retrieval functionalities, ensuring better interaction with chaincode operations.
- Updated frontend components to integrate new chaincode management dialogs and timeline features, enhancing user experience for chaincode actions.
These changes improve the overall functionality and usability of the chaincode management features, providing better tools for users to interact with chaincode deployments.
Signed-off-by: dviejokfs <dviejo@kfs.es>
* Update dependencies and enhance API documentation
- Updated `go.mod` and `go.sum` to include new dependencies and versions for improved functionality.
- Regenerated Swagger documentation to reflect recent changes in API endpoints and response structures, ensuring clarity and usability.
- Enhanced error handling in various components to provide more informative feedback during operations, improving overall user experience.
These changes improve the application's reliability and maintainability, providing better tools for managing dependencies and API interactions.
Signed-off-by: dviejokfs <dviejo@kfs.es>
* Refactor Besu installation process and enhance error handling
- Updated error messages in the Besu installation process for improved clarity, changing "Docker daemon" to "docker daemon" for consistency.
- Removed redundant symlink creation and verification steps in the installation method, streamlining the process.
- Enhanced the ChaincodeDefinitionCard component by removing the deploy mutation logic, delegating it to the DeployChaincodeDialog for better separation of concerns.
- Simplified the DeployChaincodeDialog by removing unused imports and ensuring it integrates smoothly with the updated deployment logic.
These changes improve the maintainability and clarity of the Besu installation and chaincode management processes, enhancing overall user experience.
Signed-off-by: David VIEJO <dviejo@kungfusoftware.es>
* Implement Besu node configuration validation in the service layer
- Added a new method `validateBesuNodeConfig` in the `NodeService` to validate the configuration of Besu nodes, ensuring all required fields are present and correctly formatted.
- Implemented checks for network ID, key ID, P2P and RPC ports, host addresses, and deployment modes, providing clear error messages for invalid configurations.
- Removed the previous implementation of `validateBesuNodeConfig` from `service.go` to maintain a single source of truth for validation logic.
- Updated the HTTP handler to utilize the new validation method, enhancing error handling and response clarity for Besu node configuration requests.
These changes improve the robustness and maintainability of the Besu node management process, ensuring that configurations are validated before being processed.
Signed-off-by: David VIEJO <dviejo@kungfusoftware.es>
* Enhance CI/CD workflow by adding Java 21 setup in e2e tests
- Updated the e2e-tests.yaml workflow to include a step for setting up Java 21 using the `actions/setup-java@v4` action.
- This addition ensures that the necessary Java environment is available for running end-to-end tests, improving the reliability of the CI/CD pipeline.
These changes enhance the testing framework by ensuring compatibility with Java 21, which may be required for certain functionalities in the application.
Signed-off-by: David VIEJO <dviejo@kungfusoftware.es>
* Enhance chaincode management by adding CORE_CHAINCODE_ID_NAME environment variable
- Introduced the CORE_CHAINCODE_ID_NAME environment variable in the .env file during chaincode installation, improving clarity in chaincode identification.
- Updated DockerChaincodeDeployer to include CORE_CHAINCODE_ID_NAME in the environment variables for chaincode deployment, ensuring consistency across configurations.
- Enhanced FabricLifecycle to set CORE_CHAINCODE_ID_NAME during pre-start operations, providing better context for chaincode management.
These changes improve the overall management and identification of chaincode instances, enhancing user experience and operational clarity.
Signed-off-by: dviejokfs <dviejo@kfs.es>
* Enhance error handling in Fabric chaincode operations
- Improved error handling in the ApproveFabricChaincode and CommitFabricChaincode methods to provide more detailed feedback on endorsement errors.
- Enhanced error messages to include specific details from gRPC status responses, improving clarity for users during chaincode approval and commit processes.
- Updated logging to ensure consistent error reporting across chaincode operations, enhancing overall maintainability and user experience.
These changes significantly improve the robustness of chaincode management by providing clearer insights into errors encountered during operations.
Signed-off-by: dviejokfs <dviejo@kfs.es>
---------
Signed-off-by: dviejokfs <dviejo@kfs.es>
Signed-off-by: David VIEJO <dviejo@kungfusoftware.es>1 parent e13d856 commit c13116f
File tree
38 files changed
+1711
-396
lines changed- .github/workflows
- cmd/fabric/install
- docs
- pkg
- chainlaunchdeploy
- nodes
- besu
- http
- orderer
- peer
- service
- scai
- boilerplates
- projects
- settings/service
- web
- src
- api/client
- @tanstack
- components
- fabric
- nodes
- pages
- networks/besu
- nodes
- besu
38 files changed
+1711
-396
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
97 | 104 | | |
98 | 105 | | |
99 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
335 | 336 | | |
336 | | - | |
| 337 | + | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
5929 | 5929 | | |
5930 | 5930 | | |
5931 | 5931 | | |
| 5932 | + | |
| 5933 | + | |
| 5934 | + | |
| 5935 | + | |
| 5936 | + | |
| 5937 | + | |
| 5938 | + | |
| 5939 | + | |
| 5940 | + | |
| 5941 | + | |
| 5942 | + | |
| 5943 | + | |
| 5944 | + | |
| 5945 | + | |
| 5946 | + | |
| 5947 | + | |
| 5948 | + | |
| 5949 | + | |
| 5950 | + | |
| 5951 | + | |
| 5952 | + | |
| 5953 | + | |
| 5954 | + | |
5932 | 5955 | | |
5933 | 5956 | | |
5934 | 5957 | | |
| |||
11240 | 11263 | | |
11241 | 11264 | | |
11242 | 11265 | | |
11243 | | - | |
| 11266 | + | |
11244 | 11267 | | |
11245 | 11268 | | |
11246 | 11269 | | |
| |||
11250 | 11273 | | |
11251 | 11274 | | |
11252 | 11275 | | |
11253 | | - | |
| 11276 | + | |
11254 | 11277 | | |
11255 | 11278 | | |
11256 | 11279 | | |
| |||
11260 | 11283 | | |
11261 | 11284 | | |
11262 | 11285 | | |
11263 | | - | |
| 11286 | + | |
11264 | 11287 | | |
11265 | 11288 | | |
11266 | 11289 | | |
| |||
12794 | 12817 | | |
12795 | 12818 | | |
12796 | 12819 | | |
12797 | | - | |
| 12820 | + | |
| 12821 | + | |
12798 | 12822 | | |
12799 | 12823 | | |
12800 | 12824 | | |
12801 | 12825 | | |
12802 | | - | |
| 12826 | + | |
| 12827 | + | |
12803 | 12828 | | |
12804 | 12829 | | |
12805 | 12830 | | |
| |||
12981 | 13006 | | |
12982 | 13007 | | |
12983 | 13008 | | |
12984 | | - | |
| 13009 | + | |
| 13010 | + | |
12985 | 13011 | | |
12986 | 13012 | | |
12987 | 13013 | | |
| |||
13039 | 13065 | | |
13040 | 13066 | | |
13041 | 13067 | | |
13042 | | - | |
| 13068 | + | |
| 13069 | + | |
13043 | 13070 | | |
13044 | 13071 | | |
13045 | 13072 | | |
| |||
13148 | 13175 | | |
13149 | 13176 | | |
13150 | 13177 | | |
13151 | | - | |
| 13178 | + | |
| 13179 | + | |
| 13180 | + | |
| 13181 | + | |
| 13182 | + | |
| 13183 | + | |
| 13184 | + | |
| 13185 | + | |
| 13186 | + | |
| 13187 | + | |
13152 | 13188 | | |
13153 | 13189 | | |
13154 | 13190 | | |
| |||
13226 | 13262 | | |
13227 | 13263 | | |
13228 | 13264 | | |
13229 | | - | |
| 13265 | + | |
| 13266 | + | |
13230 | 13267 | | |
13231 | 13268 | | |
13232 | 13269 | | |
| |||
13257 | 13294 | | |
13258 | 13295 | | |
13259 | 13296 | | |
13260 | | - | |
| 13297 | + | |
| 13298 | + | |
13261 | 13299 | | |
13262 | 13300 | | |
13263 | 13301 | | |
| |||
13276 | 13314 | | |
13277 | 13315 | | |
13278 | 13316 | | |
13279 | | - | |
| 13317 | + | |
| 13318 | + | |
13280 | 13319 | | |
13281 | 13320 | | |
13282 | 13321 | | |
| |||
13293 | 13332 | | |
13294 | 13333 | | |
13295 | 13334 | | |
13296 | | - | |
| 13335 | + | |
| 13336 | + | |
13297 | 13337 | | |
13298 | 13338 | | |
13299 | 13339 | | |
| |||
13309 | 13349 | | |
13310 | 13350 | | |
13311 | 13351 | | |
13312 | | - | |
| 13352 | + | |
| 13353 | + | |
13313 | 13354 | | |
13314 | 13355 | | |
13315 | 13356 | | |
| |||
13341 | 13382 | | |
13342 | 13383 | | |
13343 | 13384 | | |
13344 | | - | |
| 13385 | + | |
| 13386 | + | |
13345 | 13387 | | |
13346 | 13388 | | |
13347 | 13389 | | |
| |||
13365 | 13407 | | |
13366 | 13408 | | |
13367 | 13409 | | |
13368 | | - | |
| 13410 | + | |
| 13411 | + | |
13369 | 13412 | | |
13370 | 13413 | | |
13371 | 13414 | | |
| |||
16283 | 16326 | | |
16284 | 16327 | | |
16285 | 16328 | | |
16286 | | - | |
| 16329 | + | |
| 16330 | + | |
16287 | 16331 | | |
16288 | 16332 | | |
16289 | 16333 | | |
| |||
16448 | 16492 | | |
16449 | 16493 | | |
16450 | 16494 | | |
| 16495 | + | |
16451 | 16496 | | |
16452 | 16497 | | |
16453 | 16498 | | |
| |||
17281 | 17326 | | |
17282 | 17327 | | |
17283 | 17328 | | |
| 17329 | + | |
| 17330 | + | |
| 17331 | + | |
| 17332 | + | |
| 17333 | + | |
| 17334 | + | |
| 17335 | + | |
| 17336 | + | |
| 17337 | + | |
| 17338 | + | |
| 17339 | + | |
| 17340 | + | |
| 17341 | + | |
| 17342 | + | |
| 17343 | + | |
| 17344 | + | |
| 17345 | + | |
| 17346 | + | |
| 17347 | + | |
| 17348 | + | |
| 17349 | + | |
| 17350 | + | |
| 17351 | + | |
| 17352 | + | |
| 17353 | + | |
| 17354 | + | |
| 17355 | + | |
| 17356 | + | |
| 17357 | + | |
| 17358 | + | |
| 17359 | + | |
| 17360 | + | |
| 17361 | + | |
| 17362 | + | |
| 17363 | + | |
| 17364 | + | |
| 17365 | + | |
| 17366 | + | |
| 17367 | + | |
| 17368 | + | |
| 17369 | + | |
| 17370 | + | |
| 17371 | + | |
| 17372 | + | |
| 17373 | + | |
| 17374 | + | |
| 17375 | + | |
| 17376 | + | |
| 17377 | + | |
17284 | 17378 | | |
17285 | 17379 | | |
17286 | 17380 | | |
| |||
17408 | 17502 | | |
17409 | 17503 | | |
17410 | 17504 | | |
| 17505 | + | |
| 17506 | + | |
| 17507 | + | |
| 17508 | + | |
| 17509 | + | |
| 17510 | + | |
| 17511 | + | |
| 17512 | + | |
| 17513 | + | |
| 17514 | + | |
| 17515 | + | |
| 17516 | + | |
| 17517 | + | |
| 17518 | + | |
| 17519 | + | |
| 17520 | + | |
| 17521 | + | |
17411 | 17522 | | |
17412 | 17523 | | |
17413 | 17524 | | |
| |||
17672 | 17783 | | |
17673 | 17784 | | |
17674 | 17785 | | |
| 17786 | + | |
17675 | 17787 | | |
17676 | 17788 | | |
17677 | 17789 | | |
| |||
0 commit comments