Skip to main content

Posts

Showing posts from June, 2018

Dixonst Interview question

According to task definition here is how I have designed the solution: Publisher will get input parameters from CI tool and will send data to general exchange and when consumer will run it will initiate n queue according to it's configuration (in our case it's two) and bind to the exchange. From that point data flow will be established. Consumer will call REST API of Monitoring tool for both queue and according to response it will remove message if it's successfully or requeue messages for defined iteration and period. As as introduction let me tell you, it was developed and tested in Ubuntu 17.10. Publisher developed in bash , as a message queue was chosen RabbitMQ ,  and consumer part developed in Python 1. Publisher As a requirement  was publisher side should be as simple as possible, I have developed shell script which accept two parameters: Release number . It's mandatory parameter and cannot be empty Datetime . It can be empty, as in this case...