Skip to content

LuisRguezEsriSpain/geoevent-scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

geoevent-scripting

This reporitory includes several Python scripts to automate GeoEvent Tasks.

ExtractGEComponents.py

This script extracts labels and names of inputs, outpus and GeoEvent services from a GeoEvent configuration saved in XML file.
The output of this script can be used in next scripts.

You should change the variable geoEventBackupFile value to point to your GeoEvent configuration file.

StartGEComponents.py

This script provides an automatic way to start GeoEvent inputs, outpus and services.

I got ideas from https://github.com/eironside/GeoEventRESTScripting to implement this script.

Changin the following line in StartGEComponent function

inputURL = 'https://{0}:6143/geoevent/admin/{1}/{2}/start'.format(geoeventServer, component, geoeventComponent)

to

inputURL = 'https://{0}:6143/geoevent/admin/{1}/{2}/stop'.format(geoeventServer, component, geoeventComponent)

you can develop an script to stop GeoEvent inputs, outpus and services.

About

Scripts to automate GeoEvent Tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages