Interface out all action log data model operations
This will allow us to reimplement the logs data model against a non-database system in the near future
This commit is contained in:
parent
a156c91962
commit
b773a18ed8
26 changed files with 714 additions and 902 deletions
|
@ -38,10 +38,6 @@ class PreOCIModel(KeyServerDataInterface):
|
|||
except data.model.ServiceKeyDoesNotExist:
|
||||
raise ServiceKeyDoesNotExist()
|
||||
|
||||
def log_action(self, action_name, ip, metadata_dict=None):
|
||||
metadata_dict = {} if metadata_dict is None else metadata_dict
|
||||
data.model.log.log_action(action_name, None, metadata=metadata_dict, ip=ip)
|
||||
|
||||
|
||||
pre_oci_model = PreOCIModel()
|
||||
|
||||
|
|
Reference in a new issue