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
Iliya Manolov
slapos.toolbox
Commits
f101fa60
Commit
f101fa60
authored
Aug 23, 2013
by
Cédric de Saint Martin
Committed by
Cédric Le Ninivin
Sep 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: allow profile/instance to be run by GET.
No reason we use POST here.
parent
4c95b730
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/runner/views.py
slapos/runner/views.py
+2
-2
No files found.
slapos/runner/views.py
View file @
f101fa60
...
@@ -703,7 +703,7 @@ app.add_url_rule('/editSoftwareProfile', 'editSoftwareProfile',
...
@@ -703,7 +703,7 @@ app.add_url_rule('/editSoftwareProfile', 'editSoftwareProfile',
app
.
add_url_rule
(
'/inspectSoftware'
,
'inspectSoftware'
,
inspectSoftware
)
app
.
add_url_rule
(
'/inspectSoftware'
,
'inspectSoftware'
,
inspectSoftware
)
app
.
add_url_rule
(
'/removeSoftware'
,
'removeSoftware'
,
removeSoftware
)
app
.
add_url_rule
(
'/removeSoftware'
,
'removeSoftware'
,
removeSoftware
)
app
.
add_url_rule
(
'/runSoftwareProfile'
,
'runSoftwareProfile'
,
app
.
add_url_rule
(
'/runSoftwareProfile'
,
'runSoftwareProfile'
,
runSoftwareProfile
,
methods
=
[
'POST'
])
runSoftwareProfile
,
methods
=
[
'
GET'
,
'
POST'
])
app
.
add_url_rule
(
'/viewSoftwareLog'
,
'viewSoftwareLog'
,
app
.
add_url_rule
(
'/viewSoftwareLog'
,
'viewSoftwareLog'
,
viewSoftwareLog
,
methods
=
[
'GET'
])
viewSoftwareLog
,
methods
=
[
'GET'
])
app
.
add_url_rule
(
'/editInstanceProfile'
,
'editInstanceProfile'
,
app
.
add_url_rule
(
'/editInstanceProfile'
,
'editInstanceProfile'
,
...
@@ -713,7 +713,7 @@ app.add_url_rule('/inspectInstance', 'inspectInstance',
...
@@ -713,7 +713,7 @@ app.add_url_rule('/inspectInstance', 'inspectInstance',
app
.
add_url_rule
(
'/supervisordStatus'
,
'supervisordStatus'
,
app
.
add_url_rule
(
'/supervisordStatus'
,
'supervisordStatus'
,
supervisordStatus
,
methods
=
[
'GET'
])
supervisordStatus
,
methods
=
[
'GET'
])
app
.
add_url_rule
(
'/runInstanceProfile'
,
'runInstanceProfile'
,
app
.
add_url_rule
(
'/runInstanceProfile'
,
'runInstanceProfile'
,
runInstanceProfile
,
methods
=
[
'POST'
])
runInstanceProfile
,
methods
=
[
'
GET'
,
'
POST'
])
app
.
add_url_rule
(
'/removeInstance'
,
'removeInstance'
,
removeInstance
)
app
.
add_url_rule
(
'/removeInstance'
,
'removeInstance'
,
removeInstance
)
app
.
add_url_rule
(
'/viewInstanceLog'
,
'viewInstanceLog'
,
app
.
add_url_rule
(
'/viewInstanceLog'
,
'viewInstanceLog'
,
viewInstanceLog
,
methods
=
[
'GET'
])
viewInstanceLog
,
methods
=
[
'GET'
])
...
...
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