更新包名

This commit is contained in:
椰子 2022-08-21 21:39:05 +08:00
parent 3e0ac9fc2e
commit ef85b53283
57 changed files with 175 additions and 186 deletions

View File

@ -1,6 +1,6 @@
package com.cicdi.notify;
package com.simaek.notify;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify;
package com.simaek.notify;
/**
* 默认支持的通知类型

View File

@ -1,6 +1,6 @@
package com.cicdi.notify;
package com.simaek.notify;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
import java.util.Map;

View File

@ -1,6 +1,6 @@
package com.cicdi.notify;
package com.simaek.notify;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
/**
* 通知器管理器用于获取获取通知器

View File

@ -1,4 +1,4 @@
package com.cicdi.notify;
package com.simaek.notify;
import java.io.Serializable;
import java.util.Map;

View File

@ -1,6 +1,6 @@
package com.cicdi.notify;
package com.simaek.notify;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
/**
* 通知服务商

View File

@ -1,4 +1,4 @@
package com.cicdi.notify;
package com.simaek.notify;
/**
* 通知配置属性管理器用于统一管理通知配置属性

View File

@ -1,4 +1,4 @@
package com.cicdi.notify;
package com.simaek.notify;
/**
* 通知类型通常使用枚举实现枚举支持的通知类型

View File

@ -1,4 +1,4 @@
package com.cicdi.notify;
package com.simaek.notify;
/**
* 服务商标识通常使用枚举实现枚举支持的服务商

View File

@ -1,7 +1,7 @@
package com.cicdi.notify.template;
package com.simaek.notify.template;
import com.cicdi.notify.DefaultNotifyType;
import com.cicdi.notify.NotifyType;
import com.simaek.notify.DefaultNotifyType;
import com.simaek.notify.NotifyType;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.template;
package com.simaek.notify.template;
import com.cicdi.notify.NotifierProvider;
import com.simaek.notify.NotifierProvider;
import java.io.Serializable;

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.template;
package com.simaek.notify.template;
import com.cicdi.notify.NotifyType;
import com.simaek.notify.NotifyType;
import java.util.concurrent.ConcurrentHashMap;

View File

@ -1,7 +1,7 @@
package com.cicdi.notify.template;
package com.simaek.notify.template;
import com.cicdi.notify.NotifierProvider;
import com.cicdi.notify.NotifyType;
import com.simaek.notify.NotifierProvider;
import com.simaek.notify.NotifyType;
import java.io.Serializable;

View File

@ -1,8 +1,8 @@
package com.cicdi.notify.template;
package com.simaek.notify.template;
import com.cicdi.notify.DefaultNotifyType;
import com.cicdi.notify.NotifyType;
import com.cicdi.notify.Provider;
import com.simaek.notify.DefaultNotifyType;
import com.simaek.notify.NotifyType;
import com.simaek.notify.Provider;
/**
* 通知模板服务商

View File

@ -1,7 +1,7 @@
package com.cicdi.notify.util;
package com.simaek.notify.util;
import com.cicdi.notify.util.script.engine.DynamicScriptEngine;
import com.cicdi.notify.util.script.engine.spel.SpelParserEngine;
import com.simaek.notify.util.script.engine.DynamicScriptEngine;
import com.simaek.notify.util.script.engine.spel.SpelParserEngine;
import org.apache.commons.beanutils.BeanUtilsBean2;
import org.apache.commons.codec.digest.DigestUtils;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.util;
package com.simaek.notify.util;
/**
* @author Yaser Hsueh

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.util;
package com.simaek.notify.util;
import org.apache.commons.beanutils.BeanUtilsBean;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.util.script.engine;
package com.simaek.notify.util.script.engine;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.util.script.engine;
package com.simaek.notify.util.script.engine;
import javax.script.ScriptException;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.util.script.engine;
package com.simaek.notify.util.script.engine;
import java.util.HashMap;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.util.script.engine;
package com.simaek.notify.util.script.engine;
public class ScriptContext {
private final String id;

View File

@ -1,8 +1,8 @@
package com.cicdi.notify.util.script.engine.spel;
package com.simaek.notify.util.script.engine.spel;
import com.cicdi.notify.util.script.engine.ExecuteResult;
import com.cicdi.notify.util.script.engine.ListenerSupportEngine;
import com.cicdi.notify.util.script.engine.ScriptContext;
import com.simaek.notify.util.script.engine.ExecuteResult;
import com.simaek.notify.util.script.engine.ListenerSupportEngine;
import com.simaek.notify.util.script.engine.ScriptContext;
import org.apache.commons.codec.digest.DigestUtils;
import org.springframework.expression.Expression;
import org.springframework.expression.ExpressionParser;

View File

@ -1,7 +1,7 @@
package com.cicdi.notify.dingtalk;
package com.simaek.notify.dingtalk;
import com.alibaba.fastjson.JSONObject;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
import java.util.Collections;
import java.util.Map;

View File

@ -1,12 +1,12 @@
package com.cicdi.notify.dingtalk;
package com.simaek.notify.dingtalk;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.cicdi.notify.DefaultNotifyType;
import com.cicdi.notify.Notifier;
import com.cicdi.notify.NotifyType;
import com.cicdi.notify.Provider;
import com.simaek.notify.DefaultNotifyType;
import com.simaek.notify.Notifier;
import com.simaek.notify.NotifyType;
import com.simaek.notify.Provider;
import org.apache.http.NameValuePair;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;

View File

@ -1,9 +1,9 @@
package com.cicdi.notify.dingtalk;
package com.simaek.notify.dingtalk;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.template.TemplateProperties;
import com.cicdi.notify.template.TemplateProvider;
import com.simaek.notify.*;
import com.simaek.notify.template.TemplateProperties;
import com.simaek.notify.template.TemplateProvider;
import java.util.Objects;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.dingtalk;
package com.simaek.notify.dingtalk;
/**
* 钉钉通知属性

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.dingtalk;
package com.simaek.notify.dingtalk;
import com.cicdi.notify.Provider;
import com.simaek.notify.Provider;
/**
* 钉钉通知提供商

View File

@ -1,11 +1,11 @@
package com.cicdi.notify.dingtalk;
package com.simaek.notify.dingtalk;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.template.AbstractTemplateManager;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateManager;
import com.cicdi.notify.template.TemplateProperties;
import com.simaek.notify.*;
import com.simaek.notify.template.AbstractTemplateManager;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateManager;
import com.simaek.notify.template.TemplateProperties;
import org.junit.Before;
import org.junit.Test;

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.email;
package com.simaek.notify.email;
import com.cicdi.notify.Provider;
import com.simaek.notify.Provider;
/**
* 邮件通知提供商

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.email;
package com.simaek.notify.email;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.email;
package com.simaek.notify.email;
import java.util.Map;

View File

@ -1,12 +1,12 @@
package com.cicdi.notify.email.embedded;
package com.simaek.notify.email.embedded;
import com.alibaba.fastjson.JSONObject;
import com.cicdi.notify.*;
import com.cicdi.notify.email.EmailProvider;
import com.cicdi.notify.email.EmailTemplate;
import com.cicdi.notify.email.EmailTemplateParsed;
import com.cicdi.notify.util.ExpressionUtils;
import com.cicdi.notify.util.StringUtils;
import com.simaek.notify.*;
import com.simaek.notify.email.EmailProvider;
import com.simaek.notify.email.EmailTemplate;
import com.simaek.notify.email.EmailTemplateParsed;
import com.simaek.notify.util.ExpressionUtils;
import com.simaek.notify.util.StringUtils;
import org.apache.http.HttpHeaders;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;

View File

@ -1,11 +1,11 @@
package com.cicdi.notify.email.embedded;
package com.simaek.notify.email.embedded;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.email.EmailProvider;
import com.cicdi.notify.email.EmailTemplate;
import com.cicdi.notify.template.TemplateProperties;
import com.cicdi.notify.template.TemplateProvider;
import com.simaek.notify.*;
import com.simaek.notify.email.EmailProvider;
import com.simaek.notify.email.EmailTemplate;
import com.simaek.notify.template.TemplateProperties;
import com.simaek.notify.template.TemplateProvider;
public class DefaultEmailNotifierProvider implements NotifierProvider, TemplateProvider {

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.email.embedded;
package com.simaek.notify.email.embedded;
import java.util.List;
import java.util.Properties;

View File

@ -1,12 +1,12 @@
package com.cicdi.notify.email;
package com.simaek.notify.email;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.template.AbstractTemplateManager;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateManager;
import com.cicdi.notify.template.TemplateProperties;
import com.cicdi.notify.email.embedded.DefaultEmailNotifierProvider;
import com.simaek.notify.*;
import com.simaek.notify.template.AbstractTemplateManager;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateManager;
import com.simaek.notify.template.TemplateProperties;
import com.simaek.notify.email.embedded.DefaultEmailNotifierProvider;
import org.junit.Test;
import java.util.Arrays;

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.sms;
package com.simaek.notify.sms;
import com.cicdi.notify.Provider;
import com.simaek.notify.Provider;
/**
* @author xueye

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.sms;
package com.simaek.notify.sms;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
import java.util.List;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.sms.aliyun;
package com.simaek.notify.sms.aliyun;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
@ -9,8 +9,8 @@ import com.aliyuncs.IAcsClient;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.profile.DefaultProfile;
import com.aliyuncs.profile.IClientProfile;
import com.cicdi.notify.*;
import com.cicdi.notify.sms.SmsProvider;
import com.simaek.notify.*;
import com.simaek.notify.sms.SmsProvider;
import java.util.Map;

View File

@ -1,12 +1,11 @@
package com.cicdi.notify.sms.aliyun;
package com.simaek.notify.sms.aliyun;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.sms.SmsProvider;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateManager;
import com.cicdi.notify.template.TemplateProperties;
import com.cicdi.notify.template.TemplateProvider;
import com.simaek.notify.*;
import com.simaek.notify.sms.SmsProvider;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateProperties;
import com.simaek.notify.template.TemplateProvider;
/**
* 阿里云短信通知服务

View File

@ -1,7 +1,7 @@
package com.cicdi.notify.sms.aliyun;
package com.simaek.notify.sms.aliyun;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
import java.util.Map;

View File

@ -1,10 +1,9 @@
package com.cicdi.notify.sms.telecom;
package com.simaek.notify.sms.telecom;
import com.alibaba.fastjson.JSONObject;
import com.cicdi.notify.*;
import com.cicdi.notify.sms.SmsProvider;
import com.cicdi.notify.template.TemplateManager;
import com.cicdi.notify.util.ExpressionUtils;
import com.simaek.notify.*;
import com.simaek.notify.sms.SmsProvider;
import com.simaek.notify.util.ExpressionUtils;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.utils.URIBuilder;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.sms.telecom;
package com.simaek.notify.sms.telecom;
/**
* 云信通短信通知平台配置信息

View File

@ -1,11 +1,11 @@
package com.cicdi.notify.sms.telecom;
package com.simaek.notify.sms.telecom;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.sms.SmsProvider;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateProperties;
import com.cicdi.notify.template.TemplateProvider;
import com.simaek.notify.*;
import com.simaek.notify.sms.SmsProvider;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateProperties;
import com.simaek.notify.template.TemplateProvider;
/**
* @author xueye

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.sms.telecom;
package com.simaek.notify.sms.telecom;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
/**
* @author xueye

View File

@ -1,11 +1,11 @@
package com.cicdi.notify.sms;
package com.simaek.notify.sms;
import com.cicdi.notify.*;
import com.cicdi.notify.sms.aliyun.AliyunSmsNotifierProvider;
import com.cicdi.notify.template.AbstractTemplateManager;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateManager;
import com.cicdi.notify.template.TemplateProperties;
import com.simaek.notify.*;
import com.simaek.notify.sms.aliyun.AliyunSmsNotifierProvider;
import com.simaek.notify.template.AbstractTemplateManager;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateManager;
import com.simaek.notify.template.TemplateProperties;
import org.junit.Test;
import java.util.HashMap;

View File

@ -1,13 +1,13 @@
package com.cicdi.notify.sms;
package com.simaek.notify.sms;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.sms.telecom.TelecomSmsNotifierProvider;
import com.cicdi.notify.sms.telecom.TelecomSmsTemplate;
import com.cicdi.notify.template.AbstractTemplateManager;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateManager;
import com.cicdi.notify.template.TemplateProperties;
import com.simaek.notify.*;
import com.simaek.notify.sms.telecom.TelecomSmsNotifierProvider;
import com.simaek.notify.sms.telecom.TelecomSmsTemplate;
import com.simaek.notify.template.AbstractTemplateManager;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateManager;
import com.simaek.notify.template.TemplateProperties;
import org.junit.Test;
import java.util.HashMap;

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.wechat;
package com.simaek.notify.wechat;
import com.cicdi.notify.Provider;
import com.simaek.notify.Provider;
public enum WechatProvider implements Provider {
corpMessage("微信企业消息通知"),

View File

@ -1,12 +1,12 @@
package com.cicdi.notify.wechat.corp;
package com.simaek.notify.wechat.corp;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.cicdi.notify.DefaultNotifyType;
import com.cicdi.notify.Notifier;
import com.cicdi.notify.NotifyType;
import com.cicdi.notify.Provider;
import com.cicdi.notify.wechat.WechatProvider;
import com.simaek.notify.DefaultNotifyType;
import com.simaek.notify.Notifier;
import com.simaek.notify.NotifyType;
import com.simaek.notify.Provider;
import com.simaek.notify.wechat.WechatProvider;
import org.apache.http.NameValuePair;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;

View File

@ -1,11 +1,11 @@
package com.cicdi.notify.wechat.corp;
package com.simaek.notify.wechat.corp;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateProperties;
import com.cicdi.notify.template.TemplateProvider;
import com.cicdi.notify.wechat.WechatProvider;
import com.simaek.notify.*;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateProperties;
import com.simaek.notify.template.TemplateProvider;
import com.simaek.notify.wechat.WechatProvider;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.cicdi.notify.wechat.corp;
package com.simaek.notify.wechat.corp;
public class WechatCorpProperties {

View File

@ -1,8 +1,8 @@
package com.cicdi.notify.wechat.corp;
package com.simaek.notify.wechat.corp;
import com.alibaba.fastjson.JSONObject;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.util.StringUtils;
import com.simaek.notify.template.Template;
import com.simaek.notify.util.StringUtils;
import java.util.Collections;
import java.util.Map;

View File

@ -1,12 +1,9 @@
package com.cicdi.notify.wechat.subscription;
package com.simaek.notify.wechat.subscription;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.cicdi.notify.*;
import com.cicdi.notify.wechat.WechatProvider;
import org.apache.http.Consts;
import org.apache.http.Header;
import org.apache.http.HttpHeaders;
import com.simaek.notify.*;
import com.simaek.notify.wechat.WechatProvider;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
@ -15,14 +12,11 @@ import org.apache.http.entity.ContentType;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.http.message.BasicHeader;
import org.apache.http.util.EntityUtils;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.time.Duration;
import java.util.Map;
import java.util.concurrent.atomic.AtomicReference;

View File

@ -1,13 +1,11 @@
package com.cicdi.notify.wechat.subscription;
package com.simaek.notify.wechat.subscription;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateProperties;
import com.cicdi.notify.template.TemplateProvider;
import com.cicdi.notify.wechat.WechatProvider;
import java.util.Map;
import com.simaek.notify.*;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateProperties;
import com.simaek.notify.template.TemplateProvider;
import com.simaek.notify.wechat.WechatProvider;
/**
* 微信公众号通知器提供商

View File

@ -1,6 +1,6 @@
package com.cicdi.notify.wechat.subscription;
package com.simaek.notify.wechat.subscription;
import com.cicdi.notify.NotifierProperties;
import com.simaek.notify.NotifierProperties;
/**
* 微信公众号通知器配置信息

View File

@ -1,7 +1,7 @@
package com.cicdi.notify.wechat.subscription;
package com.simaek.notify.wechat.subscription;
import com.alibaba.fastjson.JSONObject;
import com.cicdi.notify.template.Template;
import com.simaek.notify.template.Template;
import java.util.Map;

View File

@ -1,14 +1,13 @@
package com.cicdi.notify.wechat;
package com.simaek.notify.wechat;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.cicdi.notify.*;
import com.cicdi.notify.template.AbstractTemplateManager;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateManager;
import com.cicdi.notify.template.TemplateProperties;
import com.cicdi.notify.wechat.corp.WechatCorpNotifierProvider;
import com.cicdi.notify.wechat.subscription.WechatSubscriptionNotifierProvider;
import com.simaek.notify.*;
import com.simaek.notify.template.AbstractTemplateManager;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateManager;
import com.simaek.notify.template.TemplateProperties;
import com.simaek.notify.wechat.subscription.WechatSubscriptionNotifierProvider;
import org.junit.Test;
import java.util.HashMap;

View File

@ -1,13 +1,13 @@
package com.cicdi.notify.wechat;
package com.simaek.notify.wechat;
import com.alibaba.fastjson.JSON;
import com.cicdi.notify.*;
import com.cicdi.notify.template.AbstractTemplateManager;
import com.cicdi.notify.template.Template;
import com.cicdi.notify.template.TemplateManager;
import com.cicdi.notify.template.TemplateProperties;
import com.cicdi.notify.wechat.corp.WechatCorpNotifierProvider;
import com.cicdi.notify.wechat.corp.WechatCorpTemplate;
import com.simaek.notify.*;
import com.simaek.notify.template.AbstractTemplateManager;
import com.simaek.notify.template.Template;
import com.simaek.notify.template.TemplateManager;
import com.simaek.notify.template.TemplateProperties;
import com.simaek.notify.wechat.corp.WechatCorpNotifierProvider;
import com.simaek.notify.wechat.corp.WechatCorpTemplate;
import org.junit.Test;
import java.util.HashMap;