OriginProtocol / origin-bridge

We've moved to a monorepo: https://github.com/OriginProtocol/origin/tree/master/infra/bridge
MIT License
15 stars 7 forks source link

Refactor indexer in preparation for integration with Search indexer #55

Closed franckc closed 6 years ago

franckc commented 6 years ago

Checklist:

Description:

This diff refactors the current indexer logic to make it easier to add new Indexers (ex: Search) in the future. The new flow is as follow:

In subsequent diffs I'll implement the SearchIndexer class and configure a search engine back-end (most likely ElasticSearch since it is supported off-the-shelve by Heroku).

Gzing commented 6 years ago

Will do a quick test on my local and approve but looks really good :+1: