generic_connector_record
Boomi AtomSphere API: Generic Connector Record Object
- boomi_cicd.util.generic_connector_record.get_generic_connector_record(generic_connector_record_id)[source]
Retrieve a specific GenericConnectorRecord by its ID.
This function sends a GET request to the Boomi AtomSphere API to fetch a GenericConnectorRecord using the provided record ID. It is intended to be called after query_generic_connector_record to fetch the details of a specific record.
- Parameters:
generic_connector_record_id (str) – The ID of the GenericConnectorRecord to retrieve.
generic_connector_record_id –
- Returns:
The JSON response containing the GenericConnectorRecord details.
- Return type:
dict
- Raises:
ValueError – If the response cannot be parsed as JSON.
requests.RequestException – If the request fails.
- Returns:
- boomi_cicd.util.generic_connector_record.query_generic_connector_record(execution_id, execution_connector_id, request_interval_sec=10, max_wait_sec=300)[source]
Query the GenericConnectorRecord by the Execution ID and ExecutionConnector ID.
This function sends a request to the AtomSphere API to query for a Generic Connector Record from a specific execution.
- Parameters:
execution_id (str) – The Boomi execution ID.
execution_connector_id (str) – The execution connector ID from the ExecutionConnector object.
request_interval_sec (int, optional) – The time to wait between retries in seconds. Default is 10 seconds.
max_wait_sec (int, optional) – The maximum wait time in seconds. Default is 300 seconds (5 minutes).
- Returns:
The JSON response containing the queried GenericConnectorRecord.
- Return type:
dict
- Raises:
ValueError – If the GenericConnectorRecord is not found after max wait time.
requests.RequestException – If the request fails.