- 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.
14 lines
340 B
GraphQL
14 lines
340 B
GraphQL
mutation CreateVerificationHost($deviceKey: String!, $deviceType: String!, $groupNames: [String!]!, $templateNames: [String]) {
|
|
importHosts(hosts: [{
|
|
deviceKey: $deviceKey,
|
|
deviceType: $deviceType,
|
|
groupNames: $groupNames,
|
|
templateNames: $templateNames
|
|
}]) {
|
|
hostid
|
|
message
|
|
error {
|
|
message
|
|
}
|
|
}
|
|
}
|