{"id":20162898,"url":"https://github.com/actiontech/sqle-eclipse-plugin","last_synced_at":"2025-03-03T03:10:34.366Z","repository":{"id":216789343,"uuid":"742326991","full_name":"actiontech/sqle-eclipse-plugin","owner":"actiontech","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-29T02:26:49.000Z","size":2207,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-13T14:19:58.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actiontech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-12T08:24:00.000Z","updated_at":"2024-03-21T08:28:32.000Z","dependencies_parsed_at":"2024-02-05T04:29:03.561Z","dependency_job_id":"a6f6b6e7-f4a1-421e-b9d2-c9a562218826","html_url":"https://github.com/actiontech/sqle-eclipse-plugin","commit_stats":null,"previous_names":["actiontech/sqle-eclipse-plugin"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actiontech%2Fsqle-eclipse-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actiontech%2Fsqle-eclipse-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actiontech%2Fsqle-eclipse-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actiontech%2Fsqle-eclipse-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actiontech","download_url":"https://codeload.github.com/actiontech/sqle-eclipse-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241600518,"owners_count":19988715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T00:27:19.340Z","updated_at":"2025-03-03T03:10:34.346Z","avatar_url":"https://github.com/actiontech.png","language":"Java","readme":"# SQLE Eclipse Plugin\n\n## 简介\n\n该项目是[SQLE](https://github.com/actiontech/sqle) 的 Eclipse 审核插件 , 该插件满足开发人员在开发阶段进行实时自助式的SQL审核，实现开发阶段审核上线等各个SQL开发阶段的SQL开发规范。\n\n## 编译\nJava8版本\n\nEclipse插件最低适配Eclipse 2015 mars版本\n\n## 使用方式\n\n### 下载方式\n\n### 安装插件\n将下载的jar包，复制到eclipse编辑器目录中的dropins文件夹中\n![安装插件](https://github.com/actiontech/sqle-ee/assets/53266479/c6f1144f-88ad-49a0-961a-309b73d53d3c)\n### 配置插件\n  - 点击[Window]-[Preferences]-[SQLE]\n  - 输入SQLE Addr\n  - 选择账号密码或者token登录；输入对应的账号密码或者token\n  - 点击Test Connection，确保可以连接到SQLE，并获取Project和DBType列表\n  - 依次选取Project，DBType，Data Source和Schema下拉框\n  - 点击Apply and Close保存配置并退出配置界面\n      ![20240118-133603](https://github.com/actiontech/sqle-eclipse-plugin/assets/53266479/4d113257-0b28-4bc8-81d5-1d955ca95009)\n\n  - 配置说明\n\n| 配置项             | 配置项说明                                            |\n|-----------------|--------------------------------------------------|\n| SQLE Addr       | SQLE 服务地址, 格式为 IP:Port                           |\n| HTTP       | 指定通过http的方式连接SQLE还是通过https的方式连接                           |\n| UserName        | 登录SQLE使用的用户名                                     |\n| Password        | 登录SQLE使用的密码                                      |\n| Token           | 登录SQLE使用的个人密钥                               |\n| Test Connection | 测试连接是否成功, 将会尝试登录                                 |\n| Project         | 项目名称                                             |\n| DB Type         | 当其他配置正确时此下拉框会自动获取支持审核的实例类型, 选择后会使用此实例类型的审核规则进行审核 |\n| Data Source     | 数据源名称                                            |\n| Schema          | 数据库名称                                            |\n\n### 使用说明\n1. 选中需要审核的SQL, 可以同时选中多条SQL.点击右键, 选中 [SQLE SQL Audit] ,  插件会以视图的形式将审核结果进行展示\n![20240118-133916](https://github.com/actiontech/sqle-eclipse-plugin/assets/53266479/ca3dd9ae-501e-48e0-867f-5467e4ff61b1)\n\n2. 审核mybatis xml文件,选中mybatis xml文件,鼠标右击选中 [SQLE Mybatis Audit]\n![20240118-134103](https://github.com/actiontech/sqle-eclipse-plugin/assets/53266479/6b8cd9a4-4676-415c-9000-0a8407c17efd)\n\n3. 审核sql文件，选中sql文件，鼠标右击选中 [SQLE SQL Audit]\n![20240118-134219](https://github.com/actiontech/sqle-eclipse-plugin/assets/53266479/65ea91da-537c-4d01-a912-9d82fb64952c)\n\n4. 审核xml文件夹，选中文件夹，鼠标右击选中 [SQLE Mybatis Folder Audit]\n![20240118-134450](https://github.com/actiontech/sqle-eclipse-plugin/assets/53266479/c1ab3c24-8d71-4266-9654-8ef12ae989fe)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiontech%2Fsqle-eclipse-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factiontech%2Fsqle-eclipse-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiontech%2Fsqle-eclipse-plugin/lists"}