astarte-platform/astarte

Port astarte_pairing to Xandra

Offen

#268 geöffnet am 05.03.2020

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Elixir (59 Forks)auto 404
app:pairingdatabasegood first issueinternals

Repository-Metriken

Stars
 (271 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4T) (38 gemergte PRs in 30 T)

Beschreibung

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)

Contributor Guide