Metadata
- Source
- DECA-222
- Type
- Task
- Priority
- Critical
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Justin Obara
- Created
2012-01-18T12:00:46.005-0500 - Updated
2012-05-18T14:18:27.830-0400 - Versions
- N/A
- Fixed Versions
-
- 0.5
- Component
- N/A
Description
resourcesource.py should be refactored. Currently it needs to be used by every controller and may have too much knowledge about the state of operations.
Comments
-
Justin Obara commented
2012-01-20T10:51:25.349-0500 can possibly look at using cherrypy.url
http://docs.cherrypy.org/stable/refman/cherrypy.html?highlight=cherrypy.url#cherrypy.url
http://tools.cherrypy.org/wiki/RoutesUrlGeneration -
Justin Obara commented
2012-01-30T12:15:22.664-0500 I've refactored resouresource.py by making use of the cherrypy.url function and looking into cherrypy's request object's config. The unit tests were updated too and should all be running after these changes.
The work is currently in my bitbucket repo.
https://bitbucket.org/jobara/decapod-server-rest -
Justin Obara commented
2012-05-18T14:18:24.295-0400 Merged into the project repo