Commit Graph

69 Commits

Author SHA1 Message Date
Thomas Gelf 8216daa3af Core: give empty list on 404, remove obsolete...
...view scripts
2017-07-14 13:21:42 +02:00
Thomas Gelf cde328eeed CoreApi: add checkServiceAndWaitForResult()
Will be moved to icingadb soon, committing this to clean up my stash
2017-07-14 13:21:42 +02:00
Thomas Gelf 8b98113e83 CoreApi: just comments 2017-03-13 22:08:43 +01:00
Thomas Gelf a3249350c2 CoreApi: remove space for compliance 2017-02-02 12:34:00 +01:00
Thomas Gelf aa0c04d5e7 CoreApi: add a couple of helper methods 2017-01-31 10:03:58 +01:00
Thomas Gelf e1b420d4c4 CoreApi: allow to stream raw events
fixes #744
2017-01-24 11:14:12 +01:00
Thomas Gelf 5c158e708e RestApiClient: re-add lost method 2017-01-19 22:49:51 +01:00
Thomas Gelf b7a10d296c phpcs: mostly new PSR-2 SpacingAfter/Before checks 2017-01-13 20:54:52 +01:00
Thomas Gelf 9e771f2d5a Fix phpcs complaints 2017-01-13 19:47:54 +01:00
Markus Frosch f6a5c8cbc5 LegacyDeploymentApi: Expire old stages that haven't got activated
For about an hour.

refs #13049
2016-11-04 16:56:52 +01:00
Markus Frosch a3d69c4f4c LegacyDeploymentApi: Call activation tool to deploy a new stage
refs #13049
2016-11-04 16:40:22 +01:00
Markus Frosch 660f41f94d LegacyDeploymentApi: Call activation tool to deploy a new stage
refs #13049
2016-11-04 16:38:08 +01:00
Markus Frosch 7fc0da6e21 LegacyDeploymentApi: Add deployment Api for Icinga 1.x
refs #13049
2016-11-04 16:12:33 +01:00
Markus Frosch 1786d08321 CoreApi: Use DeploymentApiInterface
refs #13049
2016-11-04 14:13:07 +01:00
Thomas Gelf e410beb935 CoreApi: skip incomplete stages
fixes #13028
2016-11-02 11:06:15 +01:00
Thomas Gelf ee0def7d2b Lots of files: make IDE users happy 2016-11-01 18:28:36 +01:00
Thomas Gelf cbf1a30a26 Kickstart: import notification commands
fixes #12028
2016-10-30 12:35:12 +00:00
Thomas Gelf b8b047a1e4 ImportSourceCoreApi: allow to import user groups
fixes #11511
2016-08-24 14:15:40 +00:00
Thomas Gelf f6c1a9f0f7 CoreApi: shorten startup log
Everything more than 60k is absolutely insane

fixes #12231
2016-07-26 13:14:14 +02:00
Thomas Gelf dc7f9ac039 CoreApi: add getActiveChecksum helper method 2016-03-31 19:24:28 +02:00
Thomas Gelf bc6bac9a62 ImportSourceCoreApi: add hostgroup support
refs #11451
2016-03-27 16:58:04 +02:00
Thomas Gelf 07bb68b1d2 CoreApi: remove soperfluous newlines 2016-03-21 10:07:41 +01:00
Thomas Gelf a6be710379 config/deploy(ments): re-enable stage wiping 2016-03-20 18:50:18 +01:00
Thomas Gelf d27c8a9948 CoreApi: do not wipe uncollected stages 2016-03-20 18:45:38 +01:00
Thomas Gelf f10ee539c8 RestApiResponse: throw error on error result 2016-03-18 13:49:42 +01:00
Thomas Gelf b513b40d4e ImportSourceCoreApi: allow to import user objects
fixes #11334
2016-03-17 15:31:14 +01:00
Thomas Gelf 5296616c41 CoreApi: add runtime object creation sample 2016-03-17 01:08:34 +01:00
Thomas Gelf f0d3364bcf CoreApi: add more interactive check helpers 2016-03-17 01:07:55 +01:00
Thomas Gelf 95cb1498bc RestApiResponse: response code handling 2016-03-17 01:07:04 +01:00
Thomas Gelf 228f72db91 cli/core: provide a CLI action for helper methods 2016-03-16 23:43:27 +01:00
Thomas Gelf 404c1a7164 CoreApi: add helper functions for on-demand checks 2016-03-16 23:34:12 +01:00
Thomas Gelf f3ce5fab21 CoreApi: no special treatment for imports 2016-03-07 02:09:54 +01:00
Thomas Gelf a1b7cd216b RestApiClient: catch 401 errors
fixes #11286
2016-03-06 21:43:32 +01:00
Thomas Gelf 218e67527b RestApiClient: fail without curl
fixes #10929
2016-03-06 21:12:59 +01:00
Thomas Gelf 5268db6a61 ImportSourceCoreApi: fix host properties
refs #11315
2016-03-05 18:05:44 +01:00
Thomas Gelf b16ccc441a CoreApi: store activity checksum on deployment 2016-02-27 21:33:23 +01:00
Thomas Gelf 4bc5afb2f8 library/Director: fix PSR2 complaints 2016-02-26 11:58:37 +01:00
Thomas Gelf 2d265caf95 RestApiClient: wait max 3sec for connection 2016-02-26 08:18:07 +01:00
Thomas Gelf d709ebc05f CoreApi: new getTicketSalt() method 2016-02-05 16:29:53 +01:00
Thomas Gelf e4f0f97d4f CoreApi: clean up the streaming prototype 2016-02-01 15:23:30 +01:00
Thomas Gelf c6c8b75c74 RestApiResponse: give a helpful hint on JSON errors 2016-02-01 14:57:34 +01:00
Thomas Gelf 41d9179389 CoreApi: testing streams 2016-01-19 18:01:21 +01:00
Thomas Gelf 998402e4f4 RestApiClient: fix auth headers for curl 2015-12-23 17:28:17 +01:00
Thomas Gelf 89971486f7 RestApiClient: use curl on PHP 5.3 2015-12-23 17:12:53 +01:00
Thomas Gelf a9f2bd8f97 CoreApi: return only single element for getObject 2015-12-17 10:33:11 +01:00
Thomas Gelf 7fe6eb2528 CoreApi: fetch host objects 2015-12-15 19:00:27 +01:00
Thomas Gelf ce772dd085 CoreApi: fetch endpoint objects with zones 2015-12-15 19:00:11 +01:00
Thomas Gelf 0c68677fa5 Zone: rename parent_zone to parent 2015-12-15 15:13:25 +01:00
Thomas Gelf a362ef4e42 CoreApi: indentation 2015-12-15 14:48:04 +01:00
Thomas Gelf f486fee03d CoreApi: fix parent zone property 2015-12-15 14:47:43 +01:00