Skip to content

its-collector file bootstrap #483

@nbuffon

Description

@nbuffon
  1. Endpoints are mounted in a JSON file at /etc/iot3/endpoints.json
  2. Credentials are mounted in a JSON file at /etc/iot3/identity.json

Like HTTP bootstrap the application will update its configuration with the credentials and paths to the services found in these files.

Bootstrap section has to be updated

[bootstrap]
identity = /etc/iot3/identity.json
endpoints = /etc/iot3/endpoints.json

Add a conditional in do_bootstrap(...) method to first look for the file bootstrap field (described above) and if not present fall back to the HTTP ones (as before).


As described in architecture documentation:

  • endpoints.json provides the services' URL port and protocols
  • identity.json provides IOT3 ID, username and password to authenticate to those services

Metadata

Metadata

Assignees

Labels

RustRust code

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions