This is an automated email from the ASF dual-hosted git repository.
ptuomola pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 746c589 FINERACT-1502 To support Webhooks with all paths instead of
only absolute path
746c589 is described below
commit 746c589a6e809b33d68c0596930fcaa7338d5270
Author: NC23370_Sandeep_Kumar_Soni
<[email protected]>
AuthorDate: Tue Feb 15 19:31:10 2022 +0530
FINERACT-1502 To support Webhooks with all paths instead of only absolute
path
---
.../fineract/infrastructure/hooks/processor/WebHookService.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/hooks/processor/WebHookService.java
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/hooks/processor/WebHookService.java
index a3dc8fd..9419a47 100644
---
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/hooks/processor/WebHookService.java
+++
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/hooks/processor/WebHookService.java
@@ -38,22 +38,22 @@ public interface WebHookService {
String API_KEY_HEADER = "X-Fineract-API-Key";
// Ping
- @GET("/")
+ @GET(".")
Call<Void> sendEmptyRequest();
// Template - Web
- @POST("/")
+ @POST(".")
Call<Void> sendJsonRequest(@Header(ENTITY_HEADER) String entityHeader,
@Header(ACTION_HEADER) String actionHeader,
@Header(TENANT_HEADER) String tenantHeader,
@Header(ENDPOINT_HEADER) String endpointHeader, @Body JsonObject result);
@FormUrlEncoded
- @POST("/")
+ @POST(".")
Call<Void> sendFormRequest(@Header(ENTITY_HEADER) String entityHeader,
@Header(ACTION_HEADER) String actionHeader,
@Header(TENANT_HEADER) String tenantHeader,
@Header(ENDPOINT_HEADER) String endpointHeader,
@FieldMap Map<String, String> params);
// Template - SMS Bridge
- @POST("/")
+ @POST(".")
Call<Void> sendSmsBridgeRequest(@Header(ENTITY_HEADER) String
entityHeader, @Header(ACTION_HEADER) String actionHeader,
@Header(TENANT_HEADER) String tenantHeader,
@Header(API_KEY_HEADER) String apiKeyHeader, @Body JsonObject result);