-
-
Save msukmanowsky/84239439070b17fca2c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn topologies-as-map [] | |
(with-configured-nimbus-connection nimbus | |
(let [cluster-info (.getClusterInfo nimbus) | |
topologies (.get_topologies cluster-info)] | |
(vec (map #({:id (.get_id %)}) topologies))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment