environment_extensions

Boomi AtomSphere API: Environment Extensions Object

boomi_cicd.util.environment_extensions.get_environment_extensions(environment_id)[source]

Get the extensions for the specified environment.

Parameters:

environment_id (str) – The ID of the environment.

Returns:

The environment extensions.

Return type:

dict

boomi_cicd.util.environment_extensions.parse_connection_extensions(connection_array, xml_response)[source]

Parse the connection extensions from the Component XML response and update the connection array. The connection array is used when creating a template for environment extensions updates.

Parameters:
  • connection_array (list[dict]) – The array of connections.

  • xml_response (str) – The XML response containing the connection extensions.

Returns:

The updated connection array.

Return type:

list[dict]

boomi_cicd.util.environment_extensions.parse_cross_reference_extensions(cross_reference, xml_response)[source]

Parse the cross-reference extensions from the Component XML response and update the cross-reference list. The cross-reference list is used when creating a template for environment extensions updates.

Parameters:
  • cross_reference (list[dict]) – The list of cross-references.

  • xml_response (str) – The XML response containing the cross-reference extensions.

Returns:

The updated cross-reference list.

Return type:

list[dict]

boomi_cicd.util.environment_extensions.parse_dpp_extensions(dpp_list, xml_response)[source]

Parse the DPP (Dynamic Process Property) extensions from the Component XML response and update the DPP list. The DPP list is used when creating a template for environment extensions updates.

Parameters:
  • dpp_list (list[dict]) – The list of DPPs.

  • xml_response (str) – The XML response containing the DPP extensions.

Returns:

The updated DPP list.

Return type:

list[dict]

boomi_cicd.util.environment_extensions.parse_pp_extensions(pp_dict, xml_response)[source]

Parse the process property extensions from the XML response and update the Process Property dictionary. The Process Property dictionary is used when creating a template for environment extensions updates.

Parameters:
  • pp_dict (list[dict]) – The dictionary of process properties.

  • xml_response (str) – The XML response containing the process property extensions.

Returns:

The updated process property dictionary.

Return type:

list[dict]

boomi_cicd.util.environment_extensions.update_environment_extensions(environment_id, payload)[source]

Update the extensions for the specified environment. :param environment_id: The ID of the Boomi environment. :param payload: The payload containing the environment extensions. The environment_extensions_template.py script can be used to generate a template for the payload. :return: Response from the Environment Extensions API. :rtype: dict