Merge branch 'master' of github.com:thingsboard/thingsboard into develop/3.0
This commit is contained in:
commit
bf258a94a3
@ -258,11 +258,11 @@ sql:
|
||||
ttl:
|
||||
ts:
|
||||
enabled: "${SQL_TTL_TS_ENABLED:true}"
|
||||
execution_interval_ms: "${SQL_TTL_TS_EXECUTION_INTERVAL:86400000}" # Number of miliseconds. The current value corresponds to one day
|
||||
execution_interval_ms: "${SQL_TTL_TS_EXECUTION_INTERVAL:86400000}" # Number of milliseconds. The current value corresponds to one day
|
||||
ts_key_value_ttl: "${SQL_TTL_TS_TS_KEY_VALUE_TTL:0}" # Number of seconds
|
||||
events:
|
||||
enabled: "${SQL_TTL_EVENTS_ENABLED:true}"
|
||||
execution_interval_ms: "${SQL_TTL_EVENTS_EXECUTION_INTERVAL:86400000}" # Number of miliseconds. The current value corresponds to one day
|
||||
execution_interval_ms: "${SQL_TTL_EVENTS_EXECUTION_INTERVAL:86400000}" # Number of milliseconds. The current value corresponds to one day
|
||||
events_ttl: "${SQL_TTL_EVENTS_EVENTS_TTL:0}" # Number of seconds
|
||||
debug_events_ttl: "${SQL_TTL_EVENTS_DEBUG_EVENTS_TTL:604800}" # Number of seconds. The current value corresponds to one week
|
||||
|
||||
|
||||
@ -391,6 +391,7 @@ public class JsonConverter {
|
||||
break;
|
||||
case JSON_V:
|
||||
result.add(de.getKv().getKey(), JSON_PARSER.parse(de.getKv().getJsonV()));
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException("Unsupported data type: " + de.getKv().getType());
|
||||
}
|
||||
|
||||
@ -177,6 +177,7 @@ public abstract class TbAbstractGetAttributesNode<C extends TbGetAttributesNodeC
|
||||
} catch (IOException e) {
|
||||
throw new JsonParseException("Can't parse jsonValue: " + r.getJsonValue().get(), e);
|
||||
}
|
||||
break;
|
||||
}
|
||||
msg.getMetaData().putValue(r.getKey(), value.toString());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user