Skip to content

Commit

Permalink
refactor: update monitor module change run.mone to org.apache apache#457
Browse files Browse the repository at this point in the history
  • Loading branch information
goodjava committed Sep 13, 2024
1 parent e264094 commit d6a9523
Show file tree
Hide file tree
Showing 410 changed files with 1,408 additions and 1,425 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service;
package org.apache.ozhera.monitor.service;

/**
* @author gaoxihui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service;
package org.apache.ozhera.monitor.service;

/**
* @author gaoxihui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service;
package org.apache.ozhera.monitor.service;


import com.xiaomi.mone.monitor.service.bo.AlertGroupQryInfo;
import org.apache.ozhera.monitor.service.bo.AlertGroupQryInfo;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service;
package org.apache.ozhera.monitor.service;

import com.xiaomi.mone.monitor.service.bo.AppCapacityAutoAdjustBo;
import org.apache.ozhera.monitor.service.bo.AppCapacityAutoAdjustBo;

/**
* @author gaoxihui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service;
package org.apache.ozhera.monitor.service;

public interface Grafana {
String requestGrafana(String group,String title,String area);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service;
package org.apache.ozhera.monitor.service;

/**
* @author gaoxihui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service;
package org.apache.ozhera.monitor.service;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service;
package org.apache.ozhera.monitor.service;

import com.xiaomi.mone.monitor.service.bo.CapacityAdjustNoticeParam;
import org.apache.ozhera.monitor.service.bo.CapacityAdjustNoticeParam;

/**
* @author gaoxihui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service;
package org.apache.ozhera.monitor.service;

public interface SendSmsService {
void sendSms(String address, String templateId, String paramJsonStr);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service.bo;
package org.apache.ozhera.monitor.service.bo;

import lombok.Data;
import lombok.ToString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service.bo;
package org.apache.ozhera.monitor.service.bo;

import lombok.Data;
import lombok.ToString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service.bo;
package org.apache.ozhera.monitor.service.bo;

/**
* @author gaoxihui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service.bo;
package org.apache.ozhera.monitor.service.bo;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service.bo;
package org.apache.ozhera.monitor.service.bo;

/**
* @author gaoxihui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.service.bo;
package org.apache.ozhera.monitor.service.bo;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor;
package org.apache.ozhera.monitor;

import java.util.Arrays;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.result;
package org.apache.ozhera.monitor.result;


import org.apache.commons.lang3.StringUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.xiaomi.mone.monitor.result;
package org.apache.ozhera.monitor.result;

/**
* @author gaoxihui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.xiaomi.mone.monitor.result;
package org.apache.ozhera.monitor.result;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.result;
package org.apache.ozhera.monitor.result;
/**
* @author zhangxiaowei6
* @date 2022/3/30
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.result;
package org.apache.ozhera.monitor.result;
/**
* @author zhangxiaowei6
* @date 2022/3/30
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.result;
package org.apache.ozhera.monitor.result;
/**
* @author zhangxiaowei6
* @date 2022/3/30
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.utils;
package org.apache.ozhera.monitor.utils;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.utils;
package org.apache.ozhera.monitor.utils;

public class ConstUtil {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.utils;
package org.apache.ozhera.monitor.utils;

import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
Expand All @@ -23,7 +23,6 @@
import freemarker.template.TemplateException;

import java.io.*;
import java.util.HashMap;
import java.util.Map;

/**
Expand Down
2 changes: 1 addition & 1 deletion ozhera-monitor/ozhera-monitor-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.7.15</version>
<configuration>
<mainClass>com.xiaomi.mone.monitor.bootstrap.MiMonitorBootstrap</mainClass>
<mainClass>org.apache.ozhera.monitor.bootstrap.MiMonitorBootstrap</mainClass>
</configuration>
<executions>
<execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.aop;
package org.apache.ozhera.monitor.aop;


import com.xiaomi.mone.monitor.bo.InterfaceNameEnum;
import org.apache.ozhera.monitor.bo.InterfaceNameEnum;
import org.springframework.core.annotation.AliasFor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.aop;
package org.apache.ozhera.monitor.aop;

import com.xiaomi.mone.monitor.bo.HeraReqInfo;
import com.xiaomi.mone.monitor.service.aop.action.HeraRequestMappingAction;
import com.xiaomi.mone.monitor.service.aop.context.HeraRequestMappingContext;
import org.apache.ozhera.monitor.bo.HeraReqInfo;
import org.apache.ozhera.monitor.service.aop.action.HeraRequestMappingAction;
import org.apache.ozhera.monitor.service.aop.context.HeraRequestMappingContext;
import com.xiaomi.mone.tpc.login.util.UserUtil;
import com.xiaomi.mone.tpc.login.vo.AuthUserVo;
import lombok.extern.slf4j.Slf4j;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.xiaomi.mone.monitor.bootstrap;
package org.apache.ozhera.monitor.bootstrap;

import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.config;
package org.apache.ozhera.monitor.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.xiaomi.mone.monitor.config;
package org.apache.ozhera.monitor.config;

import com.alibaba.nacos.api.config.annotation.NacosValue;
import com.github.pagehelper.PageInterceptor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.config;
package org.apache.ozhera.monitor.config;

import org.apache.dubbo.config.ApplicationConfig;
import org.apache.dubbo.config.ProtocolConfig;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.xiaomi.mone.monitor.config;
package org.apache.ozhera.monitor.config;

import com.xiaomi.mone.tpc.login.filter.HttpReqUserFilter;
import com.xiaomi.mone.tpc.login.util.ConstUtil;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.config;
package org.apache.ozhera.monitor.config;

import java.rmi.UnknownHostException;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.controller;
package org.apache.ozhera.monitor.controller;

import com.xiaomi.mone.monitor.result.Result;
import com.xiaomi.mone.monitor.service.AppMonitorService;
import org.apache.ozhera.monitor.result.Result;
import org.apache.ozhera.monitor.service.AppMonitorService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.xiaomi.mone.monitor.controller;

import com.xiaomi.mone.monitor.aop.HeraRequestMapping;
import com.xiaomi.mone.monitor.bo.AlarmAlertLevel;
import com.xiaomi.mone.monitor.bo.AlarmCheckDataCount;
import com.xiaomi.mone.monitor.bo.AlarmSendInterval;
import com.xiaomi.mone.monitor.bo.InterfaceNameEnum;
import com.xiaomi.mone.monitor.dao.model.AppAlarmRuleTemplate;
import com.xiaomi.mone.monitor.result.ErrorCode;
import com.xiaomi.mone.monitor.result.Result;
import com.xiaomi.mone.monitor.service.AppAlarmService;
import com.xiaomi.mone.monitor.service.alertmanager.AlertServiceAdapt;
import com.xiaomi.mone.monitor.service.aop.action.HeraRequestMappingActionRuleDelete;
import com.xiaomi.mone.monitor.service.aop.action.HeraRequestMappingActionRuleEdit;
import com.xiaomi.mone.monitor.service.aop.action.HeraRequestMappingActionStrategyAdd;
import com.xiaomi.mone.monitor.service.aop.action.HeraRequestMappingActionStrategyEdit;
import com.xiaomi.mone.monitor.service.api.AlarmPresetMetricsService;
import com.xiaomi.mone.monitor.service.model.PageData;
import com.xiaomi.mone.monitor.service.model.prometheus.*;
import com.xiaomi.mone.monitor.service.user.UserConfigService;
package org.apache.ozhera.monitor.controller;

import org.apache.ozhera.monitor.aop.HeraRequestMapping;
import org.apache.ozhera.monitor.bo.AlarmAlertLevel;
import org.apache.ozhera.monitor.bo.AlarmCheckDataCount;
import org.apache.ozhera.monitor.bo.AlarmSendInterval;
import org.apache.ozhera.monitor.bo.InterfaceNameEnum;
import org.apache.ozhera.monitor.dao.model.AppAlarmRuleTemplate;
import org.apache.ozhera.monitor.result.ErrorCode;
import org.apache.ozhera.monitor.result.Result;
import org.apache.ozhera.monitor.service.AppAlarmService;
import org.apache.ozhera.monitor.service.alertmanager.AlertServiceAdapt;
import org.apache.ozhera.monitor.service.aop.action.HeraRequestMappingActionRuleDelete;
import org.apache.ozhera.monitor.service.aop.action.HeraRequestMappingActionRuleEdit;
import org.apache.ozhera.monitor.service.aop.action.HeraRequestMappingActionStrategyAdd;
import org.apache.ozhera.monitor.service.aop.action.HeraRequestMappingActionStrategyEdit;
import org.apache.ozhera.monitor.service.api.AlarmPresetMetricsService;
import org.apache.ozhera.monitor.service.model.PageData;
import org.apache.ozhera.monitor.service.model.prometheus.*;
import org.apache.ozhera.monitor.service.user.UserConfigService;
import com.xiaomi.mone.tpc.login.util.UserUtil;
import com.xiaomi.mone.tpc.login.vo.AuthUserVo;
import lombok.extern.slf4j.Slf4j;
Expand Down
Loading

0 comments on commit d6a9523

Please sign in to comment.