View Source Glific.Communications (Glific v5.1.6)

Glific interface for all provider communication

Link to this section Summary

Functions

Get the current provider handler based on the config

Get the current provider worker based on the organization | Config | Defaultconfig

Unified function to publish data on the graphql subscription endpoint. This is still looking for a place to actually reside. This is a good next stop for now

Link to this section Functions

Link to this function

provider_handler(organization_id)

View Source
@spec provider_handler(non_neg_integer()) :: atom()

Get the current provider handler based on the config

Link to this function

provider_worker(organization_id)

View Source
@spec provider_worker(non_neg_integer()) :: atom()

Get the current provider worker based on the organization | Config | Defaultconfig

Link to this function

publish_data(data, topic, organization_id)

View Source
@spec publish_data({:ok, any()} | any(), atom(), non_neg_integer()) :: any()

Unified function to publish data on the graphql subscription endpoint. This is still looking for a place to actually reside. This is a good next stop for now

For now the data types are Message and all join Tag tables