Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Boxiang Sun
slapos.core
Commits
22f7c7de
Commit
22f7c7de
authored
Aug 30, 2019
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos/hateoas: Remove useless and used part of the API
parent
92a59dd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
slapos/slap/hateoas.py
slapos/slap/hateoas.py
+0
-10
No files found.
slapos/slap/hateoas.py
View file @
22f7c7de
...
@@ -450,16 +450,6 @@ class SlapHateoasNavigator(HateoasNavigator):
...
@@ -450,16 +450,6 @@ class SlapHateoasNavigator(HateoasNavigator):
return
result
[
'data'
][
'rows'
]
return
result
[
'data'
][
'rows'
]
def
_getRelatedHostingSubscriptionUrl
(
self
,
instance_url
):
instance
=
self
.
jio_get
(
instance_url
)
return
instance
[
"specialise_title"
]
def
getRelatedInstanceInformation
(
self
,
instance_url
,
title
):
related_hosting_subscription_title
=
self
.
_getRelatedHostingSubscription
(
instance_url
)
instance_list
=
self
.
getHostingSubscriptionInstanceList
(
related_hosting_subscription_title
,
instance_title
)
return
self
.
jio_get
(
instance_url
)
def
getInstanceNews
(
self
,
url
):
def
getInstanceNews
(
self
,
url
):
return
self
.
jio_get
(
url
)[
'news'
]
return
self
.
jio_get
(
url
)[
'news'
]
...
...
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