Exemplo n.º 1
0
def the_monitored_resource_with_id_and_type(step, id, type):
    world.entity_id = prepare_param(id)
    world.entity_type = prepare_param(type)
Exemplo n.º 2
0
def the_header_correlator(step, correlator):
    world.correlator = prepare_param(correlator)
    world.ngsi_adapter_client.init_headers(correlator=world.correlator)
Exemplo n.º 3
0
def the_parser(step, probe_name, parser_name):
    world.probe = prepare_param(probe_name)
    world.parser = prepare_param(parser_name)
Exemplo n.º 4
0
def the_probe_name(step, probe_name):
    world.probe = prepare_param(probe_name)
Exemplo n.º 5
0
def the_monitored_resource_with_id_and_type(step, id, type):
    world.entity_id = prepare_param(id)
    world.entity_type = prepare_param(type)
Exemplo n.º 6
0
def the_probe_name(step, probe_name):
    world.probe = prepare_param(probe_name)
Exemplo n.º 7
0
def the_parser(step, probe_name, parser_name):
    world.probe = prepare_param(probe_name)
    world.parser = prepare_param(parser_name)
Exemplo n.º 8
0
def the_header_transaction_id(step, transaction_id):
    world.transaction_id = prepare_param(transaction_id)
    world.ngsi_adapter_client.init_headers(transaction_id=world.transaction_id)
Exemplo n.º 9
0
def the_header_correlator(step, correlator):
    world.correlator = prepare_param(correlator)
    world.ngsi_adapter_client.init_headers(correlator=world.correlator,
                                           auth_token=world.auth_token)