benCd / uni-park

uni-park is an open source university parking forecast service, providing university students with predictive models for parking sport analysis.
GNU Affero General Public License v3.0
1 stars 0 forks source link

Make RestService methods static #17

Closed benCd closed 5 years ago

benCd commented 5 years ago

RestService objects could possibly bloat the memory. Thus, executing its methods from a static context makes more sense.

All usage cases have to be refactored, please do so on the master after a large merge.

ClayBullard commented 5 years ago

RestService converted to singleton on 3/3 meeting. Use RestService.service to access RestService methods from now on