META-INF.cxs.rules.UpdateWeather.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unomi-weather-update-core Show documentation
Show all versions of unomi-weather-update-core Show documentation
This is a simple Apache Unomi plugin.
{
"metadata": {
"id": "weatherUpdate",
"name": "Add weather information to session",
"description": "Get the weather from a city"
},
"raiseEventOnlyOnceForSession": false,
"condition": {
"parameterValues": {
"subConditions": [
{
"type": "eventTypeCondition",
"parameterValues": {
"eventTypeId": "weatherEvent"
}
},
{
"type": "eventTypeCondition",
"parameterValues": {
"eventTypeId": "login"
}
}
],
"operator" : "or"
},
"type": "booleanCondition"
},
"actions": [
{
"type": "weatherUpdateAction",
"parameterValues": {}
}
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy