Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • URL requests
  • Specifying a python script (actually a Jython script) - the "importScript" should be the python code to execute, with the last evaluated expression being the value to pass back
    • (use "scriptlang": "python")
  • Specifying an external script  - the importScript should be the command line, eg "dir/scriptname.sh args" (no "sh" in front of the script - a "#!" construct must be used inside the script)
    • (use "scriptlang": "external")
    • (the same access rules apply as for the "External Script" extractor described here, ie "dir" is offset from "/opt/infinite-home/lib/extractor-scripts")
Info

Troubleshooting errors:

  • If you get an "IOException" it is likely a permissions error, try:
    • runuser - tomcat -c "/opt/infinite-home/external-scripts/<PATH> <args>"
      to see what error you get

 

The rules for whether to generate a federated query source are as follows:

...