Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调整CMDB目录结构 #6377

Open
wcy00000000000000 opened this issue Sep 22, 2022 · 0 comments
Open

调整CMDB目录结构 #6377

wcy00000000000000 opened this issue Sep 22, 2022 · 0 comments
Labels
inner 内部规划,标记来源 optimization 优化,标记分类

Comments

@wcy00000000000000
Copy link
Collaborator

整体结构

├── api
├── cmd
│   ├── apiserver
│   ├── scene_server
│   │   ├── admin_server
│   │   ├── auth_server
│   │   ├── cloud_server
│   │   ├── datacollection
│   │   ├── event_server
│   │   ├── host_server
│   │   ├── operation_server
│   │   ├── proc_server
│   │   ├── synchronize_server
│   │   ├── task_server
│   │   └── topo_server
│   ├── source_controller
│   │   ├── cacheservice
│   │   └── coreservice
│   └── web_server
├── configs
├── docs
├── framework
├── gse                                             
├── pkg
├── resources
├── scripts
├── test
├── thirdparty
├── tools
└── ui

api

api调用相关目录

cmd

CMDB微服务目录,以下为划分的目录:

web-server

web-server是基于gin框架构建的web服务

api_server

api-server是基于go-restful框架构建的API服务

scene_server

scene_server是基于go-restful框架构建的场景层服务,以下为划分的微服务目录:

  • admin_server
  • auth_server
  • cloud_server
  • datacollection
  • event_server
  • host_server
  • operation_server
  • proc_server
  • synchronize_server
  • task_server
  • topo_server

source_controller

source_controlle是基于go-restful框架构建的资源层服务,以下为划分的微服务目录:

  • cacheservice
  • coreservice

5. source_controller

source_controller基于go-restful框架构建,提供提供原子接口服务

configs

CMDB配置文件模板

docs

CMDB文档

framework

CMDB3.0二次开发框架

gse

gse文件

pkg

用于pkg外部引用的包,pkg内的包不可以引用pkg外的包

resources

CMDB依赖的资源文件,包含i18n目录存放国际化相关文件

scripts

CMDB脚本文件

test

CMDB测试文件

thirdparty

CMDB和第三方接入相关的文件

tools

客户端管理工具和辅助脚本工具代码

ui

前端代码

@wcy00000000000000 wcy00000000000000 added optimization 优化,标记分类 inner 内部规划,标记来源 labels Sep 22, 2022
@wcy00000000000000 wcy00000000000000 added this to the Iteration 3.10 milestone Sep 22, 2022
wcy00000000000000 added a commit to wcy00000000000000/bk-cmdb that referenced this issue Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inner 内部规划,标记来源 optimization 优化,标记分类
Projects
None yet
Development

No branches or pull requests

1 participant