code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
package com.zmops.zeus.iot.server.receiver; public class Const { public static final String CAMEL_ZABBIX_COMPONENT_NAME = "Zabbix"; public static final String CAMEL_ARK_COMPONENT_NAME = "ArkBiz"; }
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/Const.java
Java
gpl-3.0
209
package com.zmops.zeus.iot.server.receiver; /** * 协议服务启停 */ public enum ProtocolAction { stop, start }
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/ProtocolAction.java
Java
gpl-3.0
123
package com.zmops.zeus.iot.server.receiver; /** * @author nantian created at 2021/10/24 13:47 */ public enum ProtocolEnum { HttpServer, MqttClient, TcpServer, UdpServer, CoapServer, WebSocketServer }
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/ProtocolEnum.java
Java
gpl-3.0
208
package com.zmops.zeus.iot.server.receiver; import lombok.Setter; import org.apache.camel.builder.RouteBuilder; import java.util.Map; /** * @author nantian created at 2021/10/24 14:38 */ public abstract class ReceiverServerRoute extends RouteBuilder { @Setter protected String routeId; @Setter pro...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/ReceiverServerRoute.java
Java
gpl-3.0
507
package com.zmops.zeus.iot.server.receiver.handler.ark; import com.zmops.zeus.server.library.module.ModuleManager; import org.apache.camel.Endpoint; import org.apache.camel.support.DefaultComponent; import java.util.Map; /** * @author nantian created at 2021/12/2 22:35 */ public class ArkBizComponent extends Defau...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/ark/ArkBizComponent.java
Java
gpl-3.0
896
package com.zmops.zeus.iot.server.receiver.handler.ark; import org.apache.camel.Endpoint; import org.apache.camel.Processor; import org.apache.camel.support.DefaultConsumer; /** * @author nantian created at 2021/12/2 22:35 */ public class ArkBizConsumer extends DefaultConsumer { public ArkBizConsumer(Endpoint ...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/ark/ArkBizConsumer.java
Java
gpl-3.0
397
package com.zmops.zeus.iot.server.receiver.handler.ark; import com.zmops.zeus.server.library.module.ModuleManager; import org.apache.camel.Component; import org.apache.camel.Consumer; import org.apache.camel.Processor; import org.apache.camel.Producer; import org.apache.camel.support.DefaultEndpoint; /** * @author...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/ark/ArkBizEndpoint.java
Java
gpl-3.0
1,203
package com.zmops.zeus.iot.server.receiver.handler.ark; import com.zmops.zeus.dto.DataMessage; import com.zmops.zeus.dto.ItemValue; import com.zmops.zeus.facade.DynamicProcotol; import com.zmops.zeus.iot.server.receiver.module.CamelReceiverModule; import com.zmops.zeus.iot.server.receiver.service.ReferenceClientServic...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/ark/ArkBizProducer.java
Java
gpl-3.0
1,723
package com.zmops.zeus.iot.server.receiver.handler.zabbix; import lombok.Getter; import lombok.Setter; import java.util.Map; /** * @author nantian created at 2021/8/23 18:01 * <p> * 方便大家理解,转换一下 命名 */ @Getter @Setter public class IoTDeviceValue { private String deviceId; // 设备ID private Map<String, Str...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/IoTDeviceValue.java
Java
gpl-3.0
445
package com.zmops.zeus.iot.server.receiver.handler.zabbix; import com.zmops.zeus.server.library.module.ModuleManager; import org.apache.camel.Endpoint; import org.apache.camel.support.DefaultComponent; import java.util.Map; /** * @author nantian created at 2021/8/16 22:38 */ public class ZabbixSenderComponent exte...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/ZabbixSenderComponent.java
Java
gpl-3.0
853
package com.zmops.zeus.iot.server.receiver.handler.zabbix; import org.apache.camel.Endpoint; import org.apache.camel.Processor; import org.apache.camel.support.DefaultConsumer; /** * @author nantian created at 2021/8/16 22:47 */ public class ZabbixSenderConsumer extends DefaultConsumer { public ZabbixSenderCon...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/ZabbixSenderConsumer.java
Java
gpl-3.0
412
package com.zmops.zeus.iot.server.receiver.handler.zabbix; import com.zmops.zeus.server.library.module.ModuleManager; import org.apache.camel.Component; import org.apache.camel.Consumer; import org.apache.camel.Processor; import org.apache.camel.Producer; import org.apache.camel.support.DefaultEndpoint; /** * @autho...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/ZabbixSenderEndpoint.java
Java
gpl-3.0
1,185
package com.zmops.zeus.iot.server.receiver.handler.zabbix; import com.zmops.zeus.dto.ItemValue; import lombok.Getter; import lombok.Setter; import java.util.ArrayList; import java.util.List; /** * @author nantian created at 2021/8/23 16:49 */ public class ZabbixTrapper { @Getter private final String requ...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/ZabbixTrapper.java
Java
gpl-3.0
531
package com.zmops.zeus.iot.server.receiver.handler.zabbix; import com.google.gson.Gson; import com.zmops.zeus.dto.ItemValue; import com.zmops.zeus.iot.server.receiver.handler.zabbix.worker.ItemDataTransferWorker; import com.zmops.zeus.server.library.module.ModuleManager; import com.zmops.zeus.server.library.util.Strin...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/ZabbixTrapperProducer.java
Java
gpl-3.0
2,138
package com.zmops.zeus.iot.server.receiver.handler.zabbix.process; import com.google.gson.Gson; import com.zmops.zeus.dto.ItemValue; import com.zmops.zeus.iot.server.receiver.handler.zabbix.IoTDeviceValue; import org.apache.camel.Exchange; import org.apache.camel.Message; import org.apache.camel.Processor; import jav...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/process/JsonToItemValueProcess.java
Java
gpl-3.0
1,964
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/worker/AbstractWorker.java
Java
gpl-3.0
1,714
package com.zmops.zeus.iot.server.receiver.handler.zabbix.worker; import com.google.gson.Gson; import com.zmops.zeus.dto.ItemValue; import com.zmops.zeus.iot.server.receiver.handler.zabbix.ZabbixTrapper; import com.zmops.zeus.iot.server.sender.module.ZabbixSenderModule; import com.zmops.zeus.iot.server.sender.service....
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/worker/ItemDataTransferWorker.java
Java
gpl-3.0
4,611
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/handler/zabbix/worker/TransferWorker.java
Java
gpl-3.0
1,503
package com.zmops.zeus.iot.server.receiver.module; import com.zmops.zeus.iot.server.receiver.service.CamelContextHolderService; import com.zmops.zeus.iot.server.receiver.service.ReferenceClientService; import com.zmops.zeus.server.library.module.ModuleDefine; import java.util.ArrayList; import java.util.List; /** *...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/module/CamelReceiverModule.java
Java
gpl-3.0
864
package com.zmops.zeus.iot.server.receiver.provider; import com.zmops.zeus.server.library.module.ModuleConfig; import lombok.Getter; import lombok.Setter; /** * @author nantian created at 2021/10/23 21:25 */ @Getter @Setter public class CamelReceiverConfig extends ModuleConfig { private String version; }
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/provider/CamelReceiverConfig.java
Java
gpl-3.0
316
package com.zmops.zeus.iot.server.receiver.provider; import com.zmops.zeus.iot.server.receiver.Const; import com.zmops.zeus.iot.server.receiver.handler.ark.ArkBizComponent; import com.zmops.zeus.iot.server.receiver.handler.zabbix.ZabbixSenderComponent; import com.zmops.zeus.iot.server.receiver.module.CamelReceiverModu...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/provider/CamelReceiverProvider.java
Java
gpl-3.0
3,135
package com.zmops.zeus.iot.server.receiver.routes; import com.zmops.zeus.iot.server.receiver.ReceiverServerRoute; import java.util.Map; /** * @author nantian created at 2021/10/24 14:23 */ public class CoapServerRouteBuilder extends ReceiverServerRoute { public CoapServerRouteBuilder(String routeId, Map<Strin...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/routes/CoapServerRouteBuilder.java
Java
gpl-3.0
452
package com.zmops.zeus.iot.server.receiver.routes; import com.zmops.zeus.iot.server.receiver.ReceiverServerRoute; import lombok.extern.slf4j.Slf4j; import org.apache.camel.LoggingLevel; import java.util.Map; /** * @author nantian created at 2021/10/23 23:25 */ @Slf4j public class HttpRouteBuilder extends Receiver...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/routes/HttpRouteBuilder.java
Java
gpl-3.0
849
package com.zmops.zeus.iot.server.receiver.routes; import com.zmops.zeus.iot.server.receiver.ReceiverServerRoute; import java.util.Map; /** * @author nantian created at 2021/11/26 13:54 */ public class MqttBrokerRouteBuilder extends ReceiverServerRoute { public MqttBrokerRouteBuilder(String routeId, Map<Strin...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/routes/MqttBrokerRouteBuilder.java
Java
gpl-3.0
452
package com.zmops.zeus.iot.server.receiver.routes; import com.zmops.zeus.iot.server.h2.module.LocalH2Module; import com.zmops.zeus.iot.server.h2.service.InsertDAO; import com.zmops.zeus.iot.server.receiver.ReceiverServerRoute; import com.zmops.zeus.server.library.module.ModuleManager; import org.apache.camel.Exchange;...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/routes/MqttClientRouteBuilder.java
Java
gpl-3.0
2,705
package com.zmops.zeus.iot.server.receiver.routes; import com.zmops.zeus.iot.server.receiver.ReceiverServerRoute; import java.util.Map; /** * @author nantian created at 2021/10/24 0:11 */ public class TcpServerRouteBuilder extends ReceiverServerRoute { public TcpServerRouteBuilder(String routeId, Map<String, ...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/routes/TcpServerRouteBuilder.java
Java
gpl-3.0
449
package com.zmops.zeus.iot.server.receiver.routes; import com.zmops.zeus.iot.server.receiver.ReceiverServerRoute; import java.util.Map; /** * @author nantian created at 2021/10/24 0:12 */ public class UdpServerRouteBuilder extends ReceiverServerRoute { public UdpServerRouteBuilder(String routeId, Map<String, ...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/routes/UdpServerRouteBuilder.java
Java
gpl-3.0
449
package com.zmops.zeus.iot.server.receiver.routes; import com.zmops.zeus.iot.server.receiver.ReceiverServerRoute; import java.util.Map; /** * @author nantian created at 2021/10/24 14:23 */ public class WebSocketServerRouteBuilder extends ReceiverServerRoute { public WebSocketServerRouteBuilder(String routeId,...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/routes/WebSocketServerRouteBuilder.java
Java
gpl-3.0
462
package com.zmops.zeus.iot.server.receiver.service; import com.zmops.zeus.server.library.module.ModuleManager; import com.zmops.zeus.server.library.module.Service; import lombok.extern.slf4j.Slf4j; import org.apache.camel.CamelContext; import org.apache.camel.Route; import org.apache.camel.RoutesBuilder; /** * @auth...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/service/CamelContextHolderService.java
Java
gpl-3.0
1,879
package com.zmops.zeus.iot.server.receiver.service; import com.zmops.zeus.facade.DynamicProcotol; import com.zmops.zeus.server.library.module.ModuleManager; import com.zmops.zeus.server.library.module.Service; import com.zmops.zeus.server.runtime.api.client.ReferenceClient; import com.zmops.zeus.server.runtime.api.cli...
2301_81045437/zeus-iot
iot-server/server-camel-receiver/src/main/java/com/zmops/zeus/iot/server/receiver/service/ReferenceClientService.java
Java
gpl-3.0
1,740
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-client/src/main/java/com/zmops/zeus/iot/server/client/Client.java
Java
gpl-3.0
985
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-client/src/main/java/com/zmops/zeus/iot/server/client/ClientException.java
Java
gpl-3.0
1,084
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-client/src/main/java/com/zmops/zeus/iot/server/client/healthcheck/DelegatedHealthChecker.java
Java
gpl-3.0
1,661
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-client/src/main/java/com/zmops/zeus/iot/server/client/healthcheck/HealthCheckable.java
Java
gpl-3.0
1,243
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-client/src/main/java/com/zmops/zeus/iot/server/client/jdbc/JDBCClientException.java
Java
gpl-3.0
1,125
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-client/src/main/java/com/zmops/zeus/iot/server/client/jdbc/hikaricp/JDBCHikariCPClient.java
Java
gpl-3.0
6,032
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-client/src/main/java/com/zmops/zeus/iot/server/client/request/InsertRequest.java
Java
gpl-3.0
912
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-client/src/main/java/com/zmops/zeus/iot/server/client/request/PrepareRequest.java
Java
gpl-3.0
890
package com.zmops.zeus.iot.server.core; /** * 核心模块 参数 */ public class CoreConst { public static final String CORE_MODULE_VERSION = "1.0.1"; }
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/CoreConst.java
Java
gpl-3.0
162
package com.zmops.zeus.iot.server.core; import com.zmops.zeus.server.library.module.ModuleDefine; import java.util.ArrayList; import java.util.List; /** * @author nantian created at 2021/8/16 22:27 */ public class CoreModule extends ModuleDefine { public static final String NAME = "core"; public CoreModu...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/CoreModule.java
Java
gpl-3.0
511
package com.zmops.zeus.iot.server.core; import com.zmops.zeus.server.library.module.ModuleConfig; import lombok.Getter; import lombok.Setter; /** * @author nantian created at 2021/8/16 22:29 */ @Setter @Getter public class CoreModuleConfig extends ModuleConfig { private String nameSpace; private String ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/CoreModuleConfig.java
Java
gpl-3.0
1,052
package com.zmops.zeus.iot.server.core; import com.zmops.zeus.iot.server.core.analysis.StreamAnnotationListener; import com.zmops.zeus.iot.server.core.annotation.AnnotationScan; import com.zmops.zeus.iot.server.core.storage.StorageException; import com.zmops.zeus.iot.server.receiver.module.CamelReceiverModule; import ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/CoreModuleProvider.java
Java
gpl-3.0
3,131
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/RunningMode.java
Java
gpl-3.0
1,661
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/UnexpectedException.java
Java
gpl-3.0
1,092
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/Stream.java
Java
gpl-3.0
1,527
package com.zmops.zeus.iot.server.core.analysis; import com.zmops.zeus.iot.server.core.UnexpectedException; import com.zmops.zeus.iot.server.core.analysis.worker.RecordStreamProcessor; import com.zmops.zeus.iot.server.core.annotation.AnnotationListener; import com.zmops.zeus.iot.server.core.storage.StorageException; i...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/StreamAnnotationListener.java
Java
gpl-3.0
1,534
package com.zmops.zeus.iot.server.core.analysis; /** * @author nantian created at 2021/9/6 16:49 */ public interface StreamProcessor<STREAM> { /** * 写入数据 * * @param stream record */ void in(STREAM stream); }
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/StreamProcessor.java
Java
gpl-3.0
248
package com.zmops.zeus.iot.server.core.analysis.manual.history; import com.zmops.zeus.iot.server.core.analysis.Stream; import com.zmops.zeus.iot.server.core.analysis.record.Record; import com.zmops.zeus.iot.server.core.analysis.worker.RecordStreamProcessor; import lombok.Getter; import lombok.Setter; import java.util...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/manual/history/History.java
Java
gpl-3.0
992
package com.zmops.zeus.iot.server.core.analysis.manual.history; import com.zmops.zeus.iot.server.core.analysis.Stream; import com.zmops.zeus.iot.server.core.analysis.record.Record; import com.zmops.zeus.iot.server.core.analysis.worker.RecordStreamProcessor; import lombok.Getter; import lombok.Setter; import java.util...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/manual/history/StrHistory.java
Java
gpl-3.0
999
package com.zmops.zeus.iot.server.core.analysis.manual.history; import com.zmops.zeus.iot.server.core.analysis.Stream; import com.zmops.zeus.iot.server.core.analysis.record.Record; import com.zmops.zeus.iot.server.core.analysis.worker.RecordStreamProcessor; import lombok.Getter; import lombok.Setter; import java.util...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/manual/history/TextHistory.java
Java
gpl-3.0
1,001
package com.zmops.zeus.iot.server.core.analysis.manual.history; import com.zmops.zeus.iot.server.core.analysis.Stream; import com.zmops.zeus.iot.server.core.analysis.record.Record; import com.zmops.zeus.iot.server.core.analysis.worker.RecordStreamProcessor; import lombok.Getter; import lombok.Setter; import java.util...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/manual/history/UIntHistory.java
Java
gpl-3.0
993
package com.zmops.zeus.iot.server.core.analysis.manual.trends; /** * @author nantian created at 2021/9/6 17:32 */ public class Trends { }
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/manual/trends/Trends.java
Java
gpl-3.0
141
package com.zmops.zeus.iot.server.core.analysis.manual.trends; /** * @author nantian created at 2021/9/6 17:32 */ public class UIntTrends { }
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/manual/trends/UIntTrends.java
Java
gpl-3.0
145
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/record/Record.java
Java
gpl-3.0
1,156
package com.zmops.zeus.iot.server.core.analysis.worker; import com.zmops.zeus.iot.server.core.analysis.record.Record; import com.zmops.zeus.iot.server.core.storage.IBatchDAO; import com.zmops.zeus.iot.server.core.storage.IRecordDAO; import com.zmops.zeus.iot.server.core.storage.StorageModule; import com.zmops.zeus.iot...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/worker/RecordPersistentWorker.java
Java
gpl-3.0
1,406
package com.zmops.zeus.iot.server.core.analysis.worker; import com.zmops.zeus.iot.server.core.analysis.Stream; import com.zmops.zeus.iot.server.core.analysis.StreamProcessor; import com.zmops.zeus.iot.server.core.analysis.record.Record; import com.zmops.zeus.iot.server.core.storage.IRecordDAO; import com.zmops.zeus.io...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/analysis/worker/RecordStreamProcessor.java
Java
gpl-3.0
1,710
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/annotation/AnnotationListener.java
Java
gpl-3.0
1,107
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/annotation/AnnotationScan.java
Java
gpl-3.0
3,188
package com.zmops.zeus.iot.server.core.servlet; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.zmops.zeus.server.jetty.ArgumentsParseException; import com.zmops.zeus.server.jetty.JettyJsonHandler; import com.zmops.zeus.server.library.module.ModuleManager; import lombok.extern.slf4j.Slf4j; ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/servlet/DeviceTriggerActionHandler.java
Java
gpl-3.0
2,132
package com.zmops.zeus.iot.server.core.servlet; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.reflect.TypeToken; import com.zmops.zeus.iot.server.core.worker.data.ItemValue; import com.zmops.zeus.iot.server.core.worker.data.ZabbixTrapper; imp...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/servlet/HttpItemTrapperHandler.java
Java
gpl-3.0
2,307
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/storage/DAO.java
Java
gpl-3.0
1,011
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/storage/IBatchDAO.java
Java
gpl-3.0
1,960
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/storage/IRecordDAO.java
Java
gpl-3.0
1,264
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/storage/StorageDAO.java
Java
gpl-3.0
1,168
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/storage/StorageData.java
Java
gpl-3.0
1,063
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/storage/StorageException.java
Java
gpl-3.0
1,085
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/storage/StorageModule.java
Java
gpl-3.0
1,437
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/storage/model/Model.java
Java
gpl-3.0
1,121
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/worker/AbstractWorker.java
Java
gpl-3.0
1,695
package com.zmops.zeus.iot.server.core.worker; import com.google.gson.Gson; import com.zmops.zeus.iot.server.core.UnexpectedException; import com.zmops.zeus.iot.server.core.worker.data.ItemValue; import com.zmops.zeus.iot.server.core.worker.data.ZabbixTrapper; import com.zmops.zeus.iot.server.sender.module.ZabbixSende...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/worker/ItemDataTransferWorker.java
Java
gpl-3.0
4,697
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/worker/TransferWorker.java
Java
gpl-3.0
1,507
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/worker/data/BufferedData.java
Java
gpl-3.0
1,460
package com.zmops.zeus.iot.server.core.worker.data; /** * @author nantian created at 2021/8/23 15:14 * <p> * 对应设备的属性 */ public interface Item { /** * 设备ID 唯一 * * @return string */ String host(); /** * 属性标识 唯一 * * @return string */ String key(); }
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/worker/data/Item.java
Java
gpl-3.0
344
package com.zmops.zeus.iot.server.core.worker.data; import lombok.Getter; import lombok.Setter; /** * @author nantian created at 2021/8/23 15:15 */ @Getter @Setter public class ItemValue implements Item { private String host; // 【设备ID】 private String key; // 【属性标识】 // 【设备上报 值】,都是文本 // Zabbix 会根...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/worker/data/ItemValue.java
Java
gpl-3.0
1,216
package com.zmops.zeus.iot.server.core.worker.data; import lombok.Getter; import lombok.Setter; import java.util.ArrayList; import java.util.List; /** * @author nantian created at 2021/8/23 16:49 */ public class ZabbixTrapper { @Getter private final String request = "sender data"; @Setter @Gette...
2301_81045437/zeus-iot
iot-server/server-core/src/main/java/com/zmops/zeus/iot/server/core/worker/data/ZabbixTrapper.java
Java
gpl-3.0
487
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-health-checker/src/main/java/com/zmops/zeus/iot/server/health/checker/module/HealthCheckerModule.java
Java
gpl-3.0
1,397
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-health-checker/src/main/java/com/zmops/zeus/iot/server/health/checker/provider/HealthCheckerConfig.java
Java
gpl-3.0
1,112
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-health-checker/src/main/java/com/zmops/zeus/iot/server/health/checker/provider/HealthCheckerProvider.java
Java
gpl-3.0
4,122
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-health-checker/src/main/java/com/zmops/zeus/iot/server/health/checker/provider/HealthQueryService.java
Java
gpl-3.0
1,651
package com.zmops.zeus.iot.server.h2.module; import com.zmops.zeus.iot.server.h2.service.InsertDAO; import com.zmops.zeus.server.library.module.ModuleDefine; /** * @author nantian created at 2021/10/24 16:56 */ public class LocalH2Module extends ModuleDefine { public static final String NAME = "local-h2"; ...
2301_81045437/zeus-iot
iot-server/server-localdb/src/main/java/com/zmops/zeus/iot/server/h2/module/LocalH2Module.java
Java
gpl-3.0
499
package com.zmops.zeus.iot.server.h2.provider; import com.zmops.zeus.server.library.module.ModuleConfig; import lombok.Getter; import lombok.Setter; /** * @author nantian created at 2021/10/24 16:45 * <p> * H2 配置,用于 IoT Server 本地组件状态缓存 */ @Getter @Setter public class LocalH2Config extends ModuleConfig { pri...
2301_81045437/zeus-iot
iot-server/server-localdb/src/main/java/com/zmops/zeus/iot/server/h2/provider/LocalH2Config.java
Java
gpl-3.0
604
package com.zmops.zeus.iot.server.h2.provider; import com.zmops.zeus.iot.server.client.jdbc.JDBCClientException; import com.zmops.zeus.iot.server.client.jdbc.hikaricp.JDBCHikariCPClient; import com.zmops.zeus.iot.server.h2.service.InsertDAO; import java.sql.ResultSet; import java.sql.SQLException; /** * @author yef...
2301_81045437/zeus-iot
iot-server/server-localdb/src/main/java/com/zmops/zeus/iot/server/h2/provider/LocalH2InsertDAO.java
Java
gpl-3.0
1,588
package com.zmops.zeus.iot.server.h2.provider; import com.zmops.zeus.iot.server.client.jdbc.JDBCClientException; import com.zmops.zeus.iot.server.client.jdbc.hikaricp.JDBCHikariCPClient; import com.zmops.zeus.iot.server.h2.module.LocalH2Module; import com.zmops.zeus.iot.server.h2.service.InsertDAO; import com.zmops.ze...
2301_81045437/zeus-iot
iot-server/server-localdb/src/main/java/com/zmops/zeus/iot/server/h2/provider/LocalH2Provider.java
Java
gpl-3.0
4,382
package com.zmops.zeus.iot.server.h2.service; import com.zmops.zeus.server.library.module.Service; import java.sql.ResultSet; /** * @author yefei **/ public interface InsertDAO extends Service { void insert(String sql); int update(String sql, Object... params); ResultSet queryRes(String sql, Object....
2301_81045437/zeus-iot
iot-server/server-localdb/src/main/java/com/zmops/zeus/iot/server/h2/service/InsertDAO.java
Java
gpl-3.0
364
package com.zmops.zeus.iot.server.sender.module; import com.zmops.zeus.iot.server.sender.service.ZabbixSenderService; import com.zmops.zeus.server.library.module.ModuleDefine; /** * @author nantian created at 2021/8/14 14:35 * <p> * 数据发送到 Zabbix Trapper,参数值:"sender data" */ public class ZabbixSenderModule extends...
2301_81045437/zeus-iot
iot-server/server-sender/src/main/java/com/zmops/zeus/iot/server/sender/module/ZabbixSenderModule.java
Java
gpl-3.0
611
package com.zmops.zeus.iot.server.sender.provider; import lombok.extern.slf4j.Slf4j; import java.net.InetSocketAddress; import java.net.Socket; /** * @author nantian created at 2021/8/14 14:46 * <p> * Zabbix 发送 Socket Client */ @Slf4j public class ZabbixSenderClient { private static ZabbixSenderModuleConfi...
2301_81045437/zeus-iot
iot-server/server-sender/src/main/java/com/zmops/zeus/iot/server/sender/provider/ZabbixSenderClient.java
Java
gpl-3.0
1,099
package com.zmops.zeus.iot.server.sender.provider; import com.zmops.zeus.server.library.module.ModuleConfig; import lombok.Getter; import lombok.Setter; /** * @author nantian created at 2021/8/14 14:41 */ @Setter @Getter public class ZabbixSenderModuleConfig extends ModuleConfig { /** * Export tcp port ...
2301_81045437/zeus-iot
iot-server/server-sender/src/main/java/com/zmops/zeus/iot/server/sender/provider/ZabbixSenderModuleConfig.java
Java
gpl-3.0
435
package com.zmops.zeus.iot.server.sender.provider; import com.zmops.zeus.iot.server.sender.module.ZabbixSenderModule; import com.zmops.zeus.iot.server.sender.service.ZabbixSenderService; import com.zmops.zeus.server.library.module.*; import lombok.extern.slf4j.Slf4j; /** * @author nantian created at 2021/8/14 14:40 ...
2301_81045437/zeus-iot
iot-server/server-sender/src/main/java/com/zmops/zeus/iot/server/sender/provider/ZabbixSenderProvider.java
Java
gpl-3.0
1,485
package com.zmops.zeus.iot.server.sender.service; import com.google.gson.Gson; import com.zmops.zeus.iot.server.sender.provider.ZabbixSenderClient; import com.zmops.zeus.server.library.module.ModuleManager; import com.zmops.zeus.server.library.module.Service; import lombok.extern.slf4j.Slf4j; import java.io.IOExcepti...
2301_81045437/zeus-iot
iot-server/server-sender/src/main/java/com/zmops/zeus/iot/server/sender/service/ZabbixSenderService.java
Java
gpl-3.0
4,045
package com.zmops.zeus.iot.server.starter; import com.alipay.sofa.ark.support.startup.SofaArkBootstrap; import lombok.extern.slf4j.Slf4j; /** * @author nantian created at 2021/8/13 15:26 * <p> * 宙斯服务 协议层启动 */ @Slf4j public class IoTServerStartUp { public static void main(String[] args) { SofaArkBoots...
2301_81045437/zeus-iot
iot-server/server-starter/src/main/java/com/zmops/zeus/iot/server/starter/IoTServerStartUp.java
Java
gpl-3.0
466
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-influxdb-plugin/src/main/java/com/zmops/zeus/iot/server/storage/plugin/jdbc/influxdb/InfluxClient.java
Java
gpl-3.0
8,318
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-influxdb-plugin/src/main/java/com/zmops/zeus/iot/server/storage/plugin/jdbc/influxdb/InfluxStorageConfig.java
Java
gpl-3.0
1,379
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-influxdb-plugin/src/main/java/com/zmops/zeus/iot/server/storage/plugin/jdbc/influxdb/InfluxStorageProvider.java
Java
gpl-3.0
3,097
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-influxdb-plugin/src/main/java/com/zmops/zeus/iot/server/storage/plugin/jdbc/influxdb/dao/BatchDAO.java
Java
gpl-3.0
2,144
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-influxdb-plugin/src/main/java/com/zmops/zeus/iot/server/storage/plugin/jdbc/influxdb/dao/InfluxInsertRequest.java
Java
gpl-3.0
2,827
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-influxdb-plugin/src/main/java/com/zmops/zeus/iot/server/storage/plugin/jdbc/influxdb/dao/InfluxStorageDAO.java
Java
gpl-3.0
1,370
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-influxdb-plugin/src/main/java/com/zmops/zeus/iot/server/storage/plugin/jdbc/influxdb/dao/RecordDAO.java
Java
gpl-3.0
1,646
package com.zmops.zeus.iot.server.storage.plugin.none; import com.zmops.zeus.iot.server.core.storage.IBatchDAO; import com.zmops.zeus.iot.server.client.request.InsertRequest; import com.zmops.zeus.iot.server.client.request.PrepareRequest; import java.util.List; /** * @author nantian created at 2021/9/27 21:28 */ p...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-none-storage/src/main/java/com/zmops/zeus/iot/server/storage/plugin/none/BatchDaoNoop.java
Java
gpl-3.0
530
package com.zmops.zeus.iot.server.storage.plugin.none; import com.zmops.zeus.iot.server.core.storage.IBatchDAO; import com.zmops.zeus.iot.server.core.storage.StorageDAO; import com.zmops.zeus.iot.server.core.storage.StorageModule; import com.zmops.zeus.server.library.module.*; /** * @author nantian created at 2021/9...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-none-storage/src/main/java/com/zmops/zeus/iot/server/storage/plugin/none/NoneStorageProvider.java
Java
gpl-3.0
1,350
package com.zmops.zeus.iot.server.storage.plugin.none; import com.zmops.zeus.iot.server.core.storage.IRecordDAO; import com.zmops.zeus.iot.server.core.storage.StorageDAO; /** * @author nantian created at 2021/9/27 21:29 */ public class StorageDAONoop implements StorageDAO { @Override public IRecordDAO newR...
2301_81045437/zeus-iot
iot-server/server-storage-plugin/server-none-storage/src/main/java/com/zmops/zeus/iot/server/storage/plugin/none/StorageDAONoop.java
Java
gpl-3.0
362