This is a services that clones public git repositories and index the source code from all branches to make them searchable. After the repository is cloned the service can perform a git pull and reindex changed files and index new files.
- Elasticsearch
- AMQP 0-9-1 Message broker (e.g. RabbitMQ)
- Mongodb
mvn package exec:java
The service can be triggered by sending a message to two different queues. Both queues expect a message with
a https url address as payload e.g. https://github.com/gitsearch-io/gitsearch-node.git
Clones the repository in the message
Update the repository in the message. It is a requirement that the repository has been cloned before it can be updated
mvn verify