服务里面没有sql server analysis service_快速实现Spring Boot Oauth2授权服务

oauthserver是一个基于Spring Boot Oauth2的完整的独立的Oauth2 Server微服务。项目的目的是,仅仅需要创建相关数据表,修改数据库的连接信息,你就可以得到一个Oauth2 Server微服务。 为了开发方便,项目拆分成6个模块,eureka-server、oauth、common、api、web、old-task:

  1. eureka-server是eureka服务模块;
  2. oauth是Authentication Server模块,用于给其他模块(主要是提供api接口的模块)授权。
  3. common是公共工具模块,包括了Service和Model层,目前api、web、old-task都依赖该模块。
  4. api模块是提供api接口的服务;
  5. web是一个基于Element UI的管理后台;
  6. old-task是Quartz分布式定时任务模块,支持集群。

支持的关系型数据库:

  • MySQL
  • Oracle
  • PostgreSQL
  • Microsoft SQL Server

功能概览

api

  1. Oauth token服务,支持3种登录方式:手机号+验证码、手机号+密码、邮箱+密码(使用流程参考oauth接口调用示例,如果你需要使用短信验证码服务,请前往阿里大于和云之讯短信服务购买短信验证码服务,并在application.properties中配置相关参数);
  2. 短信验证码服务,支持三种:阿里大于、腾讯云短信服务、云之讯短信服务;
  3. 微信、支付宝支付;
  4. 七牛云存储;
  5. 代码生成器。

common

公共工具类模块

web

  1. 主页 了解OauthServer 新闻管理 订单管理
  2. 系统管理 定时任务 菜单管理 用户管理 权限管理 数据字典
  3. 系统工具 代码生成 swagger druid 日志管理

使用流程

准备

IntelliJ IDEA或Eclipse请先安装lombok插件。

  • IntelliJ IDEA安装请参考https://projectlombok.org/setup/intellij;
  • Eclipse安装请参考https://projectlombok.org/setup/eclipse。

1. 安装jar

有部分自建jar在中央仓库是没有的,需要使用mvn install安装到本地。执行“需要安装的jars”文件夹下的install.bat安装。

2. 建表

注意:数据库都要忽略大小写。 所有SQL文件都在“SQL初始化”目录下。

  • MySQL
    请执行schema-mysql.sql,完成数据表的创建和测试数据的导入。之后,请执行相应的增量更新SQL。
  • Oracle
    请执行schema-oracle.sql,完成数据表的创建和测试数据的导入。之后,请执行相应的增量更新SQL。
  • PostgreSQL
    请执行schema-postgresql.sql,完成数据表的创建和测试数据的导入。之后,请执行相应的增量更新SQL。
  • SQL Server
    请执行schema-sqlserver.sql,完成数据表的创建和测试数据的导入。之后,请执行相应的增量更新SQL。

3. 修改数据库连接信息

  • MySQL
    连接信息在application-mysql.yml里。修改完数据库连接信息后,还需要设置application-common.yml的spring.profiles.active=mysql。
  • Oracle
    连接信息在application-oracle.yml里。修改完数据库连接信息后,还需要设置application-common.yml的spring.profiles.active=oracle。
  • PostgreSQL
    连接信息在application-pg.yml里。修改完数据库连接信息后,还需要设置application-common.yml的spring.profiles.active=pg。
  • Microsoft SQL Server
    连接信息在application-sqlserver.yml里。修改完数据库连接信息后,还需要设置application-common.yml的spring.profiles.active=sqlserver。

4. 运行

优先启动eureka-server,然后启动oauth授权模块,其他模块没有固定的启动顺序。但是如果你需要使用到web模块的定时任务功能,需要优先启动old-task模块。

管理端页面

测试账号:手机号18800000000,密码1234567890c

9852395fe5afa7ca4c056c7092cde454.png
60d3ec99fdd4acf9bdf85430ef124e1c.png

分享交流

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Teach yourself to use SQL Server 2008 Analysis Services for business intelligence—one step at a time. You'll start by building your understanding of the business intelligence platform enabled by SQL Server and the Microsoft Office System, highlighting the role of Analysis Services. Then, you’ll create a simple multidimensional OLAP cube and progressively add features to help improve, secure, deploy, and maintain an Analysis Services database. You'll explore core Analysis Services 2008 features and capabilities, including dimension, cube, and aggregation design wizards; a new attribute relationship designer; designer AMO warnings; and using dynamic management views to monitor resources. And as you complete each lesson, you can hone your skills using the practice exercises from the companion CD. Plus, you can review and download code samples illustrating the author’s own, professional techniques—direct from the companion Web site. Contents at a Glance Part I Understanding Business Intelligence and Analysis Services 1 Business Intelligence: A Data Analysis Foundation ……………1 2 Understanding OLAP and Analysis Services ……………………… 23 3 Accessing Source Data …………………………………………………37 Pa rt I I Design Fundamentals 4 Creating Dimensions ……………………………………………………57 5 Creating a Cube …………………………………………………………101 6 Creating Advanced Measures and Calculations ……………………139 7 Advanced Dimension Design ……………………………………………177 Part III Advanced Design 8 Working with Account Intelligence ……………………………197 9 Currency Conversion and Multiple Languages …………………215 10 Interacting with a Cube……………………………………………233 11 Retrieving Data from Analysis Services ………………………257 12 Implementing Security………………………………………………293 13 Designing Aggregations ……………………………………………313 Part Iv Production Management 14 Managing Partitions and Database Processing ………………341 15 Managing Deployment ………………………………………………371 16 Advanced Monitoring and Management Tools ……………………385

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值