Backend Setup
Getting Started
1. Introduction
The Unified Communications Interface (UCI) aims to democratize the use of different communication channels such as WhatsApp, Telegram, SMS, email and more for governance use cases through a standard configurable manner that is reusable and scalable across all governance use cases.
2. Overview
This Document help you to Setup UCI (Unified Communications Interface) Project and test APIs on your local machine.
3. Prerequisite
Install Git
Install Java 11
Install Docker
install docker using docker installation guide.
Install Cassandra
install cassandra using cassandra installation guide.
Install Maven
Lombok Enabled
Enable lombok in Eclipse / STS / intelliJ.
Install Postman (for testing API)
Install Kafka, Zookeeper
install kafka using kafka installation guide.
Install Redis
Install Redis using installation guide.
Install Postgresql
Setup PostgreSQL using Quickstart guide.
4. Setup
4.1 For first time
Fork following repositories
Clone all forked repositories
Import all cloned repositories into IDE and checkout to the latest branch Eg. release-4.9.0
If project is not build by default then build using
Add projects in IDE link
Add Enviorment Variable in IDE.
We can run the services via IDE. if you want to run these via terminal or docker use this link
4.2 Routine
Run spring boot application for following projects
Inbound
Orchestrator
Transformer
Broadcast Transformer
Outbound
To debug these service, we should follow the same routine. Click here to check the detailed overview of debugging services.
5. APIs
5.1 For first time
Import following files to postman :
Samagra Inbound - Apis.postman_collection
Samagra Transformer - Apis.postman_collection
create new enviorment inbound with properties :
Variable Type Initial Value Current Value baseUrl
default
localhost:8085
localhost:8085
create new enviorment transformer with following properties :
Variable Type Initial Value Current Value baseUrl
default
localhost:9091
localhost:9091
5.2 Routine :
Test bot APIs with :
Last updated