Firstly, it enables automatic provisioning of the configuration for an Edge Agent. When an Edge Agent starts without a configuration - it will post a request to api/Provisioning/Get with system information coded in the BIOS of the node. If a node configuration is found for the provided node serial number, it is served to the Edge Agent which will use this configuration going forward.
The Edge Agent will also periodically check if the configuration has changed in by sending it's node id and a hash of the current configuration, if a change is detected the new configuration will be served to the Agent which will replace the current configuration and persisted.
Secondly, a change from Telemetry samples to Metric, and the addition and Info samples is introduced to allow the Edge Agent to send non-numeric information to the cloud. E.g. IP-addresses.
This pull-request consist of two things - to keep it in line with the latest changes of https://github.com/dolittle-edge/Agent.
Firstly, it enables automatic provisioning of the configuration for an Edge Agent. When an Edge Agent starts without a configuration - it will post a request to api/Provisioning/Get with system information coded in the BIOS of the node. If a node configuration is found for the provided node serial number, it is served to the Edge Agent which will use this configuration going forward. The Edge Agent will also periodically check if the configuration has changed in by sending it's node id and a hash of the current configuration, if a change is detected the new configuration will be served to the Agent which will replace the current configuration and persisted.
Secondly, a change from
Telemetry
samples toMetric
, and the addition andInfo
samples is introduced to allow the Edge Agent to send non-numeric information to the cloud. E.g. IP-addresses.┆Issue is synchronized with this Asana task