Git Product home page Git Product logo

choerodon-message's Introduction

choerodon-message

消息服务

Introduction

消息管理,平台统一的消息推送入口。此服务是对hzero-message的二开,对消息创建,webhook,接收配置,项目层消息发送等功能都进行了定制化处理。

Documentation

Features

  • 公告管理:管理系统的公告与通知
  • 模板管理:发送消息的内容模板
  • 账户配置:邮箱、短信、企业微信、微信公众号、钉钉、webhook配置
  • 消息发送配置:模板与账户关联
  • 消息接收配置:允许用户指定消息接收方式
  • 消息监控:消息发送的记录
  • 项目层消息发送配置:自定义项目层消息发送

Architecture

Dependencies

  • 服务依赖
<dependency>
    <groupId>org.hzero</groupId>
    <artifactId>hzero-message-saas</artifactId>
    <version>${hzero.service.version}</version>
</dependency>

Data initialization

  • 创建数据库,本地创建 hzero_message 数据库和默认用户,示例如下:

    CREATE USER 'choerodon'@'%' IDENTIFIED BY "123456";
    CREATE DATABASE hzero_message DEFAULT CHARACTER SET utf8;
    GRANT ALL PRIVILEGES ON hzero_message.* TO choerodon@'%';
    FLUSH PRIVILEGES;
  • 初始化 hzero_message 数据库,运行项目根目录下的 init-database.sh,该脚本默认初始化数据库的地址为 localhost,若有变更需要修改脚本文件

    sh init-database.sh

Changelog

Contributing

欢迎参与项目贡献!比如提交PR修复一个bug,或者新建Issue讨论新特性或者变更。

Copyright (c) 2020-present, CHOERODON

choerodon-message's People

Contributors

aimzhangjian avatar devil-scp avatar huangfuqiang avatar huaxindeng avatar superlee007 avatar thefuckingcode avatar timebye avatar whao1996 avatar zmfcn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

choerodon-message's Issues

Notify概念转换为Email时未修改完代码提交到仓库了

编译的时候报出如下问题:

包含如下文件:

image

[ERROR] /opt/paas/choerodon/cloud/notify-service/src/main/java/io/choerodon/notify/api/service/impl/EmailTemplateServiceImpl.java:[16,35] cannot find symbol
symbol: class NotifyTemplateScanData
location: package io.choerodon.swagger.notify
[ERROR] /opt/paas/choerodon/cloud/notify-service/src/main/java/io/choerodon/notify/api/service/EmailTemplateService.java:[7,35] cannot find symbol
symbol: class NotifyTemplateScanData
location: package io.choerodon.swagger.notify
[ERROR] /opt/paas/choerodon/cloud/notify-service/src/main/java/io/choerodon/notify/api/service/impl/EmailTemplateServiceImpl.java:[107,34] cannot find symbol
symbol: class NotifyTemplateScanData
location: class io.choerodon.notify.api.service.impl.EmailTemplateServiceImpl
[ERROR] /opt/paas/choerodon/cloud/notify-service/src/main/java/io/choerodon/notify/api/service/EmailTemplateService.java:[24,27] cannot find symbol
symbol: class NotifyTemplateScanData
location: interface io.choerodon.notify.api.service.EmailTemplateService
[ERROR] /opt/paas/choerodon/cloud/notify-service/src/main/java/io/choerodon/notify/infra/utils/ConvertUtils.java:[12,35] cannot find symbol
symbol: class NotifyTemplateScanData
location: package io.choerodon.swagger.notify
[ERROR] /opt/paas/choerodon/cloud/notify-service/src/main/java/io/choerodon/notify/infra/utils/ConvertUtils.java:[13,35] cannot find symbol
symbol: class NotifyType
location: package io.choerodon.swagger.notify
[ERROR] /opt/paas/choerodon/cloud/notify-service/src/main/java/io/choerodon/notify/infra/utils/ConvertUtils.java:[47,56] cannot find symbol
symbol: class NotifyTemplateScanData
location: class io.choerodon.notify.infra.utils.ConvertUtils
[ERROR] /opt/paas/choerodon/cloud/notify-service/src/main/java/io/choerodon/notify/api/eventhandler/RegisterInstanceListener.java:[9,35] cannot find symbol
symbol: class NotifyTemplateScanData
location: package io.choerodon.swagger.notify
[ERROR] /opt/paas/choerodon/cloud/notify-service/src/main/java/io/choerodon/notify/api/eventhandler/RegisterInstanceListener.java:[90,17] cannot find symbol
symbol: class NotifyTemplateScanData
location: class io.choerodon.notify.api.eventhandler.RegisterInstanceListener

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.