Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

mxp.plugins.GeoBatchFlows

mbarto edited this page Jan 9, 2015 · 8 revisions

Needed Files

In order to use this plugin you need to include this files in the build.cfg:

  • src/mxp/plugins/GeoBatchFlows.js
  • src/mxp/widgets/grid/GeoBatchFlowsGrid.js
  • src/mxp/widgets/grid/GeoBatchConsumerGrid.js
  • src/mxp/widgets/form/GeoBatchRunLocal.js
  • src/mxp/widgets/form/GeoBatchRunLocalForm.js

and their dependencies

NOTE: In the default configuration these files are present.

Plugin description

This plugin adds a new admin panel to start and manage GeoBatch ingestion flows.

The panel contains a list of available flows on the left, with the ability to start a new run for one of them.

On the right, a grid shows the list of runs for the currently selected flow, with the ability to choose between Active and Archived runs.

The plugin is quite complex and can require a detailed configuration of the flows.

Basic Configuration

You can configure it adding this plugin with this configuration:

    {
         "ptype": "mxp_geobatch_flows",
         "geoBatchRestURL":"http://localhost:9000/geobatch/rest/",
         "geoStoreRestURL":"http://localhost:8082/geostore/rest/",
         "skipFlowsNotInRunConfigs": true,
         "showConsumersDetails": true,
         "forceOrder": true,
         "consumersPlugins": [
            ...
         ],
         "autoOpen": true,
         "runConfigs": {
            ...
         },
         "actionTarget":{
           "target": "north.tbar",
           "index": 2
         }
    }

The basic parameters are:

  • fileDocURL: The URL of the window content ( if present the window will display an iframe)
  • description if fileDocURL is null, this configuration string will contain the html to display in the window.
  • showOnStartup Display the window on startup.

Clone this wiki locally