platform icon indicating copy to clipboard operation
platform copied to clipboard

feat: make bulk issuance optional and configurable

Open vivekayanworks opened this issue 1 year ago • 2 comments
trafficstars

Prerequisites

Ensure that the CREDEBL service is in a running state before proceeding.

Steps to Reproduce Current Behavior

Start the api-gateway. Start the Issuance service.

Current Behavior

Upon initiating the services, it is observed that Redis is a prerequisite for both the api-gateway and the Issuance service. Without Redis, the services fail to operate as expected.

Expected Behavior

Redis should be utilized to persist issuance data, which is particularly critical for the bulk-issuance feature. However, there should be a mechanism to disable the Redis dependency for users who do not require the bulk-issuance functionality. This would allow the services to run without Redis if bulk-issuance is not needed.

Detailed Description

Currently, the system architecture mandates Redis for both the api-gateway and the Issuance service, even for users who do not utilize the bulk-issuance feature. This dependency should be optional, enhancing flexibility and reducing unnecessary overhead for users with different requirements. The expected modification should:

Ensure Redis is only required when the bulk-issuance feature is enabled. Allow the services to function without Redis when bulk-issuance is disabled.

Additional Information

The api-gateway and Issuance service should have configuration options to enable or disable Redis usage.

Appropriate documentation and guidelines should be provided for users to configure these options based on their specific needs. This enhancement will improve the usability and adaptability of the system, catering to a broader range of user scenarios.

vivekayanworks avatar May 02 '24 08:05 vivekayanworks

I worked on it, but it depends on the API gateway module

tipusinghaw avatar Sep 02 '24 08:09 tipusinghaw