Commits
- Commit:
49e200e1bf5862fe2a396ba4b3fa1646aa09e3ee
- From:
- Oliver Lowe <o@olowe.co>
- Date:
Remove unnecessary parseAPIResponse function
All this did was wrap the usual standard library JSON decode
procedure.
- Commit:
46ca0f68f521c66d60a5d6646a0a15350533c9b8
- From:
- Oliver Lowe <o@olowe.co>
- Date:
Marshal using struct tags rather than a custom map
I was excluding some struct fields so I thought I'd need to do some custom marshalling .
But you don't need to do this as you can use struct tags to optionally exclude things
from being put into JSON. Now there's no longer duplicate code between struct tags and keys in a map when marshalling. Handy!
- 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:
e0c24850440b8bcaa5bf6a49c0dd493fb30e94fb
- From:
- Oliver Lowe <o@olowe.co>
- Date:
Support Icinga2 hostgroups
Tests of hostgroup operations are done in TestFilter
- Commit:
76669f9b1f06b7299f2261667b4b21db38db7cae
- From:
- Oliver Lowe <o@olowe.co>
- Date:
I learned how to do some generic programming
New type "object" is an interface to represent an Icinga2 object.
I added heaps of other stuff! On our way to 1000 lines of code!