atom
Boomi AtomSphere API: Atom Object
- boomi_cicd.util.atom.query_atom(atom_name)[source]
Query the Atom by name and retrieve its ID.
This function sends a request to the AtomSphere API to query for an Atom with the specified name. If the Atom is found, then an ID is returned. If no atom is found, then an error is logged, and the program exits.
- Parameters:
atom_name (str) – The name of the Atom to query.
- Returns:
The ID of the queried Atom.
- Return type:
str
- Raises:
ValueError – If the Atom is not found.