{"id":21240069,"url":"https://github.com/open-hand/choerodon-file","last_synced_at":"2025-07-10T19:32:50.029Z","repository":{"id":50464378,"uuid":"134031859","full_name":"open-hand/choerodon-file","owner":"open-hand","description":"The file service is built on minio server, we can use minio client to upload and delete files.","archived":false,"fork":false,"pushed_at":"2023-06-15T03:08:50.000Z","size":952,"stargazers_count":28,"open_issues_count":1,"forks_count":34,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T16:51:08.914Z","etag":null,"topics":["c7nf","choerodon","java","minio","spring","spring-boot","spring-cloud"],"latest_commit_sha":null,"homepage":"http://choerodon.io","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/open-hand.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.zh-CN.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-19T05:14:46.000Z","updated_at":"2024-09-03T03:20:52.000Z","dependencies_parsed_at":"2023-02-16T03:16:04.677Z","dependency_job_id":null,"html_url":"https://github.com/open-hand/choerodon-file","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/open-hand/choerodon-file","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-hand","download_url":"https://codeload.github.com/open-hand/choerodon-file/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-file/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264639923,"owners_count":23642319,"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":["c7nf","choerodon","java","minio","spring","spring-boot","spring-cloud"],"created_at":"2024-11-21T00:47:46.968Z","updated_at":"2025-07-10T19:32:49.638Z","avatar_url":"https://github.com/open-hand.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# choerodon-file\n文件管理\n\n## Introduction\n文件管理，为平台提供文件存储服务。此服务依赖[hzero-file](https://github.com/open-hand/hzero-file.git)未进行特性化开发；与`hzero-file`不同在于`choerodon-file`支持MINIO。\n\n## Documentation\n- 更多详情请参考`hzero-file`[中文文档](http://open.hand-china.com/document-center/doc/application/10029/10161?doc_id=4451)\n\n## Features\n- 文件存储配置：对象存储配置，支持多种云服务\n- 文件上传配置：租户存储容量及指定目录存储文件格式限制\n- 文件汇总查询：记录所有上传的文件\n- 服务器上传配置：服务器上传配置，支持FTP/SFTP协议\n- 文件水印配置：文件的水印配置，支持文字水印和图片水印\n\n## Architecture\n\n![](http://file.open.hand-china.com/hsop-image/doc_classify/0/2fb5eb72740f4022b49edbe16669c24d/20200713104656.png)\n\n## Dependencies\n\n\n* 服务依赖\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.hzero\u003c/groupId\u003e\n    \u003cartifactId\u003ehzero-file-saas\u003c/artifactId\u003e\n    \u003cversion\u003e${hzero.service.version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Data initialization\n\n- 创建数据库，本地创建 `hzero_file` 数据库和默认用户，示例如下：\n\n  ```sql\n  CREATE USER 'choerodon'@'%' IDENTIFIED BY \"123456\";\n  CREATE DATABASE hzero_file DEFAULT CHARACTER SET utf8;\n  GRANT ALL PRIVILEGES ON hzero_file.* TO choerodon@'%';\n  FLUSH PRIVILEGES;\n  ```\n\n- 初始化 `hzero_file` 数据库，运行项目根目录下的 `init-database.sh`，该脚本默认初始化数据库的地址为 `localhost`，若有变更需要修改脚本文件\n\n  ```sh\n  sh init-database.sh\n  ```\n  \n## Changelog\n\n- [更新日志](./CHANGELOG.zh-CN.md)\n\n\n## Contributing\n\n欢迎参与项目贡献！比如提交PR修复一个bug，或者新建Issue讨论新特性或者变更。\n\nCopyright (c) 2020-present, CHOERODON","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-hand%2Fchoerodon-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-hand%2Fchoerodon-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-hand%2Fchoerodon-file/lists"}