Commit Graph

127 Commits

Author SHA1 Message Date
Markus Frosch e2bd821d26
Merge pull request #1642 from Icinga/feature/group-resolve-housekeeping
Add group apply housekeeping and testing
2018-09-18 17:18:16 +02:00
Markus Frosch f2886d5c35 travis: Split phpcs to a single matrix element 2018-09-18 13:02:49 +02:00
Markus Frosch a7ad2e7ad3 HostGroupMembershipResolverTest: Check resolver after test set 2018-09-18 10:36:45 +02:00
Markus Frosch 325047260c test: Add HostGroupMembershipResolverTest
refs #1574
2018-09-18 10:36:45 +02:00
Markus Frosch 282d78c877 IcingaTimePeriod: Update test for include/exclude 2018-09-13 15:14:41 +02:00
Thomas Gelf 79620849c7 ArrayElementByPosition: new PropertyModifier
fixes #473
2018-09-05 13:11:09 +02:00
Thomas Gelf 23f0ec32d4 IcingaServiceTest: one more exception 2018-07-03 17:37:41 +02:00
Thomas Gelf c93b4b0a24 IcingaHostTest: missing lazy deps are Runtime ex. 2018-07-03 17:11:46 +02:00
Thomas Gelf 3c0d48068f tests/rendered: fix test to match new reality 2018-06-04 18:29:53 +02:00
Thomas Gelf b475aa841e IcingaConfigHelper: granular macro-rendering
fixes #685
fixes #1272
fixes #1482
2018-06-04 18:18:32 +02:00
Thomas Gelf 8c432285e7 Various: stick with default exceptions...
...IDE hints are annoying
2018-05-29 21:31:43 +02:00
Thomas Gelf 09f4a1c94f AssignRenderTest: found in an orphaned branch...
...cannot hurt
2018-05-29 13:46:36 +02:00
Thomas Gelf 4b2546b14f IcingaHostTest: fit new properties
refs #1359
2018-05-28 21:01:58 +02:00
Thomas Gelf 47fcd13075 HostSyncTest: test combinations of multiple groups 2018-05-25 13:29:32 +02:00
Thomas Gelf a515e02953 FilterByNameRestriction: test and unify behavior
fixes #1392
2018-02-20 13:45:19 +01:00
Markus Frosch 4902f694c1 flapping: Migrate to Icinga 2.8.0 flapping properties
Existing property is dropped now, it never was used in director before.

refs #330
2018-01-15 10:10:33 +01:00
Markus Frosch 2e80ba2390 travis: Update icingaweb2 version and testing 2017-12-11 10:10:41 +01:00
Thomas Gelf bbb180bb6e IcingaServiceTest: don't test with invalid service 2017-10-13 14:26:29 +02:00
Thomas Gelf 996918aafa MemoryLimit: dedicated class, tests
fixes #1220
2017-10-10 14:35:32 +02:00
Markus Frosch bd5f9d7dea testing: Move vendor installation to script
And all downloaded data to `vendor/`
2017-09-28 15:12:06 +02:00
Thomas Gelf 8407f23474 toPlainObject: resolve is boolean
Doesn't change behavior, but null is confusing here.
2017-09-01 10:04:21 +02:00
Thomas Gelf 19e51e15e4 IcingaObject: special treatment for groups
refs #1146
2017-08-31 22:42:25 +02:00
Markus Frosch 168369e738 HostSyncTest: Improve test data to clarify 2017-08-30 16:40:12 +02:00
Markus Frosch e9aa161ce4 Add HostSyncTest to test for basic Sync behavior 2017-08-30 16:40:12 +02:00
Thomas Gelf a3ac1b8eef IcingaServiceSet: fix tests 2017-08-28 06:16:00 +02:00
Thomas Gelf 18d171991e IcingaServiceSetTest: IcingaException is enough 2017-08-28 06:11:18 +02:00
Thomas Gelf 20fe291433 IcingaServiceSet: do not allow for objects without
...a host
2017-08-28 06:09:37 +02:00
Thomas Gelf 95a971975d IcingaServiceSetTest: do not call another test...
...from a test
2017-08-28 06:09:37 +02:00
Thomas Gelf 6685066673 IcingaServiceSetTest: enable disabled test 2017-08-28 06:09:37 +02:00
Thomas Gelf ee247ab383 test/php: provide DB mostly everwhere...
...as template repository would otherwise complain. Also, fit new boolean
true rendering
2017-08-26 16:17:55 +02:00
Thomas Gelf 8e46c61d5d IcingaHostTest: add check_timeout to enum 2017-07-14 13:21:42 +02:00
Thomas Gelf 15e87a15bb CustomVariables: fix and test numeric key rendering
fixes #996
2017-07-14 13:21:42 +02:00
Thomas Gelf 2ad1c5a183 TemplateTreeTest: intensive tests for new resolver 2017-07-14 13:21:42 +02:00
Thomas Gelf f91dd5fa0e PropertyModifierCombine: implementation, tests...
...and related changes with some documentation

fixes #922
2017-05-03 10:39:49 +02:00
Thomas Gelf c284dfef88 PropertyModifierArrayFilter: new modifier
fixes #908
2017-04-20 12:33:54 +02:00
Thomas Gelf da41e2f4db AssignRenderer: improve/separate in-related code
fixes #844
2017-03-13 22:25:04 +01:00
Thomas Gelf 158ce18302 SyncUtilsTest: use nicer test name
refs #839
2017-03-09 11:03:59 +01:00
Thomas Gelf 1b57171583 SyncUtils: allow special varnames, add tests
fixes #839
2017-03-09 10:57:37 +01:00
Thomas Gelf a48e0c6dda AssignRenderer: test and fix contains rendering
fixes #803
2017-03-06 11:10:24 +01:00
Thomas Gelf bff76dad8e HostApplyMatches: fix matching for "contains"
fixes  #803
2017-03-03 09:41:25 +01:00
Thomas Gelf 5842e40fb6 AssignRenderer: do not re-use json-encoded value
...as encoding in Icinga 2 differs

fixes #558
2017-03-03 09:24:15 +01:00
Thomas Gelf a99252ee5e HostApplyMatchesTest: new tests 2017-03-03 09:07:43 +01:00
Thomas Gelf f2bbd2d5d7 test: add compatibility layer for phpunit 2017-02-08 16:42:00 +01:00
Thomas Gelf b7a10d296c phpcs: mostly new PSR-2 SpacingAfter/Before checks 2017-01-13 20:54:52 +01:00
Thomas Gelf 8cc99f76d0 tests: simplify bootstrap, enforce PSR-2 2017-01-13 20:10:35 +01:00
Thomas Gelf 9e771f2d5a Fix phpcs complaints 2017-01-13 19:47:54 +01:00
Thomas Gelf 012b302386 IcingaTemplateResolverTest: fix tests 2017-01-02 12:21:29 +01:00
Thomas Gelf a9874879dd TemplateResolver: add new methods for stricter...
...path resolution. Also ships related tests

refs #13839
2016-12-30 10:15:25 +01:00
Thomas Gelf df71b40548 test/bootstrap: no more symlinking...
...as we can load the module anyways

fixes #13589
2016-12-14 21:43:38 +01:00
Thomas Gelf b9e05be111 IcingaServiceSetTest: add aliases the ZF way...
...and use the correct db adapter, fixes broken tests
2016-11-30 09:19:30 +01:00