Class OutboundConnectorRegistrationHelper
java.lang.Object
io.camunda.connector.runtime.util.outbound.OutboundConnectorRegistrationHelper
Configuration class holding information of a connector.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PatternPattern describing the connector env configuration pattern. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddHardwiredEnvironmentVariable(String key, String value) static voidstatic booleanstatic List<OutboundConnectorConfiguration>parse()Parses the connector registrations from the environment.static List<OutboundConnectorConfiguration>Parses the connector registrations configured through via environment variables.static List<OutboundConnectorConfiguration>Parses connectors registered via SPI ("auto discovery")
-
Field Details
-
CONNECTOR_FUNCTION_PATTERN
Pattern describing the connector env configuration pattern. -
hardwiredEnvironmentVariables
-
-
Constructor Details
-
OutboundConnectorRegistrationHelper
public OutboundConnectorRegistrationHelper()
-
-
Method Details
-
addHardwiredEnvironmentVariable
-
clearHardwiredEnvironmentVariable
public static void clearHardwiredEnvironmentVariable() -
getEnvironmentVariables
-
isEnvConfigured
public static boolean isEnvConfigured() -
parse
Parses the connector registrations from the environment.- Returns:
- the list of registrations
-
parseFromSPI
Parses connectors registered via SPI ("auto discovery")- Returns:
- the list of registrations
-
parseFromEnv
Parses the connector registrations configured through via environment variables.- Returns:
- the list of registrations
-