Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E41D8DD7D for ; Wed, 1 Aug 2012 18:52:12 +0000 (UTC) Received: (qmail 37912 invoked by uid 500); 1 Aug 2012 18:52:12 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 37875 invoked by uid 500); 1 Aug 2012 18:52:12 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 37858 invoked by uid 99); 1 Aug 2012 18:52:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 18:52:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 18:52:11 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1576023888FD; Wed, 1 Aug 2012 18:51:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1368192 - in /sling/trunk/contrib/extensions/mongodb/src/main: java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java resources/OSGI-INF/metatype/metatype.properties Date: Wed, 01 Aug 2012 18:51:27 -0000 To: commits@sling.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120801185128.1576023888FD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cziegeler Date: Wed Aug 1 18:51:27 2012 New Revision: 1368192 URL: http://svn.apache.org/viewvc?rev=1368192&view=rev Log: New MongoDB resource provider Modified: sling/trunk/contrib/extensions/mongodb/src/main/java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java sling/trunk/contrib/extensions/mongodb/src/main/resources/OSGI-INF/metatype/metatype.properties Modified: sling/trunk/contrib/extensions/mongodb/src/main/java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/mongodb/src/main/java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java?rev=1368192&r1=1368191&r2=1368192&view=diff ============================================================================== --- sling/trunk/contrib/extensions/mongodb/src/main/java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java (original) +++ sling/trunk/contrib/extensions/mongodb/src/main/java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java Wed Aug 1 18:51:27 2012 @@ -214,6 +214,9 @@ public class MongoDBResourceProvider imp return null; } + /** + * Inform about changes of a resource. + */ public void changed(final MongoDBResource resource) { this.deletedResources.remove(resource.getPath()); this.changedResources.put(resource.getPath(), resource); Modified: sling/trunk/contrib/extensions/mongodb/src/main/resources/OSGI-INF/metatype/metatype.properties URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/mongodb/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=1368192&r1=1368191&r2=1368192&view=diff ============================================================================== --- sling/trunk/contrib/extensions/mongodb/src/main/resources/OSGI-INF/metatype/metatype.properties (original) +++ sling/trunk/contrib/extensions/mongodb/src/main/resources/OSGI-INF/metatype/metatype.properties Wed Aug 1 18:51:27 2012 @@ -21,7 +21,7 @@ # # This file contains localization strings for configuration labels and # descriptions as used in the metatype.xml descriptor generated by the -# the SCR plugin +# the Apache Felix SCR plugin # # Localizations for FsResourceProvider configuration @@ -32,6 +32,7 @@ factory.description = Configure an insta provider.roots.name = Provider Root provider.roots.description = Location in the virtual resource tree where the \ resources are mapped in. This property must not be an empty string. + host.name = MongoDB Host host.description = The host to connect to. @@ -40,3 +41,6 @@ port.description = The port to connect t db.name MongoDB Database db.description = The database to use. + +filter.collections.name = Filter Collections +filter.collections.description = These collections are not available as resources. \ No newline at end of file