Skip to content
Snippets Groups Projects
  1. Oct 18, 2017
  2. Oct 17, 2017
    • Jan Mach's avatar
      Revision of the item CRUDL framework in Hawat. · c65c3126
      Jan Mach authored
      The item manipulation framework (create,read,update,delete,list) was revised, simplified and better documented. All changes were implemented and tested on existing user management pluggable module. (Redmine issue: #3734,#3361)
      c65c3126
  3. Oct 16, 2017
  4. Oct 10, 2017
  5. Oct 09, 2017
    • Jan Mach's avatar
      Fix: Fixed the issue in geoip enrichment plugin. · 0ac86e28
      Jan Mach authored
      There was a following error:
      
      2017-10-08 09:18:02,556 mentat-enricher.py [25191] ERROR: Unable to enrich IDEA message '....20936.1507447072.800174.2051.31886139.idea': 'Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/mentat/daemon/component/enricher.py", line 199, in cbk_event_message_process
          (flag_cont, flag_changed) = plugin.process(daemon, args['idea_id'], args['idea'])
        File "/usr/lib/python3/dist-packages/mentat/plugin/enricher/geoip.py", line 98, in process
          resolved_country_src = sorted(resolved_country_src.keys())
      TypeError: unorderable types: NoneType() < str()'
      
      The enrichment code failed when the lookup was not successfull and no result was found. Subsequent code was written in a way, that it failed on empty data.
      0ac86e28
  6. Oct 05, 2017
  7. Oct 02, 2017
  8. Sep 29, 2017
    • Jan Mach's avatar
      Implemented demonstration whois and geoip lookup functionality in Hawat web user interface. · e9950c3b
      Jan Mach authored
      The lookup results are not styled yet, only proof of concept. (Redmine issue: #3734)
      e9950c3b
    • Jan Mach's avatar
      Improved geoip, whois and storage services to fully use Mentat core configurations. · 6931b441
      Jan Mach authored
      The mentat.geoip, mentat.whois and mentat.storage services were enhanced to fully understand and use Mentat core configurations. The main idea is that the configuration of these services should be centralized for the whole Mentat ecosystem and any module or component, that wishes to use these services should be able to easily obtain correctly configured instance and without the knowledge of the configuration directory schema and syntax. This patch introduces following new concepts:
      
      * Each service has corresponding service manager that is capable of understanding Mentat core configuration tree schema and syntax and quickly provide fully configured service instance.
      * Each service has ability to store reference to fully configured service instance at module level (like a singleton pattern) and any code can get a hold of this reference.
      
      This patch also contains improvements in documentation of all above mentioned modules and also many improvements in unit testing framework, which was used to verify correct functionality. (Redmine issue: #1017,#3361)
      6931b441
  9. Sep 27, 2017
  10. Sep 14, 2017
  11. Sep 11, 2017
Loading