astarte-platform/astarte

Port astarte_pairing to Xandra

Aperta

#268 aperta il 5 mar 2020

 (0 commenti) (0 reazioni) (0 assegnatari)Elixir (59 fork)auto 404
app:pairingdatabasegood first issueinternals

Metriche repository

Star
 (271 stelle)
Metriche merge PR
 (Merge medio 4g) (38 PR mergiate in 30 g)

Descrizione

In light of the gradual demise of CQEx in favor of Xandra, astarte_pairing should be adapted to use Xandra instead of CQEx.

This mainly translates to:

  • Add Xandra as a dependency
  • Start the Xandra connection
  • Translate all queries from CQEx to Xandra, both in lib and in test.

To see an example of a service already using Xandra, have a look at astarte_housekeeping (and this PR https://github.com/astarte-platform/astarte/commit/8a5fbd52aecd where the replacement of CQEx with Xandra happened)

Guida contributor