Skip to content

Commit ea8e77f

Browse files
committed
🏗️ update package name
1 parent 61af451 commit ea8e77f

File tree

149 files changed

+438
-332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+438
-332
lines changed

IOT-Guide-Coap/src/main/java/IOTCoapServer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import com.sanshengshui.coap.*;
2+
import iot.technology.coap.*;
33
import org.eclipse.californium.core.CoapResource;
44
import org.eclipse.californium.core.CoapServer;
55
import java.net.UnknownHostException;

IOT-Guide-Coap/src/main/java/com/sanshengshui/coap/AnotherResource.java renamed to IOT-Guide-Coap/src/main/java/iot/technology/coap/AnotherResource.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.coap;
1+
package iot.technology.coap;
22

33
import org.eclipse.californium.core.CoapResource;
44
import org.eclipse.californium.core.server.resources.CoapExchange;

IOT-Guide-Coap/src/main/java/com/sanshengshui/coap/HelloResource.java renamed to IOT-Guide-Coap/src/main/java/iot/technology/coap/HelloResource.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.coap;
1+
package iot.technology.coap;
22

33
import org.eclipse.californium.core.CoapResource;
44
import org.eclipse.californium.core.server.resources.CoapExchange;

IOT-Guide-Coap/src/main/java/com/sanshengshui/coap/RemovableResource.java renamed to IOT-Guide-Coap/src/main/java/iot/technology/coap/RemovableResource.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.coap;
1+
package iot.technology.coap;
22

33
import org.eclipse.californium.core.CoapResource;
44
import org.eclipse.californium.core.server.resources.CoapExchange;

IOT-Guide-Coap/src/main/java/com/sanshengshui/coap/TimeResource.java renamed to IOT-Guide-Coap/src/main/java/iot/technology/coap/TimeResource.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.coap;
1+
package iot.technology.coap;
22

33
import org.eclipse.californium.core.CoapResource;
44
import org.eclipse.californium.core.server.resources.CoapExchange;

IOT-Guide-Coap/src/main/java/com/sanshengshui/coap/WritableResource.java renamed to IOT-Guide-Coap/src/main/java/iot/technology/coap/WritableResource.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.coap;
1+
package iot.technology.coap;
22

33
import org.eclipse.californium.core.CoapResource;
44
import org.eclipse.californium.core.server.resources.CoapExchange;

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/customer/CustomerDao.java

-4
This file was deleted.

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/customer/CustomerService.java

-4
This file was deleted.

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/customer/CustomerServiceImpl.java

-4
This file was deleted.

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/device/DeviceDao.java

-4
This file was deleted.

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/device/DeviceService.java

-4
This file was deleted.

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/device/DeviceServiceImpl.java

-4
This file was deleted.

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/tenant/TenantDao.java

-4
This file was deleted.

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/tenant/TenantService.java

-4
This file was deleted.

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/tenant/TenantServiceImpl.java

-4
This file was deleted.

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/Dao.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/Dao.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao;
1+
package iot.technology.dao;
22

33

44
import com.google.common.util.concurrent.ListenableFuture;

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/JpaDaoConfig.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/JpaDaoConfig.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao;
1+
package iot.technology.dao;
22

33
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
44
import org.springframework.boot.autoconfigure.domain.EntityScan;
@@ -10,9 +10,9 @@
1010
@Configuration
1111
@EnableAutoConfiguration
1212
@EnableTransactionManagement
13-
@ComponentScan("com.sanshengshui.dao.sql")
13+
@ComponentScan("iot.technology.dao.sql")
1414
@EntityScan("com.sanshengshui.dao.model")
15-
@EnableJpaRepositories("com.sanshengshui.dao.sql")
15+
@EnableJpaRepositories("iot.technology.dao.sql")
1616
@SqlDao
1717
public class JpaDaoConfig {
1818
}

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/SqlDao.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/SqlDao.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao;
1+
package iot.technology.dao;
22

33
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
44

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/customer/Customer.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/customer/Customer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.customer;
1+
package iot.technology.dao.customer;
22

33
import lombok.Data;
44

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package iot.technology.dao.customer;
2+
3+
public interface CustomerDao {
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package iot.technology.dao.customer;
2+
3+
public interface CustomerService {
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package iot.technology.dao.customer;
2+
3+
public class CustomerServiceImpl {
4+
}

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/device/Device.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/device/Device.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.device;
1+
package iot.technology.dao.device;
22

33
import lombok.Data;
44

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package iot.technology.dao.device;
2+
3+
public interface DeviceDao {
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package iot.technology.dao.device;
2+
3+
public interface DeviceService {
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package iot.technology.dao.device;
2+
3+
public class DeviceServiceImpl {
4+
}

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/model/CustomerEntity.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/model/CustomerEntity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.model;
1+
package iot.technology.dao.model;
22

33
import lombok.Data;
44

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/model/DeviceEntity.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/model/DeviceEntity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.model;
1+
package iot.technology.dao.model;
22

33
import lombok.Data;
44

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/model/ModelConstants.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/model/ModelConstants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.model;
1+
package iot.technology.dao.model;
22

33
public class ModelConstants {
44

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/model/TenantEntity.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/model/TenantEntity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.model;
1+
package iot.technology.dao.model;
22

33
import lombok.Data;
44

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/model/UserEntity.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/model/UserEntity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.model;
1+
package iot.technology.dao.model;
22

33
import lombok.Data;
44

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/sql/JpaAbstractDao.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/sql/JpaAbstractDao.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package com.sanshengshui.dao.sql;
1+
package iot.technology.dao.sql;
22

33
import com.google.common.collect.Lists;
44
import com.google.common.util.concurrent.ListenableFuture;
5-
import com.sanshengshui.dao.Dao;
5+
import iot.technology.dao.Dao;
66
import org.springframework.data.repository.CrudRepository;
77

88
import java.util.List;

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/sql/JpaAbstractDaoListeningExecutorService.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/sql/JpaAbstractDaoListeningExecutorService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.sql;
1+
package iot.technology.dao.sql;
22

33
import com.google.common.util.concurrent.ListeningExecutorService;
44
import com.google.common.util.concurrent.MoreExecutors;

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/tenant/Tenant.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/tenant/Tenant.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.tenant;
1+
package iot.technology.dao.tenant;
22

33
import lombok.Data;
44

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package iot.technology.dao.tenant;
2+
3+
public interface TenantDao {
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package iot.technology.dao.tenant;
2+
3+
public interface TenantService {
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package iot.technology.dao.tenant;
2+
3+
public class TenantServiceImpl {
4+
}

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/user/User.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/user/User.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.user;
1+
package iot.technology.dao.user;
22

33
import lombok.Data;
44

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/user/UserDao.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/user/UserDao.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
package com.sanshengshui.dao.user;
2-
3-
import com.sanshengshui.dao.Dao;
1+
package iot.technology.dao.user;
42

53
/**
64
* @Author: 穆书伟

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/user/UserService.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/user/UserService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.user;
1+
package iot.technology.dao.user;
22

33
/**
44
* @Author: 穆书伟

IOT-Guide-DB/src/main/java/com/sanshengshui/dao/user/UserServiceImpl.java renamed to IOT-Guide-DB/src/main/java/iot/technology/dao/user/UserServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.dao.user;
1+
package iot.technology.dao.user;
22

33
/**
44
* @Author: 穆书伟
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package iot.technology.docker;
2+
3+
/**
4+
* @author james mu
5+
* @date 2020/5/20 16:47
6+
*/
7+
public class DockerServer {
8+
9+
public static void main(String[] args) {
10+
System.out.println("waiting update......!");
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package iot.technology.flink;
2+
3+
/**
4+
* @author james mu
5+
* @date 2020/5/20 16:49
6+
*/
7+
public class FlinkServer {
8+
9+
public static void main(String[] args) {
10+
System.out.println("waiting update......!");
11+
}
12+
}

IOT-Guide-Gateway/src/main/java/com/sanshengshui/gateway/GatewayTransportHandler.java renamed to IOT-Guide-Gateway/src/main/java/iot/technology/gateway/GatewayTransportHandler.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.sanshengshui.gateway;
1+
package iot.technology.gateway;
22

3-
import com.sanshengshui.gateway.session.GatewaySessionHandler;
4-
import com.sanshengshui.tsl.adaptor.AdaptorException;
3+
import iot.technology.gateway.session.GatewaySessionHandler;
4+
import iot.technology.tsl.adaptor.AdaptorException;
55
import io.netty.channel.ChannelHandlerContext;
66
import io.netty.channel.ChannelInboundHandlerAdapter;
77
import io.netty.handler.codec.mqtt.*;

IOT-Guide-Gateway/src/main/java/com/sanshengshui/gateway/GatewayTransportServerInitializer.java renamed to IOT-Guide-Gateway/src/main/java/iot/technology/gateway/GatewayTransportServerInitializer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.gateway;
1+
package iot.technology.gateway;
22

33
import io.netty.channel.ChannelInitializer;
44
import io.netty.channel.ChannelPipeline;

IOT-Guide-Gateway/src/main/java/com/sanshengshui/gateway/IOTGatewayServer.java renamed to IOT-Guide-Gateway/src/main/java/iot/technology/gateway/IOTGatewayServer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.gateway;
1+
package iot.technology.gateway;
22

33
import io.netty.bootstrap.ServerBootstrap;
44
import io.netty.channel.ChannelFuture;

IOT-Guide-Gateway/src/main/java/com/sanshengshui/gateway/MqttTopics.java renamed to IOT-Guide-Gateway/src/main/java/iot/technology/gateway/MqttTopics.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.gateway;
1+
package iot.technology.gateway;
22

33
/**
44
* @author james mu

IOT-Guide-Gateway/src/main/java/com/sanshengshui/gateway/adaptors/JsonMqttAdaptor.java renamed to IOT-Guide-Gateway/src/main/java/iot/technology/gateway/adaptors/JsonMqttAdaptor.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
package com.sanshengshui.gateway.adaptors;
1+
package iot.technology.gateway.adaptors;
22

33
import com.google.gson.Gson;
44
import com.google.gson.JsonElement;
55
import com.google.gson.JsonParser;
66
import com.google.gson.JsonSyntaxException;
7-
import com.sanshengshui.tsl.adaptor.AdaptorException;
8-
import com.sanshengshui.tsl.adaptor.JsonConverter;
9-
import com.sanshengshui.tsl.data.kv.AttributeKvEntry;
10-
import com.sanshengshui.tsl.data.kv.KvEntry;
11-
import com.sanshengshui.tsl.session.SessionMsgType;
7+
import iot.technology.tsl.adaptor.AdaptorException;
8+
import iot.technology.tsl.adaptor.JsonConverter;
9+
import iot.technology.tsl.data.kv.AttributeKvEntry;
10+
import iot.technology.tsl.data.kv.KvEntry;
11+
import iot.technology.tsl.session.SessionMsgType;
1212
import io.netty.buffer.ByteBuf;
1313
import io.netty.buffer.ByteBufAllocator;
1414
import io.netty.buffer.UnpooledByteBufAllocator;

IOT-Guide-Gateway/src/main/java/com/sanshengshui/gateway/session/GatewaySessionHandler.java renamed to IOT-Guide-Gateway/src/main/java/iot/technology/gateway/session/GatewaySessionHandler.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package com.sanshengshui.gateway.session;
1+
package iot.technology.gateway.session;
22

33
import com.google.gson.JsonElement;
4-
import com.sanshengshui.gateway.adaptors.JsonMqttAdaptor;
5-
import com.sanshengshui.tsl.adaptor.AdaptorException;
4+
import iot.technology.gateway.adaptors.JsonMqttAdaptor;
5+
import iot.technology.tsl.adaptor.AdaptorException;
66
import io.netty.handler.codec.mqtt.MqttPublishMessage;
77

88
import org.springframework.util.StringUtils;

IOT-Guide-HTTP/src/main/java/com/sanshengshui/http/HttpApiServer.java renamed to IOT-Guide-HTTP/src/main/java/iot/technology/http/HttpApiServer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.http;
1+
package iot.technology.http;
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -8,7 +8,7 @@
88
* @Date: 19-4-17 上午9:17
99
* @Version 1.0
1010
*/
11-
@SpringBootApplication(scanBasePackages = {"com.sanshengshui.http"})
11+
@SpringBootApplication(scanBasePackages = {"iot.technology.http"})
1212
public class HttpApiServer {
1313

1414
/**

IOT-Guide-HTTP/src/main/java/com/sanshengshui/http/controller/DeviceApiController.java renamed to IOT-Guide-HTTP/src/main/java/iot/technology/http/controller/DeviceApiController.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package com.sanshengshui.http.controller;
1+
package iot.technology.http.controller;
22

33
import com.google.gson.JsonParser;
4-
import com.sanshengshui.http.quota.host.HostRequestsQuotaService;
5-
import com.sanshengshui.tsl.adaptor.JsonConverter;
6-
import com.sanshengshui.tsl.data.kv.AttributeKvEntry;
7-
import com.sanshengshui.tsl.data.kv.KvEntry;
4+
import iot.technology.http.quota.host.HostRequestsQuotaService;
5+
import iot.technology.tsl.adaptor.JsonConverter;
6+
import iot.technology.tsl.data.kv.AttributeKvEntry;
7+
import iot.technology.tsl.data.kv.KvEntry;
88
import lombok.extern.slf4j.Slf4j;
99
import org.springframework.beans.factory.annotation.Autowired;
1010
import org.springframework.beans.factory.annotation.Value;

IOT-Guide-HTTP/src/main/java/com/sanshengshui/http/quota/AbstractQuotaService.java renamed to IOT-Guide-HTTP/src/main/java/iot/technology/http/quota/AbstractQuotaService.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package com.sanshengshui.http.quota;
1+
package iot.technology.http.quota;
22

3-
import com.sanshengshui.http.quota.inmemory.IntervalRegistryCleaner;
4-
import com.sanshengshui.http.quota.inmemory.IntervalRegistryLogger;
5-
import com.sanshengshui.http.quota.inmemory.KeyBasedIntervalRegistry;
3+
import iot.technology.http.quota.inmemory.IntervalRegistryCleaner;
4+
import iot.technology.http.quota.inmemory.IntervalRegistryLogger;
5+
import iot.technology.http.quota.inmemory.KeyBasedIntervalRegistry;
66

77
import javax.annotation.PostConstruct;
88
import javax.annotation.PreDestroy;

IOT-Guide-HTTP/src/main/java/com/sanshengshui/http/quota/Clock.java renamed to IOT-Guide-HTTP/src/main/java/iot/technology/http/quota/Clock.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.http.quota;
1+
package iot.technology.http.quota;
22

33
/**
44
* @author james mu

IOT-Guide-HTTP/src/main/java/com/sanshengshui/http/quota/QuotaService.java renamed to IOT-Guide-HTTP/src/main/java/iot/technology/http/quota/QuotaService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.http.quota;
1+
package iot.technology.http.quota;
22

33
/**
44
* @author james mu

IOT-Guide-HTTP/src/main/java/com/sanshengshui/http/quota/RequestLimitPolicy.java renamed to IOT-Guide-HTTP/src/main/java/iot/technology/http/quota/RequestLimitPolicy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.sanshengshui.http.quota;
1+
package iot.technology.http.quota;
22

33
/**
44
* @author james mu

0 commit comments

Comments
 (0)