{"id":25144443,"url":"https://github.com/openmf/message-gateway","last_synced_at":"2025-04-07T11:10:17.889Z","repository":{"id":40759432,"uuid":"72175852","full_name":"openMF/message-gateway","owner":"openMF","description":"Message gateway is a push messaging service for Fineract provider that makes it simple to push notifcations through SMS and email","archived":false,"fork":false,"pushed_at":"2024-10-29T07:22:10.000Z","size":356,"stargazers_count":25,"open_issues_count":22,"forks_count":76,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-31T10:05:58.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openMF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-28T05:19:48.000Z","updated_at":"2024-08-13T14:12:00.000Z","dependencies_parsed_at":"2024-07-15T13:31:05.051Z","dependency_job_id":null,"html_url":"https://github.com/openMF/message-gateway","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openMF%2Fmessage-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openMF%2Fmessage-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openMF%2Fmessage-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openMF%2Fmessage-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openMF","download_url":"https://codeload.github.com/openMF/message-gateway/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640465,"owners_count":20971557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-08T19:46:21.325Z","updated_at":"2025-04-07T11:10:17.864Z","avatar_url":"https://github.com/openMF.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# message-gateway\n\n## Build set up\n##### To create standalone application:\n  ./gradlew clean build \n##### To run \n  cd build/lib\n  \n  java -jar message-gateway-0.0.1.jar\n\n##### To create deployable war:\n./gradlew clean build -Pprofile=deployable\n\nwar file can be found in build/libs\n \n\n##Steps to configure Message-Gateway\n\n#### Create tenant with http://host:9191/tenants/\n\tmethod: POST\n\tRequest Body:\n\t\n\t{\n\t\t\"tenantId\" : \"Tenant Id\",\n\t\t\"description\" : \"Some Description\"\n\t}\n\t\n This API will return an unique tenant app key. This key should not be shared with others. \n \n#### Create Twilio SMS Bridge with http://host:9191/smsbridges\n \tmethod: POST\n \tHEADERS:\n \t\tFineract-Platform-TenantId:tenantId\n \t\tFineract-Tenant-App-Key:generatedAppkeywhilecreatingtenant\n \tRequest Body:\n \t{\n\t\t\"phoneNo\": \"+xxxxxxxxxxx\",\n\t\t\"providerName\": \"Twilio Provider\",\n\t\t\"providerDescription\": \"SMS Provider for promotional messages\",\n\t\t\"providerKey\":\"Twilio\",\n\t\t\"countryCode\":\"+xx\",\n\t\t\"bridgeConfigurations\": [\n\t\t\t{\n\t\t\t\t\"configName\":\"Provider_Account_Id\",\n\t\t\t\t\"configValue\":\"xxxxx\"\n\t\t\t},\n\t\t\t{\n\t\t\t\"configName\":\"Provider_Auth_Token\",\n\t\t\t\"configValue\":\"xxxxx\"\n\t\t\t}\n\t\t]\n\t}\n\t\nThis API will return Bridge Identifier by which you can use while sending SMS\n\n#### Create Infobip SMS Bridge with http://host:9191/smsbridges\n \tmethod: POST\n \tHEADERS:\n \t\tFineract-Platform-TenantId:tenantId\n \t\tFineract-Tenant-App-Key:generatedAppkeywhilecreatingtenant\n \tRequest Body:\n \t{\n\t\t\"phoneNo\": \"+xxxxxxxxxxx\",\n\t\t\"providerName\": \"Infobip Provider\",\n\t\t\"providerDescription\": \"SMS Provider for transactional messages\",\n\t\t\"providerKey\":\"InfoBip\",\n\t\t\"countryCode\":\"+xx\",\n\t\t\"bridgeConfigurations\": [\n\t\t\t{\n\t\t\t\t\"configName\":\"Provider_Account_Id\",\n\t\t\t\t\"configValue\":\"xxxxx\"\n\t\t\t},\n\t\t\t{\n\t\t\t\"configName\":\"Provider_Auth_Token\",\n\t\t\t\"configValue\":\"xxxxx\"\n\t\t\t}\n\t\t]\n\t}\n\t\nThis API will return Bridge Identifier by which you can use while sending SMS\n\t\n#### Send SMS by using one of the provider with http://localhost:9191/sms\n\tMethod: POST\n\tHEADERS:\n \t\tFineract-Platform-TenantId:tenantId\n \t\tFineract-Tenant-App-Key:generatedAppkeywhilecreatingtenant\n \tRequest Body:\n \t\t\n\t\t[{\n\t\t\t\"internalId\":\"55\",\n\t\t\t\"mobileNumber\":\"xxxxxxxxxx\",\n\t\t\t\"message\":\"Hello from Fineract\",\n\t\t\t\"providerId\":\"2\"\n\t\t}]\n\nNote: While sending SMS, don't include country code as part of each message. This country code will be prefixed by taking value from provider details. You need configure host-address: [your public ip on which message-gateway is running] in application.yml\n\n#### To add Telerivet Java Client :  \n\n    Include following url in build.gradle:\n    https://fynarfin.jfrog.io/artifactory/fyn-libs-release-local. \n    \n    And add the following line under depedencies in build.gradle\n    implementation 'com.telerivet:TelerivetAPIClient:1.5.0'\n\n###Auto-Trigger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmf%2Fmessage-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmf%2Fmessage-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmf%2Fmessage-gateway/lists"}