Commits
Ivo Kurzemnieks authored d1d6af850dd
A.F....... [ZBXNEXT-4656] improved Host Prototype API validation and allowed LLD macros with functions in host prototype name and host prototype group name: - Fixed 'group_prototypeid' validation in hostprototype.update in 'groupLinks' and 'groupPrototypes' properties. Now invalid 'group_prototypeid' cannot be given. - Fixed frontend not passing the required 'templateid' key when creating and updating host prototype templates. - Replaced old hostprototype.create and hostprototype.update validation with new API validator. This includes several things: adding 2 new parsers for host name prototype validation and host prototype group name validation; removing host group name validator and unit tests and replacing them with host group name parser with LLD options. - Code refactoring: removed camelCase, fixed typos in comments.