def fetchId(context, url):

    response = utility.requests_get(url)
    data = findall("id=(.*?),war={0}".format(context), response.content)
    if len(data) > 0:
        return data[0]
Undeployments require a CSRF token
dataset/ETHPy150Open hatRiot/clusterd/src/platform/jboss/undeployer.py/fetchId