Commit Graph

19 Commits (42d1d18d8f95cbf5afaae3f187a1455071d91622)

Author SHA1 Message Date
Chris Veilleux 5122dc96d0 moved JWT creation logic to shared package for re-usability 2018-09-26 22:36:44 -05:00
Chris Veilleux 2cb8bf3083 the config attribute of the base class cannot be set until instantiation time. 2018-09-26 22:02:23 -05:00
Chris Veilleux eebdf7edf4 minor refactor 2018-09-26 21:58:21 -05:00
Chris Veilleux f299988d21 renamed base class again... i just can't seem to make up my mind! 2018-09-26 16:23:10 -05:00
Chris Veilleux 7c8c7d9f7f renamed the base class to more closely represent the resource object it inherits from 2018-09-26 16:21:47 -05:00
Chris Veilleux fb34f3025e remove the default methods representing the different HTTP verbs. Flask takes care of raising 405 errors, no reason to replicate the logic 2018-09-26 16:19:58 -05:00
Chris Veilleux 3b8fda347c refactored 2018-09-25 22:20:00 -05:00
Chris Veilleux eb2c392f01 changed the exception name AuthenticationError instead of AuthorizationError since this method we are authenticating, not authorizing 2018-09-25 22:15:50 -05:00
Chris Veilleux 7e67073307 added an *args argument to the get method in case arguments are passed in subclasses 2018-09-22 16:44:19 -05:00
Chris Veilleux 722b893c45 refactored response logic and added 405 errors for unsupported methods 2018-09-20 17:17:19 -05:00
Chris Veilleux 16f1cd0286 split the login out from the repository access. 2018-09-12 23:00:42 -05:00
Chris Veilleux 0306638f5f not sure why this changed, but it did 2018-08-24 17:26:47 -05:00
Chris Veilleux d666645662 added missing required packages 2018-08-22 23:24:40 -05:00
Chris Veilleux 895a7e66b1 added the flask-restful package 2018-08-22 23:22:19 -05:00
Chris Veilleux dc36d12d61 Parend Dockerfile for Selene services and APIs 2018-08-22 22:10:43 -05:00
Chris Veilleux 6930166924 Pipfiles to support pipenv 2018-08-22 22:09:58 -05:00
Chris Veilleux a6ff57d891 added setup.py file so that pipenv could install to other local packages 2018-08-22 22:09:28 -05:00
Chris Veilleux 7f87c6a7c0 new selene_util package 2018-08-22 22:05:54 -05:00
Chris Veilleux 250f4b8f6f moved the endpoints into a sub-package to debug an error with uwsgi 2018-08-21 16:18:56 -05:00