├── .gitignore ├── LICENSE ├── README.md ├── eis-adapter ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── netease │ └── eis │ └── adapters │ ├── CacheAdapter.java │ ├── FileUploadAdapter.java │ ├── NotifyUserAdapter.java │ └── RealtimeConfigAdapter.java ├── eis-common ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── netease │ └── hz │ └── bdms │ └── easyinsight │ └── common │ ├── OpenSource.java │ ├── SysProperties.java │ ├── aop │ ├── LogAspect.java │ ├── MethodLog.java │ └── PermissionAction.java │ ├── bo │ ├── diff │ │ ├── ChangeTuple.java │ │ ├── EventDiff.java │ │ ├── ParamDiff.java │ │ ├── RelationDiff.java │ │ └── RelationObjDiff.java │ └── lineage │ │ ├── LinageGraph.java │ │ ├── LineageForest.java │ │ ├── LineageLevelNode.java │ │ ├── Node.java │ │ ├── NodeOfTestTree.java │ │ ├── TotalLineageGraph.java │ │ └── TreeNode.java │ ├── config │ └── RestTemplateConfig.java │ ├── constant │ ├── ContextConstant.java │ ├── DemoConst.java │ ├── GlobalConst.java │ ├── LogConstant.java │ ├── PermissionVisibleConstant.java │ ├── ResponseActionConstant.java │ └── ResponseCodeConstant.java │ ├── context │ └── EtContext.java │ ├── dto │ ├── ListHolder.java │ ├── LogListHolder.java │ ├── app │ │ ├── AppDTO.java │ │ └── AppSimpleDTO.java │ ├── audit │ │ ├── BloodLink.java │ │ └── CheckScopeEnum.java │ ├── checkhistory │ │ ├── CheckHistoryAggreDTO.java │ │ └── CheckHistorySimpleDTO.java │ ├── common │ │ ├── BaseUserListHolderDTO.java │ │ ├── CommonAggregateDTO.java │ │ ├── CommonRelationAggregateDTO.java │ │ ├── PagingResultDTO.java │ │ ├── PagingSortDTO.java │ │ ├── SessionDTO.java │ │ ├── TagAggreListDTO.java │ │ ├── UserDTO.java │ │ └── UserSimpleDTO.java │ ├── compass │ │ ├── BatchCheckPrivilegeDTO.java │ │ ├── BizLineDTO.java │ │ ├── CheckPrivilegeDTO.java │ │ ├── IndexDTO.java │ │ ├── IndexRequestDTO.java │ │ ├── PageBaseReqDTO.java │ │ ├── PermissionItem.java │ │ ├── PrivilegeListDTO.java │ │ ├── VerifySingleDTO.java │ │ └── WebRequestDTO.java │ ├── diff │ │ └── TrackerDiffDTO.java │ ├── domain │ │ ├── DomainDTO.java │ │ └── DomainSimpleDTO.java │ ├── event │ │ └── EventSimpleDTO.java │ ├── image │ │ └── ImageRelationDTO.java │ ├── logcheck │ │ ├── BranchCoverageDTO.java │ │ └── BranchCoverageRuleDTO.java │ ├── message │ │ ├── AlertEventSimpleDTO.java │ │ ├── ChannelSimpleDTO.java │ │ ├── EasyInsightLogMessage.java │ │ ├── EasyInsightLogMessageLogCheckMeta.java │ │ ├── NotifyContentDTO.java │ │ └── UserAlertAccountDTO.java │ ├── obj │ │ ├── MergeObjReqDTO.java │ │ ├── ObjBasicSimpleDTO.java │ │ ├── ObjDTO.java │ │ ├── ObjectBasicDTO.java │ │ ├── ObjectEventRelationDTO.java │ │ ├── ObjectExtDTO.java │ │ ├── ObjectInfoDTO.java │ │ ├── ObjectTrackerInfoDTO.java │ │ ├── ObjectUserDTO.java │ │ ├── ParsedSpmDTO.java │ │ ├── SpmNodeDTO.java │ │ ├── UserPointInfoDTO.java │ │ ├── lineage │ │ │ ├── ObjLineageEdgeDTO.java │ │ │ ├── ObjLineageNodeDTO.java │ │ │ ├── ObjLineageSimpleNodeDTO.java │ │ │ └── ObjTrackerLineageGraphNode.java │ │ ├── overmind │ │ │ ├── OvermindIssueDTO.java │ │ │ ├── OvermindLogCheckDTO.java │ │ │ └── OvermindVersionDTO.java │ │ ├── param │ │ │ ├── EventParamItemDTO.java │ │ │ ├── GlobalPublicParamItemDTO.java │ │ │ └── ParamWithValueItemDTO.java │ │ ├── tracker │ │ │ ├── ObjTrackerDTO.java │ │ │ ├── ObjTrackerSimpleDTO.java │ │ │ ├── event │ │ │ │ └── ObjTrackerEventSimpleDTO.java │ │ │ └── history │ │ │ │ └── ObjTrackerHistorySimpleDTO.java │ │ ├── tree │ │ │ └── ObjTreeItemDTO.java │ │ └── version │ │ │ └── ObjVersionSimpleDTO.java │ ├── param │ │ ├── ParamDTO.java │ │ ├── ParamListItemDTO.java │ │ ├── ParamSimpleDTO.java │ │ ├── ParamValueSimpleDTO.java │ │ ├── UpdateSpmPoolParam.java │ │ ├── parambind │ │ │ ├── ParamBindItemDTO.java │ │ │ ├── ParamBindSimpleDTO.java │ │ │ ├── ParamBindValueSimpleDTO.java │ │ │ └── ParamEmptyRateDTO.java │ │ ├── parampool │ │ │ ├── ObjBusinessPrivateParamDTO.java │ │ │ ├── ObjBusinessPrivateParamSimpleDTO.java │ │ │ └── ParamPoolItemDTO.java │ │ └── paramvalue │ │ │ └── RuleTemplateSimpleDTO.java │ ├── processor │ │ └── realtime │ │ │ ├── oldversion │ │ │ └── OldVersionLogSimpleDTO.java │ │ │ ├── rulecheck │ │ │ ├── CheckItemResultFormatSimpleDTO.java │ │ │ ├── CheckItemResultSimpleDTO.java │ │ │ ├── CompareItemSimpleDTO.java │ │ │ ├── DetectionIndicatorsSimpleDTO.java │ │ │ ├── FailKeyDTO.java │ │ │ ├── IndicatorSimpleDTO.java │ │ │ ├── ReferCheckSimpleDTO.java │ │ │ └── RuleCheckSimpleDTO.java │ │ │ └── statistic │ │ │ ├── BaseCoverInfoDTO.java │ │ │ ├── ErrorMessageSimpleDTO.java │ │ │ ├── EventCheckResultDTO.java │ │ │ ├── EventStatisticResultDTO.java │ │ │ ├── LogEventStatisticSimpleDTO.java │ │ │ ├── LogSpmStatisticSimpleDTO.java │ │ │ ├── LogStatisticsSimpleDTO.java │ │ │ ├── ReqCoverInfoDTO.java │ │ │ ├── ReqTestInfoDTO.java │ │ │ ├── TreeModeStatisticResultDTO.java │ │ │ ├── UnMatchSpmStatisticResultDTO.java │ │ │ └── UndefinedEventStatisticsResultDTO.java │ ├── rbac │ │ ├── MenuNodeDTO.java │ │ ├── RoleApplyDTO.java │ │ └── RoleDTO.java │ ├── realtimetest │ │ ├── BranchCoverIgnoreRequestDTO.java │ │ ├── RealTimeTestResourceDTO.java │ │ ├── ResourceGenerateDTO.java │ │ ├── ResourceRequestDTO.java │ │ ├── ServerLogParam.java │ │ ├── TestHistoryRecordDTO.java │ │ ├── TestHistorySearchRequestDTO.java │ │ └── TestTreeVO.java │ ├── rebase │ │ ├── RebaseDTO.java │ │ └── TerminalBaseDTO.java │ ├── require │ │ ├── ReqPoolCountsDTO.java │ │ ├── ReqPoolObjDTO.java │ │ └── TerminalVersionSimpleDTO.java │ ├── requirement │ │ └── IssueEditOpenAPIDTO.java │ ├── spm │ │ ├── ArtificialSpmInfoDTO.java │ │ ├── SpmCheckInfoDTO.java │ │ ├── SpmInfoDTO.java │ │ ├── SpmMapInfoDTO.java │ │ ├── SpmMapItemDTO.java │ │ ├── SpmMapRelationDTO.java │ │ └── SpmTree.java │ ├── tag │ │ ├── ObjTagSimpleDTO.java │ │ ├── SpmTagSimpleDTO.java │ │ └── TagSimpleDTO.java │ ├── template │ │ ├── TemplateDTO.java │ │ └── TemplateSimpleDTO.java │ ├── terminal │ │ └── TerminalSimpleDTO.java │ └── version │ │ └── VersionSimpleDTO.java │ ├── enums │ ├── BranchCoverageParamTypeEnum.java │ ├── BuryPointErrorCategoryEnum.java │ ├── BuryPointLogTypeEnum.java │ ├── CauseCheckResultEnum.java │ ├── ChangeTypeEnum.java │ ├── CheckErrorCauseEnum.java │ ├── CheckItemEnum.java │ ├── CheckResultEnum.java │ ├── CheckTypeEnum.java │ ├── ClientTypeEnum.java │ ├── CommonKVCodeEnum.java │ ├── ConflictStatusEnum.java │ ├── DeliverTypeEnum.java │ ├── DiffTypeEnum.java │ ├── EntityTypeEnum.java │ ├── ImageStoreEnum.java │ ├── IssueTypeEnum.java │ ├── LineageTypeEnum.java │ ├── LogCheckResultEnum.java │ ├── ObjChangeTypeEnum.java │ ├── ObjSpecialTypeEnum.java │ ├── ObjSubTypeEnum.java │ ├── ObjTypeEnum.java │ ├── ObjTypeNamespaceEnum.java │ ├── OmIssueStatusEnum.java │ ├── OmPriorityEnum.java │ ├── OperationTypeEnum.java │ ├── PackageTypeEnum.java │ ├── ParamAggreTypeEum.java │ ├── ParamSourceTypeEnum.java │ ├── ParamTypeEnum.java │ ├── ParamValueTypeEnum.java │ ├── PermissionAuditEnum.java │ ├── ProcessStatusEnum.java │ ├── RealTestResultEnum.java │ ├── ReferCheckResultEnum.java │ ├── ReqPoolTypeEnum.java │ ├── ReqSourceEnum.java │ ├── ReqTaskStatusEnum.java │ ├── RequirementTypeEnum.java │ ├── ServerAPITypeEnum.java │ ├── SpmMapStatusEnum.java │ ├── SpmSourceTypeEnum.java │ ├── TagTypeEnum.java │ ├── TaskSourceStatusEnum.java │ ├── TerminalBigTypeEnum.java │ ├── TerminalCodeTypeEum.java │ ├── TerminalTypeEnum.java │ ├── TerminalVersionStatusEnum.java │ ├── TestResultEnum.java │ ├── TestStatusEnum.java │ ├── TimeGranularityEnum.java │ ├── TrackerContentTypeEnum.java │ ├── UrlQueryTypeEnum.java │ ├── VersionSourceEnum.java │ ├── VersionSourceStatusEnum.java │ ├── external │ │ ├── OvermindTaskStatusEnum.java │ │ └── OvermindVersionStatusEnum.java │ ├── logcheck │ │ ├── BranchCoverageFieldsEnum.java │ │ ├── ClickHouseDataSourceEnum.java │ │ ├── LogCheckFieldsEnum.java │ │ ├── LogCheckPackageTypeEum.java │ │ ├── ParamCheckFieldsEnum.java │ │ ├── TokenMonitorFieldsEnum.java │ │ └── monitor │ │ │ ├── AlarmOperatorTypeEum.java │ │ │ ├── ConditionTypeEum.java │ │ │ ├── ExecuteAlarmTypeEnum.java │ │ │ ├── OperatorTypeEum.java │ │ │ └── SelectTypeEnum.java │ └── rbac │ │ ├── AuthType.java │ │ ├── PermissionEnum.java │ │ ├── RoleLevelEnum.java │ │ └── RoleTypeEnum.java │ ├── exception │ ├── AbstractCommonException.java │ ├── AuthException.java │ ├── CommonException.java │ ├── DomainException.java │ ├── ObjException.java │ ├── OvermindApiException.java │ ├── ParamBindException.java │ ├── ParamException.java │ ├── ParamInvalidException.java │ ├── RealTimeTestException.java │ ├── ReqirementException.java │ ├── ServerException.java │ ├── TerminalException.java │ ├── UploadException.java │ └── UserManagementException.java │ ├── http │ └── HttpResult.java │ ├── obj │ ├── FourTuple.java │ ├── ThreeTuple.java │ └── TwoTuple.java │ ├── param │ ├── app │ │ ├── AppCreateParam.java │ │ └── AppUpdateParam.java │ ├── auth │ │ ├── MemberListPageableParam.java │ │ ├── MemberListParam.java │ │ ├── MenuFunctionParam.java │ │ ├── RoleAuthParam.java │ │ ├── RoleCreateParam.java │ │ ├── RoleDeleteParam.java │ │ ├── RoleUpdateParam.java │ │ ├── TestStatisticInfoParam.java │ │ ├── UserBaseInfoParam.java │ │ ├── UserRoleRelationCreateParam.java │ │ ├── UserRoleRelationDeleteParam.java │ │ └── UserRoleRelationUpdateParam.java │ ├── domain │ │ ├── DomainCreateParam.java │ │ └── DomainUpdateParam.java │ ├── event │ │ ├── EventBatchCreateParam.java │ │ ├── EventBuryPointCreateParam.java │ │ ├── EventBuryPointEditParam.java │ │ ├── EventCreateParam.java │ │ ├── EventObjRelation.java │ │ ├── EventPoolSearchParam.java │ │ └── EventUpdateParam.java │ ├── obj │ │ ├── ObjAggreSearchParam.java │ │ ├── ObjectBasicChangeParam.java │ │ ├── ObjectBasicCreateParam.java │ │ ├── ObjectBatchChangeParam.java │ │ ├── ObjectBatchParam.java │ │ ├── ObjectChangeParam.java │ │ ├── ObjectCreateParam.java │ │ ├── ObjectEditParam.java │ │ ├── ObjectEmptyRateParam.java │ │ ├── ObjectTrackerChangeParam.java │ │ ├── ObjectTrackerCreateParam.java │ │ ├── ObjectTrackerEditParam.java │ │ ├── ObjectUserParam.java │ │ ├── UserBuryPointParam.java │ │ ├── item │ │ │ └── ObjBindItemParam.java │ │ ├── server │ │ │ ├── ServerApiInfo.java │ │ │ └── ServerObjectVO.java │ │ └── tracker │ │ │ ├── ObjTrackerCreateParam.java │ │ │ └── lineage │ │ │ └── ObjParentSetParam.java │ ├── param │ │ ├── ObjBusinessPrivateParamCreateParam.java │ │ ├── ObjBusinessPrivateParamUpdateParam.java │ │ ├── ParamCreateParam.java │ │ ├── ParamUpdateParam.java │ │ ├── paramBind │ │ │ ├── ParamBindCopyParam.java │ │ │ ├── ParamBindCreateParam.java │ │ │ ├── ParamBindItermParam.java │ │ │ └── ParamBindUpdateParam.java │ │ ├── parampool │ │ │ ├── ParamPoolCreateParam.java │ │ │ └── ParamPoolUpdateParam.java │ │ └── paramvalue │ │ │ ├── ParamValueItemParam.java │ │ │ └── ParamValueUpdateParam.java │ ├── spm │ │ ├── SpmInfoUpdateParam.java │ │ ├── SpmMapItemCreateParam.java │ │ ├── SpmMapNoteUpdateParam.java │ │ ├── SpmMapStatusUpdateParam.java │ │ ├── SpmMapVersionUpdateParam.java │ │ └── SpmTagBindsParam.java │ ├── tag │ │ ├── CidTagInfo.java │ │ ├── ObjBasicTagDTO.java │ │ └── TagCreateParam.java │ ├── template │ │ ├── TemplateCreateParam.java │ │ └── TerminalUpdateParam.java │ ├── terminal │ │ ├── TerminalCreateParam.java │ │ ├── TerminalSearchParam.java │ │ └── TerminalUpdateParam.java │ └── version │ │ ├── VersionCreateParam.java │ │ └── VersionSetParam.java │ ├── query │ ├── ReqPoolPageQuery.java │ ├── Search.java │ └── TaskPageQuery.java │ ├── util │ ├── ArrayUtils.java │ ├── BeanConvertUtils.java │ ├── CacheUtils.java │ ├── CheckUtils.java │ ├── CollectionUtil.java │ ├── CommonUtil.java │ ├── DateTimeUtils.java │ ├── DomainUrlUtils.java │ ├── FormaterUtils.java │ ├── HttpPoolManager.java │ ├── HttpUtils.java │ ├── JsonUtils.java │ ├── MD5MsgDigest.java │ ├── OvermindUtil.java │ ├── ParamCheckUtil.java │ ├── RestTemplateUtils.java │ ├── SourceStatusMappingUtils.java │ ├── TimeUtil.java │ ├── TreeNode.java │ └── TreeUtil.java │ └── vo │ ├── PageBaseReqVO.java │ ├── PageResultVO.java │ ├── TerminalVersion.java │ ├── auth │ ├── RoleVO.java │ └── UserVO.java │ ├── eistest │ ├── DoubleListFallsPageResultVO.java │ ├── FallsPage.java │ ├── FallsPageRequest.java │ └── FallsPageResult.java │ ├── event │ ├── EventAggregateInfoVO.java │ ├── EventBuryPointSimpleVO.java │ ├── EventBuryPointVO.java │ ├── ReleasedEventAggregateVO.java │ ├── ReleasedEventAggregationSimpleVO.java │ ├── ReleasedEventAggregationVO.java │ └── ReleasedEventBuryPointVO.java │ ├── logcheck │ ├── AccumulateHistogramVO.java │ ├── AccumulateQueryVO.java │ ├── BaseLogCheckFilterValuesVO.java │ ├── BaseQueryVO.java │ ├── BranchCoverageDetailVO.java │ ├── BucketValueVO.java │ ├── CauseCheckStatisticsVO.java │ ├── EisAuditPackageInfoVO.java │ ├── FailedInfoVO.java │ ├── FilterValuesQueryVO.java │ ├── HistogramVO.java │ ├── LogCheckDetailVO.java │ ├── LogCheckFilterValuesVO.java │ ├── LogCheckLogVO.java │ ├── LogCheckStatisticsVO.java │ ├── LogPageInfo.java │ ├── LogQueryVO.java │ ├── ParamBindDetail.java │ ├── ParamKeyAndValueDetailVO.java │ ├── ParamKeyAndValueVO.java │ ├── ParamKeyVO.java │ ├── PieVO.java │ ├── PieValueVO.java │ ├── RuleInfoVO.java │ ├── RuleVersionVO.java │ ├── SpmInfoVO.java │ ├── SpmInfoWithFailKeyVO.java │ ├── VersionBuildUUIDVO.java │ └── monitor │ │ ├── DataFieldFilterValuesVO.java │ │ ├── DataSourceVO.java │ │ ├── DataSourcesVO.java │ │ ├── DisplayValue.java │ │ ├── LogCheckMonitorHistogramQueryVO.java │ │ ├── LogCheckMonitorHistogramVO.java │ │ ├── MetricOutputFilterValuesVO.java │ │ ├── OperatorSupportFields.java │ │ └── PackageTypeFilterValuesVO.java │ ├── obj │ ├── ObjAggregateVO.java │ ├── ObjCascadeAggregateVO.java │ ├── ObjDetailsVO.java │ ├── ObjLineageGraphVO.java │ ├── ObjReleaseVO.java │ ├── ObjTreeAndTerminalInfoVO.java │ ├── ObjTreeVO.java │ ├── OidsGroupingByObjSubTypeVO.java │ └── ServerObjDetailsVO.java │ ├── param │ └── ParamPoolItemVO.java │ ├── realtimetest │ └── ReqNode.java │ ├── release │ ├── BaseReleaseVO.java │ └── ReleaseVO.java │ ├── requirement │ ├── AggregatedTaskVO.java │ ├── AssignAggreVO.java │ ├── AssignEntityVO.java │ ├── AssignQueryVO.java │ ├── AssignVO.java │ ├── BaseObjEntityVO.java │ ├── BranchCoverageIgnoreVO.java │ ├── CancelAssignBatchVO.java │ ├── CancleAssignVO.java │ ├── CancleSpmAssignVO.java │ ├── OidAssignVO.java │ ├── OmImportVO.java │ ├── OmReqVO.java │ ├── OmTaskVO.java │ ├── RebaseEditVO.java │ ├── RebaseVO.java │ ├── RelBaseReleaseHistoryVO.java │ ├── ReleasedTaskVO.java │ ├── ReqAddAggreVO.java │ ├── ReqCheckHistoryPagingQueryVO.java │ ├── ReqEditShowVO.java │ ├── ReqEntityVO.java │ ├── ReqInfoPagingListVO.java │ ├── ReqObjVO.java │ ├── ReqPoolCreateVO.java │ ├── ReqPoolEditShowVO.java │ ├── ReqPoolEditVO.java │ ├── ReqPoolPagingListVO.java │ ├── ReqPoolStatisticVO.java │ ├── ReqSearchAggreVO.java │ ├── ReqShowVO.java │ ├── ReqSpmEntityVO.java │ ├── ReqSpmTreeVO.java │ ├── RequirementInfoVO.java │ ├── TaskDetailVO.java │ ├── TaskEditVO.java │ ├── TaskEntityVO.java │ ├── TaskQueryVO.java │ ├── TaskRelObjTreeLevelVO.java │ ├── TaskRelObjVO.java │ ├── TaskShowVO.java │ ├── TerminalAggreVO.java │ ├── TerminalRebaseVO.java │ ├── UnDevelopedEventVO.java │ ├── ValidateResultDeleteVO.java │ └── VersionBaseVO.java │ ├── spm │ ├── AuditInfoVO.java │ ├── SpmAuditInfoVO.java │ ├── SpmMapInfoListQueryVO.java │ └── SpmMapInfoVO.java │ ├── synctree │ ├── SyncObjVO.java │ └── SyncTreeVO.java │ ├── task │ ├── DeliverVO.java │ ├── ReqTaskVO.java │ ├── ReqTaskWithProcessViewVO.java │ ├── SourceUrlVO.java │ ├── TaskEventVO.java │ ├── TaskPagingQueryVO.java │ ├── TaskProcessSpmEntityVO.java │ ├── TaskProcessVO.java │ ├── TaskProcessViewQueryVO.java │ ├── TaskSearchAggreVO.java │ ├── TaskSpmTreeVO.java │ ├── TestRecordResultVO.java │ └── TransStatusVO.java │ └── terminalversion │ ├── VersionEdgeVO.java │ └── VersionNodeVO.java ├── eis-dao ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── netease │ │ └── hz │ │ └── bdms │ │ └── easyinsight │ │ └── dao │ │ ├── AppMapper.java │ │ ├── AppRelationMapper.java │ │ ├── ArtificialSpmInforMapper.java │ │ ├── CheckHistoryMapper.java │ │ ├── CommonKVMapper.java │ │ ├── DomainMapper.java │ │ ├── EisAllTrackerReleaseMapper.java │ │ ├── EisAuditPackageInfoMapper.java │ │ ├── EisAuditResourceMetaMapper.java │ │ ├── EisBuildRuleResourceMapper.java │ │ ├── EisCidInfoMapper.java │ │ ├── EisEventBuryPointMapper.java │ │ ├── EisEventObjRelationMapper.java │ │ ├── EisLogCheckAlarmRuleMapper.java │ │ ├── EisLogCheckMonitorItemMapper.java │ │ ├── EisLogCheckUserMonitorItemMapper.java │ │ ├── EisObjAllRelationReleaseMapper.java │ │ ├── EisObjChangeHistoryMapper.java │ │ ├── EisObjTerminalTrackerMapper.java │ │ ├── EisPermissionApplyRecordMapper.java │ │ ├── EisRealtimeBranchIgnoreMapper.java │ │ ├── EisReqObjChangeHistoryMapper.java │ │ ├── EisReqObjRelationMapper.java │ │ ├── EisReqPoolEventMapper.java │ │ ├── EisReqPoolMapper.java │ │ ├── EisReqPoolRelBaseReleaseMapper.java │ │ ├── EisReqPoolSpmMapper.java │ │ ├── EisReqTaskMapper.java │ │ ├── EisRequirementInfoMapper.java │ │ ├── EisTaskProcessMapper.java │ │ ├── EisTerminalReleaseHistoryMapper.java │ │ ├── EisTrackerContentMapper.java │ │ ├── EisUserPointInfoMapper.java │ │ ├── EventMapper.java │ │ ├── ImageRelationMapper.java │ │ ├── ObjTagMapper.java │ │ ├── ObjTrackerEventMapper.java │ │ ├── ObjectBasicMapper.java │ │ ├── ParamBindMapper.java │ │ ├── ParamBindValueMapper.java │ │ ├── ParamMapper.java │ │ ├── ParamPoolMapper.java │ │ ├── ParamRuleAuditMapper.java │ │ ├── ParamValueMapper.java │ │ ├── ReleaseRelationMapper.java │ │ ├── RuleTemplateMapper.java │ │ ├── SessionMapper.java │ │ ├── SpmInfoMapper.java │ │ ├── SpmMapInfoMapper.java │ │ ├── SpmMapItemMapper.java │ │ ├── SpmMapVersionMapper.java │ │ ├── SpmTagMapper.java │ │ ├── TagMapper.java │ │ ├── TemplateMapper.java │ │ ├── TerminalMapper.java │ │ ├── TerminalVersionInfoMapper.java │ │ ├── TestHistoryMapper.java │ │ ├── UserOuterResourceBindingMapper.java │ │ ├── VersionMapper.java │ │ ├── model │ │ ├── App.java │ │ ├── AppRelation.java │ │ ├── ArtificialSpmInfo.java │ │ ├── CheckHistory.java │ │ ├── CheckHistoryNoDetail.java │ │ ├── CidInfo.java │ │ ├── CommonKV.java │ │ ├── Domain.java │ │ ├── EisAllTrackerRelease.java │ │ ├── EisAuditPackageInfo.java │ │ ├── EisAuditResource.java │ │ ├── EisBuildRuleResource.java │ │ ├── EisEventBuryPoint.java │ │ ├── EisEventObjRelation.java │ │ ├── EisObjAllRelationRelease.java │ │ ├── EisObjChangeHistory.java │ │ ├── EisObjTerminalTracker.java │ │ ├── EisPermissionApplyRecord.java │ │ ├── EisRealtimeBranchIgnore.java │ │ ├── EisReqObjChangeHistory.java │ │ ├── EisReqObjRelation.java │ │ ├── EisReqPool.java │ │ ├── EisReqPoolEvent.java │ │ ├── EisReqPoolRelBaseRelease.java │ │ ├── EisReqPoolSpm.java │ │ ├── EisReqTask.java │ │ ├── EisRequirementInfo.java │ │ ├── EisTaskProcess.java │ │ ├── EisTerminalReleaseHistory.java │ │ ├── EisTerminalVersionInfo.java │ │ ├── EisUserPointInfo.java │ │ ├── Event.java │ │ ├── Image.java │ │ ├── ImageRelation.java │ │ ├── ObjMappings.java │ │ ├── ObjTag.java │ │ ├── ObjTrackerEvent.java │ │ ├── ObjTrackerHistory.java │ │ ├── ObjectBasic.java │ │ ├── Param.java │ │ ├── ParamBind.java │ │ ├── ParamBindValue.java │ │ ├── ParamPoolItem.java │ │ ├── ParamRuleAudit.java │ │ ├── ParamValue.java │ │ ├── ReleaseRelation.java │ │ ├── RuleTemplate.java │ │ ├── Session.java │ │ ├── SpmInfo.java │ │ ├── SpmMapInfo.java │ │ ├── SpmMapItem.java │ │ ├── SpmMapVersion.java │ │ ├── SpmTag.java │ │ ├── Tag.java │ │ ├── Template.java │ │ ├── Terminal.java │ │ ├── TestHistoryRecord.java │ │ ├── TrackerContent.java │ │ ├── UserOuterResourceBinding.java │ │ ├── Version.java │ │ ├── checkresult │ │ │ ├── EisBranchCoverage.java │ │ │ ├── EisCheckResultAggregation.java │ │ │ ├── EisCheckResultLog.java │ │ │ └── EisParamValueAggregation.java │ │ ├── logcheck │ │ │ ├── EisLogCheckAlarmRule.java │ │ │ ├── EisLogCheckMonitorItem.java │ │ │ └── EisLogCheckUserMonitorItem.java │ │ └── rbac │ │ │ ├── Auth.java │ │ │ ├── Role.java │ │ │ ├── RoleAuth.java │ │ │ ├── User.java │ │ │ └── UserRole.java │ │ └── rbac │ │ ├── AuthMapper.java │ │ ├── RoleAuthMapper.java │ │ ├── RoleMapper.java │ │ ├── UserMapper.java │ │ └── UserRoleMapper.java │ └── resources │ └── mybatis │ └── mapper │ ├── AppMapper.xml │ ├── AppRelationMapper.xml │ ├── ArtificialSpmInfoMapper.xml │ ├── AuthMapper.xml │ ├── CheckHistoryMapper.xml │ ├── CommonKVMapper.xml │ ├── DomainMapper.xml │ ├── EisAllTrackerReleaseMapper.xml │ ├── EisAuditPackageInfoMapper.xml │ ├── EisAuditResourceMetaMapper.xml │ ├── EisBuildRuleResourceMapper.xml │ ├── EisCidInfoMapper.xml │ ├── EisEventBuryPointMapper.xml │ ├── EisEventObjRelationMapper.xml │ ├── EisLogCheckAlarmRuleMapper.xml │ ├── EisLogCheckMonitorItemMapper.xml │ ├── EisLogCheckUserMonitorItemMapper.xml │ ├── EisObjAllRelationReleaseMapper.xml │ ├── EisObjChangeHistoryMapper.xml │ ├── EisObjTerminalTrackerMapper.xml │ ├── EisPermissionApplyRecordMapper.xml │ ├── EisRealtimeBranchIgnoreMapper.xml │ ├── EisReqObjChangeHistoryMapper.xml │ ├── EisReqObjRelationMapper.xml │ ├── EisReqPoolEventMapper.xml │ ├── EisReqPoolMapper.xml │ ├── EisReqPoolRelBaseReleaseMapper.xml │ ├── EisReqPoolSpmMapper.xml │ ├── EisReqTaskMapper.xml │ ├── EisRequirementInfoMapper.xml │ ├── EisTaskProcessMapper.xml │ ├── EisTerminalReleaseHistoryMapper.xml │ ├── EisTerminalVersionInfoMapper.xml │ ├── EisTrackerContentMapper.xml │ ├── EisUserPointInfoMapper.xml │ ├── EventMapper.xml │ ├── ImageRelationMapper.xml │ ├── ObjTagMapper.xml │ ├── ObjTrackerEventMapper.xml │ ├── ObjectBasicMapper.xml │ ├── ParamBindMapper.xml │ ├── ParamBindValueMapper.xml │ ├── ParamMapper.xml │ ├── ParamPoolMapper.xml │ ├── ParamRuleAuditMapper.xml │ ├── ParamValueMapper.xml │ ├── ReleaseRelationMapper.xml │ ├── RoleAuthMapper.xml │ ├── RoleMapper.xml │ ├── RuleTemplateMapper.xml │ ├── SessionMapper.xml │ ├── SpmInfoMapper.xml │ ├── SpmMapInfoMapper.xml │ ├── SpmMapItemMapper.xml │ ├── SpmMapVersionMapper.xml │ ├── SpmTagMapper.xml │ ├── TagMapper.xml │ ├── TemplateMapper.xml │ ├── TerminalMapper.xml │ ├── TestHistoryMapper.xml │ ├── UserMapper.xml │ ├── UserOuterResourceBingingMapper.xml │ ├── UserRoleMapper.xml │ └── VersionMapper.xml ├── eis-service-core ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── netease │ └── hz │ └── bdms │ ├── easyinsight │ └── service │ │ ├── facade │ │ ├── AppFacade.java │ │ ├── BuryPointTestFacade.java │ │ ├── DomainFacade.java │ │ ├── EventFacade.java │ │ ├── EventPoolFacade.java │ │ ├── HomePageFacade.java │ │ ├── ImageFacade.java │ │ ├── ObjectFacade.java │ │ ├── ParamBindFacade.java │ │ ├── ParamFacade.java │ │ ├── ParamValueFacade.java │ │ ├── ReleaseFacade.java │ │ ├── ReqDesignFacade.java │ │ ├── ReqPoolListPageFacade.java │ │ ├── ReqTaskFacade.java │ │ ├── SpmFacade.java │ │ ├── TagFacade.java │ │ ├── TemplateFacade.java │ │ ├── TerminalFacade.java │ │ ├── UserFacade.java │ │ └── VersionFacade.java │ │ ├── helper │ │ ├── DiffHelper.java │ │ ├── LineageHelper.java │ │ ├── MergeConflictHelper.java │ │ ├── NotifyHelper.java │ │ ├── ObjectHelper.java │ │ ├── ObjectRelationHelper.java │ │ ├── ParamBindHelper.java │ │ ├── ReleaseHelper.java │ │ ├── ReqPoolSpmHelper.java │ │ ├── ReqTaskHelper.java │ │ ├── RequirementPoolHelper.java │ │ ├── SpmMapHelper.java │ │ ├── SpmTagHelper.java │ │ ├── TagHelper.java │ │ ├── TerminalVersionInfoHelper.java │ │ └── TrackerDiffHelper.java │ │ ├── needimpl │ │ └── TerminalCodeService.java │ │ └── service │ │ ├── AppService.java │ │ ├── ArtificialSpmInfoService.java │ │ ├── DomainService.java │ │ ├── EventService.java │ │ ├── ImageRelationService.java │ │ ├── ObjChangeHistoryService.java │ │ ├── ObjTagService.java │ │ ├── ObjTrackerEventService.java │ │ ├── ObjectBasicService.java │ │ ├── ParamBindService.java │ │ ├── ParamBindValueService.java │ │ ├── ParamPoolService.java │ │ ├── ParamService.java │ │ ├── ParamValueService.java │ │ ├── RbacService.java │ │ ├── RealTimeTestRecordService.java │ │ ├── ReqObjChangeHistoryService.java │ │ ├── RuleTemplateService.java │ │ ├── SessionService.java │ │ ├── SpmCheckHistoryService.java │ │ ├── SpmInfoService.java │ │ ├── SpmMapInfoService.java │ │ ├── SpmMapItemService.java │ │ ├── SpmMapVersionService.java │ │ ├── SpmTagService.java │ │ ├── TagService.java │ │ ├── TaskSourceComposer.java │ │ ├── TemplateService.java │ │ ├── TerminalService.java │ │ ├── TerminalVersionInfoService.java │ │ ├── UserService.java │ │ ├── VersionService.java │ │ ├── VersionSourceComposer.java │ │ ├── asynchandle │ │ ├── AsyncHandleService.java │ │ ├── TaskAndProcessUpdateHandler.java │ │ ├── VersionReleaseHandler.java │ │ └── imp │ │ │ ├── DefaultTaskAndProcessUpdateHandler.java │ │ │ └── DefaultVersionReleaseHandler.java │ │ ├── audit │ │ └── BuryPointRule.java │ │ ├── converter │ │ └── CheckHistoryConverter.java │ │ ├── impl │ │ ├── AppRelationService.java │ │ ├── AppServiceImpl.java │ │ ├── ArtificialSpmInfoServiceImpl.java │ │ ├── AuditReportService.java │ │ ├── CommonKVService.java │ │ ├── DefaultTaskSourceComposer.java │ │ ├── DefaultVersionSourceComposer.java │ │ ├── DomainServiceImpl.java │ │ ├── EnvironmentService.java │ │ ├── EventCheckHistoryService.java │ │ ├── EventServiceImpl.java │ │ ├── FileUploadService.java │ │ ├── ImageRelationServiceImpl.java │ │ ├── LockService.java │ │ ├── ObjChangeHistoryServiceImpl.java │ │ ├── ObjTagServiceImpl.java │ │ ├── ObjTrackerEventServiceImpl.java │ │ ├── ObjectBasicServiceImpl.java │ │ ├── ParamBindServiceImpl.java │ │ ├── ParamBindValueServiceImpl.java │ │ ├── ParamPoolServiceImpl.java │ │ ├── ParamServiceImpl.java │ │ ├── ParamValueServiceImpl.java │ │ ├── RbacServiceImpl.java │ │ ├── RealTimeTestRecordServiceImpl.java │ │ ├── RealtimeBranchIgnoreService.java │ │ ├── ReqObjChangeHistoryServiceImpl.java │ │ ├── ReqTaskProcessService.java │ │ ├── RuleTemplateServiceImpl.java │ │ ├── SessionServiceImpl.java │ │ ├── SpmCheckHistoryServiceImpl.java │ │ ├── SpmInfoServiceImpl.java │ │ ├── SpmMapInfoServiceImpl.java │ │ ├── SpmMapItemServiceImpl.java │ │ ├── SpmMapVersionServiceImpl.java │ │ ├── SpmOwnerService.java │ │ ├── SpmTagServiceImpl.java │ │ ├── TagServiceImpl.java │ │ ├── TaskSourceServiceImpl.java │ │ ├── TemplateServiceImpl.java │ │ ├── TerminalServiceImpl.java │ │ ├── TerminalVersionBuildverService.java │ │ ├── TerminalVersionInfoServiceImpl.java │ │ ├── UserServiceImpl.java │ │ ├── VersionLinkService.java │ │ ├── VersionServiceImpl.java │ │ └── VersionSourceServiceImpl.java │ │ ├── obj │ │ ├── AllTrackerReleaseService.java │ │ ├── EventBuryPointService.java │ │ ├── ObjCidInfoService.java │ │ ├── ObjRelationReleaseService.java │ │ ├── ObjTerminalTrackerService.java │ │ ├── ReqObjRelationService.java │ │ ├── TrackerContentService.java │ │ └── UserBuryPointService.java │ │ ├── requirement │ │ ├── ReqEventObjRelationService.java │ │ ├── ReqEventPoolService.java │ │ ├── ReqPoolBasicService.java │ │ ├── ReqPoolRelBaseService.java │ │ ├── ReqSpmPoolService.java │ │ ├── ReqTaskService.java │ │ ├── RequirementInfoService.java │ │ └── TaskProcessService.java │ │ ├── terminalrelease │ │ └── TerminalReleaseService.java │ │ └── util │ │ ├── CompareUtil.java │ │ ├── LogUtil.java │ │ └── TemplateEngineUtils.java │ └── eistest │ ├── cache │ ├── BuryPointProcessorKey.java │ └── ConversationMetaCache.java │ ├── client │ └── ProcessorRpcAdapter.java │ ├── entity │ ├── AppPushLogAction.java │ ├── AppPushMessage.java │ ├── BloodLinkQuery.java │ ├── BuryPointErrorContent.java │ ├── BuryPointErrorContentExpand.java │ ├── BuryPointLog.java │ ├── BuryPointLogExceptionStatisticsResult.java │ ├── BuryPointLogRuleCheckDto.java │ ├── BuryPointLogStatisticsResult.java │ ├── BuryPointMetaInfoDto.java │ ├── BuryPointStatisticsDto.java │ ├── BuryPointValidationAndStatistics.java │ ├── ClientBasicInfo.java │ └── TestDetailInfo.java │ ├── service │ ├── BloodLinkService.java │ ├── BuryPointAnaysisService.java │ ├── BuryPointTestInfoCacheService.java │ ├── es │ │ ├── ElasticsearchClientBean.java │ │ ├── ElasticsearchClientConfig.java │ │ ├── ElasticsearchQueryService.java │ │ ├── ElasticsearchWriteService.java │ │ ├── EsDataOperation.java │ │ ├── EsIndexOperation.java │ │ └── EsQueryOperation.java │ └── impl │ │ ├── BloodLinkServiceImpl.java │ │ ├── BuryPointAlertService.java │ │ ├── BuryPointAnaysisServiceImpl.java │ │ ├── BuryPointTestInfoCacheServiceImpl.java │ │ ├── ConversationBasicInfoService.java │ │ └── ESTaskConsumerService.java │ └── ws │ ├── BuryPointValidationServiceImpl.java │ ├── SessionManager.java │ ├── WsHelper.java │ ├── common │ ├── CustomWebSocketSessionAttributeKey.java │ └── WebSocketUriTemplate.java │ ├── config │ ├── EasyInsightWebSocketProperties.java │ ├── ScheduledConfig.java │ └── WebSocketConfig.java │ ├── dto │ ├── AppStorage.java │ ├── BuryPointMetaInfo.java │ ├── BuryPointStats.java │ ├── EvictingBlockingQueue.java │ ├── PcStorage.java │ └── Storage.java │ ├── handler │ ├── AbstractWsHandler.java │ ├── AppWsHandler.java │ ├── LogConsumer.java │ ├── LogConsumerManager.java │ ├── PcWsHandler.java │ └── ScanWsHandler.java │ └── session │ ├── AbstractSession.java │ ├── AppSession.java │ ├── PcSession.java │ ├── ScanSession.java │ ├── WebSocketSessionScope.java │ └── WsSession.java ├── eis-web-core ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── netease │ └── hz │ └── bdms │ ├── easyinsight │ └── web │ │ └── core │ │ ├── advice │ │ ├── GlobalExceptionHandler.java │ │ └── ResponseBodyHandler.java │ │ ├── aop │ │ └── PermissionAspect.java │ │ ├── controller │ │ ├── AppController.java │ │ ├── BaseRbacController.java │ │ ├── BuryPointTestController.java │ │ ├── ConnectionTestController.java │ │ ├── DomainController.java │ │ ├── EventController.java │ │ ├── EventPoolController.java │ │ ├── HealthController.java │ │ ├── HomePageController.java │ │ ├── ImageController.java │ │ ├── ObjectController.java │ │ ├── ParamBindController.java │ │ ├── ParamController.java │ │ ├── ParamValueController.java │ │ ├── RealTimeTestController.java │ │ ├── ReleaseController.java │ │ ├── ReqDesignController.java │ │ ├── ReqPoolListController.java │ │ ├── ReqTaskController.java │ │ ├── ServerStatusController.java │ │ ├── SpmController.java │ │ ├── TagController.java │ │ ├── TemplateController.java │ │ ├── TerminalController.java │ │ ├── UserBuryPointController.java │ │ ├── UserController.java │ │ └── VersionController.java │ │ ├── filter │ │ └── ServletInputStreamFilter.java │ │ └── interceptor │ │ └── LogInterceptor.java │ └── eistest │ └── web │ └── controller │ ├── HomeController.java │ ├── RealtimeExamController.java │ └── RealtimeTestController.java ├── eis-web-demo ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── netease │ │ └── hz │ │ └── bdms │ │ └── easyinsight │ │ └── web │ │ └── demo │ │ ├── DemoAuthController.java │ │ ├── DemoInitController.java │ │ ├── DemoMetaInitController.java │ │ ├── DemoSessionInterceptor.java │ │ ├── DemoTerminalCodeService.java │ │ ├── DemoWebApplication.java │ │ ├── WebConfig.java │ │ └── adapters │ │ ├── DemoFileUploadAdapter.java │ │ ├── DemoJedisCacheAdapter.java │ │ ├── DemoRealtimeConfigAdapter.java │ │ └── DemoUserNotifyAdapter.java │ └── resources │ ├── application.yml │ ├── banner.txt │ ├── elastic-search-mappings.txt │ ├── init-tables-only.sql │ ├── init-with-demo-data.sql │ ├── logback-spring.xml │ └── update.sql ├── pom.xml └── readme.md /.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | 33 | logs/ 34 | .DS_Store 35 | 36 | application-local.yml 37 | -------------------------------------------------------------------------------- /eis-adapter/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | com.netease.hz.bdms 8 | easy-insight 9 | 1.0.1 10 | 11 | 12 | 13 | com.netease.hz.bdms 14 | eis-adapter 15 | ${project.artifactId} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /eis-adapter/src/main/java/com/netease/eis/adapters/FileUploadAdapter.java: -------------------------------------------------------------------------------- 1 | package com.netease.eis.adapters; 2 | 3 | import java.io.InputStream; 4 | 5 | public interface FileUploadAdapter { 6 | 7 | /** 8 | * 将一个文件输入流上传,并返回一个图片地址 9 | * @param key 文件唯一Key 10 | * @param inputStream 文件流输入 11 | * @param contentLength 文件大小 12 | * @param contentType 内容类型 13 | * @return 文件唯一HTTP访问地址 14 | */ 15 | String put(String key, InputStream inputStream, Long contentLength, String contentType); 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/OpenSource.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common; 2 | 3 | /** 4 | * 不开源 5 | */ 6 | public @interface OpenSource { 7 | 8 | boolean value(); 9 | } 10 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/aop/MethodLog.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.aop; 2 | 3 | import java.lang.annotation.*; 4 | 5 | @Target(ElementType.METHOD) 6 | @Retention(RetentionPolicy.RUNTIME) 7 | @Documented 8 | public @interface MethodLog { 9 | String value() default ""; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/aop/PermissionAction.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.aop; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.rbac.PermissionEnum; 4 | 5 | import java.lang.annotation.ElementType; 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.RetentionPolicy; 8 | import java.lang.annotation.Target; 9 | 10 | @Target({ElementType.METHOD}) 11 | @Retention(RetentionPolicy.RUNTIME) 12 | public @interface PermissionAction { 13 | /** 14 | * 需要的权限, 可能有多个, 但是绝大多数情况下只有一个 15 | * 16 | * @return 17 | */ 18 | PermissionEnum[] requiredPermission(); 19 | } 20 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/bo/diff/ChangeTuple.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.bo.diff; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | @Data 9 | public class ChangeTuple { 10 | 11 | Boolean isPubParamPackageChanged; 12 | 13 | Boolean isPrvParamChanged; 14 | 15 | Boolean isEventChanged; 16 | 17 | List> newSpms = new ArrayList<>(); 18 | 19 | List> deletedSpms = new ArrayList<>(); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/bo/diff/RelationDiff.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.bo.diff; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | import java.util.Set; 8 | 9 | @Data 10 | @NoArgsConstructor 11 | @AllArgsConstructor 12 | public class RelationDiff { 13 | 14 | private Set newParents; 15 | 16 | private Set deletedParents; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/bo/diff/RelationObjDiff.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.bo.diff; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * 同一对象的某个关联血缘对象在两个端版本的Diff 8 | */ 9 | @Data 10 | @Accessors(chain = true) 11 | public class RelationObjDiff { 12 | /** 13 | * 旧的埋点ID 14 | */ 15 | private Long oldTrackerId; 16 | /** 17 | * 新的埋点ID 18 | */ 19 | private Long newTrackerId; 20 | 21 | /** 22 | * 涉及的父对象ID 23 | */ 24 | private Long parentObjId; 25 | /** 26 | * 涉及的父对象oid 27 | */ 28 | private String parentOid; 29 | 30 | /** 31 | * 变更类型 32 | * @see com.netease.hz.bdms.easyinsight.common.enums.ChangeTypeEnum 33 | */ 34 | private Integer changeType; 35 | 36 | } 37 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/bo/lineage/LinageGraph.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.bo.lineage; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Map; 6 | import java.util.Set; 7 | 8 | /** 9 | * 血缘图 10 | */ 11 | @Data 12 | public class LinageGraph { 13 | //血缘图中所有的对象Id 14 | Set allObjIds; 15 | //血缘图中所有对象关联父对象映射,<子对象Id,父对象id集合> 16 | Map> parentsMap; 17 | //血缘图中所有对象关联子对象映射,<父对象Id,子对象id集合> 18 | Map> childrenMap; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/bo/lineage/LineageForest.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.bo.lineage; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | @Data 9 | public class LineageForest { 10 | 11 | List roots = new ArrayList<>(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/bo/lineage/LineageLevelNode.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.bo.lineage; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * 血缘层级关系 9 | */ 10 | @Data 11 | public class LineageLevelNode { 12 | 13 | Long trackerId; 14 | 15 | Long objId; 16 | 17 | Long historyId; 18 | 19 | String oid; 20 | 21 | String objName; 22 | 23 | String spm; 24 | 25 | /** 26 | * 类别 27 | * 28 | * @see com.netease.hz.bdms.easyinsight.common.enums.ObjTypeEnum 29 | */ 30 | private Integer type; 31 | 32 | List children; 33 | 34 | } 35 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/bo/lineage/NodeOfTestTree.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.bo.lineage; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class NodeOfTestTree { 9 | 10 | Long objId; 11 | 12 | String oid; 13 | 14 | String objName; 15 | 16 | Integer objType; 17 | 18 | String spm; 19 | 20 | List children; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/bo/lineage/TotalLineageGraph.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.bo.lineage; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Map; 6 | import java.util.Set; 7 | 8 | /** 9 | * 全量血缘图(只增不删) 10 | * 11 | * @author: xumengqiang 12 | * @date: 2021/12/30 17:04 13 | */ 14 | 15 | @Data 16 | public class TotalLineageGraph extends LinageGraph{ 17 | Map> addedRelationMap; 18 | 19 | Map> deletedRelationMap; 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/bo/lineage/TreeNode.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.bo.lineage; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class TreeNode { 9 | 10 | public TreeNode(Long objId){ 11 | this.objId = objId; 12 | } 13 | 14 | Long objId; 15 | 16 | String spmByObjId; 17 | 18 | List children; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/constant/ContextConstant.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.constant; 2 | 3 | /** 4 | * description: 上下文常量 5 | * 6 | * @author: gaoshuangchao 7 | * @createDate: 2020-05-21 8 | * @version: 1.0 9 | */ 10 | public class ContextConstant { 11 | 12 | /** 13 | * 用户 14 | */ 15 | public static final String USER = "user"; 16 | 17 | /** 18 | * 会话 19 | */ 20 | public static final String SESSION = "session"; 21 | 22 | /** 23 | * 域ID 24 | */ 25 | public static final String DOMAIN_ID = "domainId"; 26 | 27 | /** 28 | * 产品ID 29 | */ 30 | public static final String APP_ID = "appId"; 31 | } 32 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/constant/LogConstant.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.constant; 2 | 3 | /** 4 | * description: 日志常量 5 | * 6 | * @author: gaoshuangchao 7 | * @createDate: 2020-05-21 8 | * @version: 1.0 9 | */ 10 | public class LogConstant { 11 | 12 | /** 13 | * 请求id对应的键 14 | */ 15 | public static final String REQ_ID = "REQ_ID"; 16 | 17 | /** 18 | * 请求开始时间对应的键 19 | */ 20 | public static final String REQ_START_TIME = "REQ_START_TIME"; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/constant/PermissionVisibleConstant.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.constant; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.rbac.RoleLevelEnum; 4 | 5 | import java.util.EnumSet; 6 | 7 | /** 8 | * 权限可见性常量 9 | * 10 | * @author wangliangyuan 11 | * @date 2021-08-20 下午 12:20 12 | */ 13 | public class PermissionVisibleConstant { 14 | 15 | /** 16 | * 能看见某个域下所有 app 的角色集合 17 | */ 18 | public static final EnumSet PRIVILEGED_ROLES_OF_VIEW_ALL_APPS = EnumSet.of( 19 | RoleLevelEnum.SUPER_ADMIN, 20 | RoleLevelEnum.DOMAIN_PRINCIPAL, 21 | RoleLevelEnum.DOMAIN_ADMIN 22 | ); 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/constant/ResponseActionConstant.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.constant; 2 | 3 | /** 4 | * description: 响应展示码常量 5 | * 6 | * @author: gaoshuangchao 7 | * @createDate: 2020-05-25 8 | * @version: 1.1 9 | */ 10 | public class ResponseActionConstant { 11 | 12 | /** 13 | * 业务异常时统一返回0 14 | */ 15 | public static final int NO_ACTION = 0; 16 | 17 | /** 18 | * 忽略异常 19 | */ 20 | public static final int IGNORE = -1; 21 | 22 | /** 23 | * 浮框 24 | */ 25 | public static final int ALERT = -2; 26 | 27 | /** 28 | * 弹框,点击确定后刷新页面 29 | */ 30 | public static final int ALERT_REFRESH = -3; 31 | 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/ListHolder.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ListHolder { 11 | private List list; 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/LogListHolder.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.vo.logcheck.LogCheckLogVO; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | import java.util.List; 8 | 9 | @Data 10 | @Accessors(chain = true) 11 | public class LogListHolder { 12 | private List list; 13 | } 14 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/checkhistory/CheckHistoryAggreDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.checkhistory; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.CommonAggregateDTO; 4 | import java.util.List; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class CheckHistoryAggreDTO { 11 | 12 | /** 13 | * spm 14 | */ 15 | private List spms; 16 | /** 17 | * 事件类型 18 | */ 19 | private List events; 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/common/BaseUserListHolderDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.common; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * 持有一些 UserSimpleDTO 集合的 DTO 对象 9 | * 10 | * @author wangliangyuan 11 | * @date 2021-08-24 下午 03:57 12 | */ 13 | @Data 14 | public abstract class BaseUserListHolderDTO { 15 | /** 16 | * ID 17 | */ 18 | private Long id; 19 | 20 | /** 21 | * 负责人 22 | */ 23 | private UserSimpleDTO owner; 24 | 25 | /** 26 | * 管理员 27 | */ 28 | private List admins; 29 | 30 | } 31 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/common/CommonAggregateDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.common; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * @author: xumengqiang 8 | * @date: 2021/10/12 13:39 9 | */ 10 | @Data 11 | @Accessors(chain = true) 12 | public class CommonAggregateDTO { 13 | /** 14 | * 选中时,传递给后端的值 15 | */ 16 | private String key; 17 | /** 18 | * 前端显示值 19 | */ 20 | private String value; 21 | } 22 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/common/CommonRelationAggregateDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.common; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * @author: xumengqiang 8 | * @date: 2022/1/4 11:05 9 | */ 10 | @Data 11 | @Accessors(chain = true) 12 | public class CommonRelationAggregateDTO { 13 | /** 14 | * 关联信息的值 15 | */ 16 | private String associatedKey; 17 | 18 | /** 19 | * 传给后端的值 20 | */ 21 | private String key; 22 | 23 | /** 24 | * 返回给前端的名称 25 | */ 26 | private String value; 27 | } 28 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/common/PagingResultDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.common; 2 | 3 | import java.util.List; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | @NoArgsConstructor 11 | public class PagingResultDTO { 12 | 13 | /** 14 | * 总数目 15 | */ 16 | private Integer totalNum; 17 | /** 18 | * 当前页码 19 | */ 20 | private Integer pageNum; 21 | /** 22 | * 元素个数 23 | */ 24 | private List list; 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/common/TagAggreListDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.common; 2 | 3 | import java.util.List; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class TagAggreListDTO { 10 | 11 | /** 12 | * 创建人 13 | */ 14 | private List creators; 15 | } 16 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/compass/BatchCheckPrivilegeDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.compass; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * @author wangyongliang 11 | * @version 1.0.0 12 | * @ClassName BatchCheckPrivilegeDTO.java 13 | * @Description 批量鉴权接口 14 | * @createTime 2023/3/28 11:23 15 | */ 16 | @Data 17 | public class BatchCheckPrivilegeDTO { 18 | /** 19 | * 资源类型 20 | */ 21 | private String resourceType; 22 | /** 23 | * 资源列表 24 | */ 25 | private String[] resources; 26 | 27 | /** 28 | * 业务线code 29 | */ 30 | private String bizCode; 31 | 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/compass/BizLineDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.compass; 2 | 3 | import lombok.Data; 4 | import lombok.NoArgsConstructor; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | @NoArgsConstructor 10 | public class BizLineDTO { 11 | /** 12 | * 租户ID 13 | */ 14 | Long tenantId; 15 | /** 16 | * 业务线名称 17 | */ 18 | String businessLine; 19 | /** 20 | * 业务线code 21 | */ 22 | String businessLineCode; 23 | /** 24 | * 业务线ID 25 | */ 26 | Long businessLineId; 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/compass/PageBaseReqDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.compass; 2 | 3 | import lombok.Data; 4 | import lombok.NoArgsConstructor; 5 | import lombok.experimental.Accessors; 6 | 7 | /** 8 | * @author wangyongliang 9 | * @version 1.0 10 | * @description: 分页基础请求 11 | * @date 2022/4/24 9:56 12 | */ 13 | @Data 14 | @Accessors(chain = true) 15 | @NoArgsConstructor 16 | public class PageBaseReqDTO { 17 | 18 | /** 19 | * 默认每页25条. 20 | */ 21 | protected Integer pageSize = 25; 22 | 23 | /** 24 | * 默认第1页. 25 | */ 26 | protected Integer pageNum = 1; 27 | } 28 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/compass/VerifySingleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.compass; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | /** 9 | * 单次鉴权请求dto 10 | * @date 2022/06/16 11 | * @since 2022-06-16 14:54 12 | */ 13 | @Data 14 | @AllArgsConstructor 15 | @NoArgsConstructor 16 | public class VerifySingleDTO { 17 | private String user; 18 | private String application; 19 | private String tenant; 20 | private String product; 21 | private String action; 22 | private String resourceType; 23 | private String resourceCode; 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/logcheck/BranchCoverageDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.logcheck; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.BranchCoverageParamTypeEnum; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | /** 8 | * 分支覆盖 9 | */ 10 | @Accessors(chain = true) 11 | @Data 12 | public class BranchCoverageDTO { 13 | 14 | private String oid; // 参数是哪个oid的参数 15 | private String eventCode; // 日志的eventCode 16 | private String spm; // 日志的spm 17 | /** 18 | * 覆盖参数类型 19 | * {@link BranchCoverageParamTypeEnum} 20 | */ 21 | private Integer paramType; 22 | private String paramCode; // 参数key 23 | private String paramValue; // 参数取值 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/message/AlertEventSimpleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.message; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * @author: xumengqiang 8 | * @date: 2021/10/15 17:36 9 | * @see: http://doc.hz.netease.com/pages/viewpage.action?pageId=164375781 报警类型 10 | */ 11 | @Data 12 | @Accessors(chain = true) 13 | public class AlertEventSimpleDTO { 14 | // 服务名称 15 | private String service; 16 | 17 | // 组件名称 18 | private String component; 19 | 20 | // 具体事件类型 21 | private String type; 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/message/ChannelSimpleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.message; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * @author: xumengqiang 8 | * @date: 2021/10/18 9:46 9 | */ 10 | @Data 11 | @Accessors(chain = true) 12 | public class ChannelSimpleDTO { 13 | // 通道ID 14 | private Integer channel_id; 15 | 16 | // 标题 17 | private String title; 18 | 19 | // 内容 20 | private String content; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/message/EasyInsightLogMessage.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.message; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Map; 6 | 7 | @Data 8 | public class EasyInsightLogMessage extends EasyInsightLogMessageLogCheckMeta { 9 | 10 | Map props; //原始props 11 | } 12 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/message/UserAlertAccountDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.message; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * 用户报警平台账户 8 | * 9 | * @author: xumengqiang 10 | * @date: 2021/10/20 12:35 11 | * @url https://nei.hz.netease.com/interface/detail/?pid=35246&id=364108 12 | */ 13 | @Data 14 | @Accessors(chain = true) 15 | public class UserAlertAccountDTO { 16 | // 姓名 17 | private String name; 18 | 19 | // 邮箱 20 | private String email; 21 | 22 | // 电话 23 | private String phone; 24 | 25 | // 是否是有效用户 26 | private Boolean deleted; 27 | 28 | // 工号 29 | private String empno; 30 | 31 | // 部门标杆 32 | private String empdept; 33 | 34 | // 额外信息 35 | private String moreInfo; 36 | 37 | } 38 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/MergeObjReqDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class MergeObjReqDTO { 9 | 10 | /** 11 | * 对象ID 12 | */ 13 | private Long objId; 14 | 15 | /** 16 | * 对象所处需求池ID 17 | */ 18 | private Long reqPoolId; 19 | 20 | /** 21 | * 需求池下对象historyId 22 | */ 23 | private Long objHistoryIdOfReqPool; 24 | 25 | /** 26 | * 目标基线ID 27 | */ 28 | private Long targetReleaseId; 29 | } 30 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/ObjectExtDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.param.tag.ObjBasicTagDTO; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | /** 8 | * 桥梁类型的对象EXT字段定义 9 | */ 10 | @Data 11 | @Accessors(chain = true) 12 | public class ObjectExtDTO { 13 | 14 | /** 15 | * 子空间ID,桥梁类型对象使用 16 | */ 17 | private Long subAppId; 18 | 19 | /** 20 | * 子空间ID下的terminal ID,桥梁类型对象使用,如果为0:挂载本端,否则挂载指定端 21 | */ 22 | private Long subTerminalId; 23 | 24 | /** 25 | * 对象基本标签 26 | */ 27 | private ObjBasicTagDTO basicTag; 28 | 29 | /** 30 | * 是否解析CID信息 31 | */ 32 | private boolean analyseCid; 33 | } 34 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/ObjectUserDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | import java.util.List; 6 | 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ObjectUserDTO { 11 | /** 12 | * 录入列表 13 | */ 14 | private List userPointInfoDTOS; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/ParsedSpmDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | @Accessors(chain = true) 10 | @Data 11 | public class ParsedSpmDTO { 12 | 13 | /** 14 | * 注意是从根节点开始向下,与SPM中OID顺序相反 15 | */ 16 | private List nodes; 17 | 18 | private String spm; 19 | 20 | private String spmNo; 21 | 22 | private String spmName; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/SpmNodeDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class SpmNodeDTO { 9 | 10 | private String oid; 11 | private ObjectInfoDTO objDetail; 12 | 13 | private String pos; 14 | private String spmCid; 15 | private String spmCidName; 16 | 17 | private String spm; 18 | private String spmNo; 19 | private String spmName; 20 | 21 | private String scm; 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/lineage/ObjTrackerLineageGraphNode.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj.lineage; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.obj.tracker.ObjTrackerSimpleDTO; 4 | import java.util.List; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ObjTrackerLineageGraphNode { 11 | /** 12 | * 当前节点 13 | */ 14 | private ObjTrackerSimpleDTO objTracker; 15 | /** 16 | * 父亲集合 17 | */ 18 | private List parents; 19 | /** 20 | * 儿子集合 21 | */ 22 | private List sons; 23 | /** 24 | * 是否展开父亲 25 | */ 26 | private boolean expandParent; 27 | /** 28 | * 是否展开儿子 29 | */ 30 | private boolean expandSon; 31 | 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/overmind/OvermindLogCheckDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj.overmind; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class OvermindLogCheckDTO { 7 | 8 | /** 9 | * 展示的文字描述 10 | */ 11 | private String text; 12 | /** 13 | * 跳转链接 14 | */ 15 | private String link; 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/overmind/OvermindVersionDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj.overmind; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class OvermindVersionDTO { 7 | 8 | private Integer id; 9 | private String name; 10 | private String creatorName; 11 | private long releasePlanTime; 12 | private String releaseActualTime; 13 | private String releaseSubmitTime; 14 | private String moduleName; 15 | private Integer status; 16 | private Long createdAt; 17 | private Long updatedAt; 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/param/EventParamItemDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj.param; 2 | 3 | import java.util.List; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class EventParamItemDTO { 10 | 11 | private Long id; 12 | 13 | /** 14 | * 事件类型名称 15 | */ 16 | private String eventName; 17 | /** 18 | * 版本名称 19 | */ 20 | private String versionName; 21 | /** 22 | * 具体参数信息 23 | */ 24 | List params; 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/param/GlobalPublicParamItemDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj.param; 2 | 3 | import java.util.List; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class GlobalPublicParamItemDTO { 10 | 11 | /** 12 | * 版本名称 13 | */ 14 | private String versionName; 15 | 16 | /** 17 | * 具体参数信息 18 | */ 19 | List params; 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/obj/tree/ObjTreeItemDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.obj.tree; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class ObjTreeItemDTO { 9 | /** 10 | * 对象ID, objId 11 | */ 12 | private Long id; 13 | /** 14 | * 对象名称,objName 15 | */ 16 | private String name; 17 | /** 18 | * 对象oid 19 | */ 20 | private String oid; 21 | /** 22 | * 对象类型 23 | * @see com.netease.hz.bdms.easyinsight.common.enums.ObjTypeEnum 24 | */ 25 | private Integer type; 26 | /** 27 | * 是否能变更 28 | */ 29 | private Boolean canChange; 30 | /** 31 | * 子对象 32 | */ 33 | private Boolean child; 34 | } 35 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/param/ParamListItemDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.param; 2 | 3 | import java.util.List; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class ParamListItemDTO { 10 | 11 | /** 12 | * 参数名code 13 | */ 14 | private String code; 15 | /** 16 | * 参数类型 17 | * @see com.netease.hz.bdms.easyinsight.common.enums.ParamTypeEnum 18 | */ 19 | private Integer paramType; 20 | /** 21 | * 参数对象 22 | */ 23 | private List items; 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/param/UpdateSpmPoolParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.param; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.OperationTypeEnum; 4 | import lombok.Data; 5 | 6 | @Data 7 | public class UpdateSpmPoolParam { 8 | 9 | private Long trackerId; 10 | private OperationTypeEnum operationTypeEnum; 11 | boolean isEdit; 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/rulecheck/CompareItemSimpleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.rulecheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class CompareItemSimpleDTO { 9 | 10 | /** 11 | * 一行记录中的key 12 | */ 13 | private String key; 14 | /** 15 | * 一行记录中的value 16 | */ 17 | private String value; 18 | /** 19 | * 匹配不上的原因,若该字段为空,表示能否匹配上 20 | */ 21 | private String cause; 22 | /** 23 | * 注释 24 | */ 25 | private String comment; 26 | } 27 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/rulecheck/IndicatorSimpleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.rulecheck; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | @AllArgsConstructor 11 | @NoArgsConstructor 12 | public class IndicatorSimpleDTO { 13 | 14 | /** 15 | * 分子 16 | */ 17 | private Integer numerator; 18 | /** 19 | * 分母 20 | */ 21 | private Integer denominator; 22 | /** 23 | * 比值 24 | */ 25 | private Double ratio; 26 | /** 27 | * 是否需要标红关注,为true表示标红,不存在或为false表示不标红 28 | * 完整度和匹配度 小于100标红,空值率 大于0标红 29 | */ 30 | private Boolean focus; 31 | } 32 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/statistic/BaseCoverInfoDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.statistic; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class BaseCoverInfoDTO { 9 | 10 | /** 11 | * 已通过数目 12 | */ 13 | private Integer passNum; 14 | /** 15 | * 未通过数目 16 | */ 17 | private Integer disPassNum; 18 | /** 19 | * 未匹配SPM数目 20 | */ 21 | private Integer unMatchedSpmNum; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/statistic/ErrorMessageSimpleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.statistic; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.BuryPointErrorCategoryEnum; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | /** 9 | * 实时测试中的错误信息 10 | * 11 | * @author wangliangyuan 12 | * @date 2021-08-26 下午 05:44 13 | */ 14 | @Data 15 | @AllArgsConstructor 16 | @NoArgsConstructor 17 | public class ErrorMessageSimpleDTO { 18 | 19 | /** 20 | * 这三个字段取自 {@link BuryPointErrorCategoryEnum} 21 | */ 22 | private String key; 23 | private Integer code; 24 | private String category; 25 | 26 | /** 27 | * 总数 28 | */ 29 | private Integer count; 30 | } 31 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/statistic/EventCheckResultDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.statistic; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 事件类型的校验统计结果 7 | * 8 | * @author wangliangyuan 9 | * @date 2021-08-30 下午 06:47 10 | */ 11 | @Data 12 | public class EventCheckResultDTO { 13 | 14 | /** 15 | * 校验通过的总数 16 | */ 17 | private Integer passSum; 18 | 19 | /** 20 | * 校验不通过的总数 21 | */ 22 | private Integer failSum; 23 | 24 | public static EventCheckResultDTO init() { 25 | EventCheckResultDTO eventCheckResultDTO = new EventCheckResultDTO(); 26 | eventCheckResultDTO.setPassSum(0); 27 | eventCheckResultDTO.setFailSum(0); 28 | return eventCheckResultDTO; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/statistic/LogEventStatisticSimpleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.statistic; 2 | 3 | import java.util.List; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class LogEventStatisticSimpleDTO { 10 | 11 | /** 12 | * 日志数目 13 | */ 14 | private Integer logNum; 15 | /** 16 | * 对象埋点数目 17 | */ 18 | private Integer objTrackerNum; 19 | /** 20 | * spm的统计明细 21 | */ 22 | private List spmStatistics; 23 | 24 | /** 25 | * 事件类型CODE 26 | */ 27 | private String eventCode; 28 | /** 29 | * 事件类型名称 30 | */ 31 | private String eventName; 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/statistic/LogSpmStatisticSimpleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.statistic; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | public class LogSpmStatisticSimpleDTO { 8 | 9 | /** 10 | * spm值 11 | */ 12 | private String spm; 13 | /** 14 | * 对象埋点的数目 15 | */ 16 | private Integer num; 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/statistic/LogStatisticsSimpleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.statistic; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | import lombok.experimental.Accessors; 7 | 8 | import java.util.List; 9 | 10 | @Data 11 | @Accessors(chain = true) 12 | @AllArgsConstructor 13 | @NoArgsConstructor 14 | public class LogStatisticsSimpleDTO { 15 | /** 16 | * 日志总数目 17 | */ 18 | private Integer logNum; 19 | /** 20 | * 未通过日志总数目 21 | */ 22 | private Integer checkFailedlogNum; 23 | /** 24 | * 对象埋点总数目 25 | */ 26 | private Integer objTrackerNum; 27 | /** 28 | * 日志统计信息 29 | */ 30 | private List eventStatistics; 31 | } -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/statistic/ReqCoverInfoDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.statistic; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class ReqCoverInfoDTO { 9 | 10 | /** 11 | * 已通过数目 12 | */ 13 | private Integer passNum; 14 | /** 15 | * 未通过数目 16 | */ 17 | private Integer disPassNum; 18 | /** 19 | * 未覆盖数目 20 | */ 21 | private Integer unCoveredNum; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/statistic/ReqTestInfoDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.statistic; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ReqTestInfoDTO { 11 | 12 | /** 13 | * spm数目 14 | */ 15 | private Integer spmNum; 16 | /** 17 | * 事件数目 18 | */ 19 | private Integer actionNum; 20 | /** 21 | * 参数数目 22 | */ 23 | private Integer paramNum; 24 | 25 | /** 26 | * 待测分支数 27 | */ 28 | private Integer branchNum; 29 | 30 | } 31 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/processor/realtime/statistic/UnMatchSpmStatisticResultDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.processor.realtime.statistic; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * 校验的统计结果(在前端页面上以树形结构展示) 11 | * 12 | * @author wangliangyuan 13 | * @date 2021-08-30 下午 06:17 14 | */ 15 | @Data 16 | @AllArgsConstructor 17 | @NoArgsConstructor 18 | public class UnMatchSpmStatisticResultDTO { 19 | /** 20 | * spm值 21 | */ 22 | private String spm; 23 | /** 24 | * spm名称 25 | */ 26 | private String spmName; 27 | /** 28 | * 未匹配数目 29 | */ 30 | private Long num; 31 | 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/rbac/MenuNodeDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.rbac; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.util.TreeNode; 4 | import lombok.Data; 5 | import lombok.EqualsAndHashCode; 6 | 7 | /** 8 | * 权限 9 | */ 10 | @Data 11 | @EqualsAndHashCode(callSuper = true) 12 | public class MenuNodeDTO extends TreeNode { 13 | private Long id; 14 | /** 15 | * 权限类型 16 | */ 17 | private Integer menuType; 18 | /** 19 | * 权限名称 20 | */ 21 | private String menuName; 22 | 23 | private Integer kind; 24 | /** 25 | * 是否选中: true-选中;false-不选中 26 | */ 27 | private Boolean assigned; 28 | } 29 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/rbac/RoleDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.rbac; 2 | 3 | import lombok.Data; 4 | 5 | 6 | @Data 7 | public class RoleDTO { 8 | /** 9 | * 角色ID 10 | */ 11 | private Long id; 12 | /** 13 | * 角色名称 14 | */ 15 | private String roleName; 16 | /** 17 | * 角色等级 18 | */ 19 | private Integer roleLevel; 20 | 21 | /** 22 | * 是否是内置角色 23 | * true-内置角色,false-自定义角色(非内置角色) 24 | */ 25 | private Boolean builtin; 26 | /** 27 | * 角色描述 28 | */ 29 | private String description; 30 | /** 31 | * 创建时间 32 | */ 33 | private Long createTime; 34 | /** 35 | * 更新时间 36 | */ 37 | private Long updateTime; 38 | } 39 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/realtimetest/BranchCoverIgnoreRequestDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.realtimetest; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class BranchCoverIgnoreRequestDTO { 7 | 8 | String conversationId; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/realtimetest/ResourceGenerateDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.realtimetest; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Accessors(chain = true) 9 | @Data 10 | public class ResourceGenerateDTO { 11 | private Long appId; 12 | private List reqList; 13 | private Long terminalId; 14 | private String versionId; 15 | private Long ruleVerion; 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/realtimetest/ResourceRequestDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.realtimetest; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class ResourceRequestDTO { 7 | 8 | Long taskId; 9 | 10 | Long terminalId; 11 | 12 | Long domainId; 13 | 14 | Long appId; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/realtimetest/ServerLogParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.realtimetest; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Map; 6 | 7 | @Data 8 | public class ServerLogParam { 9 | 10 | /** 11 | * realtimeTestCode 12 | */ 13 | private Long code; 14 | /** 15 | * action 16 | */ 17 | private String action; 18 | /** 19 | * data 20 | */ 21 | private Map data; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/realtimetest/TestHistorySearchRequestDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.realtimetest; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class TestHistorySearchRequestDTO { 7 | 8 | Long code; 9 | 10 | Long userId; 11 | 12 | Long taskId; 13 | 14 | Integer result; 15 | 16 | String reqName; 17 | 18 | String terminal; 19 | 20 | String baseVer; 21 | 22 | Long startTime; 23 | 24 | Long endTime; 25 | 26 | Long domainId; 27 | 28 | Long appId; 29 | 30 | private Integer currentPage; 31 | 32 | private Integer pageSize; 33 | 34 | private String orderBy; 35 | 36 | private String orderRule; 37 | 38 | } 39 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/realtimetest/TestTreeVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.realtimetest; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.bo.lineage.NodeOfTestTree; 4 | import com.netease.hz.bdms.easyinsight.common.vo.realtimetest.ReqNode; 5 | import lombok.Data; 6 | 7 | import java.util.List; 8 | 9 | @Data 10 | public class TestTreeVO { 11 | 12 | List nodesOfReq; 13 | 14 | List roots; 15 | 16 | String reqName; 17 | 18 | String taskName; 19 | 20 | Long reqPoolId; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/rebase/RebaseDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.rebase; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class RebaseDTO { 9 | 10 | Long reqPoolId; 11 | 12 | List details; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/rebase/TerminalBaseDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.rebase; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class TerminalBaseDTO { 7 | 8 | Long terminalId; 9 | 10 | Long releaseId; 11 | 12 | boolean autoRebase; 13 | } 14 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/require/ReqPoolObjDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.require; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class ReqPoolObjDTO { 9 | 10 | private Long reqPoolId; 11 | 12 | private Long objId; 13 | } 14 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/requirement/IssueEditOpenAPIDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.requirement; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class IssueEditOpenAPIDTO { 7 | 8 | String issueKey; 9 | 10 | Integer productId; 11 | 12 | String fieldKey; 13 | 14 | String value; 15 | 16 | String updator; 17 | 18 | String category; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/spm/SpmCheckInfoDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.spm; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.sql.Timestamp; 7 | 8 | /** 9 | * @author: xumengqiang 10 | * @date: 2021/11/9 11:37 11 | */ 12 | 13 | @Data 14 | @Accessors(chain = true) 15 | public class SpmCheckInfoDTO { 16 | 17 | /** 18 | * spm校验结果 (0-非法,1-合法, -1-格式错误) 19 | */ 20 | private int checkResult; 21 | 22 | /** 23 | * 合法的spm Name 24 | */ 25 | private String spmName; 26 | 27 | /** 28 | * 非法的oid 29 | */ 30 | private String inValidOid; 31 | 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/spm/SpmMapRelationDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.spm; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class SpmMapRelationDTO { 10 | 11 | private Long id; 12 | 13 | /** 14 | * 对象spm字符串 15 | */ 16 | private String spm; 17 | 18 | /** 19 | * 对象spm字符串 20 | */ 21 | private String spmOld; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/dto/spm/SpmTree.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.dto.spm; 2 | 3 | import lombok.Data; 4 | import lombok.NoArgsConstructor; 5 | 6 | import java.util.List; 7 | 8 | @Data 9 | @NoArgsConstructor 10 | public class SpmTree { 11 | 12 | private String oid; 13 | private String spm; 14 | private String parentOid; 15 | private String oidName; 16 | private String spmName; 17 | private Object value; 18 | 19 | private List children; 20 | public SpmTree(String oid, String spm,String oidName, String spmName,Object value,String parentOid) { 21 | this.oid = oid; 22 | this.spm = spm; 23 | this.oidName = oidName; 24 | this.spmName =spmName; 25 | this.value=value; 26 | this.parentOid=parentOid; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/BranchCoverageParamTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | @AllArgsConstructor 7 | @Getter 8 | public enum BranchCoverageParamTypeEnum { 9 | 10 | /** 11 | * 无参数 12 | */ 13 | NON(0), 14 | /** 15 | * 对象参数 16 | */ 17 | OBJECT_PARAM(1), 18 | /** 19 | * 事件参数 20 | */ 21 | EVENT_PARAM(2), 22 | ; 23 | private Integer type; 24 | 25 | public static BranchCoverageParamTypeEnum fromType(Integer type) { 26 | for (BranchCoverageParamTypeEnum paramTypeEnum : values()) { 27 | if (paramTypeEnum.getType().equals(type)) { 28 | return paramTypeEnum; 29 | } 30 | } 31 | return NON; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/BuryPointLogTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | import java.util.Arrays; 7 | 8 | /** 9 | * @author yangyichun 10 | */ 11 | 12 | @Getter 13 | @AllArgsConstructor 14 | public enum BuryPointLogTypeEnum { 15 | INSIGHT(1, "曙光日志"), 16 | OLDVERSION(2, "老版本日志"), 17 | EXCEPTION(3, "错误日志"), 18 | UNDEFINED(4, "未定义日志"); 19 | 20 | private int code; 21 | private String desc; 22 | 23 | public static BuryPointLogTypeEnum from(int code) { 24 | return Arrays.stream(values()) 25 | .filter(x -> x.getCode() == code) 26 | .findAny() 27 | .orElse(null); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/CheckErrorCauseEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | @AllArgsConstructor 7 | @Getter 8 | public enum CheckErrorCauseEnum { 9 | /** 10 | * 场景:日志中不包含规则中的参数 11 | */ 12 | LOSS_REQUIRED_PARAM("该参数需要输出(若为空值,请输出空值)"), 13 | /** 14 | * 场景:规则中为非空参数,日志中参数值为空 15 | */ 16 | NOVALUE_FOR_NOTEMPTY_PARAM("该参数值不能为空"), 17 | /** 18 | * 场景:规则与日志中的参数值不匹配 19 | */ 20 | UNMATCHED_PARAM_VALUE("该参数值不匹配"), 21 | /** 22 | * 场景:日志中包含不存在的血缘链路节点信息 23 | */ 24 | REDUNDANT_TRACKER_PARAM_IN_BLOODLINK("日志中包含多余的对象信息"), 25 | ; 26 | private String cause; 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/CheckItemEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | 4 | public enum CheckItemEnum { 5 | LOG, 6 | RULE, 7 | ; 8 | } 9 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/CheckResultEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @AllArgsConstructor 8 | @Getter 9 | public enum CheckResultEnum { 10 | PASS(1), 11 | NOT_PASS(2), 12 | NO_MATCH_SPM(3) 13 | ; 14 | private Integer result; 15 | 16 | public static CheckResultEnum fromResult(Integer result) { 17 | for(CheckResultEnum resultEnum : values()) { 18 | if(resultEnum.getResult().equals(result)) { 19 | return resultEnum; 20 | } 21 | } 22 | throw new ServerException(result+"不能转换为CheckResultEnum"); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/CheckTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @Getter 8 | @AllArgsConstructor 9 | public enum CheckTypeEnum { 10 | REAL_TIME_TEST(1), 11 | REQUIRE_TEST(2), 12 | ; 13 | private Integer type; 14 | 15 | public static CheckTypeEnum fromType(Integer type) { 16 | for(CheckTypeEnum checkType : values()) { 17 | if(checkType.getType().equals(type)) { 18 | return checkType; 19 | } 20 | } 21 | throw new ServerException(type+"不能转换为CheckTypeEnum"); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/CommonKVCodeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | /** 4 | * 注意,枚举名字不能超过20字节,DB塞不进去 5 | */ 6 | public enum CommonKVCodeEnum { 7 | /** 8 | * 端版本的buldVersion 9 | */ 10 | T_V_BUILDVER, 11 | 12 | /** 13 | * 版本链接 14 | */ 15 | VERSION_OM_LINK, 16 | ; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/DeliverTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | /** 7 | * 转交人类型 8 | */ 9 | @AllArgsConstructor 10 | @Getter 11 | public enum DeliverTypeEnum { 12 | //负责人 13 | OWNER, 14 | //验证人 15 | VERIFIER; 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ImageStoreEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ParamInvalidException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @Getter 8 | @AllArgsConstructor 9 | public enum ImageStoreEnum { 10 | NOS("nos"), 11 | MySQL("mysql"), 12 | ; 13 | 14 | private String location; 15 | 16 | public static ImageStoreEnum fromLocation(String location) { 17 | for(ImageStoreEnum imageStoreEnum : values()) { 18 | if(imageStoreEnum.location.equals(location)) { 19 | return imageStoreEnum; 20 | } 21 | } 22 | throw new ParamInvalidException("location配置不正确"); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/IssueTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | @AllArgsConstructor 7 | @Getter 8 | public enum IssueTypeEnum { 9 | 10 | STORY, 11 | TASK, 12 | SUB_TASK 13 | 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ObjSpecialTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | @AllArgsConstructor 7 | @Getter 8 | public enum ObjSpecialTypeEnum { 9 | NORMAL("normal", "普通对象"), 10 | BRIDGE("bridge", "桥梁"), 11 | ; 12 | private String name; 13 | private String chineseName; 14 | 15 | public static ObjSpecialTypeEnum fromName(String name) { 16 | for (ObjSpecialTypeEnum aEnum : values()) { 17 | if (aEnum.getName().equals(name)) { 18 | return aEnum; 19 | } 20 | } 21 | return NORMAL; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ObjTypeNamespaceEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | /** 8 | * 对象类型大类 9 | */ 10 | @AllArgsConstructor 11 | @Getter 12 | public enum ObjTypeNamespaceEnum { 13 | 14 | CLIENT("client"), 15 | SERVER("server"), 16 | ; 17 | 18 | private String name; 19 | 20 | public static ObjTypeNamespaceEnum fromName(String name) { 21 | for (ObjTypeNamespaceEnum objTypeEnum : values()) { 22 | if (objTypeEnum.getName().equals(name)) { 23 | return objTypeEnum; 24 | } 25 | } 26 | throw new ServerException(name + "不能转换成ObjTypeNamespaceEnum"); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/OmPriorityEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @AllArgsConstructor 8 | @Getter 9 | public enum OmPriorityEnum { 10 | 11 | PS("-1"), P0("1"), P1("3"), P2("4"), P3("5"); 12 | 13 | String priorityNum; 14 | 15 | public static OmPriorityEnum fromType(String priorityNum) { 16 | for (OmPriorityEnum omPriority : values()) { 17 | if (omPriority.getPriorityNum().equals(priorityNum)) { 18 | return omPriority; 19 | } 20 | } 21 | throw new ServerException(priorityNum + "不能转换成OmPriorityEnum"); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ParamAggreTypeEum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @AllArgsConstructor 8 | @Getter 9 | public enum ParamAggreTypeEum { 10 | CREATOR(1), 11 | ; 12 | 13 | private Integer type; 14 | 15 | public static ParamAggreTypeEum fromAggreType(Integer type) { 16 | for(ParamAggreTypeEum paramAggreTypeEum : values()) { 17 | if(paramAggreTypeEum.getType().equals(type)) { 18 | return paramAggreTypeEum; 19 | } 20 | } 21 | throw new ServerException(type + "不能转换为ParamAggreTypeEum"); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ParamSourceTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | /** 8 | * 参数由谁打 9 | */ 10 | @AllArgsConstructor 11 | @Getter 12 | public enum ParamSourceTypeEnum { 13 | /** 14 | * 来源于本身 15 | */ 16 | SELF("self"), 17 | /** 18 | * 来源于外部透传 19 | */ 20 | TRP("trp"), 21 | ; 22 | private String type; 23 | 24 | public static ParamSourceTypeEnum fromType(String type) { 25 | for (ParamSourceTypeEnum paramTypeEnum : values()) { 26 | if (paramTypeEnum.getType().equals(type)) { 27 | return paramTypeEnum; 28 | } 29 | } 30 | throw new ServerException(type + "不能转换为ParamSourceTypeEnum"); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ParamValueTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @AllArgsConstructor 8 | @Getter 9 | public enum ParamValueTypeEnum { 10 | /** 11 | * 常量 12 | */ 13 | CONSTANT(1), 14 | /** 15 | * 变量 16 | */ 17 | VARIABLE(2), 18 | 19 | ; 20 | private Integer type; 21 | 22 | public static ParamValueTypeEnum fromType(Integer type) { 23 | for (ParamValueTypeEnum paramValueTypeEnum : values()) { 24 | if (paramValueTypeEnum.getType().equals(type)) { 25 | return paramValueTypeEnum; 26 | } 27 | } 28 | throw new ServerException(type + "不能转换为ParamValueTypeEnum"); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/RealTestResultEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @AllArgsConstructor 8 | @Getter 9 | public enum RealTestResultEnum { 10 | PASS(1), 11 | NOT_PASS(2), 12 | PART_PASS(3) 13 | ; 14 | private Integer result; 15 | 16 | public static RealTestResultEnum fromResult(Integer result) { 17 | for(RealTestResultEnum resultEnum : values()) { 18 | if(resultEnum.getResult().equals(result)) { 19 | return resultEnum; 20 | } 21 | } 22 | throw new ServerException(result+"不能转换为CheckResultEnum"); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ReferCheckResultEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | import java.util.Arrays; 7 | 8 | /** 9 | * @author yangyichun 10 | */ 11 | 12 | @Getter 13 | @AllArgsConstructor 14 | public enum ReferCheckResultEnum { 15 | NO_REFER(1, "归因缺失"), 16 | FORM_INVALID(2, "非法格式"), 17 | SPM_INVALID(3, "非法spm"), 18 | SPM_IRRATIONAL(4, "不合理spm"), 19 | PAGE_DEGRADE(5, "页面降级"); 20 | 21 | private int type; 22 | private String desc; 23 | 24 | public static ReferCheckResultEnum from(long type) { 25 | return Arrays.stream(values()) 26 | .filter(x -> x.getType() == type) 27 | .findAny() 28 | .orElse(null); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ReqPoolTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | @AllArgsConstructor 7 | @Getter 8 | public enum ReqPoolTypeEnum { 9 | 10 | /** 11 | * 待开发spm池 12 | */ 13 | SPM_DEV(1), 14 | /** 15 | * 待删除smp池 16 | */ 17 | SPM_DELETE(2), 18 | /** 19 | * 事件池 20 | */ 21 | EVENT(3); 22 | 23 | private Integer reqPoolType; 24 | 25 | public static ReqPoolTypeEnum valueOfType(Integer type) { 26 | for (ReqPoolTypeEnum value : values()) { 27 | if (value.getReqPoolType().equals(type)) { 28 | return value; 29 | } 30 | } 31 | return null; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ReqSourceEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @Getter 8 | @AllArgsConstructor 9 | public enum ReqSourceEnum { 10 | 11 | OVER_MIND(1,"Overmind"), 12 | CUSTOM(2,"自定义"); 13 | 14 | private Integer type; 15 | private String name; 16 | 17 | public static ReqSourceEnum fromType(Integer type) { 18 | for (ReqSourceEnum reqSourceEnum : values()) { 19 | if (reqSourceEnum.getType().equals(type)) { 20 | return reqSourceEnum; 21 | } 22 | } 23 | throw new ServerException(type + "不能转换成OmPriorityEnum"); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/ServerAPITypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | /** 8 | * 服务端接口类型 9 | */ 10 | @AllArgsConstructor 11 | @Getter 12 | public enum ServerAPITypeEnum { 13 | 14 | HTTP("HTTP"), 15 | RPC("RPC"), 16 | ; 17 | 18 | private String name; 19 | 20 | public static ServerAPITypeEnum fromName(String name) { 21 | for (ServerAPITypeEnum objTypeEnum : values()) { 22 | if (objTypeEnum.getName().equals(name)) { 23 | return objTypeEnum; 24 | } 25 | } 26 | throw new ServerException(name + "不能转换成ServerAPITypeEnum"); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/TerminalBigTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @Getter 8 | @AllArgsConstructor 9 | public enum TerminalBigTypeEnum { 10 | /** 11 | * Android, iPhone, Web 12 | */ 13 | CLIENT(2), 14 | 15 | /** 16 | * Server 17 | */ 18 | SERVER(3); 19 | 20 | private final Integer type; 21 | 22 | private static TerminalBigTypeEnum fromType(Integer type) { 23 | for (TerminalBigTypeEnum terminalTypeEnum : values()) { 24 | if (terminalTypeEnum.getType().equals(type)) { 25 | return terminalTypeEnum; 26 | } 27 | } 28 | throw new ServerException(type + "不能转换为TerminalTypeEnum"); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/TerminalTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | @AllArgsConstructor 7 | @Getter 8 | public enum TerminalTypeEnum { 9 | 10 | /** 11 | * 手机端,iPhone / android,有双端同步需求 12 | */ 13 | APP("app"), 14 | /** 15 | * 非手机端 16 | */ 17 | NON_APP("non_app"), 18 | ; 19 | 20 | private final String type; 21 | 22 | public static TerminalTypeEnum of(String terminalName) { 23 | if ("iphone".equalsIgnoreCase(terminalName)) { 24 | return APP; 25 | } 26 | if ("android".equalsIgnoreCase(terminalName)) { 27 | return APP; 28 | } 29 | return NON_APP; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/TestResultEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @Getter 8 | @AllArgsConstructor 9 | public enum TestResultEnum { 10 | UNPASS(0), 11 | PASS(1), 12 | PARTPASS(2), 13 | ; 14 | private Integer type; 15 | 16 | public static TestResultEnum fromType(Integer type) { 17 | for(TestResultEnum checkType : values()) { 18 | if(checkType.getType().equals(type)) { 19 | return checkType; 20 | } 21 | } 22 | throw new ServerException(type+"不能转换为TestResultEnum"); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/TestStatusEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.ServerException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @AllArgsConstructor 8 | @Getter 9 | public enum TestStatusEnum { 10 | 11 | INIT(1), 12 | 13 | START(2), 14 | 15 | RESULT(3), 16 | ; 17 | private Integer status; 18 | public static TestStatusEnum fromChangeType(Integer status) { 19 | for(TestStatusEnum testStatusEnum : values()) { 20 | if(testStatusEnum.getStatus().equals(status)) { 21 | return testStatusEnum; 22 | } 23 | } 24 | throw new ServerException(status+"不能转换成TestStatusEnum"); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/TimeGranularityEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | /** 4 | * 时间粒度 5 | */ 6 | public enum TimeGranularityEnum { 7 | 8 | HOUR(3600000L, 1), 9 | DAY(86400000L, 24), 10 | ; 11 | 12 | long millis; 13 | long hours; 14 | 15 | TimeGranularityEnum(long millis, long hours) { 16 | this.millis = millis; 17 | this.hours = hours; 18 | } 19 | 20 | public long getMillis() { 21 | return millis; 22 | } 23 | 24 | public void setMillis(long millis) { 25 | this.millis = millis; 26 | } 27 | 28 | public long getHours() { 29 | return hours; 30 | } 31 | 32 | public void setHours(long hours) { 33 | this.hours = hours; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/TrackerContentTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.exception.CommonException; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Getter; 6 | 7 | @AllArgsConstructor 8 | @Getter 9 | public enum TrackerContentTypeEnum { 10 | 11 | /** 12 | * 服务端API信息 13 | */ 14 | SERVER_API_INFO("serverAPIInfo"), 15 | ; 16 | 17 | private final String type; 18 | 19 | public static TrackerContentTypeEnum of(String t) { 20 | for (TrackerContentTypeEnum value : TrackerContentTypeEnum.values()) { 21 | if (value.getType().equals(t)) { 22 | return value; 23 | } 24 | } 25 | throw new CommonException("转换TrackerContentTypeEnum失败 : " + t); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/logcheck/monitor/AlarmOperatorTypeEum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums.logcheck.monitor; 2 | 3 | /** 4 | * 操作符 5 | */ 6 | public enum AlarmOperatorTypeEum { 7 | 8 | LTE("<="), 9 | GTE(">="), 10 | LT("<"), 11 | GT(">"), 12 | EQUALS("=="), 13 | ; 14 | 15 | private String v; 16 | 17 | public String getV() { 18 | return v; 19 | } 20 | AlarmOperatorTypeEum(String v) { 21 | this.v = v; 22 | } 23 | 24 | public static AlarmOperatorTypeEum fromValue(String v) { 25 | for (AlarmOperatorTypeEum eum : values()) { 26 | if (eum.getV().equals(v)) { 27 | return eum; 28 | } 29 | } 30 | return null; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/logcheck/monitor/ExecuteAlarmTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums.logcheck.monitor; 2 | 3 | /** 4 | * 定时执行模式 5 | */ 6 | public enum ExecuteAlarmTypeEnum { 7 | 8 | EVERYDAY, // 每日 9 | EVERY_DAY_OF_WEEK, // 每周指定周几执行 10 | ; 11 | 12 | public static ExecuteAlarmTypeEnum valueOfName(String name) { 13 | for (ExecuteAlarmTypeEnum value : ExecuteAlarmTypeEnum.values()) { 14 | if (value.name().equals(name)) { 15 | return value; 16 | } 17 | } 18 | return ExecuteAlarmTypeEnum.EVERYDAY; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/logcheck/monitor/SelectTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums.logcheck.monitor; 2 | 3 | public enum SelectTypeEnum { 4 | 5 | SINGLE("SINGLE"), 6 | MULTI("MULTI"), 7 | ; 8 | 9 | private String v; 10 | 11 | public String getV() { 12 | return v; 13 | } 14 | 15 | SelectTypeEnum(String v) { 16 | this.v = v; 17 | } 18 | 19 | public static SelectTypeEnum fromValue(String v) { 20 | for (SelectTypeEnum eum : values()) { 21 | if (eum.getV().equals(v)) { 22 | return eum; 23 | } 24 | } 25 | return null; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/enums/rbac/AuthType.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.enums.rbac; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | /** 7 | * 权限类型 8 | * 9 | * @author wangliangyuan 10 | * @date 2021-08-04 上午 11:56 11 | */ 12 | @Getter 13 | @AllArgsConstructor 14 | public enum AuthType { 15 | 16 | MENU(0, "菜单"), 17 | BUTTON(1, "按钮"); 18 | 19 | private final Integer code; 20 | private final String desc; 21 | } 22 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/exception/CommonException.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.exception; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.constant.ResponseActionConstant; 4 | import com.netease.hz.bdms.easyinsight.common.constant.ResponseCodeConstant; 5 | 6 | public class CommonException extends AbstractCommonException { 7 | 8 | public CommonException(String message) { 9 | this.message = message; 10 | this.action = ResponseActionConstant.ALERT; 11 | } 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/exception/OvermindApiException.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.exception; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.constant.ResponseActionConstant; 4 | import com.netease.hz.bdms.easyinsight.common.constant.ResponseCodeConstant; 5 | 6 | public class OvermindApiException extends AbstractCommonException { 7 | 8 | public OvermindApiException(String message) { 9 | this.message = message; 10 | this.action = ResponseActionConstant.ALERT; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/app/AppCreateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.app; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserSimpleDTO; 4 | import lombok.Getter; 5 | import lombok.Setter; 6 | 7 | import javax.validation.constraints.NotBlank; 8 | import javax.validation.constraints.NotNull; 9 | import javax.validation.constraints.Size; 10 | import java.util.List; 11 | 12 | @Setter 13 | @Getter 14 | public class AppCreateParam { 15 | /** 16 | * 产品名称 17 | */ 18 | @NotBlank(message = "产品名称不能为空") 19 | private String name; 20 | 21 | /** 22 | * 管理员 23 | */ 24 | @NotNull 25 | @Size(min = 1) 26 | private List admins; 27 | 28 | /** 29 | * 描述 30 | */ 31 | private String description; 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/app/AppUpdateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.app; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserSimpleDTO; 4 | import lombok.Getter; 5 | import lombok.Setter; 6 | 7 | import javax.validation.constraints.NotBlank; 8 | import javax.validation.constraints.NotNull; 9 | import java.util.List; 10 | 11 | @Getter 12 | @Setter 13 | public class AppUpdateParam { 14 | @NotNull(message = "主键ID不能为空") 15 | private Long id; 16 | /** 17 | * 域名称 18 | */ 19 | @NotBlank(message = "域名称不能为空") 20 | private String name; 21 | 22 | @NotNull 23 | private List admins; 24 | /** 25 | * 描述 26 | */ 27 | private String description; 28 | } 29 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/auth/MemberListParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.auth; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.rbac.RoleTypeEnum; 4 | import lombok.Data; 5 | 6 | import javax.validation.constraints.Max; 7 | import javax.validation.constraints.Min; 8 | import javax.validation.constraints.NotNull; 9 | 10 | /** 11 | * 查询成员列表的入参 12 | * 13 | * @author wangliangyuan 14 | * @date 2021-08-04 下午 04:46 15 | */ 16 | @Data 17 | public class MemberListParam { 18 | 19 | /** 20 | * {@link RoleTypeEnum} 21 | */ 22 | @NotNull 23 | @Min(value = 0) 24 | @Max(value = 2) 25 | private Integer range; 26 | } 27 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/auth/MenuFunctionParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.auth; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class MenuFunctionParam { 7 | private Long functionId; 8 | private String functionName; 9 | } 10 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/auth/RoleAuthParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.auth; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotNull; 6 | import java.util.List; 7 | 8 | /** 9 | * 给角色分配权限的入参 10 | * 11 | * @author huzhenhua 12 | * @modifier wangliangyuan 13 | * @date 2021-08-04 下午 16:37 14 | */ 15 | @Data 16 | public class RoleAuthParam { 17 | /** 18 | * 角色ID 19 | */ 20 | @NotNull 21 | private Long roleId; 22 | 23 | /** 24 | * 权限集合 25 | */ 26 | @NotNull 27 | private List functions; 28 | } 29 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/auth/RoleCreateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.auth; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotNull; 7 | 8 | /** 9 | * 创建角色的入参 10 | * 11 | * @author huzhenhua 12 | * @modifier wangliangyuan 13 | * @date 2021-08-04 上午 09:41 14 | */ 15 | @Data 16 | public class RoleCreateParam { 17 | 18 | /** 19 | * 产品ID 20 | */ 21 | @NotNull 22 | private Long appId; 23 | 24 | /** 25 | * 角色名称 26 | */ 27 | @NotBlank 28 | private String roleName; 29 | 30 | /** 31 | * 角色描述 32 | */ 33 | private String description; 34 | } 35 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/auth/RoleDeleteParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.auth; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotNull; 6 | 7 | /** 8 | * 删除角色的入参 9 | * 10 | * @author wangliangyuan 11 | * @date 2021-08-07 下午 06:55 12 | */ 13 | @Data 14 | public class RoleDeleteParam { 15 | 16 | 17 | /** 18 | * 角色ID 19 | */ 20 | @NotNull 21 | private Long id; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/auth/RoleUpdateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.auth; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotNull; 7 | 8 | /** 9 | * 更新角色的入参 10 | * 11 | * @author huzhenhua 12 | * @modifier wangliangyuan 13 | * @date 2021-08-04 上午 09:41 14 | */ 15 | @Data 16 | public class RoleUpdateParam { 17 | 18 | /** 19 | * 角色ID 20 | */ 21 | @NotNull 22 | private Long id; 23 | 24 | /** 25 | * 角色名称 26 | */ 27 | @NotBlank 28 | private String roleName; 29 | 30 | /** 31 | * 角色描述 32 | */ 33 | private String description; 34 | } 35 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/event/EventBatchCreateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.event; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class EventBatchCreateParam { 11 | 12 | /** 13 | * 事件类型列表 14 | */ 15 | private List params; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/event/EventObjRelation.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.event; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class EventObjRelation { 9 | 10 | /** 11 | * 终端Id 12 | */ 13 | private Long terminalId; 14 | /** 15 | * 对象id 16 | */ 17 | private Long objId; 18 | /** 19 | * 对象oid 20 | */ 21 | private String oid; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/obj/ObjAggreSearchParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.obj; 2 | 3 | import java.util.List; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class ObjAggreSearchParam { 10 | 11 | /** 12 | * 搜索类别集合 13 | */ 14 | private List aggreTypes; 15 | } 16 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/obj/ObjectBatchChangeParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.obj; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import javax.validation.Valid; 7 | import javax.validation.constraints.NotEmpty; 8 | import javax.validation.constraints.NotNull; 9 | import java.util.List; 10 | 11 | /** 12 | * @author: xumengqiang 13 | * @date: 2021/12/10 19:32 14 | */ 15 | @Data 16 | @Accessors(chain = true) 17 | public class ObjectBatchChangeParam { 18 | 19 | /** 20 | * 对象oid信息 21 | */ 22 | List objectBatchParams; 23 | 24 | /** 25 | * reqpoolId 26 | */ 27 | private Long reqPoolId; 28 | 29 | } 30 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/obj/ObjectBatchParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.obj; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * @author: xumengqiang 8 | * @date: 2021/12/10 19:32 9 | */ 10 | @Data 11 | @Accessors(chain = true) 12 | public class ObjectBatchParam { 13 | 14 | /** 15 | * 对象id 16 | */ 17 | private Long objId; 18 | 19 | /** 20 | * 变更历史ID 21 | */ 22 | private Long historyId; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/obj/ObjectEmptyRateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.obj; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | import javax.validation.constraints.NotNull; 6 | 7 | /** 8 | * 对象空值率设置 9 | * @author: yangyichun 10 | * @date: 2023/03/21 17:28 11 | */ 12 | @Data 13 | @Accessors(chain = true) 14 | public class ObjectEmptyRateParam { 15 | /** 16 | * 对象Id 17 | */ 18 | @NotNull(message = "对象Id不能为空") 19 | private Long objId; 20 | 21 | /** 22 | * 参数id 23 | */ 24 | @NotNull(message = "参数id不能为空") 25 | private Long paramId; 26 | 27 | /** 28 | * 空值率 29 | */ 30 | @NotNull(message = "空值率设置不能为空") 31 | private Integer setRate; 32 | 33 | } 34 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/obj/ObjectUserParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.obj; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | import java.util.List; 6 | 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ObjectUserParam { 11 | 12 | /** 13 | * 埋点列表 14 | */ 15 | private List pointParams; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/obj/item/ObjBindItemParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.obj.item; 2 | 3 | import java.util.List; 4 | import javax.validation.constraints.NotNull; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ObjBindItemParam { 11 | 12 | /** 13 | * 埋点ID 14 | */ 15 | @NotNull(message = "埋点ID不能为空") 16 | private Long trackerId; 17 | 18 | /** 19 | * 标签ID集合 20 | */ 21 | private List tagIds; 22 | /** 23 | * 路由路径ID集合 24 | */ 25 | private List routePathIds; 26 | } 27 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/obj/tracker/lineage/ObjParentSetParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.obj.tracker.lineage; 2 | 3 | import java.util.List; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class ObjParentSetParam { 10 | 11 | /** 12 | * 对象主键ID 13 | */ 14 | private Long objId; 15 | /** 16 | * 终端ID 17 | */ 18 | private Long terminalId; 19 | /** 20 | * 对象版本ID 21 | */ 22 | private Long terminalVersionId; 23 | /** 24 | * 子对象ID集合 25 | */ 26 | private List parentObjs; 27 | } 28 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/param/parampool/ParamPoolCreateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.param.parampool; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.ParamTypeEnum; 4 | import javax.validation.constraints.NotBlank; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ParamPoolCreateParam { 11 | 12 | /** 13 | * 参数名 14 | */ 15 | @NotBlank(message = "参数名不能为空") 16 | private String code; 17 | 18 | // 参数类型,默认业务对象私参类型 19 | private Integer paramType = ParamTypeEnum.OBJ_BUSINESS_PRIVATE_PARAM.getType(); 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/param/parampool/ParamPoolUpdateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.param.parampool; 2 | 3 | import javax.validation.constraints.NotBlank; 4 | import javax.validation.constraints.NotNull; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ParamPoolUpdateParam { 11 | 12 | /** 13 | * 参数池中参数对象ID 14 | */ 15 | @NotNull(message = "参数ID不能为空") 16 | private Long id; 17 | /** 18 | * 参数名 19 | */ 20 | @NotBlank(message = "参数名不能为空") 21 | private String code; 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/param/paramvalue/ParamValueItemParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.param.paramvalue; 2 | 3 | import javax.validation.constraints.NotBlank; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class ParamValueItemParam { 10 | 11 | /** 12 | * 参数值ID:若是修改时,此ID有值,否则此ID为空 13 | */ 14 | private Long id; 15 | /** 16 | * 参数值code或规则表达式 17 | */ 18 | @NotBlank(message = "参数值code或规则表达式不能为空") 19 | private String code; 20 | /** 21 | * 中文名称或规则名称 22 | */ 23 | @NotBlank(message = "中文名称或规则名不能为空") 24 | private String name; 25 | /** 26 | * 描述 27 | */ 28 | private String description; 29 | } 30 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/param/paramvalue/ParamValueUpdateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.param.paramvalue; 2 | 3 | import java.util.List; 4 | import javax.validation.constraints.NotNull; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ParamValueUpdateParam { 11 | 12 | /** 13 | * 参数名 14 | */ 15 | @NotNull(message = "参数ID不能为空") 16 | private Long paramId; 17 | 18 | /** 19 | * 参数取值 20 | */ 21 | private List values; 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/spm/SpmMapItemCreateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.spm; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @author: xumengqiang 10 | * @date: 2021/11/11 10:24 11 | */ 12 | 13 | @Data 14 | @Accessors(chain = true) 15 | public class SpmMapItemCreateParam { 16 | /** 17 | * 新的spm 18 | */ 19 | private Long spmId; 20 | 21 | /** 22 | * 旧的spm 23 | */ 24 | private List spmOldList; 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/spm/SpmMapNoteUpdateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.spm; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * @author: xumengqiang 8 | * @date: 2021/11/11 14:56 9 | */ 10 | 11 | @Data 12 | @Accessors(chain = true) 13 | public class SpmMapNoteUpdateParam { 14 | 15 | 16 | private Long spmId; 17 | 18 | /** 19 | * spm备注 20 | */ 21 | private String note; 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/spm/SpmMapStatusUpdateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.spm; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | import java.util.List; 9 | 10 | /** 11 | * @author: xumengqiang 12 | * @date: 2021/11/11 10:40 13 | */ 14 | 15 | @Data 16 | @Accessors(chain = true) 17 | public class SpmMapStatusUpdateParam { 18 | 19 | /** 20 | * spmId集合 21 | */ 22 | @NotEmpty(message = "SPM ID集合不能为空") 23 | private List spmIds; 24 | 25 | /** 26 | * 映射状态 27 | * @see com.netease.hz.bdms.easyinsight.common.enums.SpmMapStatusEnum 28 | */ 29 | @NotNull(message = "SPM映射状态不能为空") 30 | private Integer status; 31 | } 32 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/spm/SpmMapVersionUpdateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.spm; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @author: xumengqiang 10 | * @date: 2021/11/11 13:45 11 | */ 12 | 13 | @Data 14 | @Accessors(chain = true) 15 | public class SpmMapVersionUpdateParam { 16 | /** 17 | * spmId集合 18 | */ 19 | private List spmIds; 20 | 21 | /** 22 | * 生效版本 23 | */ 24 | private String version; 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/spm/SpmTagBindsParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.spm; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @author: xumengqiang 10 | * @date: 2021/11/11 10:30 11 | */ 12 | 13 | @Data 14 | @Accessors(chain = true) 15 | public class SpmTagBindsParam { 16 | /** 17 | * spmId集合 18 | */ 19 | private List spmIds; 20 | 21 | /** 22 | * tagId集合 23 | */ 24 | private List tagIds; 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/tag/CidTagInfo.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.tag; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class CidTagInfo { 9 | 10 | private String cid; 11 | private String name; 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/tag/ObjBasicTagDTO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.tag; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.ObjSubTypeEnum; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | /** 8 | * 对象基础标签,根版本无关 9 | */ 10 | @Accessors(chain = true) 11 | @Data 12 | public class ObjBasicTagDTO { 13 | 14 | /** 15 | * 业务线code 16 | */ 17 | private String bizGroup; 18 | 19 | /** 20 | * 业务线名称 21 | */ 22 | private String bizGroupName; 23 | 24 | /** 25 | * 元素类型 {@link ObjSubTypeEnum} 26 | */ 27 | private String objSubType; 28 | } 29 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/tag/TagCreateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.tag; 2 | 3 | import javax.validation.constraints.NotBlank; 4 | import javax.validation.constraints.NotNull; 5 | 6 | import lombok.Data; 7 | import lombok.experimental.Accessors; 8 | 9 | @Data 10 | @Accessors(chain = true) 11 | public class TagCreateParam { 12 | @NotBlank(message = "标签名称不能为空") 13 | private String name; 14 | 15 | @NotNull(message = "标签类型不能为空") 16 | private Integer type; 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/template/TemplateCreateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.template; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.param.param.paramBind.ParamBindItermParam; 4 | import java.util.List; 5 | import javax.validation.constraints.NotBlank; 6 | import lombok.Data; 7 | import lombok.experimental.Accessors; 8 | 9 | @Data 10 | @Accessors(chain = true) 11 | public class TemplateCreateParam { 12 | 13 | /** 14 | * 模板名称 15 | */ 16 | @NotBlank(message = "模板名称不能为空") 17 | private String name; 18 | /** 19 | * 模板描述 20 | */ 21 | private String description; 22 | /** 23 | * 默认选中 24 | */ 25 | private Boolean selectedByDefault; 26 | /** 27 | * 参数绑定 28 | */ 29 | private List binds; 30 | } 31 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/terminal/TerminalCreateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.terminal; 2 | 3 | import javax.validation.constraints.NotBlank; 4 | import javax.validation.constraints.NotNull; 5 | 6 | import com.netease.hz.bdms.easyinsight.common.enums.TerminalBigTypeEnum; 7 | import lombok.Data; 8 | import lombok.experimental.Accessors; 9 | 10 | @Data 11 | @Accessors(chain = true) 12 | public class TerminalCreateParam { 13 | 14 | /** 15 | * 终端类型 16 | * @see TerminalBigTypeEnum 17 | */ 18 | @NotNull(message = "终端类型不能为空") 19 | private Integer type; 20 | 21 | /** 22 | * 终端名称 23 | */ 24 | @NotBlank(message = "终端名称不能为空") 25 | private String name; 26 | 27 | /** 28 | * 描述 29 | */ 30 | private String description; 31 | } 32 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/version/VersionCreateParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.version; 2 | 3 | import javax.validation.constraints.NotBlank; 4 | import javax.validation.constraints.NotNull; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class VersionCreateParam { 11 | 12 | /** 13 | * 版本名称 14 | */ 15 | @NotBlank(message = "版本名称不能为空") 16 | private String name; 17 | 18 | /** 19 | * 关联元素ID不能为空 20 | */ 21 | @NotNull(message = "关联元素ID不能为空") 22 | private Long entityId; 23 | 24 | /** 25 | * 关联元素类型不能为空 26 | * @see com.netease.hz.bdms.easyinsight.common.enums.EntityTypeEnum 27 | */ 28 | @NotNull(message = "关联元素类型不能为空") 29 | private Integer entityType; 30 | 31 | 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/param/version/VersionSetParam.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.param.version; 2 | 3 | import javax.validation.constraints.NotNull; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class VersionSetParam { 10 | 11 | /** 12 | * 版本ID 13 | */ 14 | @NotNull(message = "版本ID不能为空") 15 | private Long versionId; 16 | 17 | /** 18 | * 关联元素ID 19 | */ 20 | @NotNull(message = "关联元素ID不能为空") 21 | private Long entityId; 22 | 23 | /** 24 | * 关联元素类型 25 | * @see com.netease.hz.bdms.easyinsight.common.enums.EntityTypeEnum 26 | */ 27 | @NotNull(message = "关联元素类型不能为空") 28 | private Integer entityType; 29 | } 30 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/query/ReqPoolPageQuery.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.query; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class ReqPoolPageQuery { 7 | 8 | private Long appId; 9 | 10 | /** 11 | * reqPoolId 12 | */ 13 | private Long id; 14 | 15 | private String dataOwner; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/query/Search.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.query; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | @Data 8 | @AllArgsConstructor 9 | @NoArgsConstructor 10 | public class Search { 11 | 12 | String search; 13 | 14 | Long appId; 15 | 16 | String tag; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/query/TaskPageQuery.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.query; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Collection; 6 | 7 | @Data 8 | public class TaskPageQuery { 9 | 10 | Long terminalId; 11 | 12 | String terminalVersion; 13 | 14 | String taskName; 15 | 16 | Integer status; 17 | 18 | String ownerEmail; 19 | 20 | String verifierEmail; 21 | 22 | String iteration; 23 | 24 | String orderBy; 25 | 26 | String orderRule; 27 | 28 | Collection ids; 29 | 30 | Collection excludeIds; 31 | 32 | Collection reqIds; 33 | 34 | Long appId; 35 | 36 | Integer currentPage; 37 | 38 | Integer pageSize; 39 | 40 | } 41 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/util/CheckUtils.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.util; 2 | 3 | import org.apache.commons.lang3.StringUtils; 4 | 5 | public class CheckUtils { 6 | public static boolean isEmail(String email) { 7 | if (StringUtils.isBlank(email)) { 8 | return false; 9 | } 10 | 11 | return email.matches("[\\w\\.\\-]+@([\\w\\-]+\\.)+[\\w\\-]+"); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/util/TreeNode.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.util; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | /** 9 | * 树形结构的基类 10 | * 11 | * @author wangliangyuan 12 | * @date 2021-08-04 下午 12:27 13 | */ 14 | @Data 15 | public abstract class TreeNode { 16 | /** 17 | * 唯一标识 18 | */ 19 | private K code; 20 | /** 21 | * 父级唯一标识 22 | */ 23 | private K parentCode; 24 | /** 25 | * 子节点列表 26 | */ 27 | private List children = new ArrayList<>(); 28 | } -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/PageBaseReqVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * @author: xumengqiang 7 | * @date: 2022/2/28 1:09 8 | */ 9 | @Data 10 | public class PageBaseReqVO { 11 | /** 12 | * 默认每页25条. 13 | */ 14 | protected Integer pageSize = 25; 15 | 16 | /** 17 | * 默认第1页. 18 | */ 19 | protected Integer pageNum = 1; 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/TerminalVersion.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.VersionSourceEnum; 4 | import com.netease.hz.bdms.easyinsight.common.enums.VersionSourceStatusEnum; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | import java.util.Date; 9 | 10 | @Data 11 | @Accessors(chain = true) 12 | public class TerminalVersion { 13 | /** 14 | * 版本名称 15 | */ 16 | private String name; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/auth/RoleVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.auth; 2 | 3 | import lombok.Data; 4 | 5 | import java.sql.Timestamp; 6 | 7 | @Data 8 | public class RoleVO { 9 | private Long id; 10 | private String roleName; 11 | private String description; 12 | private Timestamp createTime; 13 | private Timestamp updateTime; 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/auth/UserVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.auth; 2 | 3 | import lombok.Data; 4 | 5 | import java.sql.Timestamp; 6 | import java.util.List; 7 | import java.util.Set; 8 | 9 | @Data 10 | public class UserVO { 11 | private Long userId; 12 | private String email; 13 | private String userName; 14 | private Set apps; 15 | private List roles; 16 | private Long musicUserId; 17 | private Timestamp createTime; 18 | private Timestamp updateTime; 19 | } 20 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/eistest/FallsPage.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.eistest; 2 | 3 | import lombok.Data; 4 | 5 | import java.io.Serializable; 6 | 7 | @Data 8 | public class FallsPage implements Serializable { 9 | private Integer size; 10 | private Integer page; 11 | private Integer total; 12 | private String cursor; 13 | private Boolean more = true; 14 | 15 | public FallsPage() { 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/event/EventAggregateInfoVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.event; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.CommonAggregateDTO; 4 | import lombok.Data; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * 需求管理模块——埋点事件池—新建事件埋点页面 10 | * 11 | * @author: xumengqiang 12 | * @date: 2022/1/20 15:57 13 | */ 14 | @Data 15 | public class EventAggregateInfoVO { 16 | /** 17 | * 终端信息 18 | */ 19 | List terminals; 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/event/ReleasedEventAggregateVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.event; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.CommonAggregateDTO; 4 | import com.netease.hz.bdms.easyinsight.common.dto.common.CommonRelationAggregateDTO; 5 | import lombok.Data; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * @author: xumengqiang 11 | * @date: 2022/1/19 11:03 12 | */ 13 | @Data 14 | public class ReleasedEventAggregateVO { 15 | /** 16 | * 终端信息 17 | */ 18 | List terminals; 19 | 20 | /** 21 | * 发布版本信息 22 | */ 23 | List releases; 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/event/ReleasedEventAggregationSimpleVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.event; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.CommonAggregateDTO; 4 | import com.netease.hz.bdms.easyinsight.common.dto.common.CommonRelationAggregateDTO; 5 | import lombok.Data; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * @author: xumengqiang 11 | * @date: 2022/1/19 11:03 12 | */ 13 | @Data 14 | public class ReleasedEventAggregationSimpleVO { 15 | /** 16 | * 终端信息 17 | */ 18 | CommonAggregateDTO terminal; 19 | 20 | /** 21 | * 发布版本信息 22 | */ 23 | List releases; 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/event/ReleasedEventAggregationVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.event; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * @author: xumengqiang 9 | * @date: 2022/1/19 11:03 10 | */ 11 | @Data 12 | public class ReleasedEventAggregationVO { 13 | /** 14 | * 每个端的版本列表 15 | */ 16 | List list; 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/AccumulateHistogramVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.Set; 7 | 8 | /** 9 | * 参数取值 10 | */ 11 | @Accessors(chain = true) 12 | @Data 13 | public class AccumulateHistogramVO { 14 | 15 | /** 16 | * 最近一天的情况 17 | */ 18 | private Set latest; 19 | 20 | private HistogramVO histogram; 21 | } 22 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/AccumulateQueryVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | 7 | @Accessors(chain = true) 8 | @Data 9 | public class AccumulateQueryVO extends LogQueryVO { 10 | 11 | private boolean incremental; 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/BaseLogCheckFilterValuesVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.vo.auth.UserVO; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * 稽查统计报表统计信息 11 | */ 12 | @Accessors(chain = true) 13 | @Data 14 | public class BaseLogCheckFilterValuesVO { 15 | 16 | /** 17 | * 版本号及对应包信息 18 | */ 19 | private List versions; 20 | /** 21 | * 包责任人 22 | */ 23 | private List packageOwners; 24 | /** 25 | * 包规则版本 26 | */ 27 | private List ruleVersions; 28 | 29 | } -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/BucketValueVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class BucketValueVO { 9 | 10 | private long bucketHour; 11 | private long time; 12 | private Number value; 13 | private String groupBy; 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/FailedInfoVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class FailedInfoVO { 9 | 10 | private String failedInfo; 11 | private long count; 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/FilterValuesQueryVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class FilterValuesQueryVO extends BaseQueryVO { 9 | 10 | private String spm; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/HistogramVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Accessors(chain = true) 9 | @Data 10 | public class HistogramVO { 11 | 12 | private String sql; // debug用 13 | private long total; 14 | private List values; 15 | } 16 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/LogCheckDetailVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Map; 6 | 7 | @Data 8 | public class LogCheckDetailVO { 9 | 10 | private Map log; 11 | private Map rule; 12 | private String spmOwner; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/LogCheckFilterValuesVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.tag.TagSimpleDTO; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * 稽查统计报表统计信息 11 | */ 12 | @Accessors(chain = true) 13 | @Data 14 | public class LogCheckFilterValuesVO { 15 | 16 | private List eventCodes; 17 | private List oids; 18 | private List tags; 19 | private List priorities; 20 | private List spms; 21 | private List referSpms; 22 | private List bizRefers; 23 | private List referTypes; 24 | private List failKeys; 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/LogPageInfo.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import com.github.pagehelper.PageInfo; 4 | import lombok.Data; 5 | 6 | import java.util.Map; 7 | 8 | @Data 9 | public class LogPageInfo extends PageInfo { 10 | 11 | private Map packageInfos; 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/ParamBindDetail.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.Set; 7 | 8 | /** 9 | * 参数取值 10 | */ 11 | @Accessors(chain = true) 12 | @Data 13 | public class ParamBindDetail { 14 | 15 | private String paramCode; 16 | private Set paramValues; 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/ParamKeyAndValueDetailVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * 参数取值 8 | */ 9 | @Accessors(chain = true) 10 | @Data 11 | public class ParamKeyAndValueDetailVO extends SpmInfoVO { 12 | 13 | private String oid; 14 | private String objName; 15 | private String paramCode; 16 | private String paramName; 17 | private String paramValue; 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/ParamKeyAndValueVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * 参数取值 8 | */ 9 | @Accessors(chain = true) 10 | @Data 11 | public class ParamKeyAndValueVO { 12 | 13 | private ParamKeyVO key; 14 | private String value; 15 | } 16 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/ParamKeyVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * 参数key 8 | */ 9 | @Accessors(chain = true) 10 | @Data 11 | public class ParamKeyVO { 12 | 13 | private String oid; 14 | private String spm; 15 | private String paramCode; 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/PieVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * 饼图 10 | */ 11 | @Accessors(chain = true) 12 | @Data 13 | public class PieVO { 14 | 15 | private List values; 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/PieValueVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class PieValueVO { 9 | 10 | private String key; 11 | private Number value; 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/RuleInfoVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Accessors(chain = true) 9 | @Data 10 | public class RuleInfoVO { 11 | 12 | /** 13 | * 基线版本名 14 | */ 15 | private String baseLineVersionName; 16 | /** 17 | * 和哪些相关任务的合并结果 18 | */ 19 | private String relatedTasks; 20 | /** 21 | * 合并失败的任务列表 22 | */ 23 | private List mergeFailedTasks; 24 | } 25 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/RuleVersionVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.logcheck.LogCheckPackageTypeEum; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | import java.util.List; 8 | import java.util.Set; 9 | 10 | @Accessors(chain = true) 11 | @Data 12 | public class RuleVersionVO { 13 | /** 14 | * 包build号 15 | */ 16 | private String buildUUid; 17 | /** 18 | * 规则版本列表 19 | */ 20 | private List ruleVersionIds; 21 | } 22 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/SpmInfoVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class SpmInfoVO { 9 | 10 | private String spm; 11 | private String spmName; 12 | private String currentOid; 13 | private String currentName; 14 | private String rootOid; 15 | private String rootName; 16 | private String ownerName; 17 | private long checkResult; 18 | private long count; 19 | } 20 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/SpmInfoWithFailKeyVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class SpmInfoWithFailKeyVO extends SpmInfoVO { 9 | 10 | /** 11 | * 错误分类key 12 | */ 13 | private String failKey; 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/VersionBuildUUIDVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Accessors(chain = true) 9 | @Data 10 | public class VersionBuildUUIDVO { 11 | 12 | private String version; 13 | private List buildUUIDs; 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/monitor/DataFieldFilterValuesVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck.monitor; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.logcheck.monitor.SelectTypeEnum; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | import java.util.Set; 8 | 9 | @Accessors(chain = true) 10 | @Data 11 | public class DataFieldFilterValuesVO { 12 | 13 | private String fieldName; 14 | 15 | private String displayName; 16 | 17 | /** 18 | * {@link SelectTypeEnum} 19 | */ 20 | private String type; 21 | 22 | private Set values; 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/monitor/DataSourceVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck.monitor; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | import java.util.Set; 8 | 9 | @Accessors(chain = true) 10 | @Data 11 | public class DataSourceVO { 12 | 13 | private String name; 14 | 15 | private String value; 16 | 17 | private List dataFields; 18 | 19 | private MetricOutputFilterValuesVO metricOutput; 20 | 21 | private Set groupBys; 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/monitor/DataSourcesVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck.monitor; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Accessors(chain = true) 9 | @Data 10 | public class DataSourcesVO { 11 | 12 | private List packageFilterValues; 13 | 14 | private List dataSources; 15 | } 16 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/monitor/DisplayValue.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck.monitor; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class DisplayValue { 9 | 10 | private String name; 11 | private String value; 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/monitor/LogCheckMonitorHistogramQueryVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck.monitor; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | import java.util.Set; 8 | 9 | @Data 10 | public class LogCheckMonitorHistogramQueryVO { 11 | 12 | private Long monitorItemId; 13 | 14 | private Map> groupByValueFilters; 15 | 16 | private List metrics; 17 | 18 | private long startTime; 19 | 20 | private long endTime; 21 | } 22 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/monitor/MetricOutputFilterValuesVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck.monitor; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Accessors(chain = true) 9 | @Data 10 | public class MetricOutputFilterValuesVO { 11 | 12 | private List operatorSupportFields; 13 | } 14 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/monitor/OperatorSupportFields.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck.monitor; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | @Accessors(chain = true) 9 | @Data 10 | public class OperatorSupportFields { 11 | 12 | private String operator; 13 | private List fields; 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/logcheck/monitor/PackageTypeFilterValuesVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.logcheck.monitor; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.logcheck.LogCheckPackageTypeEum; 4 | import com.netease.hz.bdms.easyinsight.common.vo.logcheck.VersionBuildUUIDVO; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | import java.util.List; 9 | 10 | @Accessors(chain = true) 11 | @Data 12 | public class PackageTypeFilterValuesVO { 13 | 14 | /** 15 | * {@link LogCheckPackageTypeEum} 16 | */ 17 | private Integer packageType; 18 | private String packageDesc; 19 | private List versionValues; 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/obj/ObjCascadeAggregateVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.obj; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.CommonAggregateDTO; 4 | import lombok.Data; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @author: xumengqiang 10 | * @date: 2022/1/17 19:27 11 | */ 12 | @Data 13 | public class ObjCascadeAggregateVO { 14 | /** 15 | * 终端信息 16 | */ 17 | List terminals; 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/obj/ObjLineageGraphVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.obj; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.bo.lineage.Node; 4 | import com.netease.hz.bdms.easyinsight.common.dto.obj.ObjectInfoDTO; 5 | import lombok.Data; 6 | 7 | import java.util.List; 8 | import java.util.Map; 9 | 10 | /** 11 | * @author: xumengqiang 12 | * @date: 2021/12/29 18:51 13 | */ 14 | @Data 15 | public class ObjLineageGraphVO { 16 | /** 17 | * 对象的血缘树 18 | */ 19 | List tree; 20 | 21 | /** 22 | * 对象详细信息 23 | */ 24 | Map objInfoMap; 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/obj/ObjTreeAndTerminalInfoVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.obj; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.terminal.TerminalSimpleDTO; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class ObjTreeAndTerminalInfoVO { 10 | 11 | /** 12 | * 对象树结构 13 | */ 14 | private ObjTreeVO objTree; 15 | 16 | /** 17 | * 端信息 18 | */ 19 | private TerminalSimpleDTO terminalSimpleDTO; 20 | 21 | } 22 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/obj/ObjTreeVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.obj; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.bo.lineage.Node; 4 | import com.netease.hz.bdms.easyinsight.common.dto.obj.ObjectInfoDTO; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | import java.util.List; 9 | import java.util.Map; 10 | 11 | /** 12 | * @author: xumengqiang 13 | * @date: 2021/12/29 15:12 14 | */ 15 | @Data 16 | @Accessors(chain = true) 17 | public class ObjTreeVO { 18 | /** 19 | * 对象树结构 20 | */ 21 | List tree; 22 | 23 | /** 24 | * 对象详细信息 25 | */ 26 | Map objInfoMap; 27 | 28 | /** 29 | * 需要展开显示的spm列表 30 | */ 31 | List spmsToExpand; 32 | } 33 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/obj/OidsGroupingByObjSubTypeVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.obj; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.Map; 7 | import java.util.Set; 8 | 9 | @Accessors(chain = true) 10 | @Data 11 | public class OidsGroupingByObjSubTypeVO { 12 | 13 | private Map> map; 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/realtimetest/ReqNode.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.realtimetest; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class ReqNode { 9 | 10 | Long objId; 11 | 12 | String spm; 13 | 14 | /** 15 | * @see com.netease.hz.bdms.easyinsight.common.enums.RequirementTypeEnum 16 | */ 17 | String reqType; 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/release/BaseReleaseVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.release; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * @author: xumengqiang 7 | * @date: 2022/1/12 14:55 8 | */ 9 | @Data 10 | public class BaseReleaseVO { 11 | 12 | /** 13 | * 终端ID 14 | */ 15 | private Long terminalId; 16 | 17 | /** 18 | * 端版本ID 19 | */ 20 | private Long terminalVersionId; 21 | 22 | /** 23 | * 基线版本ID 24 | */ 25 | private Long baseReleaseId; 26 | 27 | /** 28 | * 终端名称 29 | */ 30 | private String terminalName; 31 | 32 | /** 33 | * 端版本名称 34 | */ 35 | private String terminalVersionName; 36 | } 37 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/release/ReleaseVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.release; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Set; 6 | 7 | @Data 8 | public class ReleaseVO { 9 | 10 | Long terminalId; 11 | 12 | Long terminalVersionId; 13 | 14 | Set taskIds; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/AssignAggreVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | import java.util.Set; 7 | 8 | @Data 9 | public class AssignAggreVO { 10 | 11 | Long terminalId; 12 | 13 | String terminalName; 14 | 15 | List targetTasks; 16 | 17 | @Data 18 | public static class AssignTargetTask{ 19 | Long id; 20 | String taskName; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/AssignEntityVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | import com.netease.hz.bdms.easyinsight.common.enums.ReqPoolTypeEnum; 5 | 6 | @Data 7 | public class AssignEntityVO { 8 | 9 | Long id; 10 | 11 | /** 12 | * @see ReqPoolTypeEnum 13 | */ 14 | Integer poolType; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/AssignQueryVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class AssignQueryVO { 9 | 10 | Long reqPoolId; 11 | 12 | /** 13 | * 是否勾选了"开启多端同步" 14 | */ 15 | boolean syncAllTerminal; 16 | 17 | //待办列表 18 | List assignEntities; 19 | } 20 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/AssignVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | import java.util.Set; 7 | 8 | @Data 9 | public class AssignVO { 10 | 11 | /** 12 | * 需求池ID 13 | */ 14 | private Long reqPoolId; 15 | 16 | /** 17 | * 同步指派多个端 18 | */ 19 | private boolean syncAllTerminal = false; 20 | 21 | //待办列表 22 | List assignEntities; 23 | 24 | Set taskIds; 25 | 26 | } 27 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/BaseObjEntityVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class BaseObjEntityVO { 7 | //对象id 8 | Long objId; 9 | // 改对象属于父空间 10 | Long otherAppId; 11 | //对象变更历史id 12 | Long historyId; 13 | //对象oid 14 | String oid; 15 | //对象名称 16 | String objName; 17 | 18 | /** 19 | * 对象类型 20 | * @see com.netease.hz.bdms.easyinsight.common.enums.ObjTypeEnum 21 | */ 22 | Integer objType; 23 | 24 | /** 25 | * 是否有合并基线冲突 26 | */ 27 | private boolean mergeConflict = false; 28 | 29 | } 30 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/BranchCoverageIgnoreVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.vo.logcheck.BranchCoverageDetailVO; 4 | import lombok.Data; 5 | 6 | import java.util.List; 7 | 8 | @Data 9 | public class BranchCoverageIgnoreVO { 10 | 11 | private String conversationId; 12 | 13 | private List branches; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/CancelAssignBatchVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | import java.util.Set; 7 | 8 | @Data 9 | public class CancelAssignBatchVO { 10 | 11 | List oidAssignVOS; 12 | 13 | /** 14 | * 是否改动同步到所有端(按spmByObjId匹配) 15 | */ 16 | private boolean syncAllTerminal; 17 | 18 | private Long reqPoolId; 19 | } 20 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/CancleAssignVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Set; 6 | 7 | @Data 8 | public class CancleAssignVO { 9 | 10 | Set ids; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/CancleSpmAssignVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | import java.util.Set; 7 | 8 | @Data 9 | public class CancleSpmAssignVO { 10 | 11 | Long reqPoolId; 12 | 13 | Long taskId; 14 | 15 | String spmByObjId; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/OidAssignVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class OidAssignVO { 7 | 8 | String spmByObjId; 9 | 10 | Long eventBuryPointId; 11 | 12 | Long taskId; 13 | 14 | Integer type; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/OmImportVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Getter; 4 | import lombok.Setter; 5 | 6 | import java.util.List; 7 | 8 | @Getter 9 | @Setter 10 | public class OmImportVO { 11 | 12 | OmReqVO requirement; 13 | 14 | List tasks; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/OmTaskVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserDTO; 4 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserSimpleDTO; 5 | import lombok.Getter; 6 | import lombok.Setter; 7 | 8 | import java.util.List; 9 | 10 | @Getter 11 | @Setter 12 | public class OmTaskVO { 13 | 14 | private String taskIssueKey; 15 | 16 | private String name; 17 | 18 | private String versionName; 19 | 20 | private String reqIssueKey; 21 | 22 | private UserDTO owner; 23 | 24 | private UserDTO verifier; 25 | 26 | /** 27 | * 所属终端ID,如果为空则是不确定 28 | */ 29 | private Long terminalId; 30 | 31 | } 32 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/RebaseVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class RebaseVO { 9 | 10 | Long reqPoolId; 11 | 12 | List details; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/RelBaseReleaseHistoryVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class RelBaseReleaseHistoryVO { 7 | 8 | Long createTime; 9 | 10 | String createUser; 11 | 12 | String terminalVersion; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReleasedTaskVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.Date; 7 | import java.util.List; 8 | 9 | /** 10 | * 已发布上线任务 11 | * 12 | * @author: xumengqiang 13 | * @date: 2021/12/22 19:17 14 | */ 15 | @Data 16 | @Accessors(chain = true) 17 | public class ReleasedTaskVO { 18 | /** 19 | * 端版本 20 | */ 21 | String terminalVersionName; 22 | 23 | /** 24 | * 发布ID 25 | */ 26 | Long releaseId; 27 | 28 | /** 29 | * 发布者名称 30 | */ 31 | String releaserName; 32 | 33 | /** 34 | * 发布时间 35 | */ 36 | Date releaseTime; 37 | 38 | /** 39 | * 任务名称列表 40 | */ 41 | List taskNames; 42 | } 43 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqAddAggreVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.CommonAggregateDTO; 4 | import lombok.Data; 5 | 6 | import java.util.List; 7 | 8 | @Data 9 | public class ReqAddAggreVO { 10 | 11 | List users; 12 | 13 | List terminals; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqEditShowVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class ReqEditShowVO { 9 | 10 | ReqShowVO reqInfo; 11 | 12 | List tasks; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqEntityVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class ReqEntityVO { 9 | 10 | Long reqPoolId; 11 | 12 | RequirementInfoVO requirement; 13 | 14 | List tasks; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqPoolCreateVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserDTO; 4 | import lombok.Data; 5 | 6 | import java.util.List; 7 | 8 | @Data 9 | public class ReqPoolCreateVO { 10 | 11 | String name; 12 | 13 | List owners; 14 | 15 | String desc; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqPoolEditShowVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserDTO; 4 | import lombok.Data; 5 | 6 | import java.util.List; 7 | 8 | @Data 9 | public class ReqPoolEditShowVO { 10 | 11 | String name; 12 | 13 | List dataOwners; 14 | 15 | String desc; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqPoolEditVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserDTO; 4 | import lombok.Data; 5 | 6 | import java.util.List; 7 | 8 | @Data 9 | public class ReqPoolEditVO { 10 | 11 | Long id; 12 | 13 | String name; 14 | 15 | List owners; 16 | 17 | String desc; 18 | 19 | } 20 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqPoolStatisticVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class ReqPoolStatisticVO { 7 | 8 | Integer allSpms; 9 | 10 | //未上线的spm待办数量(现在和字段名无关,之前是已指派的spm待办数量) 11 | Integer assignedSpms; 12 | 13 | Integer unAssignedSpms; 14 | 15 | Integer allEvents; 16 | //未上线的event待办数量(现在和字段名无关,之前是已指派的event待办数量) 17 | Integer assignedEvents; 18 | 19 | Integer unAssignedEvents; 20 | 21 | Integer tasks; 22 | 23 | Integer objCount; 24 | 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqSearchAggreVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.CommonAggregateDTO; 4 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserSimpleDTO; 5 | import lombok.Getter; 6 | import lombok.Setter; 7 | 8 | import java.util.List; 9 | 10 | @Getter 11 | @Setter 12 | public class ReqSearchAggreVO { 13 | 14 | List creators; 15 | 16 | List dataOwners; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqShowVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserDTO; 4 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserSimpleDTO; 5 | import lombok.Data; 6 | 7 | @Data 8 | public class ReqShowVO { 9 | 10 | private Long reqId; 11 | 12 | private String reqIssueKey; 13 | 14 | private Integer from; 15 | 16 | private String name; 17 | 18 | private String team; 19 | 20 | private String views; 21 | 22 | private String businessArea; 23 | 24 | private String priority; 25 | 26 | private UserDTO creator; 27 | 28 | private String description; 29 | 30 | } 31 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ReqSpmTreeVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.bo.lineage.TreeNode; 4 | import lombok.Data; 5 | 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | /** 10 | * spm待指派项视图 11 | */ 12 | @Data 13 | public class ReqSpmTreeVO { 14 | //终端id 15 | Long terminalId; 16 | //终端名称 17 | String terminalName; 18 | //血缘树层级结构 19 | List roots = new ArrayList<>(); 20 | //血缘树上每个节点的具体信息——需求对象池涉及的对象 21 | List reqDevSpmEntities = new ArrayList<>(); 22 | //血缘树上每个节点的具体信息——需求对象池不涉及的对象 23 | List baseObjEntities = new ArrayList<>(); 24 | // 树展开到此SPM 25 | List spmsToExpand; 26 | } 27 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/TaskEditVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserDTO; 4 | import lombok.Data; 5 | 6 | @Data 7 | public class TaskEditVO { 8 | 9 | Long id; 10 | 11 | String taskIssueKey; 12 | 13 | String reqIssueKey; 14 | 15 | String name; 16 | 17 | Long terminalId; 18 | 19 | UserDTO owner; 20 | 21 | UserDTO verifier; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/TaskEntityVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserSimpleDTO; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Accessors(chain = true) 8 | @Data 9 | public class TaskEntityVO { 10 | 11 | private Long id; 12 | 13 | private String taskIssueKey; 14 | 15 | private String name; 16 | 17 | private String reqIssueKey; 18 | 19 | private Long terminalId; 20 | 21 | private UserSimpleDTO owner; 22 | 23 | private UserSimpleDTO verifier; 24 | 25 | private String versionName; 26 | 27 | } 28 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/TaskShowVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserDTO; 4 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserSimpleDTO; 5 | import lombok.Data; 6 | 7 | @Data 8 | public class TaskShowVO { 9 | 10 | Long id; 11 | 12 | String name; 13 | 14 | Long terminalId; 15 | 16 | UserDTO owner; 17 | 18 | UserDTO verifier; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/TerminalAggreVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class TerminalAggreVO { 7 | 8 | Long id; 9 | 10 | String name; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/TerminalRebaseVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class TerminalRebaseVO { 7 | 8 | Long terminalId; 9 | 10 | Long newReleaseId; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/requirement/ValidateResultDeleteVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.requirement; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class ValidateResultDeleteVO { 7 | 8 | Long id; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/spm/AuditInfoVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.spm; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * 稽查结果 10 | */ 11 | 12 | @Data 13 | @Accessors(chain = true) 14 | public class AuditInfoVO { 15 | 16 | /** 17 | * 稽查spm信息详情 18 | */ 19 | private List spmAuditInfos; 20 | 21 | /** 22 | * 稽查跳转链接 23 | */ 24 | private String targetUrl; 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/spm/SpmAuditInfoVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.spm; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.vo.logcheck.LogCheckLogVO; 4 | import com.netease.hz.bdms.easyinsight.common.vo.logcheck.SpmInfoVO; 5 | import lombok.Data; 6 | import lombok.experimental.Accessors; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * spm稽查结果 12 | */ 13 | 14 | @Data 15 | @Accessors(chain = true) 16 | public class SpmAuditInfoVO { 17 | /** 18 | * spm 19 | */ 20 | private String spm; 21 | 22 | /** 23 | * 稽查通过数量 24 | */ 25 | private long success; 26 | 27 | /** 28 | * 稽查失败数量 29 | */ 30 | private long failed; 31 | 32 | /** 33 | * 稽查失败的spm信息,最多返回1000条 34 | */ 35 | private List failedSpmInfo; 36 | } 37 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/synctree/SyncTreeVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.synctree; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * 外部搭建对接 10 | */ 11 | @Data 12 | @Accessors(chain = true) 13 | public class SyncTreeVO { 14 | 15 | /** 16 | * 空间ID 17 | */ 18 | private Long appId; 19 | 20 | /** 21 | * 页面名字,全局唯一 22 | */ 23 | private String pageName; 24 | 25 | /** 26 | * 对象列表 27 | */ 28 | private List nodes; 29 | 30 | /** 31 | * 时间戳 ms,当前时间1分钟内有效 32 | */ 33 | private long timestamp; 34 | 35 | /** 36 | * 开放接口appKey 37 | */ 38 | private String appKey; 39 | 40 | /** 41 | * 开放接口签名 42 | */ 43 | private String sign; 44 | } 45 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/DeliverVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.common.UserDTO; 4 | import lombok.Data; 5 | 6 | import java.util.Set; 7 | 8 | @Data 9 | public class DeliverVO { 10 | 11 | /** 12 | * @see com.netease.hz.bdms.easyinsight.common.enums.DeliverTypeEnum 13 | */ 14 | String deliverType; 15 | 16 | Set taskIds; 17 | 18 | Set processIds; 19 | 20 | UserDTO userDTO; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/ReqTaskWithProcessViewVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class ReqTaskWithProcessViewVO { 9 | 10 | private ReqTaskVO reqTask; 11 | 12 | private List entities; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/SourceUrlVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class SourceUrlVO { 9 | private String url; 10 | } 11 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/TaskEventVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class TaskEventVO { 7 | 8 | Long id; 9 | 10 | Long eventBuryPointId; 11 | 12 | String eventCode; 13 | 14 | String eventName; 15 | 16 | String owner; 17 | 18 | Integer status; 19 | 20 | String verifier; 21 | 22 | Integer testRecordNum; 23 | 24 | Integer failedTestRecordNum; 25 | } 26 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/TaskPagingQueryVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class TaskPagingQueryVO { 7 | 8 | String reqIssueKey; 9 | 10 | String reqName; 11 | 12 | String taskName; 13 | 14 | String dataOwnerEmail; 15 | 16 | Long terminalId; 17 | 18 | String search; 19 | 20 | Integer status; 21 | 22 | String taskOwner; 23 | 24 | String taskVerifier; 25 | 26 | Integer processStatus; 27 | 28 | String processOwner; 29 | 30 | String processVerifier; 31 | 32 | String terminalVersion; 33 | 34 | String sprint; 35 | 36 | Integer currentPage; 37 | 38 | Integer pageSize; 39 | 40 | String orderBy; 41 | 42 | String orderRule; 43 | 44 | } 45 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/TaskProcessSpmEntityVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class TaskProcessSpmEntityVO { 7 | 8 | Long id; 9 | 10 | String spmByObjId; 11 | 12 | String oid; 13 | 14 | String objName; 15 | 16 | /** 17 | * @see com.netease.hz.bdms.easyinsight.common.enums.ObjTypeEnum 18 | */ 19 | Integer objType; 20 | 21 | String reqType; 22 | 23 | String owner; 24 | 25 | String verifier; 26 | 27 | Integer status; 28 | 29 | Boolean hasPicture; 30 | 31 | Integer testRecordNum; 32 | 33 | Integer failedTestRecordNum; 34 | 35 | /** 36 | * 是否有合并基线冲突 37 | */ 38 | private boolean mergeConflict = false; 39 | 40 | } 41 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/TaskProcessVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class TaskProcessVO { 9 | 10 | String reqName; 11 | 12 | String taskName; 13 | 14 | TaskSpmTreeVO devSpmTree; 15 | 16 | TaskSpmTreeVO deleteSpmTree; 17 | 18 | List events; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/TaskProcessViewQueryVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Accessors(chain = true) 7 | @Data 8 | public class TaskProcessViewQueryVO { 9 | 10 | Long taskId; 11 | 12 | Integer status; 13 | 14 | String owner; 15 | 16 | String verifier; 17 | 18 | String objSearch; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/TaskSearchAggreVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.vo.requirement.RequirementInfoVO; 4 | import lombok.Data; 5 | 6 | import java.util.List; 7 | import java.util.Set; 8 | 9 | @Data 10 | public class TaskSearchAggreVO { 11 | 12 | Set reqKeys; 13 | 14 | Set reqName; 15 | 16 | List reqInfos; 17 | 18 | List terminals; 19 | 20 | Set termnialVersions; 21 | 22 | 23 | Set sprints; 24 | 25 | @Data 26 | public static class TerminalAggre { 27 | Long id; 28 | String name; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/TestRecordResultVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class TestRecordResultVO { 9 | 10 | Integer sum; 11 | 12 | Integer passNum; 13 | 14 | Integer unPassNum; 15 | 16 | Integer partPassNum; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/task/TransStatusVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.task; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class TransStatusVO { 9 | 10 | List processIds; 11 | 12 | List taskIds; 13 | 14 | Integer targetStatus; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/terminalversion/VersionEdgeVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.terminalversion; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class VersionEdgeVO { 7 | 8 | Long from; 9 | 10 | Long to; 11 | 12 | Boolean isMaster; 13 | } 14 | -------------------------------------------------------------------------------- /eis-common/src/main/java/com/netease/hz/bdms/easyinsight/common/vo/terminalversion/VersionNodeVO.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.common.vo.terminalversion; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class VersionNodeVO { 7 | 8 | Long id; 9 | 10 | String name; 11 | 12 | Integer status; 13 | } 14 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/AppRelationMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.AppRelation; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import java.util.List; 7 | 8 | @Repository 9 | public interface AppRelationMapper { 10 | 11 | List listAll(); 12 | 13 | Integer insert(AppRelation appRelation); 14 | 15 | Integer delete(AppRelation appRelation); 16 | } 17 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/CommonKVMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.CommonKV; 4 | import com.netease.hz.bdms.easyinsight.dao.model.Event; 5 | import org.apache.ibatis.annotations.Param; 6 | import org.springframework.stereotype.Repository; 7 | 8 | import java.util.Collection; 9 | import java.util.List; 10 | import java.util.Set; 11 | 12 | @Repository 13 | public interface CommonKVMapper { 14 | 15 | CommonKV get(@Param("code") String code, @Param("k") String k); 16 | 17 | List gets(@Param("code") String code, @Param("ks") Collection ks); 18 | 19 | Integer insert(CommonKV commonKV); 20 | 21 | Integer updateValue(CommonKV commonKV); 22 | 23 | Integer delete(Long id); 24 | } 25 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisAuditResourceMetaMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisAuditResource; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | import java.util.Set; 9 | 10 | @Repository 11 | public interface EisAuditResourceMetaMapper { 12 | 13 | Integer insert(EisAuditResource eisAuditResource); 14 | 15 | Integer insertWithId(EisAuditResource eisAuditResource); 16 | 17 | EisAuditResource selectById(Long id); 18 | 19 | List selectBatchByIds(@Param("ids") Set ids); 20 | 21 | void updateBatch(List list); 22 | 23 | Integer delete(Long id); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisBuildRuleResourceMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisBuildRuleResource; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Repository 10 | public interface EisBuildRuleResourceMapper { 11 | 12 | Integer insert(EisBuildRuleResource eisBuildRuleResource); 13 | 14 | /** 15 | * 批量插入 16 | * @param list 17 | */ 18 | void insertBatch(@Param("list") List list); 19 | 20 | EisBuildRuleResource selectLastVerByBuildUUid(String buildUUid); 21 | 22 | List selectAllByBuildUUid(@Param("uuids") List uuids); 23 | 24 | Integer delete(Long id); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisEventBuryPointMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisEventBuryPoint; 4 | import org.apache.ibatis.annotations.Param; 5 | import tk.mybatis.mapper.common.Mapper; 6 | 7 | import java.util.List; 8 | import java.util.Set; 9 | 10 | public interface EisEventBuryPointMapper extends Mapper { 11 | 12 | List selectBatchByIds(@Param("ids") Set ids); 13 | 14 | void insertBatch(@Param("list") List list); 15 | 16 | void deleteByIds(@Param("ids") Set ids); 17 | 18 | } -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisLogCheckAlarmRuleMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.logcheck.EisLogCheckAlarmRule; 4 | 5 | import java.util.List; 6 | 7 | public interface EisLogCheckAlarmRuleMapper { 8 | 9 | Integer insert(EisLogCheckAlarmRule item); 10 | 11 | void updateContentById(EisLogCheckAlarmRule item); 12 | 13 | List listByOffset(long offsetId, int limit); 14 | 15 | EisLogCheckAlarmRule getByMonitorId(long monitorItemId); 16 | 17 | void deleteById(long id); 18 | } 19 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisLogCheckMonitorItemMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.logcheck.EisLogCheckMonitorItem; 4 | import org.apache.ibatis.annotations.Param; 5 | 6 | import java.util.Collection; 7 | import java.util.List; 8 | 9 | public interface EisLogCheckMonitorItemMapper { 10 | 11 | Integer insert(EisLogCheckMonitorItem item); 12 | 13 | EisLogCheckMonitorItem getById(long id); 14 | 15 | void updateItem(EisLogCheckMonitorItem item); 16 | 17 | List batchGetById(@Param("ids") Collection ids); 18 | 19 | List searchByName(Long appId, String search); 20 | 21 | List listAll(Long appId); 22 | 23 | void deleteById(long id); 24 | } 25 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisLogCheckUserMonitorItemMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.logcheck.EisLogCheckUserMonitorItem; 4 | 5 | import java.util.List; 6 | 7 | public interface EisLogCheckUserMonitorItemMapper { 8 | 9 | Integer insert(EisLogCheckUserMonitorItem item); 10 | 11 | List listOrderByCreateTimeTime(Long appId, String userEmail); 12 | 13 | EisLogCheckUserMonitorItem getByUserAndMonitorId(String userEmail, Long monitorId); 14 | 15 | void deleteAllByMonitorId(Long monitorId); 16 | 17 | void deleteById(long id); 18 | } 19 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisObjAllRelationReleaseMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisObjAllRelationRelease; 4 | import tk.mybatis.mapper.common.Mapper; 5 | 6 | import java.util.List; 7 | 8 | public interface EisObjAllRelationReleaseMapper extends Mapper { 9 | 10 | void insertBatch(List list); 11 | 12 | } -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisRealtimeBranchIgnoreMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisRealtimeBranchIgnore; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Repository 10 | public interface EisRealtimeBranchIgnoreMapper { 11 | 12 | List listAll(@Param("conversationId") String conversationId); 13 | 14 | Integer batchInsert(@Param("ignoreList") List ignoreList); 15 | 16 | Integer removeAll(@Param("conversationId") String conversationId); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisReqObjRelationMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisReqObjRelation; 4 | import org.apache.ibatis.annotations.Param; 5 | import tk.mybatis.mapper.common.Mapper; 6 | 7 | import java.util.Collection; 8 | import java.util.List; 9 | import java.util.Set; 10 | 11 | public interface EisReqObjRelationMapper extends Mapper { 12 | 13 | List selectBatchByObjIds(@Param("objIds")Set objIds); 14 | 15 | void insertBatch(@Param("list")List list); 16 | 17 | void deleteByIds(@Param("ids") Collection ids); 18 | 19 | } -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisReqPoolEventMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisReqPoolEvent; 4 | import org.apache.ibatis.annotations.Param; 5 | import tk.mybatis.mapper.common.Mapper; 6 | 7 | import java.util.List; 8 | import java.util.Set; 9 | 10 | public interface EisReqPoolEventMapper extends Mapper { 11 | 12 | List selectBatchByIds(@Param("ids") Set ids); 13 | 14 | List selectBatchByEventIds(@Param("eventIds") Set ids); 15 | 16 | } -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisReqPoolMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.query.ReqPoolPageQuery; 4 | import com.netease.hz.bdms.easyinsight.dao.model.EisReqPool; 5 | import org.apache.ibatis.annotations.Param; 6 | import tk.mybatis.mapper.common.Mapper; 7 | 8 | import java.util.Collection; 9 | import java.util.List; 10 | 11 | public interface EisReqPoolMapper extends Mapper { 12 | 13 | List queryForPage(ReqPoolPageQuery query); 14 | 15 | List selectByIds(@Param("ids") Collection ids); 16 | 17 | } -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisReqPoolRelBaseReleaseMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisReqPoolRelBaseRelease; 4 | import org.apache.ibatis.annotations.Param; 5 | import tk.mybatis.mapper.common.Mapper; 6 | 7 | import java.util.List; 8 | import java.util.Set; 9 | 10 | public interface EisReqPoolRelBaseReleaseMapper extends Mapper { 11 | 12 | void insertBatch(@Param("list") List list); 13 | 14 | List batchGetCurrentUse(@Param("reqPoolIds") Set reqPoolIds); 15 | 16 | void updateCurrentUse(Long reqPoolId, Long terminalId, boolean oldCurrentUse, boolean newCurrentUse); 17 | 18 | void deleteDuplicate(Long reqPoolId, Long terminalId, Long excludeId); 19 | } -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisReqPoolSpmMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisReqPoolSpm; 4 | import org.apache.ibatis.annotations.Param; 5 | import tk.mybatis.mapper.common.Mapper; 6 | 7 | import java.util.List; 8 | import java.util.Set; 9 | 10 | public interface EisReqPoolSpmMapper extends Mapper { 11 | 12 | List selectBatchByIds(@Param("ids") Set ids); 13 | 14 | List selectBatchByObjIds(@Param("objIds") Set ids); 15 | 16 | List queryLastSpm(EisReqPoolSpm query); 17 | 18 | void insertBatch(@Param("list") List list); 19 | 20 | void deleteByIds(@Param("ids") Set ids); 21 | 22 | } -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisRequirementInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisRequirementInfo; 4 | import org.apache.ibatis.annotations.Param; 5 | import tk.mybatis.mapper.common.Mapper; 6 | 7 | import java.util.List; 8 | import java.util.Collection; 9 | import java.util.List; 10 | import java.util.Set; 11 | 12 | public interface EisRequirementInfoMapper extends Mapper { 13 | 14 | List selectBatchByIds(@Param("ids") Set ids); 15 | 16 | List selectBatchByIssueKeys(@Param("issueKeys") Set issueKeys); 17 | 18 | void deleteByIds(@Param("ids") Set ids); 19 | 20 | // List selectByIds(@Param("ids")Set ids); 21 | 22 | } -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisTerminalReleaseHistoryMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisTerminalReleaseHistory; 4 | import org.apache.ibatis.annotations.Param; 5 | import tk.mybatis.mapper.common.Mapper; 6 | 7 | import java.util.List; 8 | import java.util.Set; 9 | 10 | public interface EisTerminalReleaseHistoryMapper extends Mapper { 11 | /** 12 | * 按主键批量查询 13 | * 14 | * @param ids 主键ID 15 | * @return 16 | */ 17 | List selectByIds(@Param("ids") Set ids); 18 | } -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisTrackerContentMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.TrackerContent; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.Collection; 8 | import java.util.List; 9 | 10 | @Repository 11 | public interface EisTrackerContentMapper { 12 | 13 | List listAll(Long trackerId); 14 | 15 | Integer batchInsert(@Param("trackerContents") List trackerContents); 16 | 17 | Integer deleteByIds(@Param("ids") Collection ids); 18 | } 19 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/EisUserPointInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisUserPointInfo; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Repository 10 | public interface EisUserPointInfoMapper { 11 | 12 | EisUserPointInfo getById(long id); 13 | 14 | Integer insertBatch(@Param("list") List list); 15 | 16 | List selectByReqId(Long reqId); 17 | 18 | void updateExtInfo(@Param("id") Long id, @Param("extInfo") String extInfo); 19 | 20 | void updateUserPoint(EisUserPointInfo userPointInfo); 21 | 22 | Integer delete(Long id); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/ParamRuleAuditMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.ParamRuleAudit; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Repository 10 | public interface ParamRuleAuditMapper { 11 | 12 | Integer insertBatch(@Param("list") List list); 13 | 14 | List selectByObjId(Long objId); 15 | 16 | void updateBatch(@Param("list") List list); 17 | 18 | Integer delete(Long id); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/ReleaseRelationMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.ReleaseRelation; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import java.util.List; 7 | 8 | @Repository 9 | public interface ReleaseRelationMapper { 10 | 11 | List listByReleaseId(Long releaseId); 12 | 13 | Integer insert(ReleaseRelation appRelation); 14 | 15 | Integer delete(ReleaseRelation appRelation); 16 | } 17 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/RuleTemplateMapper.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.RuleTemplate; 4 | 5 | import java.util.List; 6 | 7 | public interface RuleTemplateMapper { 8 | 9 | Integer insert(RuleTemplate param); 10 | 11 | List selectAll(); 12 | 13 | Integer delete(Long id); 14 | } 15 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/AppRelation.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class AppRelation { 9 | 10 | /** 11 | * 自增id 12 | */ 13 | private Long id; 14 | /** 15 | * 父空间appId 16 | */ 17 | private Long parentAppId; 18 | /** 19 | * 子空间appId 20 | */ 21 | private Long appId; 22 | } 23 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/CidInfo.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class CidInfo { 9 | 10 | /** 11 | * 自增id 12 | */ 13 | private Long id; 14 | /** 15 | * appId 16 | */ 17 | private Long appId; 18 | /** 19 | * cid所属的目标,如对象ID、SPM 20 | */ 21 | private String target; 22 | /** 23 | * 绑定类型,如绑定对象ID(OBJECT),绑定SPM(SPM) 24 | */ 25 | private String bindType; 26 | /** 27 | * cid 28 | */ 29 | private String cid; 30 | /** 31 | * cidName 32 | */ 33 | private String cidName; 34 | /** 35 | * ext 36 | */ 37 | private String ext; 38 | 39 | } 40 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/CommonKV.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.sql.Timestamp; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class CommonKV { 11 | 12 | /** 13 | * 自增id 14 | */ 15 | private Long id; 16 | /** 17 | * 分类 18 | */ 19 | private String code; 20 | /** 21 | * K 22 | */ 23 | private String k; 24 | 25 | /** 26 | * V 27 | */ 28 | private String v; 29 | } 30 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/EisAuditResource.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.Date; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class EisAuditResource { 11 | /** 12 | * 自增ID 13 | */ 14 | private Long id; 15 | /* 16 | * 基准资源 17 | */ 18 | private String resource; 19 | /** 20 | * 执行时间,日期格式为yyyy-MM-dd HH:mm:ss 21 | */ 22 | private Date createTime; 23 | /** 24 | * 更新时间,日期格式为yyyy-MM-dd HH:mm:ss 25 | */ 26 | private Date updateTime; 27 | 28 | } 29 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/EisBuildRuleResource.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.Date; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class EisBuildRuleResource { 11 | /** 12 | * 自增ID 13 | */ 14 | private Long id; 15 | /* 16 | * builduuid 17 | */ 18 | private String buildUUid; 19 | /* 20 | * 埋点发布版本 21 | */ 22 | private Long ruleVerion; 23 | /** 24 | * 执行时间,日期格式为yyyy-MM-dd HH:mm:ss 25 | */ 26 | private Date createTime; 27 | /** 28 | * 更新时间,日期格式为yyyy-MM-dd HH:mm:ss 29 | */ 30 | private Date updateTime; 31 | 32 | } 33 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/EisRealtimeBranchIgnore.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class EisRealtimeBranchIgnore { 9 | 10 | /** 11 | * 自增id 12 | */ 13 | private Long id; 14 | /** 15 | * 会话ID 16 | */ 17 | private String conversationId; 18 | /** 19 | * 分支 20 | */ 21 | private String branchKey; 22 | 23 | /** 24 | * 内容 25 | */ 26 | private String content; 27 | } 28 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/Image.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import java.sql.Timestamp; 4 | import lombok.Data; 5 | import lombok.experimental.Accessors; 6 | 7 | @Data 8 | @Accessors(chain = true) 9 | public class Image { 10 | 11 | /** 12 | * 主键ID 13 | */ 14 | private Long id; 15 | /** 16 | * 图片内容 17 | */ 18 | private byte[] content; 19 | /** 20 | * 创建人邮箱 21 | */ 22 | private String createEmail; 23 | /** 24 | * 创建人名称 25 | */ 26 | private String createName; 27 | /** 28 | * 最近更新人的邮箱 29 | */ 30 | private String updateEmail; 31 | /** 32 | * 最近更新人的名称 33 | */ 34 | private String updateName; 35 | /** 36 | * 开始时间 37 | */ 38 | private Timestamp createTime; 39 | /** 40 | * 结束时间 41 | */ 42 | private Timestamp updateTime; 43 | 44 | } 45 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/ObjMappings.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.ArrayList; 7 | import java.util.HashMap; 8 | import java.util.List; 9 | import java.util.Map; 10 | 11 | /** 12 | * 对象的各种映射关系 13 | */ 14 | @Accessors(chain = true) 15 | @Data 16 | public class ObjMappings { 17 | 18 | private Map allObjNameMap = new HashMap<>(); 19 | private Map objIdToNameMap = new HashMap<>(); 20 | private Map objIdToOidMap = new HashMap<>(); 21 | private Map oidToObjIdMap = new HashMap<>(); 22 | private List objs = new ArrayList<>(); 23 | } 24 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/ObjTrackerEvent.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import java.sql.Timestamp; 4 | import lombok.Data; 5 | import lombok.ToString; 6 | import lombok.experimental.Accessors; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | @ToString 11 | public class ObjTrackerEvent { 12 | /** 13 | * 自增id 14 | */ 15 | private Long id; 16 | 17 | /** 18 | * 对象埋点ID 19 | */ 20 | private Long trackerId; 21 | /** 22 | * 事件类型ID 23 | */ 24 | private Long eventId; 25 | /** 26 | * ((事件类型)事件公参参数包的版本ID 27 | */ 28 | private Long eventParamVersionId; 29 | /** 30 | * 创建时间 31 | */ 32 | private Timestamp createTime; 33 | /** 34 | * 更新时间 35 | */ 36 | private Timestamp updateTime; 37 | } 38 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/ParamRuleAudit.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.Date; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class ParamRuleAudit { 11 | /** 12 | * 自增ID 13 | */ 14 | private Long id; 15 | /* 16 | * 对象id 17 | */ 18 | private Long objId; 19 | /* 20 | * 参数id 21 | */ 22 | private Long paramId; 23 | /* 24 | * 设置非空率 25 | */ 26 | private Integer setRate; 27 | /** 28 | * 执行时间,日期格式为yyyy-MM-dd HH:mm:ss 29 | */ 30 | private Date createTime; 31 | /** 32 | * 更新时间,日期格式为yyyy-MM-dd HH:mm:ss 33 | */ 34 | private Date updateTime; 35 | 36 | } 37 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/ReleaseRelation.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class ReleaseRelation { 9 | 10 | /** 11 | * 自增id 12 | */ 13 | private Long id; 14 | /** 15 | * 父空间releaseId 16 | */ 17 | private Long parentReleaseId; 18 | /** 19 | * 子空间releaseId 20 | */ 21 | private Long releaseId; 22 | } 23 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/TrackerContent.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.sql.Timestamp; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class TrackerContent { 11 | 12 | /** 13 | * 自增id 14 | */ 15 | private Long id; 16 | 17 | /** 18 | * trackerId 19 | */ 20 | private Long trackerId; 21 | 22 | /** 23 | * 类型 24 | */ 25 | private String type; 26 | 27 | /** 28 | * 类型 29 | */ 30 | private String content; 31 | 32 | /** 33 | * 创建时间 34 | */ 35 | private Timestamp createTime; 36 | 37 | /** 38 | * 更新时间 39 | */ 40 | private Timestamp updateTime; 41 | 42 | } 43 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/UserOuterResourceBinding.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | @Data 7 | @Accessors(chain = true) 8 | public class UserOuterResourceBinding { 9 | 10 | /** 11 | * 自增id 12 | */ 13 | private Long id; 14 | /** 15 | * 用户email 16 | */ 17 | private String email; 18 | /** 19 | * 绑定类型 20 | */ 21 | private String type; 22 | /** 23 | * 绑定value 24 | */ 25 | private String bindValue; 26 | 27 | } 28 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/checkresult/EisParamValueAggregation.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model.checkresult; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | /** 7 | * 稽查结果日志 8 | */ 9 | @Accessors(chain = true) 10 | @Data 11 | public class EisParamValueAggregation { 12 | 13 | private String buildUUID; // 所有查询都要带的必传字段,标明是查哪个包 14 | private long bucketHour; // 日志时间,按小时取整 15 | private String bucketDate; // 写入时间,按天取整,建表滚动需要 16 | private String oid; // 筛选字段,日志中标明的oid 17 | private String paramKey; // 枚举Key值 18 | private String paramValue; // 枚举Value值 19 | private long logCount; // 总数 20 | } 21 | -------------------------------------------------------------------------------- /eis-dao/src/main/java/com/netease/hz/bdms/easyinsight/dao/model/rbac/User.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.dao.model.rbac; 2 | 3 | 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | import lombok.experimental.Accessors; 7 | 8 | import java.sql.Timestamp; 9 | 10 | @Data 11 | @Accessors(chain = true) 12 | @NoArgsConstructor 13 | public class User { 14 | 15 | private Long id; 16 | private String email; 17 | private String userName; 18 | private Timestamp createTime; 19 | private Timestamp updateTime; 20 | 21 | public User(String email, String userName) { 22 | this.email = email; 23 | this.userName = userName; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/needimpl/TerminalCodeService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.needimpl; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.TerminalCodeTypeEum; 4 | import com.netease.hz.bdms.easyinsight.common.vo.obj.ObjDetailsVO; 5 | 6 | /** 7 | * 端上参数复制,需要自行实现 8 | */ 9 | public interface TerminalCodeService { 10 | 11 | String getCode(TerminalCodeTypeEum terminalCodeTypeEum, ObjDetailsVO objDetailsVO); 12 | } 13 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/ImageRelationService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.image.ImageRelationDTO; 4 | 5 | import java.util.Collection; 6 | import java.util.List; 7 | 8 | public interface ImageRelationService { 9 | void create(ImageRelationDTO imageRelationDTO); 10 | 11 | void createBatch(List imageRelationDTOs); 12 | 13 | List getByEntityId(Collection entityIds); 14 | 15 | Integer deleteImageRelation(Collection entityIds, Integer entityType); 16 | } 17 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/ObjTrackerEventService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.obj.tracker.event.ObjTrackerEventSimpleDTO; 4 | 5 | import java.util.Collection; 6 | import java.util.List; 7 | 8 | public interface ObjTrackerEventService { 9 | 10 | void createTrackerEvents(List trackerEvents); 11 | 12 | Integer getSizeByEventId(Collection eventIds); 13 | 14 | List getByTrackerId(Collection trackerIds); 15 | 16 | Integer deleteEventByTrackerId(Collection trackerIds); 17 | 18 | Integer deleteByTrackerIdAndEventId(Long trackerId, Long eventId); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/ParamBindValueService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.param.parambind.ParamBindValueSimpleDTO; 4 | 5 | import java.util.Collection; 6 | import java.util.List; 7 | import java.util.Map; 8 | import java.util.Set; 9 | 10 | public interface ParamBindValueService { 11 | void createParamBindValue(List param); 12 | 13 | Integer deleteByBindIds(List bindIds); 14 | 15 | Integer deleteByBindId(Long bindId); 16 | 17 | List getByBindIds(Set bindIds); 18 | 19 | Map getParamValueUsed(Collection paramValueIds); 20 | } 21 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/ParamValueService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.param.ParamValueSimpleDTO; 4 | 5 | import java.util.Collection; 6 | import java.util.List; 7 | import java.util.Set; 8 | 9 | public interface ParamValueService { 10 | List getById(Long id, String search); 11 | 12 | List getByIds(Set paramValueIds); 13 | 14 | Integer getSizeById(Long id); 15 | 16 | Integer deleteValue(Collection paramValueIds); 17 | 18 | void updateValue(List updateValues); 19 | 20 | void addValue(List addValues); 21 | 22 | List getByParamIds(Set paramIds); 23 | 24 | Integer deleteByParamId(Long paramId); 25 | } 26 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/RuleTemplateService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.param.paramvalue.RuleTemplateSimpleDTO; 4 | 5 | import java.util.List; 6 | 7 | public interface RuleTemplateService { 8 | 9 | 10 | List getAllRuleTemplate(); 11 | 12 | void add(RuleTemplateSimpleDTO dto); 13 | 14 | void delete(Long id); 15 | } 16 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/SpmMapInfoService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.spm.SpmMapInfoDTO; 4 | 5 | import java.util.Collection; 6 | import java.util.List; 7 | 8 | public interface SpmMapInfoService { 9 | List create(Collection spmMapInfoDTOList); 10 | 11 | SpmMapInfoDTO getByPrimaryKey(Long id); 12 | 13 | /** 14 | * 按条件删除 15 | * @param spmMapInfoDTO 16 | * @return 17 | */ 18 | Integer delete(SpmMapInfoDTO spmMapInfoDTO); 19 | 20 | void deleteAll(); 21 | } 22 | 23 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/SpmTagService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.tag.SpmTagSimpleDTO; 4 | 5 | import java.util.Collection; 6 | import java.util.List; 7 | 8 | /** 9 | * @author: xumengqiang 10 | * @date: 2021/11/10 15:23 11 | */ 12 | public interface SpmTagService { 13 | 14 | List create(Collection spmTagSimpleDTOS); 15 | 16 | @Deprecated 17 | Integer deleteBySpmId(Collection spmIds); 18 | 19 | List getBySpmIds(Collection spmIds); 20 | 21 | Integer deleteByIds(Collection ids); 22 | } 23 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/TagService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.dto.tag.TagSimpleDTO; 4 | 5 | import java.util.Collection; 6 | import java.util.List; 7 | 8 | public interface TagService { 9 | Long create(TagSimpleDTO tagSimpleDTO); 10 | 11 | List getByIds(Collection tagIds); 12 | 13 | List searchTags(String keyword, Integer type, Integer offset, Integer count, String orderBy, String orderRule); 14 | 15 | TagSimpleDTO getTag(Long appId, Integer type, String name); 16 | 17 | Integer selectTotal(Long appId, Integer type, String keyword); 18 | 19 | List search(TagSimpleDTO query); 20 | 21 | List getAllTags(Long appId); 22 | } 23 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/TaskSourceComposer.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.ReqSourceEnum; 4 | import com.netease.hz.bdms.easyinsight.common.vo.requirement.TaskDetailVO; 5 | 6 | public interface TaskSourceComposer { 7 | 8 | ReqSourceEnum getType(); 9 | 10 | /** 11 | * @return 是否组装了数据 12 | */ 13 | boolean compose(TaskDetailVO taskDetailVO); 14 | } 15 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/VersionSourceComposer.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.VersionSourceEnum; 4 | import com.netease.hz.bdms.easyinsight.common.vo.requirement.VersionBaseVO; 5 | 6 | public interface VersionSourceComposer { 7 | 8 | VersionSourceEnum getType(); 9 | 10 | /** 11 | * @return 是否组装了数据 12 | */ 13 | boolean compose(VersionBaseVO versionBaseVO); 14 | } 15 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/asynchandle/TaskAndProcessUpdateHandler.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service.asynchandle; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisReqTask; 4 | import com.netease.hz.bdms.easyinsight.dao.model.EisTaskProcess; 5 | 6 | import java.util.List; 7 | 8 | public interface TaskAndProcessUpdateHandler { 9 | /** 10 | * 同步任务状态 + 任务进度 11 | */ 12 | void onTaskAndProcessUpdate(EisReqTask task, List processes); 13 | } 14 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/asynchandle/VersionReleaseHandler.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service.asynchandle; 2 | 3 | public interface VersionReleaseHandler { 4 | /** 5 | * 同步任务状态 + 任务进度 6 | */ 7 | void onTerminalReleaseSuccess(Long terminalId, Long terminalVersionId); 8 | } 9 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/asynchandle/imp/DefaultTaskAndProcessUpdateHandler.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service.asynchandle.imp; 2 | 3 | import com.netease.hz.bdms.easyinsight.dao.model.EisReqTask; 4 | import com.netease.hz.bdms.easyinsight.dao.model.EisTaskProcess; 5 | import com.netease.hz.bdms.easyinsight.service.service.asynchandle.TaskAndProcessUpdateHandler; 6 | import org.springframework.stereotype.Service; 7 | 8 | import java.util.List; 9 | 10 | @Service 11 | public class DefaultTaskAndProcessUpdateHandler implements TaskAndProcessUpdateHandler { 12 | @Override 13 | public void onTaskAndProcessUpdate(EisReqTask task, List processes) { 14 | // do nothing 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/asynchandle/imp/DefaultVersionReleaseHandler.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service.asynchandle.imp; 2 | 3 | import com.netease.hz.bdms.easyinsight.service.service.asynchandle.VersionReleaseHandler; 4 | import org.springframework.stereotype.Service; 5 | 6 | @Service 7 | public class DefaultVersionReleaseHandler implements VersionReleaseHandler { 8 | 9 | @Override 10 | public void onTerminalReleaseSuccess(Long terminalId, Long terminalVersionId) { 11 | // do nothing 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/impl/DefaultTaskSourceComposer.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service.impl; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.ReqSourceEnum; 4 | import com.netease.hz.bdms.easyinsight.common.vo.requirement.TaskDetailVO; 5 | import com.netease.hz.bdms.easyinsight.service.service.TaskSourceComposer; 6 | import org.springframework.stereotype.Service; 7 | 8 | @Service 9 | public class DefaultTaskSourceComposer implements TaskSourceComposer { 10 | 11 | @Override 12 | public ReqSourceEnum getType() { 13 | return null; 14 | } 15 | 16 | @Override 17 | public boolean compose(TaskDetailVO taskDetailVO) { 18 | return true; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/impl/DefaultVersionSourceComposer.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service.impl; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.VersionSourceEnum; 4 | import com.netease.hz.bdms.easyinsight.common.vo.requirement.VersionBaseVO; 5 | import com.netease.hz.bdms.easyinsight.service.service.VersionSourceComposer; 6 | import org.springframework.stereotype.Service; 7 | 8 | @Service 9 | public class DefaultVersionSourceComposer implements VersionSourceComposer { 10 | @Override 11 | public VersionSourceEnum getType() { 12 | return null; 13 | } 14 | 15 | @Override 16 | public boolean compose(VersionBaseVO versionBaseVO) { 17 | return true; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/easyinsight/service/service/impl/EnvironmentService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.service.service.impl; 2 | 3 | import org.springframework.beans.factory.annotation.Value; 4 | import org.springframework.stereotype.Service; 5 | 6 | @Service 7 | public class EnvironmentService { 8 | 9 | @Value("${spring.profiles.active}") 10 | private String env; 11 | 12 | public boolean isTest() { 13 | return "test".equals(env); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/entity/AppPushMessage.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.entity; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class AppPushMessage { 7 | private String content; 8 | private String action; 9 | } 10 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/entity/BloodLinkQuery.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.entity; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class BloodLinkQuery { 7 | Long taskId; 8 | 9 | Long terminalId; 10 | 11 | Long domainId; 12 | 13 | Long appId; 14 | } 15 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/entity/BuryPointErrorContent.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.entity; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 7 | * @author wangliangyuan 8 | * @date 2021-08-26 下午 05:55 9 | */ 10 | @Data 11 | public class BuryPointErrorContent { 12 | private Boolean et; 13 | private String os; 14 | private String key; 15 | private Integer code; 16 | private String content; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/entity/BuryPointLog.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.entity; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class BuryPointLog { 7 | private String action; 8 | private String content; 9 | private Long index; 10 | private Long logTime; 11 | private String os; 12 | private String logtype; 13 | private Boolean et; 14 | } 15 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/entity/ClientBasicInfo.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.entity; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class ClientBasicInfo { 7 | private Boolean appStore; 8 | private Boolean release; 9 | private String appVer; 10 | private Boolean dev; 11 | //用户id 12 | private String userid; 13 | //是否匿名 14 | private Boolean anonymous; 15 | private String username; 16 | private String platform; 17 | //设备型号 18 | private String deviceName; 19 | //设备品牌 20 | private String channel; 21 | private String appName; 22 | private String sysVer; 23 | } 24 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/ws/config/ScheduledConfig.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.ws.config; 2 | 3 | 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.context.annotation.Configuration; 6 | import org.springframework.scheduling.TaskScheduler; 7 | import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; 8 | 9 | @Configuration 10 | public class ScheduledConfig { 11 | 12 | @Bean 13 | public TaskScheduler taskScheduler() { 14 | ThreadPoolTaskScheduler scheduling = new ThreadPoolTaskScheduler(); 15 | scheduling.setPoolSize(10); 16 | scheduling.initialize(); 17 | return scheduling; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/ws/dto/EvictingBlockingQueue.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.ws.dto; 2 | 3 | import java.util.concurrent.ArrayBlockingQueue; 4 | import java.util.concurrent.TimeUnit; 5 | 6 | /** 7 | * @author sguo 8 | */ 9 | public class EvictingBlockingQueue extends ArrayBlockingQueue { 10 | public EvictingBlockingQueue(int capacity) { 11 | super(capacity); 12 | } 13 | 14 | @Override 15 | public boolean offer(E e) { 16 | while (!super.offer(e)) { 17 | poll(); 18 | } 19 | return true; 20 | } 21 | 22 | @Override 23 | public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { 24 | while (!super.offer(e, timeout, unit)) { 25 | poll(); 26 | } 27 | return true; 28 | } 29 | } -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/ws/dto/PcStorage.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.ws.dto; 2 | 3 | import com.netease.hz.bdms.eistest.ws.dto.BuryPointMetaInfo; 4 | import com.netease.hz.bdms.eistest.ws.dto.Storage; 5 | import lombok.Getter; 6 | import lombok.Setter; 7 | 8 | /** 9 | * @author sguo 10 | */ 11 | public class PcStorage implements Storage { 12 | @Getter 13 | @Setter 14 | private boolean logOnly; 15 | @Getter 16 | @Setter 17 | private BuryPointMetaInfo metaInfo; 18 | 19 | @Override 20 | public void close() { 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/ws/dto/Storage.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.ws.dto; 2 | 3 | import org.springframework.util.concurrent.ListenableFuture; 4 | 5 | /** 6 | * @author sguo 7 | */ 8 | public interface Storage { 9 | void close(); 10 | } 11 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/ws/session/ScanSession.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.ws.session; 2 | 3 | 4 | import com.netease.hz.bdms.eistest.ws.dto.Storage; 5 | import com.netease.hz.bdms.eistest.ws.session.AbstractSession; 6 | import com.netease.hz.bdms.eistest.ws.session.WebSocketSessionScope; 7 | import lombok.ToString; 8 | import lombok.extern.slf4j.Slf4j; 9 | import org.springframework.web.socket.WebSocketSession; 10 | 11 | /** 12 | * @author sguo 13 | */ 14 | @Slf4j 15 | @ToString(callSuper = true) 16 | public class ScanSession extends AbstractSession { 17 | 18 | public ScanSession(WebSocketSession session, WebSocketSessionScope scope, String code) { 19 | super(session,scope,code); 20 | } 21 | 22 | @Override 23 | public Storage getStorage() { 24 | return null; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/ws/session/WebSocketSessionScope.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.ws.session; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | /** 7 | * WebSocketSession 的作用域 8 | * 9 | * @author wangliangyuan 10 | * @date 2021-09-08 上午 10:53 11 | */ 12 | @Getter 13 | @AllArgsConstructor 14 | public enum WebSocketSessionScope { 15 | QR_CODE("二维码"), 16 | PC("PC 端"), 17 | APP("移动端"); 18 | 19 | /** 20 | * 作用域 21 | */ 22 | private final String scope; 23 | } 24 | -------------------------------------------------------------------------------- /eis-service-core/src/main/java/com/netease/hz/bdms/eistest/ws/session/WsSession.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.ws.session; 2 | 3 | import com.netease.hz.bdms.eistest.ws.dto.Storage; 4 | import org.springframework.web.socket.CloseStatus; 5 | import org.springframework.web.socket.WebSocketSession; 6 | 7 | /** 8 | * @author sguo 9 | */ 10 | public interface WsSession { 11 | void close(CloseStatus closeStatus); 12 | 13 | String getCode(); 14 | 15 | Storage getStorage(); 16 | 17 | void sendData(String text); 18 | 19 | WebSocketSession getRaw(); 20 | } 21 | -------------------------------------------------------------------------------- /eis-web-core/src/main/java/com/netease/hz/bdms/easyinsight/web/core/controller/ConnectionTestController.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.web.core.controller; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.http.HttpResult; 4 | import lombok.extern.slf4j.Slf4j; 5 | import org.springframework.web.bind.annotation.GetMapping; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | import org.springframework.web.bind.annotation.RestController; 8 | 9 | @Slf4j 10 | @RequestMapping("/connection") 11 | @RestController 12 | public class ConnectionTestController { 13 | 14 | @GetMapping("/test") 15 | public HttpResult testConnection() { 16 | return HttpResult.success("OK"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /eis-web-core/src/main/java/com/netease/hz/bdms/eistest/web/controller/HomeController.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.eistest.web.controller; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.http.HttpResult; 4 | import org.springframework.web.bind.annotation.GetMapping; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | import org.springframework.web.bind.annotation.RestController; 7 | 8 | @RestController 9 | @RequestMapping("/processor/v1") 10 | public class HomeController { 11 | @GetMapping(value = {"/", "/index", "/home"}) 12 | public HttpResult home() { 13 | return HttpResult.success("Welcome To Use EasyInsight Processor"); 14 | } 15 | 16 | @GetMapping(value = "/health/status") 17 | public HttpResult health() { 18 | return HttpResult.success("Server is healthy"); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /eis-web-demo/src/main/java/com/netease/hz/bdms/easyinsight/web/demo/DemoTerminalCodeService.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.web.demo; 2 | 3 | import com.netease.hz.bdms.easyinsight.common.enums.TerminalCodeTypeEum; 4 | import com.netease.hz.bdms.easyinsight.common.vo.obj.ObjDetailsVO; 5 | import com.netease.hz.bdms.easyinsight.service.needimpl.TerminalCodeService; 6 | import org.springframework.stereotype.Service; 7 | 8 | @Service 9 | public class DemoTerminalCodeService implements TerminalCodeService { 10 | 11 | @Override 12 | public String getCode(TerminalCodeTypeEum terminalCodeTypeEum, ObjDetailsVO objDetailsVO) { 13 | return "Copied Code"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /eis-web-demo/src/main/java/com/netease/hz/bdms/easyinsight/web/demo/adapters/DemoFileUploadAdapter.java: -------------------------------------------------------------------------------- 1 | package com.netease.hz.bdms.easyinsight.web.demo.adapters; 2 | 3 | import com.netease.eis.adapters.FileUploadAdapter; 4 | import org.springframework.stereotype.Service; 5 | 6 | import java.io.InputStream; 7 | 8 | @Service 9 | public class DemoFileUploadAdapter implements FileUploadAdapter { 10 | 11 | @Override 12 | public String put(String key, InputStream inputStream, Long contentLength, String contentType) { 13 | return "http://mdgl.nos-jd.163yun.com/test_20221218160733d2b5ca33456.png"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /eis-web-demo/src/main/resources/banner.txt: -------------------------------------------------------------------------------- 1 | ${AnsiColor.CYAN} 2 | 3 | 4 | 【曙光埋点服务端】 5 | 【网易云音乐技术团队荣誉出品】 6 | 7 | 8 | Spring Boot Version: ${spring-boot.formatted-version} 9 | =========================================================== 10 | 11 | --------------------------------------------------------------------------------