diff --git a/README.md b/README.md index a99a9a0..a212b76 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,24 @@ ![Docker Build](https://github.com/samagra-comms/outbound/actions/workflows/docker-build-push.yml/badge.svg) # Overview -Outbound converts the xMessage to the one that will be sent to the channel(sms/whatsapp). It will then be sent to the network provider(Netcore/Gupshup) who will send it to the channel. \ No newline at end of file +Outbound converts the xMessage to the one that will be sent to the channel(sms/whatsapp). It will then be sent to the network provider(Netcore/Gupshup) who will send it to the channel. + +# Getting Started + +## Prerequisites + +* java 11 or above +* docker +* kafka +* postgresql +* redis +* fusion auth +* lombok plugin for IDE +* maven + +## Build +* build with tests run using command **mvn clean install -U** +* or build without tests run using command **mvn clean install -DskipTests** + +# Detailed Documentation +[Click here](https://uci.sunbird.org/use/developer/uci-basics) \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 1d6f516..588c222 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -52,7 +52,7 @@ netcore.whatsap.auth.token=${NETCORE_WHATSAPP_AUTH_TOKEN} netcore.whatsapp.source=${NETCORE_WHATSAPP_SOURCE} netcore.whatsapp.uri=${NETCORE_WHATSAPP_URI} -spring.r2dbc.url=r2dbc:postgresql://${FORMS_DB_HOST}:${FORMS_DB_PORT}/${FORMS_DB_NAME} +spring.r2dbc.url=r2dbc:${FORMS_DB_URL} postgresql.db.host=${FORMS_DB_HOST} postgresql.db.port=${FORMS_DB_PORT} spring.r2dbc.name=${FORMS_DB_NAME}