Class CloudFunctionService
java.lang.Object
io.camunda.connector.http.base.cloudfunction.CloudFunctionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if our internal Google Function should be used to execute theHttpCommonRequestremotely.Tries to parse the error response from the given exception and sets the error code, message, and errorVariables.toCloudFunctionRequest(HttpCommonRequest request) Wraps the given request into a new request that is targeted at the Google function to execute the request remotely.
-
Constructor Details
-
CloudFunctionService
public CloudFunctionService() -
CloudFunctionService
-
-
Method Details
-
toCloudFunctionRequest
Wraps the given request into a new request that is targeted at the Google function to execute the request remotely.- Parameters:
request- the request to be executed remotely- Returns:
- the new request that is targeted at the Google function
-
parseCloudFunctionError
Tries to parse the error response from the given exception and sets the error code, message, and errorVariables.- Parameters:
e- the parsed exception
-
isCloudFunctionEnabled
public boolean isCloudFunctionEnabled()Check if our internal Google Function should be used to execute theHttpCommonRequestremotely. -
getProxyFunctionUrl
-