Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zmops-test
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sanshi
zmops-test
Commits
141ee1cf
Commit
141ee1cf
authored
Dec 19, 2019
by
sanshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
最新告警
parent
8b5df667
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
__init__.py
WorkCase/APP/__init__.py
+18
-0
No files found.
WorkCase/APP/__init__.py
View file @
141ee1cf
...
...
@@ -44,7 +44,9 @@ from WorkApi.APP.HostType.hostType_get import HostTypeGet
from
WorkApi.APP.HostType.hostType_list
import
HostTypeList
from
WorkApi.APP.HostType.hostType_tree
import
HostTypeTree
from
WorkApi.APP.HostType.hostType_update
import
HostTypeUpdate
from
WorkApi.APP.LatestWarning.latestWarning_acknowledge_eventid
import
LatestWarningAcknowledgeEventid
from
WorkApi.APP.LatestWarning.latestWarning_get
import
LatestWarningGet
from
WorkApi.APP.LatestWarning.latestWarning_ignore_eventid
import
LatestWarningIgnoreEventid
from
WorkApi.APP.Members.Get.members_get_role
import
MembersGetRole
from
WorkApi.APP.Members.Update.members_update_info
import
MembersUpdateInfo
from
WorkApi.APP.Members.Update.members_update_status
import
MembersUpdateStatus
...
...
@@ -931,3 +933,19 @@ class AppBase(object):
api
.
businessid
=
businessid
api
.
get_response
()
return
api
.
response
@allure.step
(
"调用接口:latestWarning.acknowledge.eventid"
)
def
latestWarning_acknowledge_eventid
(
self
,
token
=
None
,
eventid
=
None
):
api
=
LatestWarningAcknowledgeEventid
(
_host
=
self
.
host
)
api
.
token
=
token
api
.
eventid
=
eventid
api
.
get_response
()
return
api
.
response
@allure.step
(
"调用接口:latestWarning.ignore.eventid"
)
def
latestWarning_ignore_eventid
(
self
,
token
=
None
,
eventid
=
None
):
api
=
LatestWarningIgnoreEventid
(
_host
=
self
.
host
)
api
.
token
=
token
api
.
eventid
=
eventid
api
.
get_response
()
return
api
.
response
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment