diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 807bdb5..7c2ae16 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,10 +4,8 @@
-
-
+
-
@@ -56,43 +54,43 @@
- {
- "keyToString": {
- "NIXITCH_NIXPKGS_CONFIG": "",
- "NIXITCH_NIX_CONF_DIR": "",
- "NIXITCH_NIX_OTHER_STORES": "",
- "NIXITCH_NIX_PATH": "",
- "NIXITCH_NIX_PROFILES": "",
- "NIXITCH_NIX_REMOTE": "",
- "NIXITCH_NIX_USER_PROFILE_DIR": "",
- "Node.js.index.ts.executor": "Run",
- "RunOnceActivity.MCP Project settings loaded": "true",
- "RunOnceActivity.ShowReadmeOnStart": "true",
- "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
- "RunOnceActivity.git.unshallow": "true",
- "RunOnceActivity.typescript.service.memoryLimit.init": "true",
- "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
- "git-widget-placeholder": "main",
- "go.import.settings.migrated": "true",
- "javascript.preferred.runtime.type.id": "node",
- "junie.onboarding.icon.badge.shown": "true",
- "last_opened_file_path": "//wsl.localhost/Ubuntu/home/ahilbig/git/vcr/zabbix-graphql-api/src/testdata/templates",
- "node.js.detected.package.eslint": "true",
- "node.js.detected.package.tslint": "true",
- "node.js.selected.package.eslint": "(autodetect)",
- "node.js.selected.package.tslint": "(autodetect)",
- "nodejs_interpreter_path": "wsl://Ubuntu@/home/ahilbig/.nvm/versions/node/v24.12.0/bin/node",
- "nodejs_package_manager_path": "npm",
- "npm.codegen.executor": "Run",
- "npm.compile.executor": "Run",
- "npm.copy-schema.executor": "Run",
- "npm.prod.executor": "Run",
- "settings.editor.selected.configurable": "settings.javascript.runtime",
- "to.speed.mode.migration.done": "true",
- "ts.external.directory.path": "\\\\wsl.localhost\\Ubuntu\\home\\ahilbig\\git\\vcr\\zabbix-graphql-api\\node_modules\\typescript\\lib",
- "vue.rearranger.settings.migration": "true"
+
+}]]>
@@ -102,6 +100,7 @@
+
@@ -320,7 +319,23 @@
1769451540092
-
+
+
+ 1769511960691
+
+
+
+ 1769511960691
+
+
+
+ 1769514926656
+
+
+
+ 1769514926656
+
+
@@ -357,7 +372,9 @@
-
+
+
+
diff --git a/README.md b/README.md
index 8faa259..01d2740 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ The API is configured via environment variables. Create a `.env` file or set the
| :--- | :--- | :--- |
| `ZABBIX_BASE_URL` | URL to your Zabbix API (e.g., `http://zabbix.example.com/zabbix`) | |
| `ZABBIX_AUTH_TOKEN` | Zabbix Super Admin API token for administrative tasks | |
-| `ZABBIX_EDGE_DEVICE_BASE_GROUP` | Base host group for devices | `Baustellen-Devices` |
+| `ZABBIX_EDGE_DEVICE_BASE_GROUP` | Base host group for devices | `Roadwork` |
| `ZABBIX_PERMISSION_TEMPLATE_GROUP_NAME_PREFIX` | Prefix for template groups used as permissions | `Permissions` |
| `SCHEMA_PATH` | Path to the directory containing `.graphql` schema files | `./schema/` |
@@ -211,7 +211,7 @@ ZABBIX_BASE_URL=http://your-zabbix-instance/zabbix
ZABBIX_AUTH_TOKEN=your-super-admin-token-here
# General Configuration
-ZABBIX_EDGE_DEVICE_BASE_GROUP=Baustellen-Devices
+ZABBIX_EDGE_DEVICE_BASE_GROUP=Roadwork
API_VERSION=1.0.0
SCHEMA_PATH=./schema/
diff --git a/docs/sample_all_host_groups_query.graphql b/docs/sample_all_host_groups_query.graphql
index 4660959..60f3b64 100644
--- a/docs/sample_all_host_groups_query.graphql
+++ b/docs/sample_all_host_groups_query.graphql
@@ -13,6 +13,6 @@ query AllHostGroups($search_name: String) {
### Variables
```json
{
- "search_name": "Baustellen-Devices/*"
+ "search_name": "Roadwork/*"
}
```
diff --git a/src/datasources/zabbix-api.ts b/src/datasources/zabbix-api.ts
index ce7c119..078e671 100644
--- a/src/datasources/zabbix-api.ts
+++ b/src/datasources/zabbix-api.ts
@@ -10,7 +10,7 @@ import {ParsedArgs, ZabbixErrorResult, ZabbixRequest, ZabbixResult} from "./zabb
export const zabbixRequestAuthToken = process.env.ZABBIX_AUTH_TOKEN_FOR_REQUESTS
export const zabbixSuperAuthToken = process.env.ZABBIX_AUTH_TOKEN
-export const ZABBIX_EDGE_DEVICE_BASE_GROUP = process.env.ZABBIX_EDGE_DEVICE_BASE_GROUP || process.env.ZABBIX_ROADWORK_BASE_GROUP || "Baustellen-Devices"
+export const ZABBIX_EDGE_DEVICE_BASE_GROUP = process.env.ZABBIX_EDGE_DEVICE_BASE_GROUP || process.env.ZABBIX_ROADWORK_BASE_GROUP || "Roadwork"
export const FIND_ZABBIX_EDGE_DEVICE_BASE_GROUP_PREFIX = new RegExp(`^(${ZABBIX_EDGE_DEVICE_BASE_GROUP})\/`)
export class ZabbixAPI
diff --git a/src/test/host_importer.test.ts b/src/test/host_importer.test.ts
index b061afa..c221090 100644
--- a/src/test/host_importer.test.ts
+++ b/src/test/host_importer.test.ts
@@ -10,7 +10,7 @@ jest.mock("../datasources/zabbix-api.js", () => ({
post: jest.fn(),
requestByPath: jest.fn()
},
- ZABBIX_EDGE_DEVICE_BASE_GROUP: "Baustellen-Devices"
+ ZABBIX_EDGE_DEVICE_BASE_GROUP: "Roadwork"
}));
// Mock ZabbixRequestWithPermissions to skip permission checks
diff --git a/src/test/host_integration.test.ts b/src/test/host_integration.test.ts
index e1b054b..17ffcd5 100644
--- a/src/test/host_integration.test.ts
+++ b/src/test/host_integration.test.ts
@@ -13,7 +13,7 @@ jest.mock("../datasources/zabbix-api.js", () => ({
getLocations: jest.fn(),
requestByPath: jest.fn()
},
- ZABBIX_EDGE_DEVICE_BASE_GROUP: "Baustellen-Devices"
+ ZABBIX_EDGE_DEVICE_BASE_GROUP: "Roadwork"
}));
describe("Host Integration Tests", () => {
diff --git a/src/test/host_query.test.ts b/src/test/host_query.test.ts
index 685337c..98e8dd2 100644
--- a/src/test/host_query.test.ts
+++ b/src/test/host_query.test.ts
@@ -11,7 +11,7 @@ jest.mock("../datasources/zabbix-api.js", () => ({
baseURL: "http://mock-zabbix",
getLocations: jest.fn()
},
- ZABBIX_EDGE_DEVICE_BASE_GROUP: "Baustellen-Devices"
+ ZABBIX_EDGE_DEVICE_BASE_GROUP: "Roadwork"
}));
describe("Host and HostGroup Resolvers", () => {
diff --git a/src/test/template_query.test.ts b/src/test/template_query.test.ts
index c83761a..028544a 100644
--- a/src/test/template_query.test.ts
+++ b/src/test/template_query.test.ts
@@ -10,7 +10,7 @@ jest.mock("../datasources/zabbix-api.js", () => ({
post: jest.fn(),
baseURL: "http://mock-zabbix"
},
- ZABBIX_EDGE_DEVICE_BASE_GROUP: "Baustellen-Devices"
+ ZABBIX_EDGE_DEVICE_BASE_GROUP: "Roadwork"
}));
describe("Template Resolver", () => {