Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lu Xu
slapos.toolbox
Commits
7e872d28
Commit
7e872d28
authored
Jan 27, 2012
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add logList function on wordpress agent.
parent
46c64ae5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
slapos/wordpress/ia/http/__init__.py
slapos/wordpress/ia/http/__init__.py
+11
-0
No files found.
slapos/wordpress/ia/http/__init__.py
View file @
7e872d28
...
@@ -355,6 +355,17 @@ def get_id():
...
@@ -355,6 +355,17 @@ def get_id():
return
response
return
response
@
app
.
route
(
'/logList'
)
def
log_list
():
session
=
Session
()
response
=
make_response
(
json
.
dumps
(
[
c
.
title
for
c
in
session
.
query
(
Component
.
title
).
all
()]
))
response
.
headers
[
'Content-Type'
]
=
'application/json'
return
response
def
main
():
def
main
():
global
app
global
app
...
...
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