Skip to content

Commit

Permalink
feat: add scope of transaction decorator in all methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMin5 committed Dec 18, 2023
1 parent 876f085 commit 2ffa83d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/spaceone/plugin/service/plugin_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
@mutation_handler
@event_handler
class PluginService(BaseService):
resource = "Plugin"

def __init__(self, metadata):
super().__init__(metadata)
self.supervisor_mgr: SupervisorManager = self.locator.get_manager(
Expand Down
2 changes: 2 additions & 0 deletions src/spaceone/plugin/service/supervisor_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

@event_handler
class SupervisorService(BaseService):
resource = "Supervisor"

def __init__(self, metadata):
super().__init__(metadata)
self._supervisor_mgr: SupervisorManager = self.locator.get_manager(
Expand Down

0 comments on commit 2ffa83d

Please sign in to comment.