Commit 807512ec authored by Ivan Tyagov's avatar Ivan Tyagov

Add comments.

parent 941ae3d1
"""
This script is used in Ingestion Policy objects to parse provided by fluentd / ebulk reference.
In this case it expects a reference in this format for example:
'sensor1'
i.e. no special characters and one name only.
If you need to use more complex hierachical reference notations like:
'sensor1.product1'
you can use script: 'IngestionPolicy_parseSimpleIngestionTag'
"""
project_reference = reference.split('.')[0]
return {'resource_reference' : reference,
'specialise_reference': project_reference,
......
"""
This script is used in Ingestion Policy objects to parse provided by fluentd / ebulk reference.
In this case it expects a reference in this format for example:
'sensor1.product1'
"""
sensor_reference = reference.split('.')[0]
data_product_reference = reference.split('.')[1]
return {'resource_reference' : data_product_reference,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment