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.

GeoStore is used to archive completed 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:

  • geoBatchRestURL: The URL of the GeoBatch rest service
  • geoStoreRestURL: The URL of the GeoStore rest service (used for runs archival)
  • skipFlowsNotInRunConfigs if true, only flows configured in the runConfigs section will be shown on the flows (left) panel, if false all the flows available in GeoBatch will be shown.
  • showConsumersDetails: if true enables a detail collapsable panel on each run row (in the right panel); this detail panel will show progress and info for each flow action, in addition to global progress and info
  • forceOrder: if true forces the order of flows in the left panel to be sorted according to order attributes in flows configuration in the runConfigs section
  • consumersPlugins: custom plugins list for the runs grid
  • autoOpen if true the panel will be shown on startup.

Clone this wiki locally