Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
publisher is a filter not an app
Browse files Browse the repository at this point in the history
  • Loading branch information
janwijbrand committed Nov 19, 2010
1 parent 26cf41a commit 8f28d33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions grokproject/template/etc/debug.ini.in_tmpl
Expand Up @@ -9,10 +9,9 @@ port = $${:port}
[composite:main]
use = egg:Paste#urlmap
/ = pipeline_grok
/resources = resource_publisher

[pipeline:pipeline_grok]
pipeline = accesslogging evalexception resource_injection grok
pipeline = accesslogging evalexception resource_publisher resource_injection grok

[filter:accesslogging]
use = egg:Paste#translogger
Expand All @@ -24,13 +23,13 @@ use = egg:z3c.evalexception#ajax
use = egg:hurry.resource#inject
publisher_prefix = /resources

[filter:resource_publisher]
use = egg:hurry.resource#publisher

[app:grok]
use = egg:grokcore.startup#debug
exempt-exceptions = zope.security.interfaces.IUnauthorized

[app:resource_publisher]
use = egg:hurry.resource#publisher

# Logging configuration

[loggers]
Expand Down
9 changes: 4 additions & 5 deletions grokproject/template/etc/deploy.ini.in_tmpl
Expand Up @@ -9,10 +9,9 @@ port = $${:port}
[composite:main]
use = egg:Paste#urlmap
/ = pipeline_grok
/resources = resource_publisher

[pipeline:pipeline_grok]
pipeline = gzip resource_injection grok
pipeline = gzip resource_publisher resource_injection grok

[filter:gzip]
use = egg:Paste#gzip
Expand All @@ -21,12 +20,12 @@ use = egg:Paste#gzip
use = egg:hurry.resource#inject
publisher_prefix = /resources

[filter:resource_publisher]
use = egg:hurry.resource#publisher

[app:grok]
use = egg:grokcore.startup

[app:resource_publisher]
use = egg:hurry.resource#publisher

# Logging configuration

[loggers]
Expand Down

0 comments on commit 8f28d33

Please sign in to comment.