From 0caddde1a7cfcdee25f8ff9bfe1ffeceb96e2eac Mon Sep 17 00:00:00 2001 From: Surabhi Date: Thu, 28 Oct 2021 16:45:54 +0530 Subject: [PATCH 1/2] netcore whatsapp token - in application property --- src/main/resources/application-adapter.properties | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application-adapter.properties b/src/main/resources/application-adapter.properties index bddce83..89f271e 100644 --- a/src/main/resources/application-adapter.properties +++ b/src/main/resources/application-adapter.properties @@ -1,2 +1,4 @@ server.port=9090 -campaign.url = ${CAMPAIGN_URL} \ No newline at end of file +campaign.url = ${CAMPAIGN_URL} + +netcore.whatsap.dev.token=${NETCORE_WHATSAPP_DEV_TOKEN} \ No newline at end of file From 3c38bc65d6b5067af57f5e7dd8365e0f99ddbb80 Mon Sep 17 00:00:00 2001 From: Surabhi Date: Thu, 18 Nov 2021 16:39:06 +0530 Subject: [PATCH 2/2] env variabls in properties --- src/main/resources/application-adapter.properties | 4 +--- src/main/resources/application.properties | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application-adapter.properties b/src/main/resources/application-adapter.properties index 89f271e..bddce83 100644 --- a/src/main/resources/application-adapter.properties +++ b/src/main/resources/application-adapter.properties @@ -1,4 +1,2 @@ server.port=9090 -campaign.url = ${CAMPAIGN_URL} - -netcore.whatsap.dev.token=${NETCORE_WHATSAPP_DEV_TOKEN} \ No newline at end of file +campaign.url = ${CAMPAIGN_URL} \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index c0e1d0b..d208ad7 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -36,3 +36,7 @@ fusionauth.key = ${FUSIONAUTH_KEY} encryptionKeyString=A%C*F-JaNdRgUkXp campaign.admin.token=EXnYOvDx4KFqcQkdXqI38MHgFvnJcxMS +netcore.whatsap.auth.token=${NETCORE_WHATSAPP_AUTH_TOKEN} +netcore.whatsapp.source=${NETCORE_WHATSAPP_SOURCE} +netcore.whatsapp.uri=${NETCORE_WHATSAPP_URI} +