cloudoperators / heureka

Security and compliance management
Apache License 2.0
3 stars 1 forks source link

feat(matches): Implement Service Issue-Repository Matches #209

Closed dorneanu closed 1 month ago

dorneanu commented 1 month ago

Description

This PR implements #188.

1) The EventRegistry has been changed to use an EventHandler (interface) and EventHandlerFunc (as in net/http). This way we can still On<event name> functions as handlers whenever an event occurs.

2) We added extra logic whenever a new entity is created

What type of PR is this? (check all applicable)

Related Tickets & Documents

Added tests?

Added tests in

Added to documentation?

Checklist

MR2011 commented 1 month ago

The default repository name should also be defined in an environment variable