All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.bin.trigger Maven / Gradle / Ivy

The newest version!
#!/bin/bash
toolpath=`dirname $0`
projpath=$toolpath/../
cd $projpath
source overrideProperties/config/envvars

source $HOME/.bash_aliases
agent_name=$1
if [ "$2" = "" ] 
then 
	action="fire"
else 
	action="$2";
fi 
apiKey=`bin/getapikey`

curl  http://localhost:${wport}/triggers/${action} 	  -H "ApiKey: $apiKey" -H "ApiProtocol: application/json" -d '{"Trigger":{"AgentName":"'${agent_name}'"}}' ;





© 2015 - 2024 Weber Informatics LLC | Privacy Policy