GraphQL v2 connector¶
Summary¶
The GraphQL v2 connector establishes access to GraphQL.
The GraphQL v2 connector provides an interface for creating a GraphQL v2 connection, the foundation used for generating instances of GraphQL v2 activities. These activities, once configured, interact with GraphQL through the connection.
The GraphQL v2 connector is accessed from the design component palette's Project endpoints and connectors tab (see Design component palette).
Note
This connector can be used only with private agents. In addition, it is a Connector SDK-based connector, which may be referred to by Jitterbit when communicating changes made to connectors built with the Connector SDK.
Connection documentation¶
In addition to the GraphQL v2 connection, see the comprehensive GraphQL v2 connection details page. Configuration details such as these are included on that page:
- Getting Started: Initial steps for establishing a connection.
- Advanced Features: User-defined views and SSL configuration.
- Data Model: The data model that the connector uses to represent the endpoint.
- Advanced Configurations Properties: Properties that can be defined to configure a connection for both basic and advanced configurations.
Activity documentation¶
Together, a specific GraphQL v2 connection and its activities are referred to as a GraphQL endpoint:
-
Query: Retrieves records from a table at GraphQL and is intended to be used as a source in an operation.
-
Execute: Executes a procedure at GraphQL and is intended to be used as a target in an operation.
Prerequisites and supported API versions¶
The GraphQL v2 connector requires the use of an agent version 10.1 or later. These agent versions automatically download the latest version of the connector when required.
This connector requires the use of a private agent.
Refer to the documentation for information on the schema nodes and fields.
The GraphQL connector requires additional virtual memory heapsize in order to run successfully. See these instructions on increasing the Jitterbit Tomcat heap size to adjust the heap as required.
OAuth authentication¶
OAuth authentication is supported as described in Configure OAuth connections.
Troubleshooting¶
If you experience issues with the GraphQL v2 connector, these troubleshooting steps are recommended:
-
Click the Test button in the connection configuration to ensure the connection is successful and to ensure the latest version of the connector is downloaded to the agent (unless using the Disable Auto Connector Update organization policy).
-
Check the operation logs for any information written during execution of the operation.
-
Enable operation debug logging for private agents to generate additional log files and data.
-
Enable connector verbose logging for this connector using this specific configuration entry of logger name and level:
<logger name="org.jitterbit.connector.verbose.logging.GraphQL" level="TRACE"/>
-
Check the agent logs for more information.
-
For additional troubleshooting considerations, see Operation troubleshooting.