sounds good. i'll wait until that's done then.
we might want to consider making the enable/disable flags part of the
runtime config rather than the static config. it is sometimes tough to
decide where certain properties should go, but these are my thoughts ..
1. we should always try and make things configurable at runtime.
2. if a property cannot easily change at runtime then it goes in the
static roller.properties config. e.g. enable/disable planet features,
or choosing roller impl.
3. if a certain property could be different per machine in a cluster,
then it should be in the static roller.properties. runtime properties
affect all running instances in a cluster. e.g. filesystem paths like
the uploads directory.
so i think the default should be to try and make properties configurable
at runtime since that makes them a little easier to modify. we then
just need to decide what properties really can't be changed at runtime
and those are the static properties.
-- Allen
David M Johnson wrote:
Thanks Allen.
Note that I haven't added in the disable flags and I haven't integrated
Jeff's latest patch. I'm working on those now.
- Dave
On Mar 28, 2006, at 12:04 PM, Allen Gilliland wrote:
I would actually like a chance to review these things first, since I
have not kept up with them so far. I will do that today and give my
vote a little later.
-- Allen
David M Johnson wrote:
Anybody opposed to this small re-org / refactoring?
It's late in the release cycle, but this is a change that is safe and
has no impact on existing Roller features. The change will make my
life easier because I won't have to maintain a separate custom
directory for Atom protocol and Admin protocol work.
Here's what I'd like to do today:
1) Move Atom protocol implementation under package
org.roller.webservices.atomprotocol. Add a boolean startup property
(in roller.properties) to enable/disable it, default value is false.
2) Move Roller admin protocol implementation under package
org.roller.webservices.adminprotocol. Add a boolean startup property
(in roller.properties) to enable/disable, default value is false.
In case your wondering, here's some background:
* Atom protocol is a new IETF web services protocol for web
publishing, it does the same things as MetaWeblog API and more. The
spec is still under development and will be final this summer (I
hope). The Roller implementation supports the latest draft of the
spec (draft 8):
http://bitworking.org/projects/atom/draft-ietf-atompub-protocol-08.html
* Admin protocol is a new REST based web services protocol for
managing Roller users and blogs created by Jeff Blattman of Sun for
Roller-Portal integration. It is based on Atom protocol and may
someday be replaced by an IETF standard, but since admin features
have been dropped from the current IETF Atom effort that may not
happen for a long time, Here's Jeff's original proposal:
http://rollerweblogger.org/wiki/Wiki.jsp?page=Proposal_AAPP
- Dave