Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a clear class hierarchy #2042

Merged
3 commits merged into from
Aug 24, 2021
Merged

Commits on Aug 24, 2021

  1. Implement SQLMixin

    This commit replaces the SQLBot with an SQLMixin, which lets us use
    multiple inheritance with the bots.
    Birger Schacht committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    0396ac9 View commit details
    Browse the repository at this point in the history
  2. Implement a clear class hierarchy

    This commit introduces an ExpertBot class that all expert bots should
    inherit from. To have a central place for storing the four types of bots
    there is now a datatypes module that contains an enum listing the four
    bot types. It can and should be used for more types that are part of the
    IntelMQ codebase.
    Also some output and parser bots were updated to depend on the correct
    bot type.
    Birger Schacht committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    c1ecb89 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe6a02c View commit details
    Browse the repository at this point in the history