Skip to content

Backend resource support for admin interface#425

Merged
martinRenou merged 4 commits into
masterfrom
server-side-admin
May 8, 2017
Merged

Backend resource support for admin interface#425
martinRenou merged 4 commits into
masterfrom
server-side-admin

Conversation

@stefanoborini

Copy link
Copy Markdown
Contributor

Changes to the server side admin webapi to support switch to Vue based interface.

@codecov-io

codecov-io commented May 5, 2017

Copy link
Copy Markdown

Codecov Report

Merging #425 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #425      +/-   ##
=========================================
+ Coverage   95.26%   95.3%   +0.04%     
=========================================
  Files          96      92       -4     
  Lines        4114    4090      -24     
  Branches      254     257       +3     
=========================================
- Hits         3919    3898      -21     
+ Misses        143     141       -2     
+ Partials       52      51       -1
Impacted Files Coverage Δ
remoteappmanager/webapi/admin/container.py 95.12% <100%> (+3.45%) ⬆️
...eappmanager/webapi/admin/tests/test_application.py 100% <100%> (ø) ⬆️
...oteappmanager/webapi/admin/tests/test_container.py 100% <100%> (ø) ⬆️
remoteappmanager/webapi/admin/application.py 100% <100%> (ø) ⬆️
remoteappmanager/webapi/admin/user.py 100% <100%> (ø) ⬆️
remoteappmanager/webapi/admin/tests/test_user.py 100% <100%> (ø) ⬆️
remoteappmanager/tests/utils.py 87.25% <0%> (-5.5%) ⬇️
remoteappmanager/tests/test_application.py
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44753d7...a64240f. Read the comment docs.

@stefanoborini stefanoborini requested a review from martinRenou May 5, 2017 20:29
@gen.coroutine
@authenticated
def items(self, items_response, **kwargs):
db = self.application.db

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can maybe add a docstring

@gen.coroutine
@authenticated
def items(self, items_response, **kwargs):
users = self.application.db.list_users()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@martinRenou martinRenou merged commit ac19521 into master May 8, 2017
@martinRenou martinRenou deleted the server-side-admin branch May 8, 2017 12:35
@stefanoborini stefanoborini changed the title Server side admin Backend resource support for admin interface May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants