Skip to content

Hook up front-end client to server API #188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
pcrespov opened this issue Aug 22, 2018 · 1 comment
Closed
3 tasks done

Hook up front-end client to server API #188

pcrespov opened this issue Aug 22, 2018 · 1 comment
Assignees
Milestone

Comments

@pcrespov
Copy link
Member

pcrespov commented Aug 22, 2018

  • front-end client talks to server via an API defined using openapi
  • opeapi specs are contracts implemented by server and consumed by client
  • front-end uses Store.js to access server api

Minimal:

  • Projects -> webserver.projects
  • Nodes. -> webserver.projects.nodes_handlers. Minimal available. Further implementation in another case
  • Authentication -> webserver.login
@pcrespov pcrespov added this to the Libra milestone Aug 22, 2018
@pcrespov pcrespov mentioned this issue Aug 28, 2018
10 tasks
@pcrespov pcrespov self-assigned this Oct 4, 2018
@pcrespov pcrespov modified the milestones: Libra, Picon Oct 4, 2018
@oetiker oetiker mentioned this issue Oct 9, 2018
4 tasks
@sanderegg sanderegg mentioned this issue Oct 21, 2018
7 tasks
@ghost ghost assigned sanderegg Oct 21, 2018
@pcrespov
Copy link
Member Author

pcrespov commented Nov 1, 2018

@odeimaiz said: the idea is that all fake/mockup data currently in the front-end is actually served by the web-server

@pcrespov pcrespov modified the milestones: Picon, Sagittaron Nov 2, 2018
@pcrespov pcrespov mentioned this issue Nov 2, 2018
pcrespov added a commit that referenced this issue Nov 21, 2018
- splits api/specs/openapi.yaml in multiple files
- rest api for project subsystem in webserver
- implements project subsystem handlers with fake data
- Initial implementation of front-end:
   - created resource factory for projects
   - connected get project list, get specific project
- Minor fix in email subject [case #328]


connected to #239, #304 and #188
pcrespov added a commit that referenced this issue Nov 23, 2018
Implements **users subsystem in webserver**
- implements API to get profile and CRUD to tokens
- updated tokens db tables 
- implements front-end ui for user profile and tokens
- removes pytest-asyncio due to incompatible loops with pytest-aiohttp. Changes the way async fixtures are implemented (they need to depend on the pytest-aiohttp loop). Tests of storage, director and webserver were modified

connected to #239 , closes #239
connected to #188 


* Fixes deprecated function in passlib

* webserver.users subsystem:
  - full crud api
  - all tests pass
  - added setup_users in application
@pcrespov pcrespov mentioned this issue Nov 30, 2018
5 tasks
@ghost ghost removed the review label Dec 19, 2018
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

No branches or pull requests

4 participants