oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron Goodale <sigep...@gmail.com>
Subject Re: Query Tool Deprecation
Date Tue, 18 Mar 2014 01:49:50 GMT

TLDR:  Run ./filemgr-client and review the long list of options.  -sql and
-lucene are in there to replace the query tool.  Below is a detailed list
of how I checked this.

The longer version:

I *think* that the OODT 'cli' module was going to unify all of the Command
Line Interfaces to the OODT components.

The README for cli is here:


The latest filemgr-client script (0.7-SNAPSHOT) depends on the cli
component, and requires a cmd-line-options.xml and cmd-line-actions.xml.

I just updated my local checkout to the latest version and ran:

$ cd oodt/trunk
$ mvn clean install
$ cd filemgr
$ mvn clean install
$ cd target
$ tar -zxvf cas-filemgr-0.7-SNAPSHOT-dist.tar.gz  # This will just untar
the dist in place for testing purposes
$ cd cas-filemgr-0.7-SNAPSHOT/bin/
$ vi filemgr-client  # Need to set $JAVA_HOME, etc...
$ ./filemgr-client

| Short | Long                                             | Description

 -op,    --operation                                        Declare that
you wish to present an operation
   > Required:
   > Optional:
      -addPT, --addProductType                              Triggers
addProductType Action
-sql,   --sqlQuery                                    Triggers sqlQuery
                                                               [sqlQuery :
      -dmet,  --dumpMetadata                                Triggers
dumpMetadata Action

 [dumpMetadata : REQUIRED]
      -lucene,--luceneQuery                                 Triggers
luceneQuery Action

So Tom i think those cli options (-sql, or -lucene) are the replacements
for query_tool.


On Mon, Mar 17, 2014 at 1:38 PM, Tom Barber <tom.barber@meteorite.bi> wrote:

> Hi guys
> I want to look at querying the filemgr, but I look at the querytool source
> and its been deprecated. Whats its replacement?
> Thanks
> Tom
> --
> *Tom Barber* | Technical Director
> meteorite bi
> *T:* +44 20 8133 3730
> *W:* www.meteorite.bi | *Skype:* meteorite.consulting
> *A:* Surrey Technology Centre, Surrey Research Park, Guildford, GU2 7YG, UK


Sent from a Tin Can attached to a String

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message