Morten Brekkevold (5cc49194) at 06 Jul 13:44
Bump version to 0.1.1
Morten Brekkevold (2098f514) at 06 Jul 13:16
Set first version number 0.1.0
Morten Brekkevold (306ee347) at 06 Jul 13:11
Set first version number 0.1.0
Morten Brekkevold (15275e54) at 19 Oct 09:42
Device events sent from Mist only contain org_ids (long UUID type values), which make no sense to the end user when tagging Argus Incidents.
This MR adds the necessary functionality for looking up orgids using the Mist API, and tagging incidents with the organization names instead.
Time-based caching is used to avoid cascades of API requests during rapid-fire event submissions.
Morten Brekkevold (e262c315) at 19 Oct 09:42
Merge branch 'feature/org-lookup' into 'master'
... and 3 more commits
Device events sent from Mist only contain org_ids (long UUID type values), which make no sense to the end user when tagging Argus Incidents.
This MR adds the necessary functionality for looking up orgids using the Mist API, and tagging incidents with the organization names instead.
Time-based caching is used to avoid cascades of API requests during rapid-fire event submissions.
If mist-argus tags with host, I guess we could have an agent fix things if a kunde has not been registered correctly (leading to None). That is out of scope of course.
If there is no name, None
is returned.
Yes, but the docs are hidden behind a login-wall. The docs for the orgs
endpoint doesn't specify whether the org name is required or optional. But I don't see how it would be useful for admins to register an organization/customer entry and not give it a name.
Hanne Moa (227dc3f2) at 06 Oct 08:06
Store logging config in settings file
If there is no "name", an exception is raised? (Catching this error should probably be logged.)
Do you have docs for the MIST API? Can "name" be missing from the json, or empty/nil?
Device events sent from Mist only contain org_ids (long UUID type values), which make no sense to the end user when tagging Argus Incidents.
This MR adds the necessary functionality for looking up orgids using the Mist API, and tagging incidents with the organization names instead.
Time-based caching is used to avoid cascades of API requests during rapid-fire event submissions.
Morten Brekkevold (15275e54) at 05 Oct 14:15
Tag incident with org name rather than org id
... and 1 more commit
Morten Brekkevold (1bb5d94d) at 04 Oct 15:01
fixup! Log using correct logger!
Morten Brekkevold (dff7f87b) at 04 Oct 14:43
fixup! temporarily cache less time while testing
Morten Brekkevold (3e4a957b) at 01 Oct 10:57
Debug log org name fetch operation