You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2011/09/01 02:53:10 UTC

[jira] [Resolved] (CONNECTORS-58) ManifoldCF scripting language, executed via the API, plus "example" jobs for file system and web crawl

     [ https://issues.apache.org/jira/browse/CONNECTORS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright resolved CONNECTORS-58.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: ManifoldCF 0.3
         Assignee: Karl Wright

Decided only to include file system crawl script, since it demonstrates pretty near everything important.  r1163882 for the last of many commits for this feature.


> ManifoldCF scripting language, executed via the API, plus "example" jobs for file system and web crawl 
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-58
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-58
>             Project: ManifoldCF
>          Issue Type: Sub-task
>          Components: Examples, Scripting client
>            Reporter: Jack Krupansky
>            Assignee: Karl Wright
>            Priority: Minor
>             Fix For: ManifoldCF 0.3
>
>
> Creating a basic connection setup to do a relatively simple crawl for a file system or web can be a daunting task for someone new to LCF. So, it would be nice to have a scripting file that supports an abbreviated API (subset of the full API discussed in CONNECTORS-56) sufficient to create a default set of connections and example jobs that the new user can choose from.
> Beyond this initial need, this script format might be a useful form to "dump" all of the connections and jobs in the LCF database in a form that can be used to recreate an LCF configuration. Kind of a "dump and reload" capability. That in fact might be how the initial example script gets created.
> Those are two distinct use cases, but could utilize the same feature.
> The example script could have example jobs to crawl a subdirectory of LCF, crawl the LCF wiki, etc.
> There could be more than one script. There might be example scripts for each form of connector.
> This capability should be available for both QuickStart and the general release of LCF.
> As just one possibility, the script format might be a sequence of JSON expressions, each with an initial string analogous to a servlet path to specify the operation to be performed, followed by the JSON form of the connection or job or other LCF object. Or, some other format might be more suitable.
> Note: This issue is part of Phase 1 of the CONNECTORS-50 umbrella issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira