Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit c970784

Browse files
author
Jaroslav Tóth
authored
Generate FM 7.0 API (topology-discovery & performance-monitor) (#114)
* Generate pydantic entities from topology-discovery 7.0.1 * Generate pydantic entities from performance-monitor 7.0.0
1 parent fe95bd2 commit c970784

File tree

10 files changed

+725
-371
lines changed

10 files changed

+725
-371
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# 0.0.2
2-
- Package dependency update
2+
- Package dependency update
3+
4+
# 1.0.0
5+
- Updated generated pydantic entities to match 7.0.0 performance-monitor version.

performance-monitor/python/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
| Docker Image Tag | Python Library Version |
44
|------------------|------------------------|
55
| 6.0.3 | 0.0.1, 0.0.2 |
6-
6+
| 7.0.0 | 1.0.0 |
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
##### KAFKA variables
2-
PM_KAFKA__TOPICS__GNMI_NOTIFICATIONS_TOPIC=gnmi-notifications
2+
PM_KAFKA__TOPICS__METRICS_TOPICS=["gnmi-notifications", "workflow-notifications"]
33
PM_KAFKA__TOPICS__DEVICE_INVENTORY_TOPIC=device-inventory
4+
PM_KAFKA__TOPICS__UNIFIED_METRICS_TOPIC=unified-metrics
45
PM_KAFKA__BOOTSTRAP_SERVERS=["kafka:9092"]
56

67
##### DB variables
@@ -9,4 +10,4 @@ PM_DB__DB_HOST=monitor-postgres
910
PM_DB__DB_USER=postgres
1011
PM_DB__DB_PASSWORD=postgres
1112
PM_DB__DB_PORT=5432
12-
PM_DB__DB_MIGRATIONS_DIR=./migrations
13+
PM_DB__DB_MIGRATIONS_DIR=./migrations

performance-monitor/python/frinx_api/performance_monitor/__init__.py

Lines changed: 104 additions & 249 deletions
Large diffs are not rendered by default.

performance-monitor/python/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ ruff = "^0.0.263"
1212
mypy = "1.3.0"
1313
pyright = "^1.1.317"
1414

15-
1615
[tool.poetry]
1716
packages = [{ include = "frinx_api" }]
1817
name = "frinx-performance-monitor-api"
1918
description = "Frinx Performance Monitor graphql schema transformed to pydantic basemodels"
2019
authors = ["Jozef Volak <jozef.volak@elisapolystar.com>"]
21-
version = "0.0.2"
20+
version = "1.0.0"
2221
readme = ["README.md", "CHANGELOG.md", "RELEASE.md"]
2322
keywords = ["frinx-machine", "performance-monitor", "api"]
2423
license = "Apache 2.0"

topology-discovery/python/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@
99

1010
# 2.1.1
1111
- Package dependency update
12+
13+
# 3.0.0
14+
- Updated generated pydantic entities based on topology-discovery 7.0.1 version.

topology-discovery/python/RELEASE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
| 1.0.0 | 0.1.0, 1.0.0 |
77
| 6.0.0 | 2.0.0 |
88
| 6.2.5 | 2.1.0, 2.1.1 |
9+
| 7.0.1 | 3.0.0 |

topology-discovery/python/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.8'
22

33
services:
44
arango:
5-
image: arangodb:3.9.1
5+
image: arangodb:3.12
66
environment:
77
ARANGO_ROOT_PASSWORD: frinx
88
ARANGO_USERNAME: root

0 commit comments

Comments
 (0)