Commits
- Commit:
562d5c1eb8a76a65d49d14b36edefb846f747494- From:
- Oliver Lowe <o@olowe.co>
- Date:
Store acknowledgement status of hosts, services
- Commit:
1646fdebffc4c9069b824f65f8639120c224f312- From:
- Oliver Lowe <o@olowe.co>
- Date:
Actually return permissions grante to the client
Before we were just returning an empty response or something
non-meaningful
- Commit:
cb9dde9996675a4d56608eab8b57109da8484c29- From:
- Oliver Lowe <o@olowe.co>
- Date:
Let users schedule their own checks
- Commit:
dd1562c064ef82c610805dfd8cdaca5af54f6d22- From:
- Oliver Lowe <o@olowe.co>
- Date:
Always format generated code
While here document what is needed to actually run go generate.
- Commit:
f5fde32e94d77a44e85a28f9263531b34fdf7c8b- From:
- Oliver Lowe <o@olowe.co>
- Date:
Handle last check result of services
Includes a test to know that we're handling the JSON properly.
- Commit:
7cb145ba970416743d12a36bb0a4df59264203da- From:
- Oliver Lowe <o@olowe.co>
- Date:
Implement checker interface for HostGroup
This also adds a test for checking all hosts in a HostGroup.
- Commit:
dd0af5f789c1bac0444c33fcc4434922be48d1e7- From:
- Oliver Lowe <o@olowe.co>
- Date:
Correctly marshal Hosts into JSON
We were missing some attributes, like not adding any groups or display
names. This also adds a test which checks whether we are marshalling
hosts into JSON correctly.
- Commit:
e2cace7fed7b46be01306cd0b4e94093b0bdcec2- From:
- Oliver Lowe <o@olowe.co>
- Date:
Document checker Check() methods
- Commit:
02a1a10065dd3be4f89f30756adc670b1a8ab468- From:
- Oliver Lowe <o@olowe.co>
- Date:
Support cascading delete of objects
- Commit:
da19a2fd0fbbf44bc5495e68c7f24103d025b3b6- From:
- Oliver Lowe <o@olowe.co>
- Date:
Store host state type
- Commit:
191337d0c3d59aa9a990eb5192664d5c5079f187- From:
- Oliver Lowe <o@olowe.co>
- Date:
Add checking of services and hosts
And also add a icinga_test package that does the black-box tests
i.e. tests which speak to a real icinga server.
- Commit:
e6fcfaf5b395db10ed791a73814b9e002be4a980- From:
- Oliver Lowe <o@olowe.co>
- Date:
Set accurate crud.go header comment
getopt(1) clears the value of "$@", so grab it before it's cleared
- Commit:
5105405ecc4e2ca95d7a7bab841b3de1520fc852- From:
- Oliver Lowe <o@olowe.co>
- Date:
deduplicate new test client code
This adds a newTestClient option so that we aren't constantly creating
new http transports clients and all that
- Commit:
e0c24850440b8bcaa5bf6a49c0dd493fb30e94fb- From:
- Oliver Lowe <o@olowe.co>
- Date:
Support Icinga2 hostgroups
Tests of hostgroup operations are done in TestFilter
- Commit:
7aa5b0553214edbb1a6e71187215972e1e4877c6- From:
- Oliver Lowe <o@olowe.co>
- Date:
doc: Keep the getting started tutorial in 1 place
- Commit:
2ad5e459c8480946f8762ea1617512d6bfd489bf- From:
- Oliver Lowe <o@olowe.co>
- Date:
Clearer contribution details in README
- Commit:
b06b25c58a0ebeaf58a44f28f1422b842144e507- From:
- Oliver Lowe <o@olowe.co>
- Date:
Remove unused attrs() method
It was required to satisfty the object interface but the interface
changed because it wasn't used anywhere.
- Commit:
6c70362050af3bf13a06cde4ed47aa49064b1813- From:
- Oliver Lowe <o@olowe.co>
- Date:
doc: correct doc comment about type
- Commit:
26fb88e9ebc4192da36411de66032158b424369d- From:
- Oliver Lowe <o@olowe.co>
- Date:
Generate CRUD code using go generate
Explanation for use is in the README
- Commit:
82fc97ff8eb537c28bce19af5ffb697773bd200c- From:
- Oliver Lowe <o@olowe.co>
- Date:
Merge Hosts and FilterHosts
Getting all Hosts is the same as calling FilterHosts with an empty
filter anyway.
- Commit:
6d1ce85e966615f3886d8a2431b3e859d3008db6- From:
- Oliver Lowe <o@olowe.co>
- Date:
Merge get and getFilter methods
Doing a GET without a query is the same as doing a GET with
an empty query, so there's no point having 2 separate methods.
- Commit:
60c115fb1c7683cea9553380eddaeb0033dd17bf- From:
- Oliver Lowe <o@olowe.co>
- Date:
Merge filter and all objects methods
Getting all objects is the same as getting objects with a zero filter.
- Commit:
fc8956331f70b23ffe89c8307de77bbc0ecccb39- From:
- Oliver Lowe <o@olowe.co>
- Date:
Deduplicate case conditions
Encoding a Host, Service and User as JSON is the same so
there's no point having different statements.
- Commit:
730f973b47017c91cc9487391554c7ecc861dfc8- From:
- Oliver Lowe <o@olowe.co>
- Date:
Add test for getting objects with a filter
- Commit:
ae81184d0c6aa8be7d10adac10e675d9096a3a3b- From:
- Oliver Lowe <o@olowe.co>
- Date:
Add tests for user management
