zabbix-graphql-api/src/test
Andreas Hilbig 5da4a17e36 feat: implement weather sensor extension and enhance device interfaces
This change introduces the Weather Sensor device type which retrieves data from public APIs, and enhances the core Host/Device interfaces to provide consistent access to inventory and items across all specialized device types. It also improves search logic and fixes several bugs identified during implementation.

- Weather Sensor Extension: Added schema and recipe for a device retrieving weather data via Zabbix HTTP agent items.

- Interface Enhancements: Added inventory and items fields to Host and Device interfaces to ensure all device specialized types have consistent access to monitoring and inventory data.

- Search Logic Improvements: Enhanced ParsedArgs to support searchByAny and technical name (host) searches when a name pattern is provided.

- Bug Fixes:

  - Fixed getLocations argument order in the Zabbix API datasource.

  - Implemented deduplication for groupids and templateids in HostImporter to prevent Zabbix duplicate value errors.

  - Added missing url field to CreateTemplateItem for HTTP Agent item support.

- Testing:

  - Extended the regression test suite with 4 new automated checks covering the fixed bugs.

  - Updated Jest tests to accommodate the improved search parameters.

- Documentation: Updated cookbook and test specifications to reflect new features and regression testing obligations.
2026-02-01 06:56:23 +01:00
..
host_importer.test.ts feat: implement smoketest and extend host provisioning with template linking 2026-01-31 11:46:02 +01:00
host_integration.test.ts feat: implement smoketest and extend host provisioning with template linking 2026-01-31 11:46:02 +01:00
host_query.test.ts feat: implement weather sensor extension and enhance device interfaces 2026-02-01 06:56:23 +01:00
logger_config.test.ts chore: add tests for schema and API config mocking 2026-01-28 07:34:08 +01:00
mcp_operations_validation.test.ts feat: add MCP tools, refined recipe steps for schema extension verification and update Docker requirements 2026-01-31 03:31:40 +01:00
misc_resolvers.test.ts chore: add tests for schema and API config mocking 2026-01-28 07:34:08 +01:00
schema_config.test.ts chore: add tests for schema and API config mocking 2026-01-28 07:34:08 +01:00
template_deleter.test.ts feat: implement weather sensor extension and enhance device interfaces 2026-02-01 06:56:23 +01:00
template_importer.test.ts chore: add tests for schema and API config mocking 2026-01-28 07:34:08 +01:00
template_integration.test.ts chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
template_link.test.ts feat: implement smoketest and extend host provisioning with template linking 2026-01-31 11:46:02 +01:00
template_query.test.ts feat: implement template cloning and extended item data retrieval 2026-01-31 12:15:18 +01:00
user_rights.test.ts chore: add tests for schema and API config mocking 2026-01-28 07:34:08 +01:00
user_rights_integration.test.ts chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
zabbix_api_args_parser.test.ts chore: Add test for Zabbix API arguments parsing 2026-01-13 15:01:06 +01:00
zabbix_api_config.test.ts docs: refactor documentation and upgrade to Node.js 24 2026-01-30 14:35:31 +01:00
zabbix_docs_samples.test.ts feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00