1 Star 0 Fork 8

SeanHayes / dubbo-spring-boot-mybatis-redis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

dubbo-spring-boot-mybatis-redis

通过dubbo+spring boot+mybatis+redis等主流技术搭建成一套分布式服务框架

项目介绍:

1、首先安装zookeeper+redis;

2、dearbinge-data-provider服务提供者项目的资源文件dubbo-spring-mybatis.xml下配置zookeeper地址;

3、dearbinge-openapi服务消费者的资源文件dubbo-services.xml下配置zookeeper地址,然后在application.properties下配置redis地址;

4、dearbinge-security服务消费者的资源文件dubbo-services.xml下配置zookeeper地址;

5、建立数据库文件cloudplate,创建t_security表单元素

脚本如下: /* Navicat MySQL Data Transfer

Source Server : 192.168.1.118 Source Server Version : 50173 Source Host : 192.168.1.118:3306 Source Database : cloudplate

Target Server Type : MYSQL Target Server Version : 50173 File Encoding : 65001

Date: 2016-04-05 17:50:09 */

SET FOREIGN_KEY_CHECKS=0;


-- Table structure for t_security


DROP TABLE IF EXISTS t_security; CREATE TABLE t_security ( f_SecurityKey varchar(50) NOT NULL DEFAULT '', f_SecurityValue varchar(255) DEFAULT NULL, f_MerchantId varchar(255) DEFAULT NULL, f_Tag varchar(10) DEFAULT NULL, f_IsDelete int(11) DEFAULT NULL, f_CreateUser varchar(50) DEFAULT NULL, f_CreateTime date DEFAULT NULL, f_UpdateUser varchar(50) DEFAULT NULL, f_UpdateTime date DEFAULT NULL, f_Remark varchar(100) DEFAULT NULL, PRIMARY KEY (f_SecurityKey), KEY FK_MERCHANTID (f_MerchantId) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;


-- Records of t_security


INSERT INTO t_security VALUES ('0eca8f5373ca4866aec2f8e9d9367104', '14318527b13840c2a4af63fef52c2d6e', '323202320202201509080001', '1', '1', null, null, null, null, '????');

6、启动dearbinge-data-provider项目下的mainloader注册服务提供者;

7、启动dearbinge-openapi项目下的App注册服务消费者;

8、整个项目即可完整运行。

空文件

简介

通过dubbo+spring boot+mybatis+redis等主流技术搭建成一套分布式服务框架 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/seanhayes/dubbo-spring-boot-mybatis-redis.git
git@gitee.com:seanhayes/dubbo-spring-boot-mybatis-redis.git
seanhayes
dubbo-spring-boot-mybatis-redis
dubbo-spring-boot-mybatis-redis
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891