Пример #1
0
def remove(name, **kwargs):
    try:
        logger.debug(f"remove {name}")
        rest_mgr = RestMgr(kwargs)
        rest_mgr.delete(suburl, name)
    except Exception as ex:
        logger.error(f"{ex}")
Пример #2
0
def remove(ctx, name, **kwargs):
    try:
        logger.debug(f"remove {name}")
        rest_mgr = RestMgr(kwargs)
        rest_mgr.delete('jndiConnectionFactories', name)
    except Exception as ex:
        print('ERRROR')
        logger.error(f"create - END + {ex}")
Пример #3
0
def remove(name, **kwargs):
    '''Remove an ACL Profile'''
    logger.debug(f"remove {name}")
    rest_mgr = RestMgr(kwargs)
    res = rest_mgr.delete(suburl, name)
    send_response(res)
Пример #4
0
def remove(name, **kwargs):
    '''Remove a client username'''
    rest_mgr = RestMgr(kwargs)
    res = rest_mgr.delete(suburl, name)
    send_response(res)
Пример #5
0
def remove(qname, **kwargs):
    '''Remove an existing queue'''
    rest_mgr = RestMgr(kwargs)
    res = rest_mgr.delete(suburl, qname)
    send_response(res)