def the_monitored_resource_with_id_and_type(step, id, type): world.entity_id = prepare_param(id) world.entity_type = prepare_param(type)
def the_header_correlator(step, correlator): world.correlator = prepare_param(correlator) world.ngsi_adapter_client.init_headers(correlator=world.correlator)
def the_parser(step, probe_name, parser_name): world.probe = prepare_param(probe_name) world.parser = prepare_param(parser_name)
def the_probe_name(step, probe_name): world.probe = prepare_param(probe_name)
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)
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)