Skip to content

Instantly share code, notes, and snippets.

View impy88's full-sized avatar
🔮

Maxim Kotelnikov impy88

🔮
  • France
View GitHub Profile
/**
* Example of using an angular provider to build an api service.
* @author Jeremy Elbourn (@jelbourn)
*/
/** Namespace for the application. */
var app = {};
/******************************************************************************/
@impy88
impy88 / rule-mapping.json
Last active August 29, 2015 14:23
Rule type mapping for ES 1.6
{
"rule":{
"properties":{
"doc": {
"properties":{
"region":{
"type":"geo_shape",
"store":true
},
"rules":{
@impy88
impy88 / detection-mapping.json
Last active August 29, 2015 14:23
Detection type mapping for ES 1.6
{
"detection":{
"properties":{
"doc": {
"properties":{
"detectionTime":{
"type":"date",
"store":true,
"format":"date_time"
},
@impy88
impy88 / flows_engine-test2.json
Last active August 29, 2015 14:23
Node-red engine test-flow
[
{
"type":"tab",
"id":"4f89532b.b076ac",
"label":"Sheet 1"
},
{
"id":"cb4f96b0.34b068",
"type":"mqtt-broker",
"broker":"rabbitmq",
@impy88
impy88 / flows_engine-test2_cred.json
Created June 23, 2015 15:10
Node-red engine credentials
{
"9ee64d0d.6119b":{
},
"cb4f96b0.34b068":{
}
}
@impy88
impy88 / ticket-schema.json
Created June 23, 2015 20:42
Demo ticket schema
{
"rules":[
{
"rules":[
{
"activeTimes":{
"startDay":3,
"endDay":5,
"startTime":"10:00",
"endTime":"17:00"
{
"ticket":{
"properties":{
"doc":{
"properties":{
"assetPosition":{
"type":"geo_point",
"store":true
},
"detectionID":{