mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-20 08:03:53 +08:00
fix: 支持公有云域过滤操作日志
This commit is contained in:
@@ -134,6 +134,7 @@ class ModelAPI(FuncDispatcher):
|
||||
self.run_model("image")
|
||||
self.run_model("cloudid")
|
||||
self.run_model("notify")
|
||||
self.run_model("cloudevent")
|
||||
|
||||
def gen_monitor(self):
|
||||
self.run(pkg=["monitor", "models"], out=["monitor"])
|
||||
@@ -180,6 +181,11 @@ class SwaggerCode(FuncDispatcher):
|
||||
def gen_notify(self):
|
||||
self.run("notify", pkg=["models"], out="notify")
|
||||
|
||||
def gen_cloudevent(self):
|
||||
self.run("cloudevent", pkg=["models"], out="cloudevent")
|
||||
|
||||
|
||||
|
||||
class SwaggerYAML(FuncDispatcher):
|
||||
|
||||
def __init__(self, swagger_dir, out_dir):
|
||||
@@ -212,6 +218,9 @@ class SwaggerYAML(FuncDispatcher):
|
||||
def gen_notify(self):
|
||||
self.run("notify")
|
||||
|
||||
def gen_cloudevent(self):
|
||||
self.run("cloudevent")
|
||||
|
||||
class SwaggerServe(object):
|
||||
|
||||
def __init__(self, output_dir):
|
||||
|
||||
Reference in New Issue
Block a user