You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/internal/service/impl/ActionExecutorServiceImpl.java
Copy file name to clipboardExpand all lines: components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/internal/util/APIClient.java
+18-5Lines changed: 18 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@
49
49
importjava.io.IOException;
50
50
importjava.net.SocketTimeoutException;
51
51
importjava.nio.charset.StandardCharsets;
52
+
importjava.util.HashMap;
53
+
importjava.util.Map;
52
54
53
55
/**
54
56
* This class is responsible for making API calls to the external services.
@@ -80,17 +82,27 @@ public APIClient() {
80
82
.build();
81
83
}
82
84
85
+
/**
86
+
* Makes a POST API call to the given URL with the provided payload and headers.
87
+
*
88
+
* @param actionType Action type.
89
+
* @param url URL of the API endpoint.
90
+
* @param authMethod Authentication method to be used.
91
+
* @param headers Headers to be included in the request.
92
+
* @param payload Payload to be sent in the request body.
93
+
* @return ActionInvocationResponse containing the response or error details.
Copy file name to clipboardExpand all lines: components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/internal/util/ActionAPIVersionResolver.java
Copy file name to clipboardExpand all lines: components/action-mgt/org.wso2.carbon.identity.action.execution/src/test/java/org/wso2/carbon/identity/action/execution/impl/ActionExecutorServiceImplTest.java
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -397,13 +397,13 @@ public void testBuildActionExecutionRequestWithExcludedHeaders()
Copy file name to clipboardExpand all lines: components/action-mgt/org.wso2.carbon.identity.action.execution/src/test/java/org/wso2/carbon/identity/action/execution/util/APIClientTest.java
0 commit comments