gecko/services
Gregory Szorc 58bcd2801d Bug 787273 - Part 2: Refactor Resource and Record to not rely on singletons; r=rnewman
Resource currently relies on the Identity singleton to perform
authentication. This is bad magic behavior. Resource instances should
authenticate according to the service instance they are associated with.

This patch removes Identity magic from Resource. Everything using
Resource now explicitly assigns an authenticator which comes from
the service instance/singleton. This required API changes to Collection
and Record.

The preferred method to obtain a Resource instance is to call
getResource() on a service instance.

The end result of this patch looks a little weird, especially in test
code. You have things like Service.resource(Service.cryptoKeysURL).
This ugliness will go away when a unified storage service client is
used.
2012-09-14 16:02:32 -07:00
..
aitc Bug 781307 - Remove rules from services/ Makefile.in's; r=glandium 2012-08-09 13:12:29 -07:00
common Bug 790397: set deleted = false for each record stored via PUT or POST. 2012-09-11 17:22:21 -07:00
crypto Bug 781307 - Remove rules from services/ Makefile.in's; r=glandium 2012-08-09 13:12:29 -07:00
notifications Bug 781307 - Remove rules from services/ Makefile.in's; r=glandium 2012-08-09 13:12:29 -07:00
sync Bug 787273 - Part 2: Refactor Resource and Record to not rely on singletons; r=rnewman 2012-09-14 16:02:32 -07:00
Makefile.in Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
makefiles.sh Bug 765294 - Fix packaging of services components; r=ted 2012-06-22 09:27:01 -07:00