def make_shell_endpoint(topologyInfo, instance_id):
<EOL>pplan = topologyInfo["<STR_LIT>"]<EOL>stmgrId = pplan["<STR_LIT>"][instance_id]["<STR_LIT>"]<EOL>host = pplan["<STR_LIT>"][stmgrId]["<STR_LIT:host>"]<EOL>shell_port = pplan["<STR_LIT>"][stmgrId]["<STR_LIT>"]<EOL>return "<STR_LIT>" % (host, shell_port)<EOL>
Makes the http endpoint for the heron shell
if shell port is present, otherwise returns None.