def cleanupSDS():
    # Delete the test queues
    print('Cleaning up...')

    af_support_tools.rmq_delete_queue(host=hostTLS, port=portTLS, ssl_enabled=True,
                                      queue='testSystemListRequest')
    af_support_tools.rmq_delete_queue(host=hostTLS, port=portTLS, ssl_enabled=True,
                                      queue='testSystemListFound')
    af_support_tools.rmq_delete_queue(host=hostTLS, port=portTLS, ssl_enabled=True,
                                      queue='testComponentCredentialRequest')
    af_support_tools.rmq_delete_queue(host=hostTLS, port=portTLS, ssl_enabled=True,
                                      queue='testSystemDefinitionEvent')
def cleanup():
    print('Cleaning up...')
    af_support_tools.rmq_delete_queue(
        host=ipaddress,
        port=port,
        rmq_username=rmq_username,
        rmq_password=rmq_password,
        queue='test.rackhd.node.discovered.event')

    af_support_tools.rmq_delete_queue(host=ipaddress,
                                      port=port,
                                      rmq_username=rmq_username,
                                      rmq_password=rmq_password,
                                      queue='test.eids.identity.request')

    af_support_tools.rmq_delete_queue(host=ipaddress,
                                      port=port,
                                      rmq_username=rmq_username,
                                      rmq_password=rmq_password,
                                      queue='test.eids.identity.response')
def cleanupQ(testqueue):
    """ Delete the passed-in queue."""

    af_support_tools.rmq_delete_queue(host='amqp', port=5671, ssl_enabled=True, queue=testqueue)
예제 #4
0
def cleanup(queue):
    af_support_tools.rmq_delete_queue(host='amqp', port=5671,
                                      queue=queue, ssl_enabled=True)
def cleanup():
    # Delete the test queues
    print('Cleaning up...')

    af_support_tools.rmq_delete_queue(host=ipaddress,
                                      port=port,
                                      rmq_username=rmq_username,
                                      rmq_password=rmq_password,
                                      queue='test.system.list.request')

    af_support_tools.rmq_delete_queue(host=ipaddress,
                                      port=port,
                                      rmq_username=rmq_username,
                                      rmq_password=rmq_password,
                                      queue='test.system.list.found')

    af_support_tools.rmq_delete_queue(host=ipaddress,
                                      port=port,
                                      rmq_username=rmq_username,
                                      rmq_password=rmq_password,
                                      queue='test.hal.orchestrator.request')

    # Commented out as Joe's Script needs to consume it too.
    # af_support_tools.rmq_delete_queue(host=ipaddress, port=port, rmq_username=rmq_username, rmq_password=rmq_password,
    #                                   queue='test.hal.orchestrator.response')

    af_support_tools.rmq_delete_queue(
        host=ipaddress,
        port=port,
        rmq_username=rmq_username,
        rmq_password=rmq_password,
        queue='test.component.credential.request')

    af_support_tools.rmq_delete_queue(host=ipaddress,
                                      port=port,
                                      rmq_username=rmq_username,
                                      rmq_password=rmq_password,
                                      queue='test.system.definition.response')

    af_support_tools.rmq_delete_queue(host=ipaddress,
                                      port=port,
                                      rmq_username=rmq_username,
                                      rmq_password=rmq_password,
                                      queue='test.cms.credentials.response')

    af_support_tools.rmq_delete_queue(host=ipaddress,
                                      port=port,
                                      rmq_username=rmq_username,
                                      rmq_password=rmq_password,
                                      queue='test.eids.identity.request')

    af_support_tools.rmq_delete_queue(host=ipaddress,
                                      port=port,
                                      rmq_username=rmq_username,
                                      rmq_password=rmq_password,
                                      queue='test.eids.identity.response')
def cleanup():
    af_support_tools.rmq_delete_queue(
        host='amqp',
        port=5671,
        queue='test.capability.registry.response',
        ssl_enabled=True)
def cleanup():
    print('Cleaning up...')

    af_support_tools.rmq_delete_queue(host='amqp', port=5671, ssl_enabled=True, queue='test.identity.request')

    af_support_tools.rmq_delete_queue(host='amqp', port=5671, ssl_enabled=True, queue='test.identity.response')