This is an initial implementation of the strategy engine on searching with 4 filters (AND condition) and returning the right output value.
Prerequisites:
- Docker
Steps:
- Run
docker build -t strategy-engine-test -f Tests.Dockerfile .
to create the test image. - Run
docker run strategy-engine-test
to verify if all test are passing - Run
docker build -t strategy-engine -f Dockerfile .
to build the app image - Run
docker run strategy-engine
to verify output of the results - Run
docker run --rm -v "$(pwd)/TestData:/App/TestData" -it strategy-engine /App/TestData/SampleData.csv /App/TestData/ResultData.csv
for custom input/result