keyspace-contacts(1) -- all the information related to contacts
=============================================

## SYNOPSIS


`Name` Contacts
`ReplicaPlacementStrategy` org.apache.cassandra.locator.RackUnawareStrategy
`ReplicationFactor` 1
`EndPointSnitch` org.apache.cassandra.locator.EndPointSnitch

## DESCRIPTION

**Contacts** keyspace is where all the contact information is stored.

That includes data coming from different communication channels, addresses, and
business integration data.

## COLUMN FAMILIES

The following column families are part of this keyspace:

* `Contacts`:
	column-family-contacts(1) stores all the contact basic information.

* `ContactAddresses`:
	Super column-family-contactaddresses(1) stores all the known contact addresses
	for each interaction type, email addresses, phone numbers, facebook and twitter
	accounts, etc.
	
* `ContactCampaigns`:
	column-family-contactcampaigns(1) serves as an index to know which campaigns a
	contact belongs to.
	
* `CampaignContacts`:
	Super column-family-campaigncontacts(1) serves as an index to know which contacts belong
	to a specific campaign. Grouped by campaign/contact.

* `FavoriteContacts`:
	column-family-favoritecontacts(1) stores all the favorite contacts for a specific user.


## KNOWN PLACES TO BE USED

These keyspace is known to be accesed from the following applications and modules

  * `Web Application agent`:
    Located inside the web application directory inside /inconcert/apps/agent,
	this application exposes all the APIs needed for the desktop application.
	Uses all the column families listed. Uses lua_cassandra(1)
	
  * `Interaction Router`:
    Daemon responsible for routing interactions once they arrive to the contact center.
	Uses Contacts, ContactAddressesand all CF useful to identify and store contacts
	when interactions arrive.
	Uses lib_cassandra(1) and thrift(1) directly.

## SEE ALSO
