SHARE
TWEET

Untitled

a guest Aug 18th, 2018 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "uuid": "test",
  3.   "source": {same},
  4.   "sink": {
  5.     "jdbcUrl": "jdbc:postgresql://192.168.1.249:5433/mwm?stringtype=unspecified",
  6.     "tableName": "sm_events_sink_test",
  7.     "rowSchema": {
  8.       "fromTime": ["fromTs", "first(toTs(datetime))"],
  9.       "toTime": ["toTs", "last(toTs(datetime))"],
  10.       "payload": {
  11.         "sourceId": "21",
  12.         "appIdField": "1.as[Int]",
  13.         "context": {
  14.           "loco_id": "last(loco_id)"
  15.         }
  16.       }
  17.     },
  18.     "driverName": "org.postgresql.Driver",
  19.     "userName": "clover",
  20.     "password": "clover",
  21.     "batchInterval": 500
  22.   },
  23.   "patterns": [
  24.     {
  25.       "id": "4991",
  26.       "sourceCode": "PosKM = 0 andThen SpeedEngine > 0 and  (PosKM > 4 for 11 min < 60 sec)",
  27.       "payload": {
  28.         "entity_id": "4991",
  29.         "context": {
  30.           "avgSpeedEngine": "avg(SpeedEngine)"
  31.         }
  32.       }
  33.     }
  34.   ]
  35. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top