-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Boa tarde Lucas e demais da equipe,
Parabéns pelo projeto fiot-client.
Fiquei com uma dúvida.
Olhando a documentação no método subscribe_historical_data() tive a impressão que ao fazer o subscribe no sth/comet a ligação é direta ORION -> STH.
Minha dúvida é se na figura https://github.com/FIoT-Client/fiot-client-tutorial/blob/master/extras/fiware_components_deploy.png a ligação entre ORION e STH realmente passa pelo CYGNUS.
Sei que o CYGNUS pode perfeitamente armazenar no STH, mas também sei que o STH pode ficar "livre", como parece ser a implementação.
O que acham?
def subscribe_historical_data(self, entity_id, attributes):
"""Create a new subscription on attributes to store changes on its values as historical data
:param entity_id: The id of the entity to be monitored
:param attributes: The list of attributes do be monitored
:return: The information of the subscription
"""
logging.info("Subscribing to historical data")
notification_url = "http://{}:{}/notify".format(self.sth_host, self.sth_port)
return self.subscribe_attributes_change(entity_id, attributes, notification_url)
Metadata
Metadata
Assignees
Labels
No labels