- Add runSmoketest mutation to automate end-to-end verification. - Add SmoketestExecutor and HostDeleter to support automated testing and cleanup. - Extend createHost and importHosts to allow linking templates by name or ID. - Update docs/howtos/cookbook.md with new recipe steps and AI/MCP guidance. - Update .junie/guidelines.md with new verification and deployment standards. - Add src/test/template_link.test.ts and update existing tests to cover new functionality. - Regenerate GraphQL types to match schema updates.
12 lines
350 B
GraphQL
12 lines
350 B
GraphQL
# Import multiple hosts/devices into Zabbix.
|
|
# This is a powerful tool for bulk provisioning of hosts using their names and types.
|
|
# It supports linking templates by ID (templateids) or by name (templateNames).
|
|
mutation ImportHosts($hosts: [CreateHost!]!) {
|
|
importHosts(hosts: $hosts) {
|
|
hostid
|
|
message
|
|
error {
|
|
message
|
|
}
|
|
}
|
|
}
|