javascript-client
javascript-client copied to clipboard
[Pluggable storage] validation
trafficstars
JS SDK
What did you accomplish?
Added extra config validation:
- Throws exception if no REDIS or PLUGGABLE storage is provided in consumer mode
- Log error and fallback to MEMORY storage if REDIS or PLUGGABLE storage is provided in standalone or localhost mode
How do we test the changes introduced in this PR?
Updated unit test