# SmartCloudPlatform **Repository Path**: z550/smart-cloud-platform ## Basic Information - **Project Name**: SmartCloudPlatform - **Description**: smart-cloud-platform - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 0 - **Created**: 2023-01-28 - **Last Updated**: 2024-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README SpringBoot:2.6.3 Spring Cloud:2021.0.1 SpringCloudAlibaba:2021.0.1.0 Sentinel:1.8.3 Nacos:1.4.2 RocketMQ:4.9.2 Dubbo:2.7.13 Seata:1.4.2 nacos安装: 1、docker pull nacos/nacos-server:1.4.2 2、docker run --name nacos-server1.4.2 -e MODE=standalone -p 8849:8848 -d nacos/nacos-server:1.4.2 推荐配置: 如果上面的属性配置不能满足需求, 可以挂载自定的配置文件(custom.properties)到容器的/home/nacos/init.d/目录,这个 目录的spring属性会被配置,并且优先级要大于application.properties文件 Nacos配置中心使用:约定:测试中心分测试环境(dev)、发布环境(deploy)、生产环境(pro),group用项目名代替,dataId全部默认模块项目名;默认的通用配置不要动 https://github.com/alibaba/spring-cloud-alibaba/wiki/Nacos-config 所有的包必须以com.linteng.iot开始 计划: Iot-Data-Api:所有对外提供的接口,插件模块的管理全部动这里出去,方便对第三方权限管理 Iot-Data-Admin:平台管理模块 Iot-Data-Auth:认证模块 Iot-Data-Model-VO:系统的vo和dto,这里牵涉到服务之间的调用,防止模块循环依赖 Iot-Data-MQ:mq模块 Iot-Data-Mqtt:mqtt模块 Iot-Data-SMS:短信模块 Iot-Data-UdpTcp 1、采用netty 2、使用springweb的webflux 3、使用netty+spring+自定义注解方式 4、编解码使用委托代理方式实现,这样可以通过数据库配置直接启动新的服务 Iot-Data-Http: 直接使用retrofit-spring-boot-starter源码方式,在此基础上实现从数据库动态添加对外访问接口