mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
@@ -17,6 +17,7 @@ identified with a specific icon:
|
|||||||
- ✨ *inlet*: static metadata provider can provide exporter and interface metadata
|
- ✨ *inlet*: static metadata provider can provide exporter and interface metadata
|
||||||
- ✨ *inlet*: static metadata provider can fetch its configuration from an HTTP endpoint
|
- ✨ *inlet*: static metadata provider can fetch its configuration from an HTTP endpoint
|
||||||
- 🩹 *cmd*: fix parsing of `inlet`→`metadata`→`provider`→`ports`
|
- 🩹 *cmd*: fix parsing of `inlet`→`metadata`→`provider`→`ports`
|
||||||
|
- 🩹 *console*: fix use of `InIfBoundary` and `OutIfBoundary` as dimensions
|
||||||
- 🌱 *orchestrator*: add TLS support to connect to ClickHouse database
|
- 🌱 *orchestrator*: add TLS support to connect to ClickHouse database
|
||||||
|
|
||||||
## 1.9.3 - 2024-01-14
|
## 1.9.3 - 2024-01-14
|
||||||
|
|||||||
@@ -104,6 +104,8 @@ func (qc Column) ToSQLSelect(sch *schema.Component) string {
|
|||||||
case schema.ColumnSrcAS, schema.ColumnDstAS, schema.ColumnDst1stAS, schema.ColumnDst2ndAS, schema.ColumnDst3rdAS:
|
case schema.ColumnSrcAS, schema.ColumnDstAS, schema.ColumnDst1stAS, schema.ColumnDst2ndAS, schema.ColumnDst3rdAS:
|
||||||
strValue = fmt.Sprintf(`concat(toString(%s), ': ', dictGetOrDefault('asns', 'name', %s, '???'))`,
|
strValue = fmt.Sprintf(`concat(toString(%s), ': ', dictGetOrDefault('asns', 'name', %s, '???'))`,
|
||||||
qc, qc)
|
qc, qc)
|
||||||
|
case schema.ColumnInIfBoundary, schema.ColumnOutIfBoundary:
|
||||||
|
strValue = fmt.Sprintf(`toString(%s)`, qc.String())
|
||||||
case schema.ColumnEType:
|
case schema.ColumnEType:
|
||||||
strValue = fmt.Sprintf(`if(EType = %d, 'IPv4', if(EType = %d, 'IPv6', '???'))`,
|
strValue = fmt.Sprintf(`if(EType = %d, 'IPv4', if(EType = %d, 'IPv6', '???'))`,
|
||||||
helpers.ETypeIPv4, helpers.ETypeIPv6)
|
helpers.ETypeIPv4, helpers.ETypeIPv6)
|
||||||
|
|||||||
@@ -92,6 +92,9 @@ func TestQueryColumnSQLSelect(t *testing.T) {
|
|||||||
}, {
|
}, {
|
||||||
Input: schema.ColumnDstMAC,
|
Input: schema.ColumnDstMAC,
|
||||||
Expected: `MACNumToString(DstMAC)`,
|
Expected: `MACNumToString(DstMAC)`,
|
||||||
|
}, {
|
||||||
|
Input: schema.ColumnInIfBoundary,
|
||||||
|
Expected: `toString(InIfBoundary)`,
|
||||||
}, {
|
}, {
|
||||||
Input: schema.ColumnMPLSLabels,
|
Input: schema.ColumnMPLSLabels,
|
||||||
Expected: `arrayStringConcat(MPLSLabels, ' ')`,
|
Expected: `arrayStringConcat(MPLSLabels, ' ')`,
|
||||||
|
|||||||
Reference in New Issue
Block a user