specmatic-redis facilitates mocking calls to a redis server, offering all the power of contract-driven development using advanced no-code capabilities to confidently develop and independently deploy your Microservices and Microfrontends faster. The module has a default license that will allow you to experiment with all features to a limited extent. For license related details please reach out to us here
docker run -d --rm \
-p 6379:6379 \
-v "$(pwd)/test/data:/app/data" \
specmatic/specmatic-redis --data /app/data
You can set expectations in the data folder. The data folder should contain json files in the following format:
{
"http-request": {
"method": "POST",
"path": "/redis",
"body": {
"operation": "get",
"params": ["my_key"]
}
},
"http-response": {
"status": 200,
"body": {
"type": "string",
"value": "HELLO"
}
}
}
NOTE: The operation value must be in lowercase.
Please refer to Specmatic Redis documentation for more details.
Order BFF FastApi Application
In a complex, interdependent ecosystem, where each service is evolving rapidly, we want to make the dependencies between them explicit in the form of executable contracts. Contract Driven Development leverages API specifications like OpenAPI, AsyncAPI, GraphQL SDL files, gRPC Proto files, etc. as executable contracts allowing teams to get instantaneous feedback while making changes to avoid accidental breakage.
With this ability, we can now independently deploy, at will, any service at any time without having to depend on expensive and fragile integration tests.
Learn more at specmatic.io 🌐
Content type
Image
Digest
sha256:01ee0f25a…
Size
122.9 MB
Last updated
8 months ago
docker pull specmatic/specmatic-redis