Skip to content

Conversation

@dviejokfs
Copy link
Contributor

  • SmartBFT support
  • ACL update Support
  • Network Map Support

dviejokfs and others added 25 commits July 21, 2025 00:20
Signed-off-by: David VIEJO <[email protected]>
…ions

- Removed the unused formatCertificate function from ChannelConfigCard to streamline the component.
- Updated the getOrganizationsOptions in FabricNetworkDetails to include a query limit of 1000, improving data retrieval efficiency.

These changes enhance code clarity and optimize data fetching for better performance.

Signed-off-by: David VIEJO <[email protected]>
…queries

- Introduced GetConversation method to retrieve conversation details by ID, enhancing conversation management capabilities.
- Added CountFabricOrganizations method to count the number of fabric organizations, improving data retrieval for organizational management.
- Updated SQL queries to include new functionalities, ensuring better integration with the existing database structure.

These changes enhance the overall functionality and maintainability of the application, providing better tools for managing conversations and organizations.

Signed-off-by: David VIEJO <[email protected]>
…agement

- Added a new POST endpoint `/keys/{keyID}/sign-data` to sign data using a specific key with configurable parameters, enhancing the key management capabilities.
- Introduced `SignRequest` and `SignResponse` models to handle request and response structures for the signing operation, ensuring clear data representation.
- Updated Swagger documentation to include detailed descriptions and examples for the new endpoint, improving API usability and clarity.
- Enhanced error handling in the `SignData` method to provide informative feedback for various failure scenarios, ensuring robust operation.

These changes significantly improve the functionality and maintainability of the key management API, providing better tools for signing data securely.

Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
- Regenerated Swagger documentation to reflect the latest changes, including the addition of the `base64Data` field in the block data structure.
- Updated `docs.go`, `swagger.json`, and `swagger.yaml` to include the new field, ensuring accurate representation of the API.
- Enhanced the `Block` struct in the service layer to incorporate `Base64Data`, improving data handling and representation.

These changes improve the clarity and usability of the API documentation, ensuring that users have accurate information regarding the block data structure.

Signed-off-by: dviejokfs <[email protected]>
- Updated the metrics service to include the `configService` in the initialization of the metrics service, improving its configuration handling.
- Added a new endpoint `/metrics/defaults` to return default configuration values for Prometheus deployment, enhancing usability.
- Regenerated Swagger documentation to reflect the new endpoint and its parameters, ensuring accurate API representation.
- Updated `swagger.json`, `swagger.yaml`, and `docs.go` to include the new endpoint details, improving API clarity and usability.

These changes enhance the functionality of the metrics service and improve the overall API documentation, providing better tools for managing Prometheus deployments.

Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
…ality

- Added a new PUT endpoint `/networks/{id}/genesis` to update the genesis block for a network with change tracking, improving network management capabilities.
- Introduced `UpdateGenesisBlockRequest` and `UpdateGenesisBlockResponse` models to handle request and response structures for the genesis block update operation, ensuring clear data representation.
- Updated Swagger documentation (`swagger.json`, `swagger.yaml`, and `docs.go`) to include details for the new endpoint and its parameters, enhancing API clarity and usability.
- Implemented service-level logic to handle genesis block updates with tracking, including validation and error handling, ensuring robust operation.

These changes significantly improve the functionality and maintainability of the network management API, providing better tools for managing genesis block updates effectively.

Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
- Added new endpoints for QBFT operations: `/nodes/{id}/rpc/qbft-discard-validator-vote`, `/nodes/{id}/rpc/qbft-pending-votes`, `/nodes/{id}/rpc/qbft-propose-validator-vote`, and `/nodes/{id}/rpc/qbft-validators-by-block-number`.
- Implemented request and response models for QBFT operations, ensuring clear data representation.
- Updated Swagger documentation (`swagger.json`, `swagger.yaml`, and `docs.go`) to include details for the new endpoints and their parameters, enhancing API clarity and usability.
- Improved the Besu network components to manage validators and pending votes effectively.

These changes significantly enhance the functionality of the QBFT operations within the API, providing better tools for managing validator proposals and votes.

Signed-off-by: David VIEJO <[email protected]>
- Added a new endpoint `/networks/besu/{id}/nodes` to retrieve all nodes associated with a Besu network, improving network management capabilities.
- Updated Swagger documentation (`swagger.json`, `swagger.yaml`, and `docs.go`) to include details for the new endpoint and its parameters, enhancing API clarity and usability.
- Improved the Besu network components to support block exploration and transaction details, providing better tools for users to interact with Besu networks.

These changes significantly enhance the functionality of the Besu network API, offering improved management and exploration capabilities.

Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
- Changed references from "General Information" to "Hyperledger Fabric Node" in the E2E tests for better accuracy and consistency with the updated UI.

Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
- Modified the external endpoint in the E2E tests to use listenPort instead of generating a random port, ensuring consistency in test behavior.

Signed-off-by: David VIEJO <[email protected]>
@dviejokfs dviejokfs merged commit e13d856 into main Aug 1, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants