Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
之江天枢 f3e357755d | 3 years ago | |
---|---|---|
.. | ||
admin | 3 years ago | |
auth | 3 years ago | |
common-biz | 3 years ago | |
common-cloud | 3 years ago | |
common-k8s | 3 years ago | |
common-recycle | 3 years ago | |
deploy/cloud | 3 years ago | |
dubhe-algorithm | 3 years ago | |
dubhe-data | 3 years ago | |
dubhe-data-dcm | 3 years ago | |
dubhe-data-task | 3 years ago | |
dubhe-image | 3 years ago | |
dubhe-k8s | 3 years ago | |
dubhe-measure | 3 years ago | |
dubhe-model | 3 years ago | |
dubhe-notebook | 3 years ago | |
dubhe-optimize | 3 years ago | |
dubhe-serving | 3 years ago | |
dubhe-serving-gateway | 3 years ago | |
dubhe-train | 3 years ago | |
gateway | 3 years ago | |
sql | 3 years ago | |
yaml | 3 years ago | |
.gitignore | 3 years ago | |
.gitmessage | 3 years ago | |
Dockerfile | 3 years ago | |
HELP.md | 3 years ago | |
README.md | 3 years ago | |
deploy-base.sh | 3 years ago | |
pom.xml | 3 years ago |
Nacos + Fegin + Gateway + (Spring Security + JWT + OAuth2)
数据库连接池 Druid
需要额外部署 Mysql Nacos
初始化sql位置 /sql
地址: 127.0.0.1:3306
用户名: test 密码: test
如何部署: https://nacos.io/zh-cn/docs/quick-start.html
配置中心配置参考 /yaml
配置规则: ${prefix}-${spring.profiles.active}.${file-extension}
详见: https://nacos.io/zh-cn/docs/quick-start-spring-cloud.html
地址: http://127.0.0.1:8848/nacos/#/login
用户名: nacos 密码: nacos
开发人员进行开发自测时,请使用以自己名字命名的namespace进行测试,不要使用dev或者test
默认开启,若需要关闭,手动配置swagger.enabled: false
各模块swagger访问地址: http://{IP}:{port}/doc.html
可通过swagger统一的网关访问地址: http://{gateway IP}:{gateway port}/doc.html查看基于gateway路由配置的后台rest服务
授权token获取样例:
POST http://localhost:8866/oauth/token?grant_type=password&username=admin&client_id=dubhe-client&client_secret=dubhe-secret&password=123456&scope=all
请求资源时在header添加:
Authorization: 'Bearer '+${access_token}
测试服务提供者配置中心动态获取配置样例:
header 添加-> Authorization:'Bearer '+${access_token}
GET http://localhost:8860/config/get
登录接口
url:
*POST* http://localhost:8870/auth/login
param:
{"username":"admin","password":"RBb2Czac2HBI9XNj4ZLF1QcTytOe5pN1vHZHYuAVgSAPRcYbndn/4zGDxKdXS1j0sLsDsKZLUojEXFnYHpsKxA==","code":"jggg","uuid":"validate_codeea991a3cb8ea47cca05744a47ad17a37"}
一站式算法开发平台、高性能分布式深度学习框架、先进算法模型库、视觉模型炼知平台、数据可视化分析平台等一系列平台及工具,在模型高效分布式训练、数据处理和可视分析、模型炼知和轻量化等技术上形成独特优势,目前已在产学研等各领域近千家单位及个人提供AI应用赋能
Java Vue Python Text JavaScript other