daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "name": "Top API Creators",
  3.   "id": "TopAPICreators",
  4.   "thumbnailURL": "",
  5.   "configs": {
  6.     "pubsub": {
  7.       "types": ["subscriber"]
  8.     },
  9.     "providerConfig" : {
  10.       "configs": {
  11.         "type": "SiddhiStoreDataProvider",
  12.         "config": {
  13.           "siddhiApp": "@App:name('APIMTopApiCreatorsSiddhi') @primaryKey('API_ID') @store(type=\"rdbms\" , datasource=\"AM_DB\") define table AM_API(API_ID int,API_PROVIDER string,API_NAME string,API_VERSION string,CONTEXT string,CONTEXT_TEMPLATE string,API_TIER string,CREATED_BY string,CREATED_TIME string,UPDATED_BY string,UPDATED_TIME string);",
  14.           "queryData": {
  15.             "query": "from AM_API select CREATED_BY,count(API_ID) AS count group by CREATED_BY order by count desc limit {{limit}};"
  16.           },
  17.           "publishingInterval": 60
  18.         }
  19.       }
  20.     },
  21.     "options": [
  22.       {
  23.         "id": "header",
  24.         "title": "Header",
  25.         "type": {
  26.           "name": "BOOLEAN",
  27.           "possibleValues": [
  28.             true,
  29.             false
  30.           ]
  31.         },
  32.         "defaultValue": true
  33.       }
  34.     ]
  35.   }
  36. }
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