mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Update etc/examples/nodes/ngsi.conf, doc/openapi/components/schemas/config/nodes/ngsi.yaml
This commit is contained in:
parent
43965e3584
commit
a31666809f
2 changed files with 22 additions and 0 deletions
|
@ -12,16 +12,34 @@ allOf:
|
|||
|
||||
entity_id:
|
||||
type: string
|
||||
description: ID of NGSI entity.
|
||||
|
||||
entity_type:
|
||||
type: string
|
||||
description: Type of NGSI entity.
|
||||
|
||||
ssl_verify:
|
||||
type: boolean
|
||||
description: Verify SSL certificate against local trust store.
|
||||
|
||||
timeout:
|
||||
description: Timeout in seconds for HTTP requests.
|
||||
type: number
|
||||
default: 1.0
|
||||
|
||||
rate:
|
||||
description: Polling rate in Hz for requesting entity updates from broker.
|
||||
type: number
|
||||
default: 1.0
|
||||
|
||||
access_token:
|
||||
type: string
|
||||
description: Send 'Auth-Token' header with every HTTP request.
|
||||
|
||||
create:
|
||||
type: boolean
|
||||
default: true
|
||||
description: Create NGSI entities during startup of node.
|
||||
|
||||
- $ref: ../node_signals.yaml
|
||||
- $ref: ../node.yaml
|
||||
|
|
|
@ -7,9 +7,13 @@ nodes = {
|
|||
# The HTTP REST API endpoint of the FIRWARE context broker
|
||||
endpoint = "http://46.101.131.212:1026",
|
||||
|
||||
access_token: "aig1aaQuohsh5pee9uiC2Bae3loSh9wu" # Add an 'Auth-Token' token header to each request
|
||||
|
||||
entity_id = "S3_ElectricalGrid",
|
||||
entity_type = "ElectricalGridMonitoring",
|
||||
|
||||
create = true # Create the NGSI entities during startup
|
||||
|
||||
rate = 0.1 # Rate at which we poll the broker for updates
|
||||
timeout = 1, # Timeout of HTTP request in seconds (default is 1, must be smaller than 1 / rate)
|
||||
verify_ssl = false, # Verification of SSL server certificates (default is true)
|
||||
|
|
Loading…
Add table
Reference in a new issue