Return-Path: Delivered-To: apmail-incubator-connectors-commits-archive@minotaur.apache.org Received: (qmail 40528 invoked from network); 13 Nov 2010 09:09:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Nov 2010 09:09:20 -0000 Received: (qmail 77008 invoked by uid 500); 13 Nov 2010 09:09:52 -0000 Delivered-To: apmail-incubator-connectors-commits-archive@incubator.apache.org Received: (qmail 76963 invoked by uid 500); 13 Nov 2010 09:09:51 -0000 Mailing-List: contact connectors-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-commits@incubator.apache.org Received: (qmail 76949 invoked by uid 99); 13 Nov 2010 09:09:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Nov 2010 09:09:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Sat, 13 Nov 2010 09:09:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 951FB23889E7; Sat, 13 Nov 2010 09:08:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1034705 [2/2] - in /incubator/lcf/site: publish/ src/documentation/content/xdocs/ Date: Sat, 13 Nov 2010 09:08:31 -0000 To: connectors-commits@incubator.apache.org From: kwright@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101113090832.951FB23889E7@eris.apache.org> Added: incubator/lcf/site/publish/writing-repository-connectors.html URL: http://svn.apache.org/viewvc/incubator/lcf/site/publish/writing-repository-connectors.html?rev=1034705&view=auto ============================================================================== --- incubator/lcf/site/publish/writing-repository-connectors.html (added) +++ incubator/lcf/site/publish/writing-repository-connectors.html Sat Nov 13 09:08:30 2010 @@ -0,0 +1,528 @@ + + + + + + + +Writing repository connectors + + + + + + + + + +
+ +
+Apache +
+ +
+ + + + + + + + + + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+ +

Writing repository connectors

+ + + +

Writing repository connectors

+
+

+

A repository connector furnishes the mechanism for obtaining documents, metadata, and authority tokens from a repository. The documents are expected to be handed to an output connector (described elsewhere) for ingestion into some other back-end repository.

+

+

As is the case with all connectors under the ManifoldCF umbrella, an output connector consists of only one part:

+

+
    + +
  • A class implementing an interface (in this case, org.apache.manifoldcf.crawler.interfaces.IRepositoryConnector)
  • + +
+

+ +

Key concepts

+

+

The repository connector abstraction makes use of, or introduces, the following concepts:

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ConceptWhat it is
Configuration parametersA hierarchical structure, internally represented as an XML document, which describes a specific configuration of a specific repository connector, i.e. how the connector should do its job; see org.apache.manifoldcf.core.interfaces.ConfigParams
Repository connectionA repository connector instance that has been furnished with configuration data
Document identifierAn arbitrary identifier, whose meaning determined only within the context of a specific repository connector, which the connector uses to describe a document within a repository
Document URIThe unique URI (or, in some cases, file IRI) of a document, which is meant to be displayed in search engine results as the link to the document
Repository documentAn object that describes a document's contents, including raw document data (as a stream), metadata (as either strings or streams), and access tokens; see org.apache.manifoldcf.agents.interfaces.RepositoryDocument
Access tokenA string, which is only meaningful in the context of a specific authority, that describes a quantum of authorization for a user
Connection management/threading/pooling modelHow an individual repository connector class instance is managed and used
Activity infrastructureThe framework API provided to specific methods allowing those methods to perform specific actions within the framework, e.g. recording the activity history; see org.apache.manifoldcf.crawler.interfaces.IVersionActivity, and org.apache.manifoldcf.crawler.interfaces.IProcessActivity, and org.apache.manifoldcf.crawler.interfaces.ISeedingActivity
Document specificationA hierarchical structure, internally represented as an XML document, which describes what a specific repository connector should do in the context of a specific job; see org.apache.manifoldcf.crawler.interfaces.DocumentSpecification
Document version stringA simple string, used for comparison purposes, that allows ManifoldCF to figure out if a fetch or ingestion operation needs to be repeated as a result of changes to the document specification in effect for a document, or because of changes to the document itself
Service interruptionA specific kind of exception that signals ManifoldCF that the output repository is unavailable, and gives a best estimate of when it might become available again; see org.apache.manifoldcf.agents.interfaces.ServiceInterruption
+

+ +

Implementing the Repository Connector class

+

+

A very good place to start is to read the javadoc for the repository connector interface. You will note that the javadoc describes the usage and pooling model for a connector class pretty thoroughly. It is very important to understand the model thoroughly in order to write reliable connectors! Use of static variables, for one thing, must be done in a very careful way, to avoid issues that would be hard to detect with a cursory test.

+

+

The second thing to do is to examine some of the provided repository connector implementations. There are a wide variety of connectors include with ManifoldCF that exercise just about every aspect of the repository connector interface. These are:

+

+
    + +
  • Documentum (uses RMI to segregate native code, etc.)
  • + +
  • FileNet (also uses RMI, but because it is picky about its open-source jar versions)
  • + +
  • File system (a good, but simple, example)
  • + +
  • LiveLink (demonstrates use of local keystore infrastructure)
  • + +
  • Meridio (local keystore, web services, result sets)
  • + +
  • SharePoint (local keystore, web services)
  • + +
  • RSS (local keystore, binning)
  • + +
  • Web (local database schema, local keystore, binning, events and prerequisites, cache management)
  • + +
+

+

You will also note that all of these connectors extend a framework-provided repository connector base class, found at org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector. This base class furnishes some basic bookkeeping logic for managing the connector pool, as well as default implementations of some of the less typical functionality a connector may have. For example, connectors are allowed to have database tables of their own, which are instantiated when the connector is registered, and are torn down when the connector is removed. This is, however, not very typical, and the base implementation reflects that.

+

+ +

Principle methods

+

+

The principle methods an implementer should be concerned with for creating a repository connector are the following:

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodWhat it should do
addSeedDocuments()Use the supplied document specification to come up with an initial set of document identifiers
getDocumentVersions()Come up with a version string for each of the documents described by the supplied set of document identifiers, or signal if the document is no longer present
processDocuments()Take the appropriate action (e.g. ingest, or extract references from, or whatever) for a given set of documents described by document identifier and version string
outputConfigurationHeader()Output the head-section part of a repository connection ConfigParams editing page
outputConfigurationBody()Output the body-section part of a repository connection ConfigParams editing page
processConfigurationPost()Receive and process form data from a repository connection ConfigParams editing page
viewConfiguration()Output the viewing HTML for a repository connection ConfigParams object
outputSpecificationHeader()Output the head-section part of an DocumentSpecification editing page
outputSpecificationBody()Output the body-section part of an DocumentSpecification editing page
processSpecificationPost()Receive and process form data from an DocumentSpecification editing page
viewSpecification()Output the viewing page for an DocumentSpecification object
+

+

These methods come in three broad classes: (a) functional methods for doing the work of the connector; (b) UI methods for configuring a connection; and (c) UI methods for editing the document specification for a job. Together they do the heavy lifting of your connector. But before you can write any code at all, you need to plan things out a bit.

+

+ +

Model

+

+

Each connector must declare a specific model which it adheres to. These models basically describe what the addSeedDocuments() method actually does, and are described below.

+

+ + + + + + + + + + + + + + + + + + + + + + +
ModelDescription
MODEL_ADDThe addSeedDocuments() method supplies at least all the matching documents that have been added to the repository, within the specified time interval
MODEL_ADD_CHANGEThe addSeedDocuments() method supplies at least those matching documents that have been added or changed in the repository, within the specified time interval
MODEL_ADD_CHANGE_DELETEThe addSeedDocuments() method supplies at least those matching documents that have been added, changed, or removed in the repository, within the specified time interval
MODEL_PARTIALThe addSeedDocuments() does not return a complete list of documents that match the criteria and time interval, because some of those documents are no longer discoverable
+

+

Note that the choice of model is actually much more subtle than the above description might indicate. It may, for one thing, be affected by characteristics of the repository, such as whether the repository considers a document to have been changed if its security information was changed. This would mean that, even though most document changes are picked up and thus one might be tempted to declare the connector to be MODEL_ADD_CHANGE, the correct choice would in fact be MODEL_ADD.

+

+

Another subtle point is what documents the connector is actually supposed to return by means of the addSeedDocuments() method. The start time and end time parameters handed to the method do not have to be strictly adhered to, for instance; it is always okay to return more documents. It is never okay for the connector to return fewer documents than were requested, on the other hand.

+

+ +

Choosing a document identifier format

+

+

In order to decide on the format for a document identifier, you need to understand what this identifier is used for, and what it represents. A document identifier usually corresponds to some entity within the source repository, such as a document or a folder. Note that there is no requirement that the identifier represent indexable content.

+

+

The document identifier must be capable of furnishing enough information to:

+

+
    + +
  • Calculate a version string for the document
  • + +
  • Find child references for the document
  • + +
  • Get the document's content, metadata, and access tokens
  • + +
+

+

We highly recommend that no additional information be included in the document identifier, other than what is needed for the above, as that will almost certainly cause problems.

+

+ +

Choosing the form of the document version string

+

+

The document version string is used by ManifoldCF to determine whether or not the document or configuration changed in such a way as to require that the document be reprocessed. ManifoldCF therefore requests the version string for any document that is ready for processing, and usually does not process the document again if the returned version string agrees with the version string it has stored.

+

+

Thinking about it more carefully, it is clear that what a connector writer needs to do is include everything in the version string that could potentially affect how the document gets processed. That may include the version of the document in the repository, bits of configuration information, metadata, and even access tokens (if the underlying repository versions these things independently from the document itself). Storing all of that information in the version string seems like a lot - but the string is unlimited in length, and it actually serves another useful purpose to do it that way. Specifically, when it comes time to do the actual processing, it's often the correct thing to do to obtain the necessary data out of the version string, rather than calculating it or fetching it anew. That way of working guarantees that the document processing was done in a manner that agrees with its recorded version string, thus eliminating any chance of ManifoldCF getting confused .

+

+

For longer data that needs to persist between the getDocumentVersions() method call and the processDocuments() method call, the connector is welcome to save this information in a temporary disk file. To help make sure nothing leaks which this approach is used, the IRepositoryConnector interface has a method that will be called to clean up any temporary files that might have been created in the handling of a given document identifier.

+

+ +

Notes on connector UI methods

+

+

The crawler UI uses a tabbed layout structure, and thus each of these elements must properly implement the tabbed model. This means that the "header" methods above must add the desired tab names to a specified array, and the "body" methods must provide appropriate HTML which handles both the case where a tab is displayed, and where it is not displayed. Also, it makes sense to use the appropriate css definitions, so that the connector UI pages have a similar look-and-feel to the rest of ManifoldCF's crawler ui. We strongly suggest starting with one of the supplied connector's UI code, both for a description of the arguments to each page, and for some decent ideas of ways to organize your connector's UI code.

+

+

Please also note that it is good practice to name the form fields in your HTML in such a way that they cannot collide with form fields that may come from the framework's HTML or any specific output connector's HTML. The DocumentSpecification editing HTML especially may be prone to collisions, because within any given job, this HTML is included in the same page as HTML from the chosen output connector.

+

+

+ +

Implementation support provided by the framework

+

+

ManifoldCF's framework provides a number of helpful services designed to make the creation of a connector easier. These services are summarized below. (This is not an exhaustive list, by any means.)

+

+
    + +
  • Lock management and synchronization (see org.apache.manifoldcf.core.interfaces.LockManagerFactory)
  • + +
  • Cache management (see org.apache.manifoldcf.core.interfaces.CacheManagerFactory)
  • + +
  • Local keystore management (see org.apache.manifoldcf.core.KeystoreManagerFactory)
  • + +
  • Database management (see org.apache.manifoldcf.core.DBInterfaceFactory)
  • + +
+

+

For UI method support, these too are very useful:

+

+
    + +
  • Multipart form processing (see org.apache.manifoldcf.ui.multipart.MultipartWrapper)
  • + +
  • HTML encoding (see org.apache.manifoldcf.ui.util.Encoder)
  • + +
  • HTML formatting (see org.apache.manifoldcf.ui.util.Formatter)
  • + +
+

+ +

DO's and DON'T DO's

+

+

It's always a good idea to make use of an existing infrastructure component, if it's meant for that purpose, rather than inventing your own. There are, however, some limitations we recommend you adhere to.

+

+
    + +
  • DO make use of infrastructure components described in the section above
  • + +
  • DON'T make use of infrastructure components that aren't mentioned, without checking first
  • + +
  • NEVER write connector code that directly uses framework database tables, other than the ones installed and managed by your connector
  • + +
+

+

If you are tempted to violate these rules, it may well mean you don't understand something important. At the very least, we'd like to know why. Send email to connectors-dev@incubator.apache.org with a description of your problem and how you are tempted to solve it.

+
+ +
+ +
 
+
+ + + Added: incubator/lcf/site/publish/writing-repository-connectors.pdf URL: http://svn.apache.org/viewvc/incubator/lcf/site/publish/writing-repository-connectors.pdf?rev=1034705&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/lcf/site/publish/writing-repository-connectors.pdf ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/lcf/site/src/documentation/content/xdocs/concepts.xml URL: http://svn.apache.org/viewvc/incubator/lcf/site/src/documentation/content/xdocs/concepts.xml?rev=1034705&view=auto ============================================================================== --- incubator/lcf/site/src/documentation/content/xdocs/concepts.xml (added) +++ incubator/lcf/site/src/documentation/content/xdocs/concepts.xml Sat Nov 13 09:08:30 2010 @@ -0,0 +1,106 @@ + + + + + + +
+ Concepts +
+ + +
+ Concepts +

ManifoldCF is a crawler framework which is designed to meet several key goals.

+

+
    +
  • It's reliable, and resilient against being shutdown or restarted
  • +
  • It's incremental, meaning that jobs describe a set of documents by some criteria, and are meant to be run again and again to pick up any differences
  • +
  • It supports connections to multiple kinds of repositories at the same time
  • +
  • It defines and fully supports a model of document security, so that each document listed in a search result from the back-end search engine is one that the current user is allowed to see
  • +
  • It operates with reasonable efficiency and throughput
  • +
  • Its memory usage characteristics are bounded and predictable in advance
  • +
+

+

ManifoldCF meets many of its architectural goals by being implemented on top of a relational database. The current implementation requires Postgresql or uses the included Derby. Longer term, we may support other DB bindings.

+

+
+ ManifoldCF document model +

+

Each document in ManifoldCF consists of some opaque binary data, plus some opaque associated metadata (which is described by name-value pairs), and is uniquely addressed by a URI. The back-end search engines which ManifoldCF communicates with are all expected to support, to a greater or lesser degree, this model.

+

+

Documents may also have access tokens associated with them. These access tokens are described more fully in the next section.

+

+
+
+ ManifoldCF security model +

+

The ManifoldCF security model is based loosely on the standard authorization concepts and hierarchies found in Microsoft's Active Directory. Active Directory is quite common in the kinds of environments where data repositories exist that are ripe for indexing. Active Directory's authorization model is also easily used in a general way to represent authorization for a huge variety of third-party content repositories.

+

+

ManifoldCF defines a concept of an access token. An access token, to ManifoldCF, is a string which is meaningful only to a specific connector or connectors. This string describes the ability of a user to view (or not view) some set of documents. For documents protected by Active Directory itself, an access token would be an Active Directory SID (e.g. "S-1-23-4-1-45"). But, for example, for documents protected by Livelink a wholly different string would be used.

+

+

In the ManifoldCF security model, it is the job of an authority to provide a list of access tokens for a given searching user. Multiple authorities cooperate in that each one can add to the list of access tokens describing a given user's security. The resulting access tokens are handed to the search engine as part of every search request, so that the search engine may properly exclude documents that the user is not allowed to see.

+

+

When document indexing is done, therefore, it is the job of the crawler to hand access tokens to the search engine, so that it may categorize the documents properly according to their accessibility. Note that the access tokens so provided are meaningful only within the space of the governing authority. Access tokens can be provided as "grant" tokens, or as "deny" tokens. Finally, there are multiple levels of tokens, which correspond to Active Directory's concepts of "share" security, "directory" security, or "file" security. (The latter concepts are rarely used except for documents that come from Windows or Samba systems.)

+

+

Once all these documents and their access tokens are handed to the search engine, it is the search engine's job to enforce security by excluding inappropriate documents from the search results. For Solr 1.5, this infrastructure has been submitted in jira ticket SOLR-1895, found here, where you can download a SearchComponent plug-in and simple instructions for setting up your copy of Solr to enforce ManifoldCF's model of document security. Bear in mind that this plug-in is still not a complete solution, as it requires an authenticated user name to be passed to it from some upstream source, possibly a JAAS authenticator within an application server framework.

+

+
+
+ ManifoldCF conceptual entities +

+
+ Connectors +

+

ManifoldCF defines three different kinds of connectors. These are:

+

+
    +
  • Authority connectors
  • +
  • Repository connectors
  • +
  • Output connectors
  • +
+

+

All connectors share certain characteristics. First, they are pooled. This means that ManifoldCF keeps configured and connected instances of a connector around for a while, and has the ability to limit the total number of such instances to within some upper limit. Connector implementations have specific methods in them for managing their existence in the pools that ManifoldCF keeps them in. Second, they are configurable. The configuration description for a connector is an XML document, whose precise format is determined by the connector implementation. A configured connector instance is called a connection, by common ManifoldCF convention.

+

+

The function of each type of connector is described below.

+

+ + + + + +
Connector typeFunction
Authority connectorFurnishes a standard way of mapping a user name to access tokens that are meaningful for a given type of repository
Repository connectorFetches documents from a specific kind of repository, such as SharePoint or off the web
Output connectorPushes document ingestion requests and deletion requests to a specific kind of back end search engine or other entity, such as Lucene
+

+
+
+ Connections +

+

As described above, a connection is a connector implementation plus connector-specific configuration information. A user can define a connection of all three types in the crawler UI.

+

+

The kind of information included in the configuration data for a connector typically describes the "how", as opposed to the "what". For example, you'd configure a LiveLink connection by specifying how to talk to the LiveLink server. You would not include information about which documents to select in such a configuration.

+

+

There is one difference between how you define a repository connection, vs. how you would define an authority connection or output connection. The difference is that you must specify a governing authority connection for your repository connection. This is because all documents ingested by ManifoldCF need to include appropriate access tokens, and those access tokens are specific to the governing authority.

+

+
+
+ Jobs +

+

A job in ManifoldCF parlance is a description of some kind of synchronization that needs to occur between a specified repository connection and a specified output connection. A job includes the following:

+

+
    +
  • A verbal description
  • +
  • A repository connection (and thus implicitly an authority connection as well)
  • +
  • An output connection
  • +
  • A repository-connection-specific description of "what" documents and metadata the job applies to
  • +
  • A model for crawling: either "run to completion", or "run continuously"
  • +
  • A schedule for when the job will run: either within specified time windows, or on demand
  • +
+

+

Jobs are allowed to share the same repository connection, and thus they can overlap in the set of documents they describe. ManifoldCF permits this situation, although when it occurs it is probably an accident.

+
+
+
+ + +
Propchange: incubator/lcf/site/src/documentation/content/xdocs/concepts.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/lcf/site/src/documentation/content/xdocs/concepts.xml ------------------------------------------------------------------------------ svn:keywords = Id Modified: incubator/lcf/site/src/documentation/content/xdocs/developer-resources.xml URL: http://svn.apache.org/viewvc/incubator/lcf/site/src/documentation/content/xdocs/developer-resources.xml?rev=1034705&r1=1034704&r2=1034705&view=diff ============================================================================== --- incubator/lcf/site/src/documentation/content/xdocs/developer-resources.xml (original) +++ incubator/lcf/site/src/documentation/content/xdocs/developer-resources.xml Sat Nov 13 09:08:30 2010 @@ -16,7 +16,7 @@
Familiarize Yourself with the Concepts and Terminology -

Like any software project, ManifoldCF has its own underlying concepts and terminology. Read about that here. +

Like any software project, ManifoldCF has its own underlying concepts and terminology. Read about that here.

@@ -57,9 +57,9 @@

Writing connectors for ManifoldCF is a great way to learn about the project and contribute something useful! Read about how to do that by navigating to the links provided below.

Added: incubator/lcf/site/src/documentation/content/xdocs/writing-authority-connectors.xml URL: http://svn.apache.org/viewvc/incubator/lcf/site/src/documentation/content/xdocs/writing-authority-connectors.xml?rev=1034705&view=auto ============================================================================== --- incubator/lcf/site/src/documentation/content/xdocs/writing-authority-connectors.xml (added) +++ incubator/lcf/site/src/documentation/content/xdocs/writing-authority-connectors.xml Sat Nov 13 09:08:30 2010 @@ -0,0 +1,125 @@ + + + + + + +
+ Writing authority connectors +
+ + +
+ Writing an Authority Connector +

+

An authority connector to a repository allows a repository's security model to be enforced by a search engine. Its only function is to convert a user name (which is often a Kerberos principal name) into a set of _access tokens_.

+

+

The definition of an access token within ManifoldCF for a given repository is completely defined by the connectors that deal with that repository, with one exception. That exception is for Active Directory. Active Directory is so prevalent as a repository authorization mechanism that ManifoldCF currently treats it as the "default" authority - that is, if you don't specify another authority when you define a repository connection, ManifoldCF presumes that you mean that Active Directory should be the controlling authority for the connection. In that case, an access token is simply an Active Directory SID.

+

+

For those repositories that do not use Active Directory as their authorization mechanism, an authority connector should be written, along with the repository connector for the repository. Access tokens in that case represent a contract between your implementation of the authority connector for the repository, and the repository connector for the repository. They must work together to define access tokens that will limit document access when used properly within any search engine query.

+

+

As is the case with all connectors under the ManifoldCF umbrella, an authority connector consists of a single parts:

+

+
    +
  • A class implementing an interface (in this case, org.apache.manifoldcf.authorities.interfaces.IAuthorityConnector)
  • +
+

+
+ Key concepts +

+

The authority connector abstraction makes use of, or introduces, the following concepts:

+

+ + + + + + + + +
ConceptWhat it is
Configuration parametersA hierarchical structure, internally represented as an XML document, which describes a specific configuration of a specific authority connector, i.e. how the connector should do its job; see org.apache.manifoldcf.core.interfaces.ConfigParams
Authority connectionAn authority connector instance that has been furnished with configuration data
User nameThe name of a user, which is often a Kerberos principal name, e.g. john@apache.org
Access tokenAn arbitrary string, which is only meaningful within the context of a specific authority connector, that describes a quantum of authorization
Connection management/threading/pooling modelHow an individual authority connector class instance is managed and used
Service interruptionA specific kind of exception that signals ManifoldCF that the output repository is unavailable, and gives a best estimate of when it might become available again; see org.apache.manifoldcf.agents.interfaces.ServiceInterruption
+

+
+
+ Implementing the Authority Connector class +

+

A very good place to start is to read the javadoc for the authority connector interface. You will note that the javadoc describes the usage and pooling model for a connector class pretty thoroughly. It is very important to understand the model thoroughly in order to write reliable connectors! Use of static variables, for one thing, must be done in a very careful way, to avoid issues that would be hard to detect with a cursory test.

+

+

The second thing to do is to examine some of the provided authority connector implementations. The Documentum connector, the LiveLink connector, the Memex connector, and the Meridio connector all include authority connectors which demonstrate (to some degree) the sorts of techniques you will need for an effective implementation. You will also note that all of these connectors extend a framework-provided authority connector base class, found at org.apache.manifoldcf.authorities.authorities.BaseAuthorityConnector. This base class furnishes some basic bookkeeping logic for managing the connector pool, as well as default implementations of some of the less typical functionality a connector may have. For example, connectors are allowed to have database tables of their own, which are instantiated when the connector is registered, and are torn down when the connector is removed. This is, however, not very typical, and the base implementation reflects that.< /p> +

+
+ Principle methods +

+

The principle methods an implementer should be concerned with for creating an authority connector are the following:

+

+ + + + + + + +
MethodWhat it should do
getAuthorizationResponse()Obtain the authorization response, given a user name
outputConfigurationHeader()Output the head-section part of an authority connection ConfigParams editing page
outputConfigurationBody()Output the body-section part of an authority connection ConfigParams editing page
processConfigurationPost()Receive and process form data from an authority connection ConfigParams editing page
viewConfiguration()Output the viewing HTML for an authority connection ConfigParams object
+

+

These methods come in two broad classes: (a) functional methods for doing the work of the connector; (b) UI methods for configuring a connection. Together they do the heavy lifting of your connector.

+

+

The getAuthorizationResponse() method returns an AuthorizationResponse object, which can describe a number of conditions:

+

+ + + + + + +
ConditionMeaning
RESPONSE_OKThe access tokens for the user were successfully obtained from the repository, and are being returned
RESPONSE_UNREACHABLEThe repository is currently unreachable, and appropriate disabling tokens are being returned
RESPONSE_USERNOTFOUNDThe user was not found within the repository, and appropriate disabling tokens are being returned
RESPONSE_USERUNAUTHORIZEDThe user was found, but was in some way disabled, and appropriate disabling tokens are being returned
+

+

+

In all cases, the connector returns access tokens. But in the case where token lookup has failed in some way, it is the responsibility of the connector to insure that inappropriate content is not viewed. Usually, this is done by ingesting a "global deny" token attached to all documents from the given repository, and then having the associated authority connector return this global deny token when error conditions apply.

+

+

+
+
+ Notes on connector UI methods +

+

The crawler UI uses a tabbed layout structure, and thus each of these elements must properly implement the tabbed model. This means that the "header" methods above must add the desired tab names to a specified array, and the "body" methods must provide appropriate HTML which handles both the case where a tab is displayed, and where it is not displayed. Also, it makes sense to use the appropriate css definitions, so that the connector UI pages have a similar look-and-feel to the rest of ManifoldCF's crawler ui. We strongly suggest starting with one of the supplied authority connector's UI code, both for a description of the arguments to each page, and for some decent ideas of ways to organize your connector's UI code.

+

+
+
+
+ Implementation support provided by the framework +

+

ManifoldCF's framework provides a number of helpful services designed to make the creation of a connector easier. These services are summarized below. (This is not an exhaustive list, by any means.)

+

+
    +
  • Lock management and synchronization (see org.apache.manifoldcf.core.interfaces.LockManagerFactory)
  • +
  • Cache management (see org.apache.manifoldcf.core.interfaces.CacheManagerFactory)
  • +
  • Local keystore management (see org.apache.manifoldcf.core.KeystoreManagerFactory)
  • +
  • Database management (see org.apache.manifoldcf.core.DBInterfaceFactory)
  • +
+

+

For UI method support, these too are very useful:

+

+
    +
  • Multipart form processing (see org.apache.manifoldcf.ui.multipart.MultipartWrapper)
  • +
  • HTML encoding (see org.apache.manifoldcf.ui.util.Encoder)
  • +
  • HTML formatting (see org.apache.manifoldcf.ui.util.Formatter)
  • +
+

+
+
+ DO's and DON'T DO's +

+

It's always a good idea to make use of an existing infrastructure component, if it's meant for that purpose, rather than inventing your own. There are, however, some limitations we recommend you adhere to.

+

+
    +
  • DO make use of infrastructure components described in the section above
  • +
  • DON'T make use of infrastructure components that aren't mentioned, without checking first
  • +
  • NEVER write connector code that directly uses framework database tables, other than the ones installed and managed by your connector
  • +
+

+

If you are tempted to violate these rules, it may well mean you don't understand something important. At the very least, we'd like to know why. Send email to connectors-dev@incubator.apache.org with a description of your problem and how you are tempted to solve it.

+
+
+ +
\ No newline at end of file Propchange: incubator/lcf/site/src/documentation/content/xdocs/writing-authority-connectors.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/lcf/site/src/documentation/content/xdocs/writing-authority-connectors.xml ------------------------------------------------------------------------------ svn:keywords = Id Added: incubator/lcf/site/src/documentation/content/xdocs/writing-output-connectors.xml URL: http://svn.apache.org/viewvc/incubator/lcf/site/src/documentation/content/xdocs/writing-output-connectors.xml?rev=1034705&view=auto ============================================================================== --- incubator/lcf/site/src/documentation/content/xdocs/writing-output-connectors.xml (added) +++ incubator/lcf/site/src/documentation/content/xdocs/writing-output-connectors.xml Sat Nov 13 09:08:30 2010 @@ -0,0 +1,129 @@ + + + + + + +
+ Writing output connectors +
+ + +
+ Writing an Output Connector +

+

An output connector furnishes the mechanism by which content that has been fetched from a repository gets handed to a back-end repository for processing. It also furnishes a mechanism for removing previously-processed content from that back end repository.

+

+

As is the case with all connectors under the ManifoldCF umbrella, an output connector consists of a single part, which is:

+

+
    +
  • A class implementing an interface (in this case, org.apache.manifoldcf.agents.interfaces.IOutputConnector)
  • +
+

+
+ Key concepts +

+

The output connector abstraction makes use of, or introduces, the following concepts:

+

+ + + + + + + + + + + +
ConceptWhat it is
Configuration parametersA hierarchical structure, internally represented as an XML document, which describes a specific configuration of a specific output connector, i.e. how the connector should do its job; see org.apache.manifoldcf.core.interfaces.ConfigParams
Output connectionAn output connector instance that has been furnished with configuration data
Document URIThe unique URI (or, in some cases, file IRI) of a document, which is meant to be displayed in search engine results as the link to the document
Repository documentAn object that describes a document's contents, including raw document data (as a stream), metadata (as either strings or streams), and access tokens; see org.apache.manifoldcf.agents.interfaces.RepositoryDocument
Connection management/threading/pooling modelHow an individual output connector class instance is managed and used
Activity infrastructureThe framework API provided to specific methods allowing those methods to perform specific actions within the framework, e.g. recording activities; see org.apache.manifoldcf.agents.interfaces.IOutputAddActivity and org.apache.manifoldcf.agents.interfaces.IOutputRemoveActivity
Output specificationA hierarchical structure, internally represented as an XML document, which describes what a specific output connector should do in the context of a specific job; see org.apache.manifoldcf.agents.interfaces.OutputSpecification
Output version stringA simple string, used for comparison purposes, that allows ManifoldCF to figure out if an ingestion operation needs to be repeated as a result of changes to the output specification in effect for a document
Service interruptionA specific kind of exception that signals ManifoldCF that the output repository is unavailable, and gives a best estimate of when it might become available again; see org.apache.manifoldcf.agents.interfaces.ServiceInterruption
+

+

+
+
+ Implementing the Output Connector class +

+

A very good place to start is to read the javadoc for the output connector interface. You will note that the javadoc describes the usage and pooling model for a connector class pretty thoroughly. It is very important to understand the model thoroughly in order to write reliable connectors! Use of static variables, for one thing, must be done in a very careful way, to avoid issues that would be hard to detect with a cursory test.

+

+

The second thing to do is to examine some of the provided output connector implementations. The GTS connector, the SOLR connector, and the Null Output connector all are output connectors which demonstrate (to some degree) the sorts of techniques you will need for an effective implementation. You will also note that all of these connectors extend a framework-provided output connector base class, found at org.apache.manifoldcf.agents.output.BaseOutputConnector. This base class furnishes some basic bookkeeping logic for managing the connector pool, as well as default implementations of some of the less typical functionality a connector may have. For example, connectors are allowed to have database tables of their own, which are instantiated when the connector is registered, and are torn down when the connector is removed. This is, however, not very typical, and the base implementation reflects that.

+

+
+ Principle methods +

+

The principle methods an implementer should be concerned with for creating an output connector are the following:

+

+ + + + + + + + + + + + + + +
MethodWhat it should do
checkDocumentIndexable()Decide whether a file is indexable or not
getOutputDescription()Use the supplied output specification to come up with an output version string
addOrReplaceDocument()Add or replace the specified document within the target repository, or signal if the document cannot be handled
removeDocument()Remove the specified document from the target repository
outputConfigurationHeader()Output the head-section part of an output connection ConfigParams editing page
outputConfigurationBody()Output the body-section part of an output connection ConfigParams editing page
processConfigurationPost()Receive and process form data from an output connection ConfigParams editing page
viewConfiguration()Output the viewing HTML for an output connection ConfigParams object
outputSpecificationHeader()Output the head-section part of an OutputSpecification editing page
outputSpecificationBody()Output the body-section part of an OutputSpecification editing page
processSpecificationPost()Receive and process form data from an OutputSpecification editing page
viewSpecification()Output the viewing page for an OutputSpecification object
+

+

These methods come in three broad classes: (a) functional methods for doing the work of the connector; (b) UI methods for configuring a connection; and (c) UI methods for editing the output specification for a job. Together they do the heavy lifting of your connector. But before you can write any code at all, you need to plan things out a bit.

+

+
+
+ Choosing the form of the output version string +

+

The output version string is used by ManifoldCF to determine whether or not the output specification or configuration changed in such a way as to require that the document be reprocessed. ManifoldCF therefore requests the output version string for any document that is ready for processing, and usually does not process the document again if the returned output version string agrees with the output version string it has stored.

+

+

Thinking about it more carefully, it is clear that what an output connector writer needs to do is include everything in the output version string that could potentially affect how the document gets ingested, save that which is specific to the repository connector. That may include bits of output connector configuration information, as well as data from the output specification. When it's time to ingest, it's usually the correct thing to do to obtain the necessary data for ingestion out of the output version string, rather than calculating it or fetching it anew, because that guarantees that the document processing was done in a manner that agrees with its recorded output version string, thus eliminating any chance of ManifoldCF getting confused.

+

+
+
+ Notes on connector UI methods +

+

The crawler UI uses a tabbed layout structure, and thus each of the UI methods must properly implement the tabbed model. This means that the "header" methods above must add the desired tab names to a specified array, and the "body" methods must provide appropriate HTML which handles both the case where a tab is displayed, and where it is not displayed. Also, it makes sense to use the appropriate css definitions, so that the connector UI pages have a similar look-and-feel to the rest of ManifoldCF's crawler ui. We strongly suggest starting with one of the supplied connector's UI code, both for a description of the arguments to each method, and for some decent ideas of ways to organize your connector's UI code.

+

+

Please also note that it is good practice to name the form fields in your HTML in such a way that they cannot collide with form fields that may come from the framework's HTML or any specific repository connector's HTML. The OutputSpecification HTML especially may be prone to collisions, because within any given job, this HTML is included in the same page as HTML from the chosen repository connector.

+

+

+
+
+
+ Implementation support provided by the framework +

+

ManifoldCF's framework provides a number of helpful services designed to make the creation of a connector easier. These services are summarized below. (This is not an exhaustive list, by any means.)

+

+
    +
  • Lock management and synchronization (see org.apache.manifoldcf.core.interfaces.LockManagerFactory)
  • +
  • Cache management (see org.apache.manifoldcf.core.interfaces.CacheManagerFactory)
  • +
  • Local keystore management (see org.apache.manifoldcf.core.KeystoreManagerFactory)
  • +
  • Database management (see org.apache.manifoldcf.core.DBInterfaceFactory)
  • +
+

+

For UI method support, these too are very useful:

+

+
    +
  • Multipart form processing (see org.apache.manifoldcf.ui.multipart.MultipartWrapper)
  • +
  • HTML encoding (see org.apache.manifoldcf.ui.util.Encoder)
  • +
  • HTML formatting (see org.apache.manifoldcf.ui.util.Formatter)
  • +
+

+
+
+ DO's and DON'T DO's +

+

It's always a good idea to make use of an existing infrastructure component, if it's meant for that purpose, rather than inventing your own. There are, however, some limitations we recommend you adhere to.

+

+
    +
  • DO make use of infrastructure components described in the section above
  • +
  • DON'T make use of infrastructure components that aren't mentioned, without checking first
  • +
  • NEVER write connector code that directly uses framework database tables, other than the ones installed and managed by your connector
  • +
+

+

If you are tempted to violate these rules, it may well mean you don't understand something important. At the very least, we'd like to know why. Send email to connectors-dev@incubator.apache.org with a description of your problem and how you are tempted to solve it.

+
+
+ +
\ No newline at end of file Propchange: incubator/lcf/site/src/documentation/content/xdocs/writing-output-connectors.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/lcf/site/src/documentation/content/xdocs/writing-output-connectors.xml ------------------------------------------------------------------------------ svn:keywords = Id Added: incubator/lcf/site/src/documentation/content/xdocs/writing-repository-connectors.xml URL: http://svn.apache.org/viewvc/incubator/lcf/site/src/documentation/content/xdocs/writing-repository-connectors.xml?rev=1034705&view=auto ============================================================================== --- incubator/lcf/site/src/documentation/content/xdocs/writing-repository-connectors.xml (added) +++ incubator/lcf/site/src/documentation/content/xdocs/writing-repository-connectors.xml Sat Nov 13 09:08:30 2010 @@ -0,0 +1,178 @@ + + + + + + +
+ Writing repository connectors +
+ + +
+ Writing repository connectors +

+

A repository connector furnishes the mechanism for obtaining documents, metadata, and authority tokens from a repository. The documents are expected to be handed to an output connector (described elsewhere) for ingestion into some other back-end repository.

+

+

As is the case with all connectors under the ManifoldCF umbrella, an output connector consists of only one part:

+

+
    +
  • A class implementing an interface (in this case, org.apache.manifoldcf.crawler.interfaces.IRepositoryConnector)
  • +
+

+
+ Key concepts +

+

The repository connector abstraction makes use of, or introduces, the following concepts:

+

+ + + + + + + + + + + + + +
ConceptWhat it is
Configuration parametersA hierarchical structure, internally represented as an XML document, which describes a specific configuration of a specific repository connector, i.e. how the connector should do its job; see org.apache.manifoldcf.core.interfaces.ConfigParams
Repository connectionA repository connector instance that has been furnished with configuration data
Document identifierAn arbitrary identifier, whose meaning determined only within the context of a specific repository connector, which the connector uses to describe a document within a repository
Document URIThe unique URI (or, in some cases, file IRI) of a document, which is meant to be displayed in search engine results as the link to the document
Repository documentAn object that describes a document's contents, including raw document data (as a stream), metadata (as either strings or streams), and access tokens; see org.apache.manifoldcf.agents.interfaces.RepositoryDocument
Access tokenA string, which is only meaningful in the context of a specific authority, that describes a quantum of authorization for a user
Connection management/threading/pooling modelHow an individual repository connector class instance is managed and used
Activity infrastructureThe framework API provided to specific methods allowing those methods to perform specific actions within the framework, e.g. recording the activity history; see org.apache.manifoldcf.crawler.interfaces.IVersionActivity, and org.apache.manifoldcf.crawler.interfaces.IProcessActivity, and org.apache.manifoldcf.crawler.interfaces.ISeedingActivity
Document specificationA hierarchical structure, internally represented as an XML document, which describes what a specific repository connector should do in the context of a specific job; see org.apache.manifoldcf.crawler.interfaces.DocumentSpecification
Document version stringA simple string, used for comparison purposes, that allows ManifoldCF to figure out if a fetch or ingestion operation needs to be repeated as a result of changes to the document specification in effect for a document, or because of changes to the document itself
Service interruptionA specific kind of exception that signals ManifoldCF that the output repository is unavailable, and gives a best estimate of when it might become available again; see org.apache.manifoldcf.agents.interfaces.ServiceInterruption
+

+
+
+ Implementing the Repository Connector class +

+

A very good place to start is to read the javadoc for the repository connector interface. You will note that the javadoc describes the usage and pooling model for a connector class pretty thoroughly. It is very important to understand the model thoroughly in order to write reliable connectors! Use of static variables, for one thing, must be done in a very careful way, to avoid issues that would be hard to detect with a cursory test.

+

+

The second thing to do is to examine some of the provided repository connector implementations. There are a wide variety of connectors include with ManifoldCF that exercise just about every aspect of the repository connector interface. These are:

+

+
    +
  • Documentum (uses RMI to segregate native code, etc.)
  • +
  • FileNet (also uses RMI, but because it is picky about its open-source jar versions)
  • +
  • File system (a good, but simple, example)
  • +
  • LiveLink (demonstrates use of local keystore infrastructure)
  • +
  • Meridio (local keystore, web services, result sets)
  • +
  • SharePoint (local keystore, web services)
  • +
  • RSS (local keystore, binning)
  • +
  • Web (local database schema, local keystore, binning, events and prerequisites, cache management)
  • +
+

+

You will also note that all of these connectors extend a framework-provided repository connector base class, found at org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector. This base class furnishes some basic bookkeeping logic for managing the connector pool, as well as default implementations of some of the less typical functionality a connector may have. For example, connectors are allowed to have database tables of their own, which are instantiated when the connector is registered, and are torn down when the connector is removed. This is, however, not very typical, and the base implementation reflects that.

+

+
+ Principle methods +

+

The principle methods an implementer should be concerned with for creating a repository connector are the following:

+

+ + + + + + + + + + + + + +
MethodWhat it should do
addSeedDocuments()Use the supplied document specification to come up with an initial set of document identifiers
getDocumentVersions()Come up with a version string for each of the documents described by the supplied set of document identifiers, or signal if the document is no longer present
processDocuments()Take the appropriate action (e.g. ingest, or extract references from, or whatever) for a given set of documents described by document identifier and version string
outputConfigurationHeader()Output the head-section part of a repository connection ConfigParams editing page
outputConfigurationBody()Output the body-section part of a repository connection ConfigParams editing page
processConfigurationPost()Receive and process form data from a repository connection ConfigParams editing page
viewConfiguration()Output the viewing HTML for a repository connection ConfigParams object
outputSpecificationHeader()Output the head-section part of an DocumentSpecification editing page
outputSpecificationBody()Output the body-section part of an DocumentSpecification editing page
processSpecificationPost()Receive and process form data from an DocumentSpecification editing page
viewSpecification()Output the viewing page for an DocumentSpecification object
+

+

These methods come in three broad classes: (a) functional methods for doing the work of the connector; (b) UI methods for configuring a connection; and (c) UI methods for editing the document specification for a job. Together they do the heavy lifting of your connector. But before you can write any code at all, you need to plan things out a bit.

+

+
+
+ Model +

+

Each connector must declare a specific model which it adheres to. These models basically describe what the addSeedDocuments() method actually does, and are described below.

+

+ + + + + + +
ModelDescription
MODEL_ADDThe addSeedDocuments() method supplies at least all the matching documents that have been added to the repository, within the specified time interval
MODEL_ADD_CHANGEThe addSeedDocuments() method supplies at least those matching documents that have been added or changed in the repository, within the specified time interval
MODEL_ADD_CHANGE_DELETEThe addSeedDocuments() method supplies at least those matching documents that have been added, changed, or removed in the repository, within the specified time interval
MODEL_PARTIALThe addSeedDocuments() does not return a complete list of documents that match the criteria and time interval, because some of those documents are no longer discoverable
+

+

Note that the choice of model is actually much more subtle than the above description might indicate. It may, for one thing, be affected by characteristics of the repository, such as whether the repository considers a document to have been changed if its security information was changed. This would mean that, even though most document changes are picked up and thus one might be tempted to declare the connector to be MODEL_ADD_CHANGE, the correct choice would in fact be MODEL_ADD.

+

+

Another subtle point is what documents the connector is actually supposed to return by means of the addSeedDocuments() method. The start time and end time parameters handed to the method do not have to be strictly adhered to, for instance; it is always okay to return more documents. It is never okay for the connector to return fewer documents than were requested, on the other hand.

+

+
+
+ Choosing a document identifier format +

+

In order to decide on the format for a document identifier, you need to understand what this identifier is used for, and what it represents. A document identifier usually corresponds to some entity within the source repository, such as a document or a folder. Note that there is no requirement that the identifier represent indexable content.

+

+

The document identifier must be capable of furnishing enough information to:

+

+
    +
  • Calculate a version string for the document
  • +
  • Find child references for the document
  • +
  • Get the document's content, metadata, and access tokens
  • +
+

+

We highly recommend that no additional information be included in the document identifier, other than what is needed for the above, as that will almost certainly cause problems.

+

+
+
+ Choosing the form of the document version string +

+

The document version string is used by ManifoldCF to determine whether or not the document or configuration changed in such a way as to require that the document be reprocessed. ManifoldCF therefore requests the version string for any document that is ready for processing, and usually does not process the document again if the returned version string agrees with the version string it has stored.

+

+

Thinking about it more carefully, it is clear that what a connector writer needs to do is include everything in the version string that could potentially affect how the document gets processed. That may include the version of the document in the repository, bits of configuration information, metadata, and even access tokens (if the underlying repository versions these things independently from the document itself). Storing all of that information in the version string seems like a lot - but the string is unlimited in length, and it actually serves another useful purpose to do it that way. Specifically, when it comes time to do the actual processing, it's often the correct thing to do to obtain the necessary data out of the version string, rather than calculating it or fetching it anew. That way of working guarantees that the document processing was done in a manner that agrees with its recorded version string, thus eliminating any chance of ManifoldCF gettin g confused.

+

+

For longer data that needs to persist between the getDocumentVersions() method call and the processDocuments() method call, the connector is welcome to save this information in a temporary disk file. To help make sure nothing leaks which this approach is used, the IRepositoryConnector interface has a method that will be called to clean up any temporary files that might have been created in the handling of a given document identifier.

+

+
+
+ Notes on connector UI methods +

+

The crawler UI uses a tabbed layout structure, and thus each of these elements must properly implement the tabbed model. This means that the "header" methods above must add the desired tab names to a specified array, and the "body" methods must provide appropriate HTML which handles both the case where a tab is displayed, and where it is not displayed. Also, it makes sense to use the appropriate css definitions, so that the connector UI pages have a similar look-and-feel to the rest of ManifoldCF's crawler ui. We strongly suggest starting with one of the supplied connector's UI code, both for a description of the arguments to each page, and for some decent ideas of ways to organize your connector's UI code.

+

+

Please also note that it is good practice to name the form fields in your HTML in such a way that they cannot collide with form fields that may come from the framework's HTML or any specific output connector's HTML. The DocumentSpecification editing HTML especially may be prone to collisions, because within any given job, this HTML is included in the same page as HTML from the chosen output connector.

+

+

+
+
+
+ Implementation support provided by the framework +

+

ManifoldCF's framework provides a number of helpful services designed to make the creation of a connector easier. These services are summarized below. (This is not an exhaustive list, by any means.)

+

+
    +
  • Lock management and synchronization (see org.apache.manifoldcf.core.interfaces.LockManagerFactory)
  • +
  • Cache management (see org.apache.manifoldcf.core.interfaces.CacheManagerFactory)
  • +
  • Local keystore management (see org.apache.manifoldcf.core.KeystoreManagerFactory)
  • +
  • Database management (see org.apache.manifoldcf.core.DBInterfaceFactory)
  • +
+

+

For UI method support, these too are very useful:

+

+
    +
  • Multipart form processing (see org.apache.manifoldcf.ui.multipart.MultipartWrapper)
  • +
  • HTML encoding (see org.apache.manifoldcf.ui.util.Encoder)
  • +
  • HTML formatting (see org.apache.manifoldcf.ui.util.Formatter)
  • +
+

+
+
+ DO's and DON'T DO's +

+

It's always a good idea to make use of an existing infrastructure component, if it's meant for that purpose, rather than inventing your own. There are, however, some limitations we recommend you adhere to.

+

+
    +
  • DO make use of infrastructure components described in the section above
  • +
  • DON'T make use of infrastructure components that aren't mentioned, without checking first
  • +
  • NEVER write connector code that directly uses framework database tables, other than the ones installed and managed by your connector
  • +
+

+

If you are tempted to violate these rules, it may well mean you don't understand something important. At the very least, we'd like to know why. Send email to connectors-dev@incubator.apache.org with a description of your problem and how you are tempted to solve it.

+
+
+ +
Propchange: incubator/lcf/site/src/documentation/content/xdocs/writing-repository-connectors.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/lcf/site/src/documentation/content/xdocs/writing-repository-connectors.xml ------------------------------------------------------------------------------ svn:keywords = Id