You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.3 KiB
YAML
31 lines
1.3 KiB
YAML
cep:
|
|
bindings:
|
|
http-eebus-measurement-datagram-to-external-detector:
|
|
enabled: true
|
|
in:
|
|
type: HTTP
|
|
match:
|
|
# Example topic scheme; adjust to your real gateway convention.
|
|
pathRegex: "^measurements/(?<site>[^/]+)/(?<department>[^/]+)/(?<deviceId>[^/]+)$"
|
|
extract:
|
|
tenant: "default"
|
|
# Expect a full EEBUS SPINE-like <Datagram> XML payload.
|
|
parserRef: "eebusMeasurementDatagramXml"
|
|
# External detector receives the full <Datagram> XML (recommended requestFormat=DATAGRAM_XML).
|
|
detectorRef: "externalEebusDatagramRest"
|
|
lifecyclePolicyRef: "default"
|
|
outputRefs: ["outboxMalisEebusDatagramXml"]
|
|
http-eebus-measurement-datagrams-to-internal-detector:
|
|
enabled: true
|
|
in:
|
|
type: HTTP
|
|
match:
|
|
pathRegex: "^eebus/measurement-datagrams/(?<site>[^/]+)/(?<department>[^/]+)/(?<deviceId>[^/]+)$"
|
|
extract:
|
|
tenant: "default"
|
|
parserRef: "eebusMeasurementDatagramXml"
|
|
detectorRef: "internalEebusExpression"
|
|
lifecyclePolicyRef: "default"
|
|
# For local testing without MQTT/Rabbit, outbox is fine; /api/test/ingress will also show detector/lifecycle results.
|
|
outputRefs: ["outboxMalisEebusDatagramXml", "mqttMalisEebusDatagramXml"]
|