├── .gitee └── ISSUE_TEMPLATE │ ├── bug.yml │ ├── config.yml │ └── feature.yml ├── .github └── ISSUE_TEMPLATE │ ├── bug.yml │ ├── config.yml │ └── feature.yml ├── .gitignore ├── LICENSE ├── README.md ├── pom.xml ├── vue └── y9vue-dataFlowEngine │ ├── .env.development │ ├── .env.production │ ├── .env.test │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── prettier.config.js │ ├── public │ └── yun.ico │ ├── src │ ├── App.vue │ ├── api │ │ ├── businessClassify │ │ │ └── index.ts │ │ ├── dataSource │ │ │ └── index.ts │ │ ├── dispatch │ │ │ └── index.ts │ │ ├── engineConfig │ │ │ └── index.ts │ │ ├── homeData │ │ │ └── index.ts │ │ ├── interface │ │ │ └── index.ts │ │ ├── lib │ │ │ └── request.js │ │ ├── libraryTable │ │ │ └── index.ts │ │ ├── login │ │ │ └── index.ts │ │ ├── processAdmin │ │ │ └── processModel.ts │ │ ├── safety │ │ │ ├── index.ts │ │ │ └── whitelistManagement.ts │ │ ├── serverNode │ │ │ └── index.ts │ │ ├── systemManagement │ │ │ ├── authManagement.ts │ │ │ ├── roleManagement.ts │ │ │ └── userInfo.ts │ │ └── taskConfig │ │ │ └── index.ts │ ├── assets │ │ ├── css │ │ │ └── nprogress.css │ │ ├── icons │ │ │ ├── png │ │ │ │ ├── cloud.png │ │ │ │ ├── file.png │ │ │ │ ├── folder-open.png │ │ │ │ ├── metro.png │ │ │ │ ├── node_home.png │ │ │ │ ├── node_system.png │ │ │ │ ├── search.png │ │ │ │ ├── user_female.png │ │ │ │ ├── user_gray.png │ │ │ │ └── user_male.png │ │ │ ├── svg │ │ │ │ ├── ask.svg │ │ │ │ ├── chart.svg │ │ │ │ ├── components.svg │ │ │ │ ├── control.svg │ │ │ │ ├── editor.svg │ │ │ │ ├── history.svg │ │ │ │ ├── home.svg │ │ │ │ ├── image-text.svg │ │ │ │ ├── layers.svg │ │ │ │ ├── message.svg │ │ │ │ ├── monitoring.svg │ │ │ │ ├── other.svg │ │ │ │ ├── page.svg │ │ │ │ ├── pagedetails.svg │ │ │ │ ├── pageform.svg │ │ │ │ ├── pagelist.svg │ │ │ │ ├── roles.svg │ │ │ │ ├── s-fold.svg │ │ │ │ ├── s-unfold.svg │ │ │ │ ├── set.svg │ │ │ │ ├── tree.svg │ │ │ │ ├── users.svg │ │ │ │ └── y9-logo.svg │ │ │ └── treeIcon │ │ │ │ ├── chart_organization.png │ │ │ │ ├── folder_user.png │ │ │ │ ├── group.png │ │ │ │ ├── user_female.png │ │ │ │ └── user_male.png │ │ ├── iconsvg │ │ │ ├── arrow-down.svg │ │ │ ├── arrow-left.svg │ │ │ ├── arrow-left2.svg │ │ │ ├── arrow-right.svg │ │ │ ├── arrow-right2.svg │ │ │ ├── arrow-up.svg │ │ │ ├── chart.svg │ │ │ ├── close.svg │ │ │ ├── close2.svg │ │ │ ├── components.svg │ │ │ ├── control.svg │ │ │ ├── detail.svg │ │ │ ├── edit.svg │ │ │ ├── editor.svg │ │ │ ├── home.svg │ │ │ ├── icon.svg │ │ │ ├── language-outline.svg │ │ │ ├── list.svg │ │ │ ├── menu-fold.svg │ │ │ ├── menu-unfold.svg │ │ │ ├── message.svg │ │ │ ├── more.svg │ │ │ ├── page.svg │ │ │ ├── permissions.svg │ │ │ ├── pwd.svg │ │ │ ├── refresh.svg │ │ │ ├── search.svg │ │ │ ├── set.svg │ │ │ ├── svgo.yml │ │ │ └── user.svg │ │ └── images │ │ │ ├── app-icon.png │ │ │ ├── bg-smooth.jpg │ │ │ ├── bg.jpg │ │ │ ├── dataflowEnginePro │ │ │ └── 暂无数据 (2).png │ │ │ ├── logo.png │ │ │ ├── meeting.jpg │ │ │ ├── menu-bg1.png │ │ │ ├── menu-bg10.png │ │ │ ├── menu-bg5.png │ │ │ ├── menu-bg7.png │ │ │ ├── menu-bg8.png │ │ │ ├── menu-bg9.png │ │ │ ├── touxiang.png │ │ │ ├── youshengyunLogo.png │ │ │ ├── yun.png │ │ │ └── yunLogo.png │ ├── components │ │ ├── bpmnModel │ │ │ ├── modules │ │ │ │ ├── auto-place │ │ │ │ │ ├── CustomAutoPlace.js │ │ │ │ │ └── index.js │ │ │ │ ├── custom-renderer │ │ │ │ │ ├── CustomRenderer.js │ │ │ │ │ └── index.js │ │ │ │ └── rules │ │ │ │ │ ├── CustomRules.js │ │ │ │ │ └── index.js │ │ │ ├── package │ │ │ │ ├── Log.js │ │ │ │ ├── designer │ │ │ │ │ ├── ProcessDesigner.vue │ │ │ │ │ ├── index.js │ │ │ │ │ ├── parseProcessXml.ts │ │ │ │ │ └── plugins │ │ │ │ │ │ ├── content-pad │ │ │ │ │ │ ├── contentPadProvider.js │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── defaultEmpty.js │ │ │ │ │ │ ├── descriptor │ │ │ │ │ │ ├── activitiDescriptor.json │ │ │ │ │ │ ├── camundaDescriptor.json │ │ │ │ │ │ └── flowableDescriptor.json │ │ │ │ │ │ ├── extension-moddle │ │ │ │ │ │ ├── activiti │ │ │ │ │ │ │ ├── activitiExtension.js │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── camunda │ │ │ │ │ │ │ ├── extension.js │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ └── flowable │ │ │ │ │ │ │ ├── flowableExtension.js │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── palette │ │ │ │ │ │ ├── CustomPalette.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── paletteProvider.js │ │ │ │ │ │ └── translate │ │ │ │ │ │ ├── customTranslate.js │ │ │ │ │ │ └── zh.js │ │ │ │ ├── index.js │ │ │ │ ├── palette │ │ │ │ │ ├── ProcessPalette.vue │ │ │ │ │ └── index.js │ │ │ │ ├── penal │ │ │ │ │ ├── PropertiesPanel.vue │ │ │ │ │ ├── base │ │ │ │ │ │ └── ElementBaseInfo.vue │ │ │ │ │ ├── flow-condition │ │ │ │ │ │ └── FlowCondition.vue │ │ │ │ │ ├── form │ │ │ │ │ │ └── ElementForm.vue │ │ │ │ │ ├── index.js │ │ │ │ │ ├── listeners │ │ │ │ │ │ ├── ElementListeners.vue │ │ │ │ │ │ ├── UserTaskListeners.vue │ │ │ │ │ │ ├── template.js │ │ │ │ │ │ └── utilSelf.js │ │ │ │ │ ├── multi-instance │ │ │ │ │ │ └── ElementMultiInstance.vue │ │ │ │ │ ├── other │ │ │ │ │ │ └── ElementOtherConfig.vue │ │ │ │ │ ├── properties │ │ │ │ │ │ └── ElementProperties.vue │ │ │ │ │ ├── signal-message │ │ │ │ │ │ └── SignalAndMessage.vue │ │ │ │ │ └── task │ │ │ │ │ │ ├── ElementTask.vue │ │ │ │ │ │ └── task-components │ │ │ │ │ │ ├── ReceiveTask.vue │ │ │ │ │ │ ├── ScriptTask.vue │ │ │ │ │ │ └── UserTask.vue │ │ │ │ ├── theme │ │ │ │ │ ├── element-variables.scss │ │ │ │ │ ├── index.scss │ │ │ │ │ ├── process-designer.scss │ │ │ │ │ └── process-panel.scss │ │ │ │ └── utils.js │ │ │ └── utils │ │ │ │ └── min-dash.js │ │ └── pageModule │ │ │ ├── fixedTreeModule.vue │ │ │ ├── selectTree.vue │ │ │ └── treeSort.vue │ ├── language │ │ ├── en.json │ │ ├── index.ts │ │ └── zh.json │ ├── layouts │ │ ├── Y9-default │ │ │ ├── Left.vue │ │ │ ├── RightTop.vue │ │ │ └── index.vue │ │ ├── Y9-horizontal │ │ │ ├── Navs.vue │ │ │ ├── RightTop.vue │ │ │ └── index.vue │ │ ├── Y9-mobile │ │ │ ├── Left.vue │ │ │ ├── RightTop.vue │ │ │ └── index.vue │ │ ├── components │ │ │ ├── ALink │ │ │ │ └── index.vue │ │ │ ├── BreadCrumbs │ │ │ │ └── index.vue │ │ │ ├── Icon.vue │ │ │ ├── IconSvg │ │ │ │ ├── index.ts │ │ │ │ ├── index.vue │ │ │ │ └── plugin.ts │ │ │ ├── Lock │ │ │ │ ├── index.vue │ │ │ │ └── pass.vue │ │ │ ├── RightTabNav.vue │ │ │ ├── RightTopMessage.vue │ │ │ ├── RightTopUser.vue │ │ │ ├── SettingsMobile.vue │ │ │ ├── SiderMenu.vue │ │ │ ├── SiderMenuItem.vue │ │ │ ├── Tabs │ │ │ │ └── index.vue │ │ │ ├── search │ │ │ │ └── index.vue │ │ │ └── useTopMenuWidth.ts │ │ └── index.vue │ ├── main.ts │ ├── router │ │ ├── checkRole.js │ │ ├── checkRouter.js │ │ ├── getInitData.js │ │ ├── index.ts │ │ └── modules │ │ │ ├── businessClassifyRouter.ts │ │ │ ├── dataSourceRouter.ts │ │ │ ├── dispatchRouter.ts │ │ │ ├── homeRouter.ts │ │ │ ├── interfaceRouter.ts │ │ │ ├── libraryTableRouter.ts │ │ │ ├── logMonitoringRouter.ts │ │ │ ├── processDesignRouter.ts │ │ │ ├── ruleConfigRouter.ts │ │ │ ├── safetyRouter.ts │ │ │ ├── serverNodeRouter.ts │ │ │ ├── systemManagementRouter.ts │ │ │ └── taskConfigRouter.ts │ ├── settings.ts │ ├── store │ │ ├── index.ts │ │ └── modules │ │ │ ├── bpmnStore.ts │ │ │ ├── routerStore.ts │ │ │ └── settingStore.ts │ ├── theme │ │ ├── blue │ │ │ └── blue.scss │ │ ├── dark │ │ │ └── dark.scss │ │ ├── default │ │ │ └── default.scss │ │ ├── global-vars.scss │ │ ├── global.scss │ │ └── green │ │ │ └── green.scss │ ├── utils │ │ ├── directive.ts │ │ ├── echarts.ts │ │ ├── index.ts │ │ ├── object.ts │ │ ├── routes.ts │ │ ├── storage.js │ │ ├── validate.ts │ │ └── watermark.ts │ └── views │ │ ├── 401 │ │ └── index.vue │ │ ├── 404 │ │ └── index.vue │ │ ├── businessClassify │ │ ├── index.vue │ │ ├── tableIndex │ │ │ └── index.vue │ │ └── treeIndex │ │ │ ├── comps │ │ │ └── baseInfoForm.vue │ │ │ └── index.vue │ │ ├── dataSource │ │ ├── comps │ │ │ ├── dataSource │ │ │ │ └── dataForm.vue │ │ │ ├── dataSourceType │ │ │ │ └── index.vue │ │ │ └── dialog │ │ │ │ └── index.vue │ │ ├── enums.ts │ │ └── index.vue │ │ ├── dispatch │ │ ├── comp │ │ │ ├── executionTime │ │ │ │ └── index.vue │ │ │ ├── result │ │ │ │ └── index.vue │ │ │ ├── saveTask │ │ │ │ ├── comp │ │ │ │ │ ├── tooltips.vue │ │ │ │ │ └── ve-cron │ │ │ │ │ │ ├── Cycle.ts │ │ │ │ │ │ ├── InitiationCycle.ts │ │ │ │ │ │ ├── day │ │ │ │ │ │ └── index.vue │ │ │ │ │ │ ├── hour │ │ │ │ │ │ └── index.vue │ │ │ │ │ │ ├── index.vue │ │ │ │ │ │ ├── minutes │ │ │ │ │ │ └── index.vue │ │ │ │ │ │ ├── month │ │ │ │ │ │ └── index.vue │ │ │ │ │ │ ├── seconds │ │ │ │ │ │ └── index.vue │ │ │ │ │ │ ├── weeks │ │ │ │ │ │ └── index.vue │ │ │ │ │ │ └── years │ │ │ │ │ │ └── index.vue │ │ │ │ ├── data.ts │ │ │ │ └── index.vue │ │ │ └── scheduleOnce │ │ │ │ └── index.vue │ │ ├── dispatchingLog │ │ │ └── index.vue │ │ ├── failLog │ │ │ └── index.vue │ │ ├── groupingLog │ │ │ ├── comp │ │ │ │ └── logAnalysisReport │ │ │ │ │ └── index.vue │ │ │ └── index.vue │ │ ├── index.vue │ │ └── waitLog │ │ │ └── index.vue │ │ ├── home │ │ ├── comp │ │ │ └── dispatchingChart │ │ │ │ ├── data.ts │ │ │ │ ├── index.vue │ │ │ │ └── schedulingInfo.vue │ │ └── index.vue │ │ ├── interface │ │ ├── editParams.vue │ │ ├── index.vue │ │ └── paramsList.vue │ │ ├── libraryTable │ │ ├── component │ │ │ ├── DataSheet │ │ │ │ ├── component │ │ │ │ │ └── EditorForm.vue │ │ │ │ ├── copyTable.vue │ │ │ │ ├── data.ts │ │ │ │ └── index.vue │ │ │ ├── TreeTable │ │ │ │ ├── component │ │ │ │ │ └── ExtractTable │ │ │ │ │ │ └── index.vue │ │ │ │ └── index.vue │ │ │ └── index.ts │ │ └── index.vue │ │ ├── logMonitoring │ │ ├── dataComparisonMonitoring │ │ │ └── index.vue │ │ ├── serverNodeMonitoring │ │ │ └── index.vue │ │ └── taskRealtimeLog │ │ │ └── index.vue │ │ ├── login copy │ │ ├── index.vue │ │ └── static │ │ │ ├── css │ │ │ ├── default.css │ │ │ ├── layerMsg.css │ │ │ ├── loaders.css │ │ │ ├── mediaIndex.css │ │ │ ├── normalize.css │ │ │ ├── styles.css │ │ │ └── verify.css │ │ │ ├── fonts │ │ │ ├── icomoon.eot │ │ │ ├── icomoon.svg │ │ │ ├── icomoon.ttf │ │ │ └── icomoon.woff │ │ │ ├── images │ │ │ └── 5.png │ │ │ ├── img │ │ │ ├── favicon.ico │ │ │ ├── key.png │ │ │ ├── lock_icon_copy.png │ │ │ ├── loginbg-1.png │ │ │ ├── loginbg.png │ │ │ ├── loginbg.svg │ │ │ ├── logo-1.svg │ │ │ ├── logo.png │ │ │ ├── logo.svg │ │ │ ├── puff.svg │ │ │ ├── pwd.svg │ │ │ ├── tick.png │ │ │ ├── title.svg │ │ │ ├── user.svg │ │ │ ├── user_icon_copy.png │ │ │ ├── wxts.png │ │ │ └── wxts.svg │ │ │ ├── js │ │ │ ├── Particleground.js │ │ │ ├── Treatment.js │ │ │ ├── jquery-2.1.1.min.js │ │ │ ├── jquery.mockjax.js │ │ │ ├── jsencrypt.min.js │ │ │ ├── layerMsg.js │ │ │ ├── stopExecutionOnTimeout.js │ │ │ └── verify.js │ │ │ └── layui │ │ │ ├── css │ │ │ ├── global.css │ │ │ ├── layui.css │ │ │ ├── layui.mobile.css │ │ │ └── modules │ │ │ │ ├── code.css │ │ │ │ ├── laydate │ │ │ │ ├── icon.png │ │ │ │ └── laydate.css │ │ │ │ └── layer │ │ │ │ └── default │ │ │ │ ├── icon-ext.png │ │ │ │ ├── icon.png │ │ │ │ ├── layer.css │ │ │ │ ├── loading-0.gif │ │ │ │ ├── loading-1.gif │ │ │ │ └── loading-2.gif │ │ │ ├── font │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.svg │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ └── iconfont.woff2 │ │ │ ├── lay │ │ │ └── modules │ │ │ │ ├── code.js │ │ │ │ ├── element.js │ │ │ │ ├── flow.js │ │ │ │ ├── form.js │ │ │ │ ├── laydate.js │ │ │ │ ├── layedit.js │ │ │ │ ├── layer.js │ │ │ │ ├── laypage.js │ │ │ │ ├── laytpl.js │ │ │ │ ├── mobile.js │ │ │ │ ├── tree.js │ │ │ │ ├── upload.js │ │ │ │ └── util.js │ │ │ └── layui.js │ │ ├── login │ │ ├── index.vue │ │ └── static │ │ │ └── images │ │ │ ├── bg.png │ │ │ ├── bjb.png │ │ │ ├── lock-line.png │ │ │ ├── user-shared-line (1).png │ │ │ ├── 单点登录-背景色.png │ │ │ ├── 数据流引擎单点登录-大背景图.png │ │ │ ├── 数据流引擎系统文字logo-更新.png │ │ │ ├── 数据流水线-更新.png │ │ │ └── 有生LOGO白色.png │ │ ├── processDesign │ │ ├── bpmnModel.vue │ │ ├── index.vue │ │ └── logList.vue │ │ ├── ruleConfig │ │ └── engineConfig │ │ │ ├── comps │ │ │ └── paramsList.vue │ │ │ └── index.vue │ │ ├── safety │ │ ├── index.vue │ │ └── whitelistManagement │ │ │ └── index.vue │ │ ├── serverNode │ │ ├── comps │ │ │ ├── chartExample.vue │ │ │ └── operationDiagram.vue │ │ └── index.vue │ │ ├── systemManagement │ │ ├── authManagement │ │ │ ├── comps │ │ │ │ └── userAuthTable.vue │ │ │ └── index.vue │ │ ├── roleManagement │ │ │ ├── comps │ │ │ │ └── JobTypeDialog.vue │ │ │ └── index.vue │ │ └── userInfo │ │ │ └── index.vue │ │ ├── taskConfig │ │ ├── comps │ │ │ ├── component │ │ │ │ ├── addTask.vue │ │ │ │ ├── comp │ │ │ │ │ ├── channel.vue │ │ │ │ │ ├── exchange.vue │ │ │ │ │ ├── executor.vue │ │ │ │ │ └── plugs.vue │ │ │ │ ├── goalTable.vue │ │ │ │ ├── successTask.vue │ │ │ │ ├── tableSet.vue │ │ │ │ └── taskSet.vue │ │ │ ├── data.ts │ │ │ ├── newTask.vue │ │ │ ├── newTask2.vue │ │ │ └── taskInfo.vue │ │ └── index.vue │ │ └── test │ │ ├── apiUtils.js │ │ ├── comps │ │ ├── BodyTypeComp.vue │ │ └── Y9Table2Comp.vue │ │ ├── index.vue │ │ └── readme.md │ ├── tsconfig.json │ └── vite.config.js └── y9-module-dataflow ├── pom.xml ├── risenet-y9boot-beta-api ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risedata │ └── register │ ├── config │ ├── CommonAutoConfig.java │ └── ListenerConfigs.java │ ├── exceptions │ └── RegisterException.java │ ├── model │ ├── Const.java │ ├── FileModel.java │ ├── RegisterServerAPI.java │ └── WatchProperties.java │ ├── service │ ├── IServiceInstance.java │ ├── IServiceInstanceFactory.java │ └── RegisterDiscoveryProperties.java │ └── utils │ └── CompareUtil.java ├── risenet-y9boot-beta-client ├── pom.xml └── src │ └── main │ ├── java │ └── net │ │ └── risedata │ │ └── register │ │ ├── annotations │ │ └── EnableSystem.java │ │ ├── api │ │ ├── filter │ │ │ ├── ListenerFilter.java │ │ │ └── listener │ │ │ │ ├── CountListener.java │ │ │ │ └── HttpListener.java │ │ └── system │ │ │ ├── FileOperation.java │ │ │ └── SystemOperation.java │ │ ├── config │ │ ├── CreateBeanConfig.java │ │ ├── RPCConfig.java │ │ ├── SystemConfig.java │ │ └── SystemConfigSelector.java │ │ ├── container │ │ ├── ContainerManager.java │ │ ├── SystemContainerManager.java │ │ ├── UnknownContainerManager.java │ │ ├── aas │ │ │ ├── AASV10ContainerManager.java │ │ │ └── AASV9ContainerManager.java │ │ ├── jar │ │ │ └── JARContainerManager.java │ │ └── tomcat │ │ │ └── TomcatContainerManager.java │ │ ├── discover │ │ ├── DiscoveryManager.java │ │ ├── IServiceInstanceImpl.java │ │ └── RegisterDiscoveryClient.java │ │ ├── ribbon │ │ ├── LBalancer.java │ │ ├── LRule.java │ │ ├── LServer.java │ │ ├── LoadBalancerFactory.java │ │ └── impl │ │ │ ├── AbstractLoadBalancerFactory.java │ │ │ ├── AbstractWeightBalancer.java │ │ │ ├── PollBalancer.java │ │ │ ├── PollLoadBalancerFactory.java │ │ │ ├── SingleLoadBalancerFactory.java │ │ │ ├── WeightPollBalancer.java │ │ │ ├── WeightPollLoadBalancerFactory.java │ │ │ ├── WeightRandomBalancer.java │ │ │ └── WeightRandomLoadBalancerFactory.java │ │ ├── rpc │ │ ├── JobAPI.java │ │ ├── RegisterAPI.java │ │ ├── RegisterListener.java │ │ └── SystemListener.java │ │ ├── system │ │ ├── Cpu.java │ │ ├── Disk.java │ │ ├── Mem.java │ │ ├── Server.java │ │ ├── System.java │ │ ├── operation │ │ │ ├── SystemOperation.java │ │ │ ├── linux │ │ │ │ └── LinuxSystemOperation.java │ │ │ └── windows │ │ │ │ └── WindowsSystemOperation.java │ │ └── test.java │ │ └── watch │ │ ├── ServiceAvailability.java │ │ ├── ServiceWatchController.java │ │ └── impl │ │ ├── CPUServiceAvailability.java │ │ ├── MEMServiceAvailability.java │ │ ├── RuntimeAvailability.java │ │ └── SystemAvailability.java │ └── resources │ └── META-INF │ └── spring.factories ├── risenet-y9boot-data-common-tools ├── lombok.config ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risesoft │ ├── elastic │ ├── client │ │ ├── ElasticsearchRestClient.java │ │ └── pojo │ │ │ └── QueryModel.java │ └── utils │ │ └── HttpClientEsUtil.java │ ├── model │ └── RequestModel.java │ ├── thread │ └── Y9DataLocalHolder.java │ └── util │ ├── ApiTest.java │ ├── DataUtils.java │ └── sqlddl │ ├── DDL.java │ ├── DDLdm.java │ ├── DDLkingbase.java │ ├── DDLmysql.java │ ├── DDLoracle.java │ ├── DDLpg.java │ ├── DbColumn.java │ ├── DbMetaDataUtil.java │ ├── DbTable.java │ └── SqlPaginationUtil.java ├── risenet-y9boot-data-jdbc-commons ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risedata │ └── jdbc │ └── commons │ ├── Dates.java │ ├── LFor.java │ ├── LForEach.java │ ├── LPage.java │ ├── LogTime.java │ ├── PageableUtil.java │ ├── TypeCheck.java │ ├── exceptions │ └── ParseException.java │ ├── listener │ ├── ListenerManager.java │ └── VariableRedirect.java │ ├── map │ ├── AutoGetHashMap.java │ ├── Init.java │ ├── LMap.java │ ├── MapPack.java │ └── TimeMap.java │ ├── service │ ├── Empty.java │ ├── Invoke.java │ └── IsEmpty.java │ ├── test │ ├── Test.java │ └── package-info.java │ ├── threads │ ├── AwaitFuture.java │ ├── StatusedCallable.java │ └── TaskAwaitExecutor.java │ └── utils │ ├── ClassTools.java │ ├── DateUtils.java │ ├── FileUtils.java │ ├── GetKey.java │ ├── GroupUtils.java │ ├── ImageZipUtil.java │ ├── Print.java │ ├── RegExs.java │ ├── ThreadUtils.java │ └── util.java ├── risenet-y9boot-data-jdbc ├── pom.xml └── src │ └── main │ ├── java │ └── net │ │ └── risedata │ │ └── jdbc │ │ ├── Mapping.java │ │ ├── annotations │ │ ├── Exclude.java │ │ ├── cache │ │ │ └── package-info.java │ │ ├── factory │ │ │ └── Factory.java │ │ ├── join │ │ │ ├── Join.java │ │ │ ├── NULL.java │ │ │ └── OneToMany.java │ │ ├── mapping │ │ │ └── ColMapping.java │ │ ├── operation │ │ │ ├── Operate.java │ │ │ └── OperateCollection.java │ │ ├── order │ │ │ ├── Asc.java │ │ │ ├── Ascs.java │ │ │ ├── Desc.java │ │ │ └── Descs.java │ │ ├── repository │ │ │ ├── Modify.java │ │ │ └── Search.java │ │ ├── search │ │ │ └── Sync.java │ │ ├── searchable │ │ │ └── Searchable.java │ │ └── update │ │ │ ├── Check.java │ │ │ └── UpdateId.java │ │ ├── builder │ │ └── OperationBuilder.java │ │ ├── condition │ │ ├── Condition.java │ │ └── parse │ │ │ ├── Parse.java │ │ │ └── impl │ │ │ ├── BaseParse.java │ │ │ ├── EQParse.java │ │ │ ├── GetValueParse.java │ │ │ ├── LikeParse.java │ │ │ ├── StringParse.java │ │ │ ├── ToStringParse.java │ │ │ └── TypeParse.java │ │ ├── config │ │ ├── EnableRepository.java │ │ ├── JdbcConfig.java │ │ ├── JdbcScan.java │ │ ├── Load.java │ │ └── model │ │ │ ├── BeanConfig.java │ │ │ ├── FieldConfig.java │ │ │ ├── JoinConfig.java │ │ │ ├── JoinFieldConfig.java │ │ │ └── SimpleExecutorConfig.java │ │ ├── exception │ │ ├── ConfigException.java │ │ ├── InstanceException.java │ │ ├── ProxyException.java │ │ └── SqlExecutionException.java │ │ ├── executor │ │ ├── Executors.java │ │ ├── delete │ │ │ ├── Delete.java │ │ │ ├── DeleteExecutor.java │ │ │ └── impl │ │ │ │ └── DefaultDeleteExecutor.java │ │ ├── insert │ │ │ ├── Insert.java │ │ │ ├── InsertExecutor.java │ │ │ └── impl │ │ │ │ └── DefaultInsertExecutor.java │ │ ├── jdbc │ │ │ ├── JDBC.java │ │ │ ├── JdbcExecutor.java │ │ │ └── impl │ │ │ │ └── JdbcTemplateExecutor.java │ │ ├── log │ │ │ ├── PrintExecutor.java │ │ │ └── impl │ │ │ │ └── DefaultPrintExecutor.java │ │ ├── page │ │ │ ├── PageExecutor.java │ │ │ └── impl │ │ │ │ ├── DerbyPageExecutor.java │ │ │ │ ├── MysqlPageExecutor.java │ │ │ │ └── OraclePageExecutor.java │ │ ├── search │ │ │ ├── Search.java │ │ │ ├── SearchExecutor.java │ │ │ ├── impl │ │ │ │ └── DefaultSearchExecutor.java │ │ │ └── model │ │ │ │ └── SearchConfig.java │ │ ├── set │ │ │ ├── SetValueExecutor.java │ │ │ └── impl │ │ │ │ └── FieldSetValueExecutor.java │ │ ├── sync │ │ │ ├── SyncService.java │ │ │ └── ThreadPoolSyncService.java │ │ ├── table │ │ │ ├── TableExecutor.java │ │ │ └── impl │ │ │ │ └── DefaultTableExecutor.java │ │ └── update │ │ │ ├── Update.java │ │ │ ├── UpdateExecutor.java │ │ │ └── impl │ │ │ └── DefaultUpdateExecutor.java │ │ ├── factory │ │ ├── BeanConfigFactory.java │ │ ├── ColumnMappingFactory.java │ │ ├── ConditionProxyFactory.java │ │ ├── DynamicProxyFactory.java │ │ ├── HandleMappingFactory.java │ │ ├── InstanceFactory.java │ │ ├── InstanceFactoryManager.java │ │ ├── LoggerFactory.java │ │ ├── ObjectBuilderFactory.java │ │ ├── ObjectTransferFactory.java │ │ ├── OperationBuilderFactory.java │ │ ├── OperationFactory.java │ │ └── impl │ │ │ ├── MultitonInstanceFactory.java │ │ │ ├── SingleInstanceFactory.java │ │ │ └── SpringApplicationFactory.java │ │ ├── mapping │ │ ├── CastHandleMapping.java │ │ ├── ColumnMapping.java │ │ ├── HandleException.java │ │ ├── HandleMapping.java │ │ ├── LRowMapping.java │ │ ├── RowMapping.java │ │ ├── columns │ │ │ └── OneToManyColumnMapping.java │ │ └── impl │ │ │ ├── BigHandle.java │ │ │ ├── BlobHandle.java │ │ │ ├── BooleanHandle.java │ │ │ ├── ByteArrayHandle.java │ │ │ ├── ByteHandle.java │ │ │ ├── ClobHandle.java │ │ │ ├── DateHandle.java │ │ │ ├── DoubleHandle.java │ │ │ ├── EntiryHandle.java │ │ │ ├── IntHandle.java │ │ │ ├── LongHandle.java │ │ │ ├── ShortHandle.java │ │ │ ├── SimpleHandleMapping.java │ │ │ └── StringHandle.java │ │ ├── operation │ │ ├── Custom.java │ │ ├── Operates.java │ │ ├── Operation.java │ │ ├── OperationInit.java │ │ ├── OperationPack.java │ │ ├── SqlDefaultOperation.java │ │ ├── Where.java │ │ └── impl │ │ │ ├── AbstractCustomOperation.java │ │ │ ├── BracketsOperation.java │ │ │ ├── CustomOperation.java │ │ │ ├── DatePlusOneSectionOperation.java │ │ │ ├── DateSectionOperation.java │ │ │ ├── DefaultOperation.java │ │ │ ├── EQOperation.java │ │ │ ├── InOperation.java │ │ │ ├── LikeOperation.java │ │ │ ├── NoWhereOperation.java │ │ │ ├── NotNullOperation.java │ │ │ ├── NullOperation.java │ │ │ ├── SectionOperation.java │ │ │ └── SimpleOperation.java │ │ ├── repository │ │ ├── CrudRepository.java │ │ ├── Repository.java │ │ ├── RepositoryManager.java │ │ ├── model │ │ │ ├── ArgsBuilder.java │ │ │ ├── ClassBuild.java │ │ │ ├── ReturnType.java │ │ │ └── Type.java │ │ ├── parse │ │ │ ├── MethodParseFactory.java │ │ │ ├── MethodParseHandle.java │ │ │ ├── ReturnTypeFactory.java │ │ │ ├── handles │ │ │ │ ├── MethodNameParseHandle.java │ │ │ │ ├── SearchParseHandle.java │ │ │ │ ├── UpdateParseHandle.java │ │ │ │ ├── method │ │ │ │ │ ├── InstructionHandle.java │ │ │ │ │ ├── InstructionManager.java │ │ │ │ │ ├── MethodNameBuilder.java │ │ │ │ │ ├── StartedInstructionHandle.java │ │ │ │ │ ├── order │ │ │ │ │ │ └── OrderInstructionHandle.java │ │ │ │ │ ├── section │ │ │ │ │ │ ├── AllInstructionHandle.java │ │ │ │ │ │ ├── DistinctInstructionHandle.java │ │ │ │ │ │ ├── FieldInstructionHandle.java │ │ │ │ │ │ ├── SectionInstructionHandle.java │ │ │ │ │ │ └── SizeInstructionHandle.java │ │ │ │ │ ├── set │ │ │ │ │ │ └── SetInstructionHandle.java │ │ │ │ │ ├── started │ │ │ │ │ │ ├── DeleteInstructionHandle.java │ │ │ │ │ │ ├── SearchInstructionHandle.java │ │ │ │ │ │ └── UpdateInstructionHandle.java │ │ │ │ │ └── where │ │ │ │ │ │ ├── AndInstructionHandle.java │ │ │ │ │ │ ├── ByInstructionHandle.java │ │ │ │ │ │ ├── OrInstructionHandle.java │ │ │ │ │ │ ├── WhereInstructionHandle.java │ │ │ │ │ │ ├── WhereInstructionHandleManager.java │ │ │ │ │ │ └── condition │ │ │ │ │ │ ├── BetweenInstructionHandle.java │ │ │ │ │ │ ├── ConditionInstructionHandle.java │ │ │ │ │ │ ├── ConditionInstructionHandleAdapter.java │ │ │ │ │ │ ├── ContainingInstructionHandle.java │ │ │ │ │ │ ├── EndingWithInstructionHandle.java │ │ │ │ │ │ ├── FalseInstructionHandle.java │ │ │ │ │ │ ├── IgnoreCaseInstructionHandle.java │ │ │ │ │ │ ├── SimpledInstructionHandle.java │ │ │ │ │ │ ├── StartingWithInstructionHandle.java │ │ │ │ │ │ └── TrueInstructionHandle.java │ │ │ │ └── search │ │ │ │ │ ├── DefaultSearchReturnHandle.java │ │ │ │ │ ├── ListSearchReturnHandle.java │ │ │ │ │ ├── MapSearchReturnHandle.java │ │ │ │ │ └── SearchReturnHandle.java │ │ │ └── sql │ │ │ │ ├── SqlParseFactory.java │ │ │ │ ├── SqlParseHandle.java │ │ │ │ └── handles │ │ │ │ ├── ArgsParseHandle.java │ │ │ │ └── ReplaceParseHandle.java │ │ └── proxy │ │ │ └── RepositoryCreateFactory.java │ │ ├── search │ │ ├── LPageable.java │ │ ├── LSort.java │ │ ├── Operations.java │ │ ├── Order.java │ │ └── exception │ │ │ ├── FieldException.java │ │ │ ├── IfHandleException.java │ │ │ ├── JoinException.java │ │ │ ├── MappingException.java │ │ │ ├── NoEntityException.java │ │ │ ├── NoTableException.java │ │ │ ├── NoValueException.java │ │ │ └── OperationException.java │ │ ├── service │ │ ├── CrudService.java │ │ └── impl │ │ │ ├── AutomaticCrudService.java │ │ │ └── CrudServiceImpl.java │ │ ├── table │ │ ├── TableConfig.java │ │ └── TableField.java │ │ ├── type │ │ ├── Types.java │ │ ├── parse │ │ │ ├── TypeParseHandle.java │ │ │ └── impl │ │ │ │ ├── BigDecimalTypeParseHandle.java │ │ │ │ ├── ByteTypeParseHandle.java │ │ │ │ ├── DoubleTypeParseHandle.java │ │ │ │ ├── FloatTypeParseHandle.java │ │ │ │ ├── IntTypeParseHandle.java │ │ │ │ ├── LongTypeParseHandle.java │ │ │ │ └── ShortTypeParseHandle.java │ │ └── sql │ │ │ ├── SqlType.java │ │ │ └── impl │ │ │ ├── BaseSqlType.java │ │ │ ├── DateSqlTypeImpl.java │ │ │ ├── NumberSqlTypeImpl.java │ │ │ ├── StringSqlTypeImpl.java │ │ │ └── TimeSqlTypeImpl.java │ │ └── utils │ │ ├── ClassUtils.java │ │ ├── FieldUtils.java │ │ ├── GenerityModel.java │ │ ├── LCollection.java │ │ ├── Log.java │ │ ├── ObjectBuilder.java │ │ └── Sqlbuilder.java │ └── resource │ └── META-INF │ └── spring.factories ├── risenet-y9boot-data-transfer-api ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── stream │ └── api │ ├── in │ ├── ApiInputStream.java │ └── ApiInputStreamFactory.java │ └── out │ ├── ApiOutputStream.java │ └── ApiOutputStreamFactory.java ├── risenet-y9boot-data-transfer-assembler ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── assembler │ └── Initialization.java ├── risenet-y9boot-data-transfer-base ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── base │ ├── APP.java │ ├── action │ ├── Action.java │ └── ActionPlug.java │ ├── channel │ ├── in │ │ ├── BufferRecordInChannel.java │ │ └── DCInChannel.java │ └── out │ │ └── DCOutChannel.java │ ├── exchange │ ├── BufferRecordExchange.java │ ├── BufferRecordMoneyExchange.java │ ├── DCExchange.java │ ├── DCMoneyExchange.java │ ├── MoneyExchange.java │ └── des.md │ ├── executor │ ├── ConcurrentThreadExecutorTaskQueue.java │ └── ThreadPoolExecutorTaskQueue.java │ ├── plug │ ├── data │ │ └── DirtyDataPlug.java │ └── log │ │ ├── PrintLogPlug.java │ │ └── TimerPrintTaskStatus.java │ └── stream │ ├── in │ └── LocalReadInputStreamFactory.java │ └── out │ └── PrintOutputStreamFactory.java ├── risenet-y9boot-data-transfer-core ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── core │ ├── Engine.java │ ├── action │ ├── Action.java │ └── ActionPlug.java │ ├── channel │ ├── AbstractInChannel.java │ ├── Channel.java │ ├── HandleInChannel.java │ ├── InChannel.java │ ├── JoinOutExecutorChannel.java │ ├── OutChannel.java │ └── OutputStreamOutChannel.java │ ├── close │ ├── AbstractCloseListenerning.java │ ├── CloseListener.java │ ├── CloseListenerning.java │ └── Closed.java │ ├── column │ ├── Column.java │ └── impl │ │ ├── BoolColumn.java │ │ ├── BytesColumn.java │ │ ├── ColumnCast.java │ │ ├── DateColumn.java │ │ ├── DoubleColumn.java │ │ ├── LongColumn.java │ │ ├── OverFlowUtil.java │ │ └── StringColumn.java │ ├── config │ ├── ConfigLoad.java │ └── ConfigLoadManager.java │ ├── context │ ├── JobContext.java │ ├── JobContextInit.java │ └── StreamContext.java │ ├── data │ ├── ConfigurationData.java │ ├── Data.java │ ├── ListConfigurationData.java │ └── StringData.java │ ├── des │ ├── exception │ ├── CommonErrorCode.java │ ├── ErrorCode.java │ ├── FrameworkErrorCode.java │ ├── InstallException.java │ └── TransferException.java │ ├── exchange │ ├── CoreExchange.java │ ├── Exchange.java │ └── OutChannelExchange.java │ ├── executor │ ├── AbstractExecutor.java │ ├── Executor.java │ ├── ExecutorFacotry.java │ ├── ExecutorListener.java │ ├── ExecutorListenerAdapter.java │ ├── ExecutorTaskQueue.java │ ├── in │ │ ├── InChannelExecutor.java │ │ └── JobInputExecutorFactory.java │ └── out │ │ ├── JobOutputExecutorFactory.java │ │ └── OutChannelExecutor.java │ ├── factory │ ├── BeanFactory.java │ ├── DefaultCreateInstanceFactory.java │ ├── FactoryManager.java │ ├── InstanceFactory.java │ ├── SetValue.java │ └── annotations │ │ ├── ConfigBean.java │ │ ├── ConfigField.java │ │ └── ConfigParameter.java │ ├── handle │ ├── DirtyRecordHandle.java │ ├── DoHandle.java │ ├── EmptyHandleContext.java │ ├── Handle.java │ ├── HandleChangeHandle.java │ ├── HandleContext.java │ ├── HandleManager.java │ ├── InitApplicationConfigHandle.java │ └── RecordDisposeHandle.java │ ├── instruction │ ├── ParseInstructionFactory.java │ ├── factory │ │ ├── Instruction.java │ │ └── InstructionFactory.java │ └── model │ │ └── PreAnalysisModel.java │ ├── job │ ├── Job.java │ ├── JobEndHandle.java │ ├── JobEngine.java │ ├── JobListener.java │ ├── JobRunningController.java │ └── JobStartHandle.java │ ├── listener │ ├── JobListener.java │ └── impl │ │ └── ResultJobListener.java │ ├── log │ ├── HandledLogger.java │ ├── HandledLoggerFactory.java │ ├── LocalPrintLoggerFactory.java │ ├── LogConfig.java │ ├── LogDebugHandle.java │ ├── LogErrorHandle.java │ ├── LogHandleReference.java │ ├── LogInfoHandle.java │ ├── Logger.java │ └── LoggerFactory.java │ ├── plug │ ├── Plug.java │ └── PlugManager.java │ ├── record │ ├── AbstractRecordInHandle.java │ ├── Ack.java │ ├── ColumnDisposeHandle.java │ ├── ColumnDisposeHandlePlug.java │ ├── DefaultRecord.java │ ├── Record.java │ └── RecordInHandle.java │ ├── start │ └── StartConfiguration.java │ ├── statistics │ ├── Communication.java │ ├── CommunicationTool.java │ ├── EnumVal.java │ ├── RecordSize.java │ └── State.java │ ├── stream │ ├── DataStream.java │ ├── DataStreamFactory.java │ ├── in │ │ ├── DataInputStream.java │ │ └── DataInputStreamFactory.java │ └── out │ │ ├── DataOutputStream.java │ │ ├── DataOutputStreamFactory.java │ │ ├── OutResult.java │ │ └── RecordOutuptStream.java │ └── util │ ├── ClassSize.java │ ├── ClassTools.java │ ├── ClassUtils.java │ ├── CloseUtils.java │ ├── Configuration.java │ ├── ConfigurationConst.java │ ├── FieldUtils.java │ ├── FileUtils.java │ ├── RangeSplitUtil.java │ ├── RetryUtil.java │ ├── StrUtil.java │ ├── ValueUtils.java │ ├── pool │ ├── ObjectPool.java │ ├── SimpledObjectPool.java │ └── SyncObjectPool.java │ └── strings │ ├── ValueCastHandleFactory.java │ └── handles │ ├── CastValueHandle.java │ ├── StringCastValueHandle.java │ └── impl │ ├── CastValueToStringHandle.java │ ├── StringToBigHandle.java │ ├── StringToByteHandle.java │ ├── StringToDateHandle.java │ ├── StringToDoubleHandle.java │ ├── StringToIntHandle.java │ ├── StringToLongHandle.java │ ├── StringToShortHandle.java │ └── StringToStringHandle.java ├── risenet-y9boot-data-transfer-data ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── plug │ └── data │ └── rename │ └── FieldReNamePlug.java ├── risenet-y9boot-data-transfer-elastic ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── stream │ └── es │ ├── in │ ├── ElasticsearchInputStream.java │ └── ElasticsearchInputStreamFactory.java │ └── out │ ├── ElasticsearchOutputStream.java │ └── ElasticsearchOutputStreamFactory.java ├── risenet-y9boot-data-transfer-ftp ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── stream │ └── ftp │ ├── in │ ├── info │ │ ├── FTPFileInfoInputStreamFactory.java │ │ └── FtpConfig.java │ └── stream │ │ ├── FTPFileInPutStream.java │ │ ├── FTPFileInPutStreamFactory.java │ │ ├── FTPFileSyncInputStreamFactory.java │ │ └── FtpConfig.java │ ├── model │ ├── FTPFileInfoColumn.java │ └── FTPInfo.java │ ├── out │ ├── ftp │ │ ├── FTPFileOutputFTPStreamFactory.java │ │ └── FtpConfig.java │ └── local │ │ ├── FTPFileOutputLocalStreamFactory.java │ │ └── LocalConfig.java │ └── utils │ ├── FTPUtils.java │ ├── FtpDownload.java │ ├── FtpUploadExample.java │ ├── PattenUtil.java │ └── PatternMatchUtils.java ├── risenet-y9boot-data-transfer-rdbms ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── stream │ └── rdbms │ ├── in │ ├── Constant.java │ ├── Key.java │ ├── RdbmsDataInputStream.java │ ├── RdbmsDataInputStreamFactory.java │ ├── columns │ │ ├── CreateColumnHandle.java │ │ └── impl │ │ │ ├── BooleanCreateColumnHandle.java │ │ │ ├── BytesCreateColumnHandle.java │ │ │ ├── ClobCreateColumnHandle.java │ │ │ ├── DateCreateColumnHandle.java │ │ │ ├── DoubleCreateColumnHandle.java │ │ │ ├── LongCreateColumnHandle.java │ │ │ ├── NullCreateColumnHandle.java │ │ │ ├── StringCreateColumnHandle.java │ │ │ ├── TimeCreateColumnHandle.java │ │ │ └── TimeStampCreateColumnHandle.java │ └── des.md │ ├── instruction │ ├── IfSqlNullFunctionInstructionFactory.java │ ├── SQLFunctionInstruction.java │ └── SQLFunctionInstructionFactory.java │ ├── out │ ├── Constant.java │ ├── InsertRdbmsDataOutputStream.java │ ├── RdbmsDataOutputStream.java │ ├── RdbmsDataOutputStreamFactory.java │ ├── ReplaceRdbmsDataOutputStream.java │ ├── UpdateRdbmsDataOutputStream.java │ ├── columns │ │ ├── DateNullValuePreparedStatementHandle.java │ │ ├── NullCharValuePreparedStatementHandle.java │ │ ├── PreparedStatementHandle.java │ │ ├── PreparedStatementHandleFactory.java │ │ ├── ZeroNullValuePreparedStatementHandle.java │ │ └── impl │ │ │ ├── BitPreparedStatementHandle.java │ │ │ ├── BlobPreparedStatementHandle.java │ │ │ ├── BooleanPreparedStatementHandle.java │ │ │ ├── BytesPreparedStatementHandle.java │ │ │ ├── ClobPreparedStatementHandle.java │ │ │ ├── DatePreparedStatementHandle.java │ │ │ ├── NumberPreparedStatementHandle.java │ │ │ ├── StringPreparedStatementHandle.java │ │ │ ├── TimePreparedStatementHandle.java │ │ │ ├── TimeStampPreparedStatementHandle.java │ │ │ └── TinyintPreparedStatementHandle.java │ ├── des.md │ ├── mysql │ │ ├── MySqlDataOutputStreamFactory.java │ │ └── MySqlUpadateDataOutputStream.java │ └── pg │ │ ├── PGDataOutputStreamFactory.java │ │ └── PGUpadateDataOutputStream.java │ ├── plug │ ├── ConfigFinedExecutorSqlPlug.java │ ├── ExecutorSql.java │ ├── JobEndExecutorSql.java │ ├── JobErrorEndExecutorSql.java │ ├── JobStartExecutorSql.java │ └── JobSuccessEndExecutorSql.java │ └── utils │ ├── ConnectionFactory.java │ ├── Constant.java │ ├── DBUtil.java │ ├── DBUtilErrorCode.java │ ├── DataBaseType.java │ ├── JdbcConnectionFactory.java │ ├── RdbmsException.java │ └── RdbmsRangeSplitWrap.java ├── risenet-y9boot-data-transfer-stream-local-file ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── stream │ └── local │ └── file │ ├── LocalFileInfoColumn.java │ ├── in │ └── NIOLocalFileInputStreamFactory.java │ └── out │ └── NIOLocalFileOutPutStreamFactory.java ├── risenet-y9boot-data-transfer-stream ├── pom.xml └── src │ └── main │ └── java │ └── risesoft │ └── data │ └── transfer │ └── stream │ ├── FileInfoColumn.java │ ├── Stream.java │ ├── StreamColumn.java │ └── out │ └── stream │ ├── LocalFileConfig.java │ └── LocalFileOutPutStreamFactory.java ├── risenet-y9boot-rpc-commons ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risedata │ └── rpc │ ├── Task │ ├── ScheduleTask.java │ └── Task.java │ ├── annotation │ └── RPCScan.java │ ├── coder │ ├── MsgDecoder.java │ └── MsgEncoder.java │ ├── exceptions │ ├── ConfigException.java │ └── ProxyException.java │ ├── factory │ ├── ReturnTypeFactory.java │ └── model │ │ └── ReturnType.java │ ├── model │ ├── ListenerResponse.java │ ├── Msg.java │ ├── Request.java │ └── Response.java │ ├── provide │ └── config │ │ └── Application.java │ ├── queue │ └── TaskQueue.java │ ├── service │ ├── RPCExecutorService.java │ └── patientia │ │ └── FixedExecutorService.java │ └── utils │ ├── AntPathMatcher.java │ ├── ClassTools.java │ ├── IdUtils.java │ ├── KeyLock.java │ ├── LClassLoader.java │ ├── LParameter.java │ ├── MethodUtils.java │ └── StringUtils.java ├── risenet-y9boot-rpc-consumer ├── pom.xml └── src │ └── main │ ├── java │ └── net │ │ └── risedata │ │ └── rpc │ │ └── consumer │ │ ├── annotation │ │ ├── API.java │ │ ├── Listener.java │ │ ├── Listeners.java │ │ ├── ManagerListener.java │ │ └── RPCClient.java │ │ ├── config │ │ ├── ClinetBootStart.java │ │ ├── ClinetConfig.java │ │ ├── ConnectionConfig.java │ │ ├── ConsumerApplication.java │ │ ├── LoadingConfig.java │ │ └── model │ │ │ └── Managers.java │ │ ├── controller │ │ └── ConnectionStatus.java │ │ ├── core │ │ ├── BasedConnectionManager.java │ │ ├── Connection.java │ │ ├── ConnectionManager.java │ │ ├── ConnectionPool.java │ │ ├── HostAndPortConnection.java │ │ └── impl │ │ │ ├── ChannelConnection.java │ │ │ ├── ClientBootStrap.java │ │ │ ├── CloudConnectionManager.java │ │ │ ├── ConnectionToPipeline.java │ │ │ ├── DefaultConnectionPool.java │ │ │ └── HostAndPortConnectionManager.java │ │ ├── exceptions │ │ ├── CarryRequestedException.java │ │ ├── ListenerException.java │ │ ├── RpcException.java │ │ └── RpcTimeOutException.java │ │ ├── factory │ │ ├── ClientBeanFactory.java │ │ ├── ConnectionManagerFactory.java │ │ ├── ProxyFactory.java │ │ └── ReturnValueHandleFactory.java │ │ ├── invoke │ │ ├── InvokeHandle.java │ │ ├── ProxyInvoke.java │ │ └── impl │ │ │ └── ForBooleanTrueInvokeHandle.java │ │ ├── listener │ │ ├── ConnectionListener.java │ │ ├── ExceptionListener.java │ │ ├── ListenerApplication.java │ │ ├── ListenerBack.java │ │ ├── ListenerDispatch.java │ │ ├── ListenerModel.java │ │ ├── RPCStartListener.java │ │ └── impl │ │ │ ├── ConnectionPoolListener.java │ │ │ └── LinkedConnectionListener.java │ │ ├── model │ │ ├── APIDescription.java │ │ ├── ListenerRequest.java │ │ └── PortAndHost.java │ │ ├── result │ │ ├── Error.java │ │ ├── Result.java │ │ ├── Success.java │ │ ├── SyncParseResult.java │ │ ├── SyncResult.java │ │ ├── genericity │ │ │ ├── GenericitySuccess.java │ │ │ ├── GenericitySyncResult.java │ │ │ ├── ListGenericitySuccess.java │ │ │ ├── ListGenericitySyncResult.java │ │ │ └── impl │ │ │ │ ├── DefaultGenericitySyncResult.java │ │ │ │ └── DefaultListGenericitySyncResult.java │ │ ├── impl │ │ │ └── DefaultSyncParseResult.java │ │ └── value │ │ │ ├── ReturnValueHandle.java │ │ │ └── impl │ │ │ ├── DefaulClasstHandle.java │ │ │ ├── DefaulGenericityHandle.java │ │ │ ├── ListHandle.java │ │ │ ├── SyncGenericityResultHandle.java │ │ │ ├── SyncListGenericityResultHandle.java │ │ │ └── SyncResultHandle.java │ │ ├── task │ │ ├── CloudTask.java │ │ ├── ManagerAndIpAndPortTask.java │ │ └── RepetitionedTask.java │ │ └── utils │ │ ├── AutoIdConnection.java │ │ ├── ConsumerUtils.java │ │ └── NoNullArrayList.java │ └── resources │ ├── META-INF │ └── spring.factories │ └── org │ └── springframework │ └── beans │ └── factory │ └── support │ └── annotations.xml ├── risenet-y9boot-rpc-provide ├── pom.xml └── src │ └── main │ ├── java │ └── net │ │ └── risedata │ │ └── rpc │ │ └── provide │ │ ├── annotation │ │ ├── API.java │ │ ├── EnableRequestParam.java │ │ ├── Param.java │ │ ├── RPCFilter.java │ │ ├── RPCServer.java │ │ └── TypeConvert.java │ │ ├── config │ │ ├── ApplicationConfig.java │ │ ├── ConfigArgs.java │ │ └── ServerBeanFactory.java │ │ ├── context │ │ ├── RPCRequestContext.java │ │ ├── Send.java │ │ └── SendFunction.java │ │ ├── controller │ │ └── ProvideController.java │ │ ├── defined │ │ ├── ClassDefined.java │ │ ├── MethodDefined.java │ │ ├── ParameterDefined.java │ │ └── impl │ │ │ └── DefaultParameterDefined.java │ │ ├── exceptions │ │ ├── ArgsException.java │ │ ├── JsonException.java │ │ ├── ListenerException.java │ │ ├── MatchException.java │ │ ├── SenderException.java │ │ └── ServerStartException.java │ │ ├── filter │ │ ├── Filter.java │ │ ├── FilterConfig.java │ │ ├── FilterContext.java │ │ ├── FilterContextCache.java │ │ ├── FilterManager.java │ │ ├── FilterNode.java │ │ └── impl │ │ │ ├── AfterLinkedRequestFilter.java │ │ │ ├── BeforeLinkedRequestFilter.java │ │ │ ├── DefaultFilterNode.java │ │ │ ├── FilterAdapter.java │ │ │ ├── FilterNodeApplication.java │ │ │ ├── InvokeMethodFilter.java │ │ │ ├── LinkedRequestFilter.java │ │ │ └── SendResponseFilter.java │ │ ├── handle │ │ ├── ArgsMatchedHandle.java │ │ ├── ParameterHandle.java │ │ ├── RPCHandle.java │ │ ├── TypeConvertHandle.java │ │ └── impl │ │ │ ├── ArrayArgsMatchHandle.java │ │ │ ├── DefaultParameterHandle.java │ │ │ ├── DefaultTypeConvertHandle.java │ │ │ ├── DispatcherHandle.java │ │ │ ├── MapArgsMatchHandle.java │ │ │ ├── ParamParameterHandle.java │ │ │ ├── RequestParamParameterHandle.java │ │ │ └── RequestTypeConver.java │ │ ├── listener │ │ ├── Listener.java │ │ ├── ListenerError.java │ │ ├── ListenerManager.java │ │ ├── Result.java │ │ ├── Success.java │ │ ├── SyncParseResult.java │ │ ├── SyncResult.java │ │ └── impl │ │ │ ├── DefaultListenerManager.java │ │ │ └── SyncListenerResult.java │ │ ├── model │ │ └── ListenerRequest.java │ │ ├── net │ │ ├── ClinetConnection.java │ │ └── Server.java │ │ ├── start │ │ ├── ServerApplicationContext.java │ │ └── ServerBootStart.java │ │ └── utils │ │ └── ResponseBuilder.java │ └── resources │ └── META-INF │ └── spring.factories ├── risenet-y9boot-security-base ├── lombok.config ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risesoft │ ├── exceptions │ ├── ServiceOperationException.java │ └── TokenException.java │ ├── security │ ├── ConcurrentSecurity.java │ ├── GetEnvironment.java │ ├── LikeOperation.java │ ├── RPCRequestFilter.java │ ├── SecurityCheck.java │ ├── SecurityConfig.java │ ├── SecurityManager.java │ ├── checks │ │ ├── HasSecurityManager.java │ │ └── HasUserManager.java │ ├── dao │ │ ├── CommonDao.java │ │ └── EnvironmentDao.java │ ├── model │ │ ├── Environment.java │ │ └── NetworkWhiteList.java │ ├── pojo │ │ └── DataUser.java │ └── service │ │ ├── EnvironmentService.java │ │ ├── NetworkWhiteListService.java │ │ └── impl │ │ ├── EnvironmentServiceImpl.java │ │ └── NetworkWhiteListServiceImpl.java │ └── util │ ├── AutoIdUtil.java │ ├── IpUtils.java │ ├── MD5Util.java │ └── PattenUtil.java ├── risenet-y9boot-support-api-online ├── lombok.config ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risesoft │ ├── controller │ └── ApiOnlineController.java │ ├── service │ ├── DataApiOnlineService.java │ └── impl │ │ └── DataApiOnlineServiceImpl.java │ └── y9public │ ├── entity │ ├── DataApiOnlineEntity.java │ └── DataApiOnlineInfoEntity.java │ └── repository │ ├── DataApiOnlineInfoRepository.java │ └── DataApiOnlineRepository.java ├── risenet-y9boot-support-risedata-jpa-repository ├── lombok.config ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risesoft │ ├── converter │ ├── EncryptConverter.java │ └── util │ │ └── Y9Encrytor.java │ └── y9public │ ├── entity │ ├── DataArrangeEntity.java │ ├── DataArrangeLogEntity.java │ ├── DataBusinessEntity.java │ ├── DataInterfaceEntity.java │ ├── DataInterfaceParamsEntity.java │ ├── DataMappingArgsEntity.java │ ├── DataMappingEntity.java │ ├── DataProcessEntity.java │ ├── DataSingleTaskConfigEntity.java │ ├── DataSourceEntity.java │ ├── DataSourceTypeEntity.java │ ├── DataTable.java │ ├── DataTableField.java │ ├── DataTaskConfigEntity.java │ ├── DataTaskCoreEntity.java │ ├── DataTaskEntity.java │ └── DataTaskMakeUpEntity.java │ └── repository │ ├── DataArrangeLogRepository.java │ ├── DataArrangeRepository.java │ ├── DataBusinessRepository.java │ ├── DataInterfaceParamsRepository.java │ ├── DataInterfaceRepository.java │ ├── DataMappingArgsRepository.java │ ├── DataMappingRepository.java │ ├── DataProcessRepository.java │ ├── DataSingleTaskConfigRepository.java │ ├── DataSourceRepository.java │ ├── DataSourceTypeRepository.java │ ├── DataTableFieldRepository.java │ ├── DataTableRepository.java │ ├── DataTaskConfigRepository.java │ ├── DataTaskCoreRepository.java │ ├── DataTaskMakeUpRepository.java │ ├── DataTaskRepository.java │ └── spec │ ├── DataArrangeSpecification.java │ ├── DataBusinessSpecification.java │ ├── DataInterfaceSpecification.java │ ├── DataMappingSpecification.java │ ├── DataTableSpecification.java │ └── DataTaskSpecification.java ├── risenet-y9boot-support-risedata-scheduler ├── lombok.config ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risesoft │ ├── api │ ├── aop │ │ ├── CheckHttpForArgs.java │ │ ├── CheckResult.java │ │ └── SecurityAspect.java │ ├── api │ │ ├── ConfigApi.java │ │ └── RegisterApi.java │ ├── config │ │ ├── ServerAutoConfig.java │ │ ├── ServerRPCConfig.java │ │ ├── ThreadPoolConfig.java │ │ └── model │ │ │ └── ServiceConfigModel.java │ ├── consumer │ │ └── ServerRegisterListener.java │ ├── exceptions │ │ ├── JobException.java │ │ └── RegisterException.java │ ├── job │ │ ├── JobContext.java │ │ ├── JobTask.java │ │ ├── ScheduledRegister.java │ │ ├── TaskExecutorService.java │ │ ├── TaskManager.java │ │ ├── actions │ │ │ ├── JobAction.java │ │ │ ├── block │ │ │ │ ├── BlockActionManager.java │ │ │ │ ├── BlockJobAction.java │ │ │ │ ├── DiscardAction.java │ │ │ │ ├── ParallelAction.java │ │ │ │ └── SerialAction.java │ │ │ ├── dispatch │ │ │ │ ├── CountResult.java │ │ │ │ ├── DispatchJobAction.java │ │ │ │ ├── DoResult.java │ │ │ │ ├── ExecutorAction.java │ │ │ │ ├── executor │ │ │ │ │ ├── DoBalance.java │ │ │ │ │ ├── ExecutorActionManager.java │ │ │ │ │ ├── Result.java │ │ │ │ │ ├── ResultError.java │ │ │ │ │ ├── ResultSuccess.java │ │ │ │ │ └── impl │ │ │ │ │ │ ├── GetHttpExecutorAction.java │ │ │ │ │ │ ├── HttpExecutorAction.java │ │ │ │ │ │ ├── JobExecutorAction.java │ │ │ │ │ │ ├── LocalExecutorAction.java │ │ │ │ │ │ └── PostHttpExecutorAction.java │ │ │ │ └── method │ │ │ │ │ ├── AbstractDispatchAction.java │ │ │ │ │ ├── DispatchActionManager.java │ │ │ │ │ └── impl │ │ │ │ │ ├── AssignAction.java │ │ │ │ │ ├── BalanceAction.java │ │ │ │ │ ├── BroadcastAction.java │ │ │ │ │ ├── ErrorTransferAction.java │ │ │ │ │ ├── FirstAction.java │ │ │ │ │ ├── PolltAction.java │ │ │ │ │ └── RandomAction.java │ │ │ └── start │ │ │ │ ├── StartJobAction.java │ │ │ │ └── StartJobChildrenAction.java │ │ ├── creator │ │ │ ├── CreatorMethod.java │ │ │ ├── DefaultJobArgsCreator.java │ │ │ ├── JobArgsCreator.java │ │ │ └── impl │ │ │ │ ├── DateCreator.java │ │ │ │ ├── DispatchArgsCreator.java │ │ │ │ ├── HttpCreator.java │ │ │ │ └── IndexCreator.java │ │ └── log │ │ │ ├── LogAnalyseService.java │ │ │ └── impl │ │ │ └── LogMatchAnalyseService.java │ ├── listener │ │ ├── ClientListener.java │ │ ├── JobListener.java │ │ ├── ServiceListener.java │ │ └── ServiceListenerConfig.java │ ├── message │ │ ├── InstanceMessage.java │ │ ├── JobMessage.java │ │ ├── MessageCreator.java │ │ ├── MessageService.java │ │ ├── MessageServiceExecutor.java │ │ └── impl │ │ │ ├── DefaultInstanceMessage.java │ │ │ ├── DefaultJobMessage.java │ │ │ ├── DefaultMessageService.java │ │ │ └── EmailServiceExecutor.java │ ├── persistence │ │ ├── config │ │ │ ├── ConfigHisService.java │ │ │ ├── ConfigService.java │ │ │ └── impl │ │ │ │ ├── ConfigHisServiceImpl.java │ │ │ │ └── ConfigServiceImpl.java │ │ ├── dao │ │ │ ├── ConfigDao.java │ │ │ ├── ConfigHisDao.java │ │ │ ├── IServiceDao.java │ │ │ ├── LogDao.java │ │ │ └── job │ │ │ │ ├── JobChangeDao.java │ │ │ │ ├── JobDao.java │ │ │ │ ├── JobInfoDao.java │ │ │ │ └── JobLogDao.java │ │ ├── iservice │ │ │ ├── IServiceService.java │ │ │ └── impl │ │ │ │ ├── DataBaseIServiceService.java │ │ │ │ └── LocalFileIServiceImpl.java │ │ ├── job │ │ │ ├── JobChangeService.java │ │ │ ├── JobInfoService.java │ │ │ ├── JobLogService.java │ │ │ ├── JobService.java │ │ │ └── impl │ │ │ │ ├── JobChangeServiceImpl.java │ │ │ │ ├── JobInfoServiceImpl.java │ │ │ │ ├── JobLogServiceImpl.java │ │ │ │ └── JobServiceImpl.java │ │ ├── log │ │ │ ├── LogService.java │ │ │ └── impl │ │ │ │ └── LogServiceImpl.java │ │ └── model │ │ │ ├── GetIP.java │ │ │ ├── GetService.java │ │ │ ├── IServiceInstanceModel.java │ │ │ ├── config │ │ │ ├── Config.java │ │ │ └── ConfigHis.java │ │ │ ├── job │ │ │ ├── Job.java │ │ │ ├── JobChange.java │ │ │ ├── JobInfo.java │ │ │ ├── JobInfoKey.java │ │ │ └── JobLog.java │ │ │ └── log │ │ │ ├── Log.java │ │ │ ├── LogAnalyse.java │ │ │ └── MatchAnalyseModel.java │ ├── security │ │ ├── DoJurisdiction.java.txt │ │ ├── GetSecurity.java.txt │ │ └── PageConfig.java.txt │ ├── utils │ │ ├── AutoIdUtil.java │ │ ├── BatchOperation.java │ │ ├── CommitFunction.java │ │ ├── GetString.java │ │ ├── JsonUtils.java │ │ ├── LResult.java │ │ ├── MapUtils.java │ │ ├── NextTime.java │ │ ├── ObjectUtils.java │ │ ├── Optional.java │ │ ├── PropertiesUtil.java │ │ ├── RegexUtil.java │ │ ├── ResultUtils.java │ │ ├── Sort.java │ │ ├── SqlUtils.java │ │ ├── TaskUtils.java │ │ ├── jdbc │ │ │ ├── Constant.java │ │ │ ├── DBUtil.java │ │ │ ├── DataBaseType.java │ │ │ ├── JdbcUtils.java │ │ │ ├── RetryUtil.java │ │ │ └── filedTypeMapping │ │ │ │ ├── JdbcTypeMappingCache.java │ │ │ │ └── TypeDefinition.java │ │ └── job │ │ │ └── ScriptManager.java │ └── watch │ │ ├── CheckStatusTask.java │ │ └── WatchManager.java │ └── service │ └── JobDoActionService.java ├── risenet-y9boot-support-risedata-security ├── lombok.config ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risesoft │ ├── InitDataReady.java │ ├── controller │ ├── BusinessController.java │ ├── LoginController.java │ ├── RoleController.java │ ├── RoleLinkController.java │ └── UserController.java │ ├── security │ ├── DefaultSecurityManager.java │ ├── dao │ │ ├── RoleDao.java │ │ ├── TokenDao.java │ │ └── UserDao.java │ ├── model │ │ ├── DataUser.java │ │ ├── Role.java │ │ ├── RoleUserLink.java │ │ └── Token.java │ └── service │ │ ├── RoleLinkService.java │ │ ├── RoleService.java │ │ ├── TokenService.java │ │ ├── UserService.java │ │ └── impl │ │ ├── RoleLinkServiceImpl.java │ │ ├── RoleServiceImpl.java │ │ ├── TokenServiceImpl.java │ │ └── UserServiceImpl.java │ └── service │ ├── DataBusinessService.java │ └── impl │ └── DataBusinessServiceImpl.java ├── risenet-y9boot-support-y9kernel-security ├── lombok.config ├── pom.xml └── src │ └── main │ └── java │ └── net │ └── risesoft │ ├── controller │ └── BusinessController.java │ ├── security │ └── DefaultSecurityManager.java │ ├── service │ └── DataBusinessService.java │ └── util │ └── Y9KernelApiUtil.java ├── risenet-y9boot-webapp-risedata-executor ├── lombok.config ├── pom.xml └── src │ └── main │ ├── java │ └── net │ │ └── risesoft │ │ ├── RiseActuatorsApplication.java │ │ ├── ServletInitializer.java │ │ ├── api │ │ └── ConfigApi.java │ │ ├── controller │ │ └── JobController.java │ │ ├── model │ │ └── Config.java │ │ └── service │ │ ├── HandleSingleJobService.java │ │ ├── JobService.java │ │ └── impl │ │ └── JobServiceImpl.java │ └── resources │ ├── application-public.yml │ ├── application-test.yml │ ├── application.yml │ ├── banner.txt │ └── logback.xml └── risenet-y9boot-webapp-risedata-manager ├── lombok.config ├── pom.xml └── src └── main ├── java └── net │ └── risesoft │ ├── OnApplicationReady.java │ ├── RiseAdminApplication.java │ ├── ServletInitializer.java │ ├── config │ ├── CheckUserLoginFilter.java │ ├── HomeDataThreadPoolConfig.java │ ├── RiseAdminConfig.java │ └── SecurityConfiguration.java │ ├── controller │ ├── ArrangeController.java │ ├── BaseController.java │ ├── InterfaceController.java │ ├── MappingController.java │ ├── SourceController.java │ ├── TaskController.java │ ├── home │ │ └── HomeController.java │ ├── register │ │ └── RegisterController.java │ ├── scheduler │ │ ├── JobController.java │ │ ├── JobInfoController.java │ │ └── JobLogController.java │ └── security │ │ ├── EnvironmentController.java │ │ └── NetworkWhiteListController.java │ ├── listener │ ├── ArrangeExecuteListener.java │ └── TaskMakeUpListener.java │ ├── pojo │ ├── ConvertField.java │ ├── DateField.java │ ├── DifferentField.java │ ├── SingleTaskModel.java │ ├── TaskConfigModel.java │ ├── TaskCoreModel.java │ ├── TaskModel.java │ └── home │ │ ├── HomeData.java │ │ └── HomeQueryModel.java │ ├── service │ ├── DataArrangeService.java │ ├── DataInterfaceService.java │ ├── DataMappingService.java │ ├── DataSourceService.java │ ├── DataTaskService.java │ ├── HomeDataService.java │ └── impl │ │ ├── DataArrangeServiceImpl.java │ │ ├── DataInterfaceServiceImpl.java │ │ ├── DataMappingServiceImpl.java │ │ ├── DataSourceServiceImpl.java │ │ ├── DataTaskServiceImpl.java │ │ └── HomeDataServiceImpl.java │ └── util │ ├── DataConstant.java │ ├── DataServiceUtil.java │ ├── ExceptionUtils.java │ ├── JobLogStatusEnum.java │ └── home │ └── QueryTimeRangeCacheUtil.java └── resources ├── application.yml ├── banner.txt ├── logback.xml └── sql ├── data-mysql.sql └── data.sql /.gitee/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: 数据流引擎文档 4 | url: https://gitee.com/risesoft-y9/y9-dataflow#%E6%96%87%E6%A1%A3%E4%B8%93%E5%8C%BA 5 | about: 提供数据流引擎文档介绍、基本组件使用和常见问题解答 -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: 数据流引擎文档 4 | url: https://gitee.com/risesoft-y9/y9-dataflow#%E6%96%87%E6%A1%A3%E4%B8%93%E5%8C%BA 5 | about: 提供数据流引擎文档介绍、基本组件使用和常见问题解答 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Build and Release Folders 2 | target/ 3 | 4 | # Eclipse 5 | .settings/ 6 | *.classpath 7 | *.project 8 | *.factorypath 9 | 10 | # IntelliJ IDEA 11 | .idea 12 | *.iml 13 | 14 | # vscode 15 | .vscode 16 | 17 | # JRebel 18 | rebel.xml 19 | 20 | # macOS 21 | .DS_Store 22 | 23 | # svn 24 | .svn/ 25 | 26 | # vue 27 | kernel-standard/ 28 | node_modules/ 29 | 30 | .flattened-pom.xml -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/.eslintignore: -------------------------------------------------------------------------------- 1 | 2 | *.sh 3 | node_modules 4 | *.md 5 | *.woff 6 | *.ttf 7 | .vscode 8 | .idea 9 | dist 10 | /public 11 | .husky 12 | .local 13 | /bin 14 | Dockerfile 15 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | 3 | .vscode/ 4 | .project 5 | .nuxt/ 6 | .output/ 7 | .idea 8 | .DS_Store 9 | /y9-vue.iml 10 | auto-imports.d.ts 11 | **/pnpm-lock.yaml 12 | **/package-lock.json 13 | **/components.d.ts 14 | **/package-lock.json 15 | y9vue-dataFlowEngine/ 16 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist/* 2 | .local 3 | .output.js 4 | /node_modules/** 5 | 6 | **/*.svg 7 | **/*.sh 8 | 9 | /public/* 10 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/README.md: -------------------------------------------------------------------------------- 1 | # VUE_APP_APPFEATURES = '1' 2 | 3 | 由前端定制单点登录页面(当前由后端统一配置此页面,不建议个别工程使用,除非所有微服务工程都统一使用) 4 | 测试账号:admin/admin 5 | 6 | # VUE_APP_APPFEATURES = '0' 7 | 8 | 系统默认的单点登录页面 9 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | printWidth: 120, 3 | tabWidth: 4, 4 | useTabs: false, 5 | semi: true, // 末尾分号 6 | vueIndentScriptAndStyle: true, 7 | singleQuote: true, // 单引号 8 | quoteProps: 'as-needed', 9 | bracketSpacing: true, 10 | trailingComma: 'none', // 数组末尾逗号 11 | jsxBracketSameLine: false, 12 | jsxSingleQuote: false, 13 | arrowParens: 'always', 14 | insertPragma: false, 15 | requirePragma: false, 16 | proseWrap: 'never', 17 | htmlWhitespaceSensitivity: 'strict', 18 | endOfLine: 'lf', 19 | rangeStart: 0, 20 | }; 21 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/public/yun.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/public/yun.ico -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/api/safety/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/api/safety/index.ts -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/cloud.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/file.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/folder-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/folder-open.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/metro.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/node_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/node_home.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/node_system.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/node_system.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/search.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/user_female.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/user_female.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/user_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/user_gray.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/png/user_male.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/png/user_male.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/svg/editor.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/svg/home.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/svg/pagelist.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/svg/s-fold.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/svg/s-unfold.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/chart_organization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/chart_organization.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/folder_user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/folder_user.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/group.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/user_female.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/user_female.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/user_male.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/icons/treeIcon/user_male.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/arrow-down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/arrow-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/arrow-left2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/arrow-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/arrow-right2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/arrow-up.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/close.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/editor.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/home.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/list.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/more.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/refresh.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/search.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/iconsvg/svgo.yml: -------------------------------------------------------------------------------- 1 | # replace default config 2 | 3 | # multipass: true 4 | # full: true 5 | 6 | plugins: 7 | 8 | # - name 9 | # 10 | # or: 11 | # - name: false 12 | # - name: true 13 | # 14 | # or: 15 | # - name: 16 | # param1: 1 17 | # param2: 2 18 | 19 | - removeAttrs: 20 | attrs: 21 | - 'fill' 22 | - 'fill-rule' 23 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/app-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/app-icon.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/bg-smooth.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/bg-smooth.jpg -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/bg.jpg -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/dataflowEnginePro/暂无数据 (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/dataflowEnginePro/暂无数据 (2).png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/logo.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/meeting.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/meeting.jpg -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/menu-bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/menu-bg1.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/menu-bg10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/menu-bg10.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/menu-bg5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/menu-bg5.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/menu-bg7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/menu-bg7.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/menu-bg8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/menu-bg8.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/menu-bg9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/menu-bg9.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/touxiang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/touxiang.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/youshengyunLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/youshengyunLogo.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/yun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/yun.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/assets/images/yunLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/assets/images/yunLogo.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/modules/auto-place/index.js: -------------------------------------------------------------------------------- 1 | import CustomAutoPlace from './CustomAutoPlace'; 2 | 3 | export default { 4 | __init__: ['autoPlace'], 5 | autoPlace: ['type', CustomAutoPlace] 6 | }; 7 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/modules/custom-renderer/index.js: -------------------------------------------------------------------------------- 1 | import CustomRenderer from './CustomRenderer'; 2 | 3 | export default { 4 | __init__: ['customRenderer'], 5 | customRenderer: ['type', CustomRenderer] 6 | }; 7 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/modules/rules/CustomRules.js: -------------------------------------------------------------------------------- 1 | import BpmnRules from 'bpmn-js/lib/features/rules/BpmnRules'; 2 | import inherits from 'inherits'; 3 | 4 | export default function CustomRules(eventBus) { 5 | BpmnRules.call(this, eventBus); 6 | } 7 | 8 | inherits(CustomRules, BpmnRules); 9 | 10 | CustomRules.prototype.canDrop = function() { 11 | return false; 12 | }; 13 | 14 | CustomRules.prototype.canMove = function() { 15 | return false; 16 | }; 17 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/modules/rules/index.js: -------------------------------------------------------------------------------- 1 | import CustomRules from './CustomRules'; 2 | 3 | export default { 4 | __init__: ['customRules'], 5 | customRules: ['type', CustomRules] 6 | }; 7 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/designer/index.js: -------------------------------------------------------------------------------- 1 | import MyProcessDesigner from './ProcessDesigner.vue'; 2 | 3 | MyProcessDesigner.install = function(Vue) { 4 | Vue.component(MyProcessDesigner.name, MyProcessDesigner); 5 | }; 6 | 7 | export default MyProcessDesigner; 8 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/designer/plugins/content-pad/index.js: -------------------------------------------------------------------------------- 1 | import CustomContextPadProvider from './contentPadProvider'; 2 | 3 | export default { 4 | __init__: ['contextPadProvider'], 5 | contextPadProvider: ['type', CustomContextPadProvider] 6 | }; 7 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/designer/plugins/extension-moddle/activiti/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * @author igdianov 3 | * address https://github.com/igdianov/activiti-bpmn-moddle 4 | * */ 5 | 6 | import ActivitiModdleExtension from './activitiExtension.js' 7 | export default { 8 | __init__: ['ActivitiModdleExtension'], 9 | ActivitiModdleExtension: ['type', ActivitiModdleExtension] 10 | }; 11 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/designer/plugins/extension-moddle/camunda/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import CamundaModdleExtension from './extension.js'; 4 | export default { 5 | __init__: ['CamundaModdleExtension'], 6 | CamundaModdleExtension: ['type', CamundaModdleExtension] 7 | }; 8 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/designer/plugins/extension-moddle/flowable/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * @author igdianov 3 | * address https://github.com/igdianov/activiti-bpmn-moddle 4 | * */ 5 | 6 | import FlowableModdleExtension from './flowableExtension.js' 7 | export default { 8 | __init__: ['FlowableModdleExtension'], 9 | FlowableModdleExtension: ['type', FlowableModdleExtension] 10 | }; 11 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/designer/plugins/palette/index.js: -------------------------------------------------------------------------------- 1 | import CustomPalette from './CustomPalette'; 2 | 3 | export default { 4 | __init__: ['customPalette'], 5 | customPalette: ['type', CustomPalette] 6 | }; 7 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/index.js: -------------------------------------------------------------------------------- 1 | import MyProcessDesigner from './designer'; 2 | import MyProcessPalette from './palette'; 3 | import MyProcessPenal from './penal'; 4 | 5 | const components = [MyProcessDesigner, MyProcessPenal, MyProcessPalette]; 6 | 7 | const install = function(Vue) { 8 | components.forEach(component => { 9 | Vue.component(component.name, component); 10 | }); 11 | }; 12 | 13 | if (typeof window !== 'undefined' && window.Vue) { 14 | install(window.Vue); 15 | } 16 | 17 | export default { 18 | version: '0.0.1', 19 | install, 20 | ...components 21 | }; 22 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/palette/index.js: -------------------------------------------------------------------------------- 1 | import MyPropertiesPalette from './ProcessPalette.vue'; 2 | 3 | MyPropertiesPalette.install = function(Vue) { 4 | Vue.component(MyPropertiesPalette.name, MyPropertiesPalette); 5 | }; 6 | 7 | export default MyPropertiesPalette; 8 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/penal/index.js: -------------------------------------------------------------------------------- 1 | import MyPropertiesPanel from './PropertiesPanel.vue'; 2 | 3 | MyPropertiesPanel.install = function(Vue) { 4 | Vue.component(MyPropertiesPanel.name, MyPropertiesPanel); 5 | }; 6 | 7 | export default MyPropertiesPanel; 8 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/components/bpmnModel/package/theme/index.scss: -------------------------------------------------------------------------------- 1 | @import './process-designer.scss'; 2 | @import './process-panel.scss'; 3 | 4 | .el-form { 5 | .el-select, 6 | .el-date-editor.el-input, 7 | .el-range-editor.el-input__inner { 8 | width: 100%; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/language/index.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | import { createI18n } from 'vue-i18n' 4 | //本地语言包 5 | import zh from './zh.json' 6 | import en from './en.json' 7 | 8 | // 获取本地框架配置 9 | const userSettingData = JSON.parse(localStorage.getItem('userSettingData')); 10 | 11 | const messages = { 12 | zh: { 13 | ...zh, 14 | }, 15 | en: { 16 | ...en, 17 | } 18 | } 19 | 20 | const i18n = createI18n({ 21 | locale: userSettingData?.webLanguage || 'zh', 22 | legacy: false,// 使用 Composition API 模式,则需要将其设置为false 23 | globalInjection: true,// 全局注入 $t 函数 24 | messages, 25 | }) 26 | 27 | export default i18n -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/layouts/components/IconSvg/index.ts: -------------------------------------------------------------------------------- 1 | import iconsvg from "./index.vue"; 2 | 3 | export default iconsvg; -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/router/modules/dataSourceRouter.ts: -------------------------------------------------------------------------------- 1 | const dataSourceRouter = { 2 | path: '/dataSource', 3 | component: () => import('@/layouts/index.vue'), 4 | redirect: '/dataSource', 5 | name: 'dataSourceIndex', 6 | meta: { 7 | title: '数据源', 8 | icon: 'ri-database-line' //remix 图标 优先级最高 9 | // elIcon: "House"//element-plus 图标 优先级第二 10 | }, 11 | children: [ 12 | { 13 | path: '/dataSource', 14 | component: () => import('@/views/dataSource/index.vue'), 15 | name: 'dataSource', 16 | meta: { 17 | title: '数据源', 18 | icon: 'ri-database-line' //remix 图标 优先级最高 19 | // elIcon: "House"//element-plus 图标 优先级第二 20 | } 21 | } 22 | ] 23 | }; 24 | 25 | export default dataSourceRouter; 26 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/router/modules/dispatchRouter.ts: -------------------------------------------------------------------------------- 1 | const dispatchRouter = { 2 | path: '/dispatch', 3 | component: () => import('@/layouts/index.vue'), 4 | redirect: '/dispatch', 5 | name: 'dispatchIndex', 6 | meta: { 7 | title: '任务调度管理', 8 | icon: 'ri-sound-module-line' //remix 图标 优先级最高 9 | // elIcon: "House"//element-plus 图标 优先级第二 10 | }, 11 | children: [ 12 | { 13 | path: '/dispatch', 14 | component: () => import('@/views/dispatch/index.vue'), 15 | name: 'dispatch', 16 | meta: { 17 | title: '任务调度管理', 18 | icon: 'ri-sound-module-line' //remix 图标 优先级最高 19 | // elIcon: "House"//element-plus 图标 优先级第二 20 | } 21 | }, 22 | ] 23 | }; 24 | 25 | export default dispatchRouter; 26 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/router/modules/homeRouter.ts: -------------------------------------------------------------------------------- 1 | const homeRouter = { 2 | path: '/home', 3 | component: () => import('@/layouts/index.vue'), 4 | redirect: '/home', 5 | name: 'homeIndex', 6 | meta: { 7 | title: '首页', 8 | icon: 'ri-home-8-line' //remix 图标 优先级最高 9 | // elIcon: "House"//element-plus 图标 优先级第二 10 | }, 11 | children: [ 12 | { 13 | path: '/home', 14 | component: () => import('@/views/home/index.vue'), 15 | name: 'home', 16 | meta: { 17 | title: '首页', 18 | icon: 'ri-home-8-line' //remix 图标 优先级最高 19 | // elIcon: "House"//element-plus 图标 优先级第二 20 | } 21 | } 22 | ] 23 | }; 24 | 25 | export default homeRouter; 26 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/router/modules/interfaceRouter.ts: -------------------------------------------------------------------------------- 1 | const interfaceRouter = { 2 | path: '/interface', 3 | component: () => import('@/layouts/index.vue'), 4 | redirect: '/interface', 5 | name: 'interfaceIndex', 6 | meta: { 7 | title: '接口管理', 8 | icon: 'ri-git-pull-request-line', 9 | }, 10 | children: [ 11 | { 12 | path: '/interface', 13 | component: () => import('@/views/interface/index.vue'), 14 | name: 'interface', 15 | meta: { 16 | title: '接口管理', 17 | icon: 'ri-git-pull-request-line' //remix 图标 优先级最高 18 | // elIcon: "House"//element-plus 图标 优先级第二 19 | } 20 | } 21 | ] 22 | }; 23 | 24 | export default interfaceRouter; 25 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/router/modules/serverNodeRouter.ts: -------------------------------------------------------------------------------- 1 | const serverNodeRouter = { 2 | path: '/serverNode', 3 | component: () => import('@/layouts/index.vue'), 4 | redirect: '/serverNode', 5 | name: 'serverNodeIndex', 6 | meta: { 7 | title: '节点管理', 8 | icon: 'ri-node-tree' //remix 图标 优先级最高 9 | // elIcon: "House"//element-plus 图标 优先级第二 10 | }, 11 | children: [ 12 | { 13 | path: '/serverNode', 14 | component: () => import('@/views/serverNode/index.vue'), 15 | name: 'serverNode', 16 | meta: { 17 | title: '节点管理', 18 | icon: 'ri-node-tree' //remix 图标 优先级最高 19 | // elIcon: "House"//element-plus 图标 优先级第二 20 | } 21 | } 22 | ] 23 | }; 24 | 25 | export default serverNodeRouter; 26 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/router/modules/taskConfigRouter.ts: -------------------------------------------------------------------------------- 1 | const taskConfigRouter = { 2 | path: '/taskConfig', 3 | component: () => import('@/layouts/index.vue'), 4 | redirect: '/taskConfig', 5 | name: 'taskConfigIndex', 6 | meta: { 7 | title: '任务配置管理', 8 | icon: 'ri-equalizer-line' //remix 图标 优先级最高 9 | // elIcon: "House"//element-plus 图标 优先级第二 10 | }, 11 | children: [ 12 | { 13 | path: '/taskConfig', 14 | component: () => import('@/views/taskConfig/index.vue'), 15 | name: 'taskConfig', 16 | meta: { 17 | title: '任务配置管理', 18 | icon: 'ri-equalizer-line' //remix 图标 优先级最高 19 | // elIcon: "House"//element-plus 图标 优先级第二 20 | } 21 | } 22 | ] 23 | }; 24 | 25 | export default taskConfigRouter; 26 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/theme/blue/blue.scss: -------------------------------------------------------------------------------- 1 | @forward "element-plus/theme-chalk/src/common/var.scss" with ( 2 | $colors: ( 3 | "primary": ( 4 | "base": #1e5896, 5 | ), 6 | ), 7 | $bg-color: ("":"#ffffff !default") 8 | ); 9 | 10 | // .theme-test2:root { 11 | // --primary-color: #448800; 12 | // --ddd: #55f900; 13 | // } 14 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/theme/green/green.scss: -------------------------------------------------------------------------------- 1 | @forward "element-plus/theme-chalk/src/common/var.scss" with ( 2 | $colors: ( 3 | "primary": ( 4 | "base": #4e9876, 5 | ), 6 | ), 7 | $bg-color: ("":"#ffffff !default"), 8 | $color-info: #ddd !default 9 | ); 10 | 11 | // .theme-test2:root { 12 | // --primary-color: #448800; 13 | // --ddd: #55f900; 14 | // } 15 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/dataSource/enums.ts: -------------------------------------------------------------------------------- 1 | export enum FormType { 2 | DATA_SOURCE_TYPE = 'DataSourceType', 3 | DATA_SOURCE = 'DataSource' 4 | } 5 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/dispatch/comp/saveTask/comp/ve-cron/Cycle.ts: -------------------------------------------------------------------------------- 1 | export interface Cycle { 2 | start: number 3 | end: number 4 | } 5 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/dispatch/comp/saveTask/comp/ve-cron/InitiationCycle.ts: -------------------------------------------------------------------------------- 1 | export interface InitiationCycle { 2 | initiation: number 3 | cycle: number 4 | } 5 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/home/comp/dispatchingChart/index.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 16 | 17 | 23 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/home/comp/dispatchingChart/schedulingInfo.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 15 | 16 | 22 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/libraryTable/index.vue: -------------------------------------------------------------------------------- 1 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/fonts/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/fonts/icomoon.eot -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/fonts/icomoon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/fonts/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/fonts/icomoon.ttf -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/fonts/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/fonts/icomoon.woff -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/images/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/images/5.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/img/favicon.ico -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/img/key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/img/key.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/img/lock_icon_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/img/lock_icon_copy.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/img/loginbg-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/img/loginbg-1.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/img/loginbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/img/loginbg.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/img/logo.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/img/tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/img/tick.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/img/user_icon_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/img/user_icon_copy.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/img/wxts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/img/wxts.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/laydate/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/laydate/icon.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/font/iconfont.eot -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/font/iconfont.woff -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/font/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login copy/static/layui/font/iconfont.woff2 -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login/static/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login/static/images/bg.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login/static/images/bjb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login/static/images/bjb.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login/static/images/lock-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login/static/images/lock-line.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login/static/images/user-shared-line (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login/static/images/user-shared-line (1).png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login/static/images/单点登录-背景色.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login/static/images/单点登录-背景色.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login/static/images/数据流引擎单点登录-大背景图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login/static/images/数据流引擎单点登录-大背景图.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login/static/images/数据流引擎系统文字logo-更新.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login/static/images/数据流引擎系统文字logo-更新.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login/static/images/数据流水线-更新.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login/static/images/数据流水线-更新.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/login/static/images/有生LOGO白色.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risesoft-y9/DataFlow-Engine/b0764c7a60b0e0e80614c24b81725cbb8bf3abd8/vue/y9vue-dataFlowEngine/src/views/login/static/images/有生LOGO白色.png -------------------------------------------------------------------------------- /vue/y9vue-dataFlowEngine/src/views/safety/index.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-api/src/main/java/net/risedata/register/exceptions/RegisterException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.exceptions; 2 | 3 | /** 4 | * @Description : 关于注册中心的异常 5 | * @ClassName RegisterException 6 | * @Author lb 7 | * @Date 2021/12/6 10:24 8 | * @Version 1.0 9 | */ 10 | public class RegisterException extends RuntimeException { 11 | 12 | public RegisterException(String msg){ 13 | super(msg); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/annotations/EnableSystem.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.annotations; 2 | 3 | import org.springframework.context.annotation.Import; 4 | 5 | import net.risedata.register.config.SystemConfig; 6 | import net.risedata.register.config.SystemConfigSelector; 7 | 8 | import java.lang.annotation.*; 9 | 10 | /** 11 | * @Description : 启动系统操作 暂时只实现关闭 12 | * @ClassName EnableSystem 13 | * @Author lb 14 | * @Date 2021/12/22 17:46 15 | * @Version 1.0 16 | */ 17 | @Target(ElementType.TYPE) 18 | @Documented 19 | @Retention(RetentionPolicy.RUNTIME) 20 | @Import({SystemConfigSelector.class}) 21 | public @interface EnableSystem { 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/api/filter/listener/HttpListener.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.api.filter.listener; 2 | 3 | import javax.servlet.ServletRequest; 4 | import javax.servlet.ServletResponse; 5 | 6 | /** 7 | * @Description : 8 | * @ClassName HttpListener 9 | * @Author lb 10 | * @Date 2022/7/4 16:42 11 | * @Version 1.0 12 | */ 13 | public interface HttpListener { 14 | 15 | void onStart(ServletRequest request, ServletResponse response); 16 | 17 | void onEnd(ServletRequest request, ServletResponse response); 18 | 19 | void onError(ServletRequest request, ServletResponse response,Exception e); 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/config/RPCConfig.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.config; 2 | 3 | import org.springframework.stereotype.Component; 4 | 5 | import net.risedata.rpc.annotation.RPCScan; 6 | 7 | /** 8 | * @Description : 9 | * @ClassName RPCConfig 10 | * @Author lb 11 | * @Date 2021/11/26 14:38 12 | * @Version 1.0 13 | */ 14 | @Component 15 | @RPCScan("net.risedata.register.rpc") 16 | public class RPCConfig { 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/container/ContainerManager.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.container; 2 | 3 | /** 4 | * @Description : 容器管理器 5 | * @ClassName ContainerManager 6 | * @Author lb 7 | * @Date 2021/12/22 15:20 8 | * @Version 1.0 9 | */ 10 | public interface ContainerManager { 11 | /** 12 | * 重启 13 | */ 14 | void reStart(); 15 | 16 | /** 17 | * 启动 18 | */ 19 | void start(); 20 | 21 | /** 22 | * 停止 23 | */ 24 | void stop(); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/ribbon/LBalancer.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.ribbon; 2 | 3 | 4 | import org.springframework.cloud.client.ServiceInstance; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @Description : 负载均衡算法器 10 | * @ClassName LBalancer 11 | * @Author lb 12 | * @Date 2021/11/30 14:42 13 | * @Version 1.0 14 | */ 15 | public interface LBalancer { 16 | /** 17 | * 选择一个实例 18 | * @param services 19 | * @return 20 | */ 21 | ServiceInstance choose(List services); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/ribbon/LServer.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.ribbon; 2 | 3 | import com.netflix.loadbalancer.Server; 4 | import org.springframework.cloud.client.ServiceInstance; 5 | 6 | /** 7 | * @Description : 继承ribbon的server用于负载均衡 8 | * @ClassName MyServer 9 | * @Author lb 10 | * @Date 2021/11/25 14:13 11 | * @Version 1.0 12 | */ 13 | public class LServer extends Server { 14 | 15 | public LServer(ServiceInstance instance) { 16 | super(instance.getHost(), instance.getPort()); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/ribbon/LoadBalancerFactory.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.ribbon; 2 | 3 | /** 4 | * @Description : 负责均衡算法工厂 5 | * @InterfaceName LoadBalancerFactory 6 | * @Author lb 7 | * @Date 2021/11/30 14:36 8 | * @Version 1.0 9 | */ 10 | public interface LoadBalancerFactory { 11 | 12 | 13 | /** 14 | * 根据实例名获取一个负载均衡实例 15 | * @param name 实例名 16 | * @return 实例 17 | */ 18 | LBalancer selectorBalancer(String name) ; 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/ribbon/impl/PollLoadBalancerFactory.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.ribbon.impl; 2 | 3 | import net.risedata.register.ribbon.LBalancer; 4 | 5 | /** 6 | * 轮询算法负载均衡工厂 7 | */ 8 | public class PollLoadBalancerFactory extends AbstractLoadBalancerFactory { 9 | 10 | public PollLoadBalancerFactory() { 11 | } 12 | 13 | @Override 14 | LBalancer createInstance(String name) { 15 | return new PollBalancer(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/ribbon/impl/WeightPollBalancer.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.ribbon.impl; 2 | 3 | /** 4 | * @Description : 权重算法 5 | * @ClassName WeightBalancer 6 | * @Author lb 7 | * @Date 2021/11/30 16:13 8 | * @Version 1.0 9 | */ 10 | public class WeightPollBalancer extends AbstractWeightBalancer { 11 | 12 | /** 13 | * 当前拿到的index 14 | */ 15 | private int index = 0; 16 | 17 | 18 | synchronized int getIndex(int maxIndex) { 19 | 20 | if (index + 1 > maxIndex) { 21 | index = 0; 22 | } 23 | return index++; 24 | } 25 | 26 | 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/ribbon/impl/WeightPollLoadBalancerFactory.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.ribbon.impl; 2 | 3 | import net.risedata.register.ribbon.LBalancer; 4 | 5 | /** 6 | * 加权轮询负载均衡算法工厂 7 | */ 8 | public class WeightPollLoadBalancerFactory extends AbstractLoadBalancerFactory { 9 | 10 | 11 | 12 | @Override 13 | LBalancer createInstance(String name) { 14 | return new WeightPollBalancer(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/ribbon/impl/WeightRandomBalancer.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.ribbon.impl; 2 | 3 | 4 | import java.util.Random; 5 | 6 | /** 7 | * @Description : 权重随机算法 8 | * @ClassName WeightBalancer 9 | * @Author lb 10 | * @Date 2021/11/30 16:13 11 | * @Version 1.0 12 | */ 13 | public class WeightRandomBalancer extends AbstractWeightBalancer { 14 | 15 | 16 | int getIndex(int maxIndex) { 17 | return new Random().nextInt(maxIndex); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/ribbon/impl/WeightRandomLoadBalancerFactory.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.ribbon.impl; 2 | 3 | import net.risedata.register.ribbon.LBalancer; 4 | 5 | /** 6 | * 加权随机负载均衡算法工厂 7 | */ 8 | public class WeightRandomLoadBalancerFactory extends AbstractLoadBalancerFactory { 9 | 10 | 11 | 12 | @Override 13 | LBalancer createInstance(String name) { 14 | return new WeightRandomBalancer(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/java/net/risedata/register/watch/ServiceAvailability.java: -------------------------------------------------------------------------------- 1 | package net.risedata.register.watch; 2 | 3 | /** 4 | * @Description : 检查服务是否可用接口 5 | * @ClassName ServiceAvailability 6 | * @Author lb 7 | * @Date 2021/12/6 10:17 8 | * @Version 1.0 9 | */ 10 | public interface ServiceAvailability { 11 | /** 12 | * 是否可用 13 | * @return true=可用,false不可用 14 | */ 15 | boolean isAvailability(); 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-beta-client/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.cloud.bootstrap.BootstrapConfiguration=net.risedata.register.config.DiscoverBootstrapAutoConfiguration 2 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ 3 | net.risedata.register.config.CreateBeanConfig,\ 4 | net.risedata.register.config.CommonAutoConfig -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-common-tools/lombok.config: -------------------------------------------------------------------------------- 1 | lombok.log.fieldName=LOGGER 2 | lombok.log.fieldIsStatic=true 3 | 4 | lombok.toString.doNotUseGetters=true 5 | lombok.toString.callSuper=call 6 | 7 | lombok.equalsAndHashCode.doNotUseGetters=true 8 | lombok.equalsAndHashCode.callSuper=call 9 | 10 | lombok.addLombokGeneratedAnnotation=true 11 | 12 | config.stopBubbling=true 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-common-tools/src/main/java/net/risesoft/model/RequestModel.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.model; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import lombok.Data; 7 | 8 | @Data 9 | public class RequestModel { 10 | 11 | private String method; 12 | 13 | private String url; 14 | 15 | private List> headers; 16 | 17 | private List> params; 18 | 19 | private String body; 20 | 21 | private String contentType; 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/LFor.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons; 2 | /** 3 | * ford 接口 4 | * @author libo 5 | *2020年6月16日 6 | */ 7 | public interface LFor { 8 | public void invoke(T t,int index); 9 | } 10 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/LogTime.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons; 2 | 3 | import java.util.Date; 4 | 5 | public class LogTime { 6 | private static ThreadLocal start = new ThreadLocal<>(); 7 | public static void start() { 8 | System.out.println("start:"+new Date()); 9 | start.set(System.currentTimeMillis()); 10 | } 11 | 12 | public static void print() { 13 | System.out.println("time:"+(System.currentTimeMillis()-start.get())+"ms"); 14 | } 15 | 16 | public static Long get() { 17 | return System.currentTimeMillis()-start.get(); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/exceptions/ParseException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons.exceptions; 2 | 3 | public class ParseException extends RuntimeException{ 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public ParseException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/listener/VariableRedirect.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons.listener; 2 | 3 | public interface VariableRedirect { 4 | /** 5 | * 修改的变量 6 | * @param newValue 7 | */ 8 | public void Redirect(Object newValue,Object... args); 9 | } 10 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/map/Init.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons.map; 2 | public interface Init { 3 | K create(); 4 | } 5 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/service/Invoke.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons.service; 2 | @FunctionalInterface 3 | public interface Invoke { 4 | void run(); 5 | } 6 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/service/IsEmpty.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons.service; 2 | /** 3 | * 实现此接口判断实现了该接口的对象是否为空 4 | * @author libo 5 | *2020年10月9日 6 | */ 7 | public interface IsEmpty { 8 | /** 9 | * 此对象是否为空 10 | * @return 11 | */ 12 | public boolean isEmpty(); 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/test/package-info.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons.test; -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/utils/GetKey.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons.utils; 2 | 3 | public interface GetKey { 4 | 5 | K getKey(V v); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc-commons/src/main/java/net/risedata/jdbc/commons/utils/Print.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.commons.utils; 2 | 3 | public class Print { 4 | public static void print(Object... arr) { 5 | 6 | for (int i = 0; i < arr.length; i++) { 7 | System.out.print(arr[i]+" "); 8 | } 9 | System.out.println(); 10 | } 11 | 12 | public static void print(Object[][] obj) { 13 | for (@SuppressWarnings("unused") Object[] objects : obj) { 14 | System.out.print("["); 15 | for (int i = 0; i < obj.length; i++) { 16 | if (i!=0) { 17 | System.out.print(","); 18 | } 19 | System.out.print(obj[i]); 20 | } 21 | System.out.println(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/Exclude.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations; 2 | 3 | import java.lang.annotation.Documented; 4 | import java.lang.annotation.ElementType; 5 | import java.lang.annotation.Inherited; 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.RetentionPolicy; 8 | import java.lang.annotation.Target; 9 | 10 | /** 11 | * 加了此注解的字段不会被加载 12 | * 13 | * @author libo 2020年10月15日 14 | */ 15 | @Target(ElementType.FIELD) 16 | @Retention(RetentionPolicy.RUNTIME) 17 | @Documented 18 | @Inherited 19 | public @interface Exclude { 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/cache/package-info.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.cache; -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/join/NULL.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.join; 2 | 3 | /** 4 | * 空的 5 | * 6 | * @author libo 2021年5月10日 7 | */ 8 | public class NULL { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/join/OneToMany.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.join; 2 | 3 | import java.lang.annotation.Documented; 4 | import java.lang.annotation.ElementType; 5 | import java.lang.annotation.Inherited; 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.RetentionPolicy; 8 | import java.lang.annotation.Target; 9 | 10 | 11 | 12 | 13 | @Target(ElementType.FIELD) 14 | @Retention(RetentionPolicy.RUNTIME) 15 | @Documented 16 | @Inherited 17 | public @interface OneToMany { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/operation/OperateCollection.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.operation; 2 | 3 | import java.lang.annotation.Documented; 4 | import java.lang.annotation.Inherited; 5 | import java.lang.annotation.Retention; 6 | import java.lang.annotation.Target; 7 | import java.lang.annotation.ElementType; 8 | import java.lang.annotation.RetentionPolicy; 9 | 10 | @Target(ElementType.FIELD) 11 | @Retention(RetentionPolicy.RUNTIME) 12 | @Documented 13 | @Inherited 14 | public @interface OperateCollection { 15 | Operate[] value(); 16 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/order/Ascs.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.order; 2 | 3 | import java.lang.annotation.Documented; 4 | import java.lang.annotation.ElementType; 5 | import java.lang.annotation.Inherited; 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.RetentionPolicy; 8 | import java.lang.annotation.Target; 9 | 10 | @Target(ElementType.FIELD) 11 | @Retention(RetentionPolicy.RUNTIME) 12 | @Documented 13 | @Inherited 14 | public @interface Ascs { 15 | Asc[] value(); 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/order/Descs.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.order; 2 | 3 | import java.lang.annotation.Documented; 4 | import java.lang.annotation.ElementType; 5 | import java.lang.annotation.Inherited; 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.RetentionPolicy; 8 | import java.lang.annotation.Target; 9 | 10 | @Target(ElementType.FIELD) 11 | @Retention(RetentionPolicy.RUNTIME) 12 | @Documented 13 | @Inherited 14 | public @interface Descs { 15 | Desc[] value(); 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/repository/Modify.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.repository; 2 | 3 | 4 | import java.lang.annotation.Documented; 5 | import java.lang.annotation.ElementType; 6 | import java.lang.annotation.Inherited; 7 | import java.lang.annotation.Retention; 8 | import java.lang.annotation.RetentionPolicy; 9 | import java.lang.annotation.Target; 10 | 11 | /** 12 | * 在dynamic dao 上添加此注解说明用于修改(增,删,改)操作 13 | * 14 | * @author libo 2021年7月8日 15 | */ 16 | @Target(ElementType.METHOD) 17 | @Retention(RetentionPolicy.RUNTIME) 18 | @Documented 19 | @Inherited 20 | public @interface Modify { 21 | String value(); 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/repository/Search.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.repository; 2 | 3 | 4 | import java.lang.annotation.Documented; 5 | import java.lang.annotation.ElementType; 6 | import java.lang.annotation.Inherited; 7 | import java.lang.annotation.Retention; 8 | import java.lang.annotation.RetentionPolicy; 9 | import java.lang.annotation.Target; 10 | 11 | 12 | /** 13 | * 在dynamic dao 上添加此注解说明用于查询 14 | * 15 | * @author libo 2021年7月8日 16 | */ 17 | @Target(ElementType.METHOD) 18 | @Retention(RetentionPolicy.RUNTIME) 19 | @Documented 20 | @Inherited 21 | public @interface Search { 22 | 23 | String value(); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/search/Sync.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.search; 2 | 3 | import static java.lang.annotation.ElementType.TYPE; 4 | import java.lang.annotation.Documented; 5 | import java.lang.annotation.Inherited; 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.RetentionPolicy; 8 | import java.lang.annotation.Target; 9 | 10 | /** 11 | * 标识这个bean 在查询分页的时候开启异步 12 | * 使用这个功能之前需要先注入一个TaskAwaitExecutor 13 | * 14 | * @author libo 2020年11月30日 15 | */ 16 | @Target(TYPE) 17 | @Retention(RetentionPolicy.RUNTIME) 18 | @Documented 19 | @Inherited 20 | public @interface Sync { 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/annotations/update/Check.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.annotations.update; 2 | 3 | import java.lang.annotation.Documented; 4 | import java.lang.annotation.ElementType; 5 | import java.lang.annotation.Inherited; 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.RetentionPolicy; 8 | import java.lang.annotation.Target; 9 | 10 | /** 11 | * 添加了此注解的字段会在 upadte or insert 的时候生效 12 | * 会先查库检查是否存在 用的是 等于操作 13 | * @author libo 14 | *2020年11月4日 15 | */ 16 | @Target(ElementType.FIELD) 17 | @Retention(RetentionPolicy.RUNTIME) 18 | @Documented 19 | @Inherited 20 | public @interface Check { 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/condition/Condition.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.condition; 2 | 3 | import java.util.Map; 4 | 5 | /** 6 | *条件表达式接口 7 | * @author libo 8 | *2020年10月19日 9 | */ 10 | public interface Condition { 11 | /** 12 | * 是否执行调用 13 | * @param o 14 | * @return 15 | */ 16 | boolean isHandle(Map o); 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/condition/parse/Parse.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.condition.parse; 2 | 3 | import java.util.regex.Matcher; 4 | import java.util.regex.Pattern; 5 | 6 | import net.risedata.jdbc.config.model.BeanConfig; 7 | 8 | public interface Parse { 9 | Pattern getPattern(); 10 | String parse(String group,BeanConfig bc,Matcher m); 11 | } 12 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/config/EnableRepository.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.config; 2 | 3 | import java.lang.annotation.Inherited; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | 7 | /** 8 | * 需要被load的包 注意无需写** 只需写需要被扫描的包名 9 | * 10 | * @author libo 2020年7月15日 11 | */ 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Inherited 14 | public @interface EnableRepository { 15 | String[] value() default { "" }; 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/config/JdbcScan.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.config; 2 | 3 | import java.lang.annotation.Inherited; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | 7 | /** 8 | * 需要被load的包 只需写包名 9 | * 10 | * @author libo 2020年7月15日 11 | */ 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Inherited 14 | public @interface JdbcScan { 15 | String[] value() default { "" }; 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/exception/ConfigException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.exception; 2 | 3 | public class ConfigException extends RuntimeException{ 4 | 5 | /** 6 | * 7 | */ 8 | private static final long serialVersionUID = 1L; 9 | 10 | 11 | public ConfigException(String msg){ 12 | super(msg); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/exception/InstanceException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.exception; 2 | 3 | /** 4 | * 通常为创建实例时出错 5 | * 6 | * @author libo 2021年6月24日 7 | */ 8 | public class InstanceException extends RuntimeException { 9 | 10 | /** 11 | * 12 | */ 13 | private static final long serialVersionUID = 1L; 14 | 15 | public InstanceException(String msg) { 16 | super(msg); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/exception/ProxyException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.exception; 2 | 3 | /** 4 | * 代理对象时出现的异常 5 | * 6 | * @author libo 2021年7月28日 7 | */ 8 | public class ProxyException extends RuntimeException { 9 | 10 | /** 11 | * 12 | */ 13 | private static final long serialVersionUID = 1L; 14 | 15 | public ProxyException(String msg) { 16 | super(msg); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/exception/SqlExecutionException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.exception; 2 | 3 | /** 4 | * 执行sql 时出现的异常 5 | * 6 | * @author libo 2021年7月28日 7 | */ 8 | public class SqlExecutionException extends RuntimeException { 9 | 10 | /** 11 | * 12 | */ 13 | private static final long serialVersionUID = 1L; 14 | 15 | public SqlExecutionException(String msg) { 16 | super(msg); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/executor/Executors.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.executor; 2 | 3 | 4 | 5 | public class Executors { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/executor/log/PrintExecutor.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.executor.log; 2 | 3 | /** 4 | * 用于打印操作 会将sql 传入到此接口的实现类中进行进行输出到控制台 5 | * 6 | * @author libo 2021年2月18日 7 | */ 8 | public interface PrintExecutor { 9 | void print(String msg, Object[] objects); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/executor/page/PageExecutor.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.executor.page; 2 | 3 | /** 4 | * 分页的操作
5 | * 会根据数据库来选择不同的实现类 使用者也可以自定义分页工具 6 | * 7 | * @author libo 2021年2月8日 8 | */ 9 | public interface PageExecutor { 10 | /** 11 | * 返回分页后的sql 12 | * 13 | * @param sql 分页前的sql 14 | * @param pageNo 当前页数 15 | * @param pageSize 大小 16 | * @return 17 | */ 18 | String getPageSql(String sql, int pageNo, int pageSize); 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/executor/page/impl/MysqlPageExecutor.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.executor.page.impl; 2 | 3 | import net.risedata.jdbc.executor.page.PageExecutor; 4 | 5 | /** 6 | * mysql的实现类 7 | * 8 | * @author libo 2021年2月8日 9 | */ 10 | public class MysqlPageExecutor implements PageExecutor { 11 | 12 | @Override 13 | public String getPageSql(String sql, int pageIndex, int rows) { 14 | return sql + " limit " + ((pageIndex - 1) * rows) + " ," + rows; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/executor/set/SetValueExecutor.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.executor.set; 2 | /** 3 | * 用来设置一个对象的值 4 | * @author libo 5 | *2021年2月8日 6 | */ 7 | public interface SetValueExecutor { 8 | /** 9 | * 设置一个对象的值 10 | * @param o 设置的对象 11 | * @param value 设置的值 12 | * @param args 其他的参数 交由 根据实现类来实现 13 | */ 14 | void setValue(Object o,Object value,T args); 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/executor/sync/SyncService.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.executor.sync; 2 | 3 | import java.util.concurrent.Callable; 4 | import java.util.concurrent.Future; 5 | 6 | public interface SyncService { 7 | 8 | Future submit(Callable call); 9 | } 10 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/executor/sync/ThreadPoolSyncService.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.executor.sync; 2 | 3 | import java.util.concurrent.Callable; 4 | import java.util.concurrent.ExecutorService; 5 | import java.util.concurrent.Future; 6 | 7 | public class ThreadPoolSyncService implements SyncService{ 8 | 9 | private ExecutorService executor; 10 | 11 | 12 | 13 | /** 14 | * @param executor 15 | */ 16 | public ThreadPoolSyncService(ExecutorService executor) { 17 | this.executor = executor; 18 | } 19 | 20 | 21 | 22 | @Override 23 | public Future submit(Callable call) { 24 | return executor.submit(call); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/factory/InstanceFactory.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.factory; 2 | /** 3 | * 实例工厂用于创建类 4 | * @author libo 5 | *2021年2月9日 6 | */ 7 | public interface InstanceFactory { 8 | /** 9 | * 传入class对象拿到对应的实例 10 | * @param 11 | * @param instanceType 12 | * @return 13 | */ 14 | T getInstance(Class instanceType)throws InstantiationException,IllegalAccessException; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/factory/impl/MultitonInstanceFactory.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.factory.impl; 2 | 3 | import net.risedata.jdbc.factory.InstanceFactory; 4 | 5 | /** 6 | * 多例工厂 在此工厂中创建的对象 不会被缓存 7 | * 8 | * @author libo 2021年2月9日 9 | */ 10 | public class MultitonInstanceFactory implements InstanceFactory { 11 | 12 | @Override 13 | public T getInstance(Class instanceType) throws InstantiationException, IllegalAccessException { 14 | return instanceType.newInstance(); 15 | } 16 | 17 | 18 | 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/mapping/CastHandleMapping.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.mapping; 2 | /** 3 | * 强转映射操作类 4 | * @author libo 5 | *2021年2月8日 6 | * @param 7 | */ 8 | public interface CastHandleMapping { 9 | /** 10 | * 是否被改处理器处理 11 | * @param type 12 | * @return 13 | */ 14 | boolean isHandle(Class type); 15 | /** 16 | * 强转 17 | * @param o 18 | * @return 19 | */ 20 | T toValue(Object o); 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/mapping/ColumnMapping.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.mapping; 2 | 3 | import java.lang.reflect.Field; 4 | 5 | import net.risedata.jdbc.config.model.BeanConfig; 6 | 7 | /** 8 | * 对于行的映射解决一对多问题 9 | * 10 | * @author lb 11 | * 12 | */ 13 | public interface ColumnMapping { 14 | 15 | ColumnMapping create(BeanConfig bc,Field field,String[] args); 16 | 17 | void handle(Object value,BeanConfig bc); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/mapping/HandleException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.mapping; 2 | 3 | public class HandleException extends RuntimeException { 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public HandleException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/mapping/LRowMapping.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.mapping; 2 | 3 | import java.sql.ResultSet; 4 | /** 5 | * 自定义处理映射 6 | * @author libo 7 | *2020年11月30日 8 | * @param 9 | */ 10 | @FunctionalInterface 11 | public interface LRowMapping { 12 | void handle(T t,ResultSet set,int index); 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/mapping/impl/BlobHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.mapping.impl; 2 | 3 | 4 | import java.sql.Blob; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | 8 | public class BlobHandle extends SimpleHandleMapping{ 9 | 10 | @Override 11 | public boolean isHandle(Class cla) { 12 | return cla == Blob.class; 13 | } 14 | @Override 15 | public Blob getValue(ResultSet set, String field) throws SQLException { 16 | 17 | return set.getBlob(field); 18 | } 19 | 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/mapping/impl/ByteArrayHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.mapping.impl; 2 | 3 | 4 | import java.sql.ResultSet; 5 | import java.sql.SQLException; 6 | 7 | public class ByteArrayHandle extends SimpleHandleMapping{ 8 | 9 | @Override 10 | public boolean isHandle(Class cla) { 11 | return cla == byte[].class; 12 | } 13 | 14 | 15 | 16 | @Override 17 | public byte[] getValue(ResultSet set, String field) throws SQLException { 18 | return set.getBytes(field); 19 | } 20 | 21 | 22 | 23 | 24 | 25 | } 26 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/mapping/impl/ClobHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.mapping.impl; 2 | 3 | 4 | import java.sql.Clob; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | 8 | 9 | public class ClobHandle extends SimpleHandleMapping { 10 | 11 | @Override 12 | public boolean isHandle(Class cla) { 13 | return cla == Clob.class; 14 | } 15 | 16 | @Override 17 | public Clob getValue(ResultSet set, String field) throws SQLException { 18 | return set.getClob(field); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/operation/Custom.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.operation; 2 | 3 | /** 4 | * 自定义操作接口 5 | * 6 | * @author libo 2020年11月27日 7 | */ 8 | @FunctionalInterface 9 | public interface Custom { 10 | /** 11 | * 自定义操作接口:参数 {@link Where} 12 | * 13 | * @param args 14 | * @return {@link Boolean}
15 | * return true 代表此操作增加了条件需要动态判断是否需要添加where 或者and 进行连接条件
16 | * return false 则不会对sql作出条件的连接 17 | */ 18 | boolean where(Where args); 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/operation/OperationInit.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.operation; 2 | 3 | import java.lang.reflect.Field; 4 | 5 | /** 6 | * 初始化操作 7 | * 8 | * @author libo 2021年3月29日 9 | */ 10 | public interface OperationInit { 11 | /** 12 | * 初始化字段完成后会调用此方法 (注意:是初始化字段不是初始化这个类 如果这个bean是单例的则会调用多次) 13 | * 14 | * @param beanClass 15 | * @param field 16 | */ 17 | void initial(Class beanClass, Field field); 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/operation/SqlDefaultOperation.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.operation; 2 | /** 3 | * 数据库字段类型订单默认operation接口 4 | */ 5 | public interface SqlDefaultOperation { 6 | public boolean hasOperation(String sqlType); 7 | public Operation getOperation(String sqlType); 8 | } 9 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/operation/impl/EQOperation.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.operation.impl; 2 | 3 | import net.risedata.jdbc.operation.Operation; 4 | import net.risedata.jdbc.operation.SqlDefaultOperation; 5 | 6 | public class EQOperation extends DefaultOperation implements SqlDefaultOperation{ 7 | 8 | public EQOperation() { 9 | super("="); 10 | } 11 | 12 | @Override 13 | public boolean hasOperation(String sqlType) { 14 | return true; 15 | } 16 | 17 | @Override 18 | public Operation getOperation(String sqlType) { 19 | return this; 20 | } 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/repository/CrudRepository.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.repository; 2 | 3 | 4 | 5 | /** 6 | * 提供基础的crud 方法的代理对象 7 | * 8 | * @author lb 9 | * @date 2023年3月10日 下午5:31:03 10 | * @param 操作的对象 11 | * @param id 12 | */ 13 | public interface CrudRepository extends Repository { 14 | 15 | /** 16 | * 根据id 获取对象 17 | * 18 | * @param id 19 | * @return 20 | */ 21 | Entiry findById(ID id); 22 | 23 | /** 24 | * 根据id 删除对象 25 | * 26 | * @param id 27 | * @return 28 | */ 29 | Integer deleteById(ID id); 30 | 31 | 32 | } 33 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/repository/Repository.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.repository; 2 | 3 | 4 | /** 5 | * 继承此接口的接口的方法会被动态代理掉 6 | * 7 | * 8 | * @author libo 2021年7月8日 9 | */ 10 | public interface Repository { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/repository/parse/handles/method/InstructionHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.repository.parse.handles.method; 2 | 3 | import net.risedata.jdbc.repository.model.ClassBuild; 4 | 5 | /** 6 | * 解析指令的执行器 7 | * 8 | * @author lb 9 | * @date 2023年3月13日 上午11:41:15 10 | */ 11 | public interface InstructionHandle { 12 | 13 | /** 14 | * 此 解析指令执行器执行的指令 15 | * 16 | * @return 17 | */ 18 | String handleInstruction(); 19 | 20 | /** 21 | * 执行handle 22 | * 23 | * @param builder 24 | */ 25 | void handle(MethodNameBuilder builder,ClassBuild classBuild); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/repository/parse/handles/method/StartedInstructionHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.repository.parse.handles.method; 2 | 3 | /** 4 | * 开始的指令执行器 包括update insert等开始指令集 5 | * 6 | * @author lb 7 | * @date 2023年3月13日 下午2:54:46 8 | */ 9 | public interface StartedInstructionHandle extends InstructionHandle { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/repository/parse/handles/method/section/SectionInstructionHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.repository.parse.handles.method.section; 2 | 3 | import net.risedata.jdbc.repository.parse.handles.method.InstructionHandle; 4 | 5 | /*** 6 | * 区间操作 7 | * 8 | * @author lb 9 | * @date 2023年3月13日 下午3:44:45 10 | */ 11 | public interface SectionInstructionHandle extends InstructionHandle { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/repository/parse/handles/method/where/WhereInstructionHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.repository.parse.handles.method.where; 2 | 3 | import net.risedata.jdbc.repository.parse.handles.method.InstructionHandle; 4 | 5 | public interface WhereInstructionHandle extends InstructionHandle{ 6 | 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/repository/parse/handles/method/where/condition/ConditionInstructionHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.repository.parse.handles.method.where.condition; 2 | 3 | import net.risedata.jdbc.repository.parse.handles.method.InstructionHandle; 4 | import net.risedata.jdbc.repository.parse.handles.method.MethodNameBuilder; 5 | 6 | public interface ConditionInstructionHandle extends InstructionHandle { 7 | /** 8 | * 执行handle 9 | * 10 | * @param builder 11 | */ 12 | void handle(MethodNameBuilder builder, String backField, String condition); 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/repository/parse/handles/search/SearchReturnHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.repository.parse.handles.search; 2 | 3 | import net.risedata.jdbc.repository.model.ArgsBuilder; 4 | import net.risedata.jdbc.repository.model.ClassBuild; 5 | import net.risedata.jdbc.repository.model.ReturnType; 6 | 7 | public interface SearchReturnHandle { 8 | 9 | 10 | 11 | boolean isHandle(ReturnType type); 12 | 13 | String parse(ReturnType type,ClassBuild properties,ArgsBuilder argsBuilder); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/repository/parse/sql/SqlParseHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.repository.parse.sql; 2 | 3 | import java.lang.reflect.Method; 4 | 5 | import net.risedata.jdbc.repository.model.ArgsBuilder; 6 | import net.risedata.jdbc.repository.model.ReturnType; 7 | 8 | public interface SqlParseHandle { 9 | 10 | boolean isHandle(String instruction); 11 | 12 | String parse(Method m, ReturnType returnType, ArgsBuilder argsBuilder, String instruction,StringBuilder methodBody); 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/search/exception/FieldException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.search.exception; 2 | 3 | public class FieldException extends RuntimeException{ 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public FieldException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/search/exception/IfHandleException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.search.exception; 2 | 3 | public class IfHandleException extends RuntimeException{ 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public IfHandleException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/search/exception/JoinException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.search.exception; 2 | 3 | public class JoinException extends RuntimeException{ 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public JoinException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/search/exception/MappingException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.search.exception; 2 | 3 | public class MappingException extends RuntimeException{ 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public MappingException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/search/exception/NoEntityException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.search.exception; 2 | 3 | public class NoEntityException extends RuntimeException { 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public NoEntityException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/search/exception/NoTableException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.search.exception; 2 | 3 | public class NoTableException extends RuntimeException { 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public NoTableException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/search/exception/NoValueException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.search.exception; 2 | 3 | public class NoValueException extends RuntimeException{ 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public NoValueException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/search/exception/OperationException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.search.exception; 2 | 3 | public class OperationException extends RuntimeException{ 4 | /** 5 | * 6 | */ 7 | private static final long serialVersionUID = 1L; 8 | 9 | public OperationException(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/parse/TypeParseHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.parse; 2 | /** 3 | * 用来解析类型标签的操作由 4 | * @author libo 5 | *2020年11月30日 6 | */ 7 | public interface TypeParseHandle { 8 | boolean isHandle(String type); 9 | String parseValue(String value,String type); 10 | } 11 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/parse/impl/BigDecimalTypeParseHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.parse.impl; 2 | 3 | import net.risedata.jdbc.type.parse.TypeParseHandle; 4 | 5 | /** 6 | * 处理 int 类型 7 | * @author libo 8 | *2020年11月30日 9 | */ 10 | public class BigDecimalTypeParseHandle implements TypeParseHandle{ 11 | 12 | @Override 13 | public boolean isHandle(String type) { 14 | return "BigDecimal".equals(type)||"java.lang.BigDecimal".equals(type); 15 | } 16 | 17 | @Override 18 | public String parseValue(String value, String type) { 19 | return "BigDecimal.valueOf("+value+")"; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/parse/impl/ByteTypeParseHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.parse.impl; 2 | 3 | import net.risedata.jdbc.type.parse.TypeParseHandle; 4 | 5 | /** 6 | * 处理 int 类型 7 | * @author libo 8 | *2020年11月30日 9 | */ 10 | public class ByteTypeParseHandle implements TypeParseHandle{ 11 | 12 | @Override 13 | public boolean isHandle(String type) { 14 | 15 | return "byte".equals(type)||"java.lang.Byte".equals(type); 16 | } 17 | 18 | @Override 19 | public String parseValue(String value, String type) { 20 | return "Byte.valueOf("+value+")"; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/parse/impl/DoubleTypeParseHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.parse.impl; 2 | 3 | import net.risedata.jdbc.type.parse.TypeParseHandle; 4 | 5 | /** 6 | * 处理 int 类型 7 | * @author libo 8 | *2020年11月30日 9 | */ 10 | public class DoubleTypeParseHandle implements TypeParseHandle{ 11 | 12 | @Override 13 | public boolean isHandle(String type) { 14 | return "double".equals(type)||"java.lang.Double".equals(type); 15 | } 16 | 17 | @Override 18 | public String parseValue(String value, String type) { 19 | return "Double.valueOf("+value+")"; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/parse/impl/FloatTypeParseHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.parse.impl; 2 | 3 | import net.risedata.jdbc.type.parse.TypeParseHandle; 4 | 5 | /** 6 | * 处理 int 类型 7 | * @author libo 8 | *2020年11月30日 9 | */ 10 | public class FloatTypeParseHandle implements TypeParseHandle{ 11 | 12 | @Override 13 | public boolean isHandle(String type) { 14 | return "float".equals(type)||"java.lang.Float".equals(type); 15 | } 16 | 17 | @Override 18 | public String parseValue(String value, String type) { 19 | return "Float.valueOf("+value+")"; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/parse/impl/IntTypeParseHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.parse.impl; 2 | 3 | import net.risedata.jdbc.type.parse.TypeParseHandle; 4 | 5 | /** 6 | * 处理 int 类型 7 | * @author libo 8 | *2020年11月30日 9 | */ 10 | public class IntTypeParseHandle implements TypeParseHandle{ 11 | 12 | @Override 13 | public boolean isHandle(String type) { 14 | return "int".equals(type)||"java.lang.Integer".equals(type)||"Integer".equals(type); 15 | } 16 | 17 | @Override 18 | public String parseValue(String value, String type) { 19 | return "Integer.valueOf("+value+")"; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/parse/impl/LongTypeParseHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.parse.impl; 2 | 3 | import net.risedata.jdbc.type.parse.TypeParseHandle; 4 | 5 | /** 6 | * 处理 int 类型 7 | * @author libo 8 | *2020年11月30日 9 | */ 10 | public class LongTypeParseHandle implements TypeParseHandle{ 11 | 12 | @Override 13 | public boolean isHandle(String type) { 14 | return "long".equals(type)||"java.lang.Long".equals(type); 15 | } 16 | 17 | @Override 18 | public String parseValue(String value, String type) { 19 | return "Long.valueOf("+value+")"; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/parse/impl/ShortTypeParseHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.parse.impl; 2 | 3 | import net.risedata.jdbc.type.parse.TypeParseHandle; 4 | 5 | /** 6 | * 处理 int 类型 7 | * @author libo 8 | *2020年11月30日 9 | */ 10 | public class ShortTypeParseHandle implements TypeParseHandle{ 11 | 12 | @Override 13 | public boolean isHandle(String type) { 14 | 15 | return "short".equals(type)||"java.lang.Short".equals(type); 16 | } 17 | 18 | @Override 19 | public String parseValue(String value, String type) { 20 | return "Short.valueOf("+value+")"; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/sql/SqlType.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.sql; 2 | /** 3 | * java 类型与 sql类型的对应 4 | * @author libo 5 | *2021年2月8日 6 | */ 7 | public interface SqlType { 8 | boolean isHandle(String type); 9 | Class getType(String type); 10 | } 11 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/sql/impl/DateSqlTypeImpl.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.sql.impl; 2 | 3 | import java.util.Date; 4 | /** 5 | * 时间类型的type 6 | * @author libo 7 | *2021年2月8日 8 | */ 9 | public class DateSqlTypeImpl extends BaseSqlType { 10 | 11 | @Override 12 | public boolean isHandle(String type) { 13 | return type.toUpperCase().indexOf("DATE") != -1; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/sql/impl/NumberSqlTypeImpl.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.sql.impl; 2 | 3 | import net.risedata.jdbc.type.sql.SqlType; 4 | 5 | public class NumberSqlTypeImpl implements SqlType { 6 | 7 | @Override 8 | public boolean isHandle(String type) { 9 | return type.toUpperCase().indexOf("NUMBER") == 0; 10 | } 11 | 12 | @Override 13 | public Class getType(String type) { 14 | if ("NUMBER".equals( type.toUpperCase())) { 15 | return Long.class; 16 | } 17 | return Double.class; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/sql/impl/StringSqlTypeImpl.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.sql.impl; 2 | 3 | 4 | public class StringSqlTypeImpl extends BaseSqlType { 5 | 6 | @Override 7 | public boolean isHandle(String type) { 8 | String sqltype = type.toUpperCase(); 9 | return sqltype.indexOf("CHAR")!=-1||sqltype.indexOf("BLOB")!=-1; 10 | } 11 | 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/java/net/risedata/jdbc/type/sql/impl/TimeSqlTypeImpl.java: -------------------------------------------------------------------------------- 1 | package net.risedata.jdbc.type.sql.impl; 2 | 3 | import java.sql.Timestamp; 4 | 5 | public class TimeSqlTypeImpl extends BaseSqlType { 6 | 7 | @Override 8 | public boolean isHandle(String type) { 9 | return type.toUpperCase().indexOf("TIME")!=-1; 10 | } 11 | 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-jdbc/src/main/resource/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=net.risedata.jdbc.config.JdbcConfig,\net.risedata.jdbc.repository.RepositoryManager -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-base/src/main/java/risesoft/data/transfer/base/action/Action.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.base.action; 2 | 3 | import risesoft.data.transfer.core.context.JobContext; 4 | 5 | /** 6 | * 动作 7 | * @typeName Action 8 | * @date 2023年12月4日 9 | * @author lb 10 | */ 11 | public interface Action { 12 | 13 | void doAction(JobContext jobContext); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-base/src/main/java/risesoft/data/transfer/base/exchange/des.md: -------------------------------------------------------------------------------- 1 | { 2 | "bufferRecord": 1024, 3 | "speed": { 4 | "byte": 0, //byte 流速单位KB 5 | "record": 0, //条数 6 | "time": 1 //时间单位秒 7 | } 8 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/action/Action.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.action; 2 | 3 | import risesoft.data.transfer.core.context.JobContext; 4 | 5 | /** 6 | * 动作 7 | * @typeName Action 8 | * @date 2023年12月4日 9 | * @author lb 10 | */ 11 | public interface Action { 12 | 13 | void doAction(JobContext jobContext); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/channel/Channel.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.channel; 2 | 3 | import risesoft.data.transfer.core.stream.out.RecordOutuptStream; 4 | 5 | /** 6 | * 通道 下链接输出器上链接交换机,通道限流,交换机不限流 7 | * 8 | * @typeName Channel 9 | * @date 2023年12月4日 10 | * @author lb 11 | */ 12 | public interface Channel extends RecordOutuptStream { 13 | /** 14 | * 设置通道的出口 15 | * 16 | * @param exchange 17 | */ 18 | void setOutPutStream(RecordOutuptStream recordOutuptStream); 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/channel/InChannel.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.channel; 2 | 3 | import risesoft.data.transfer.core.record.Record; 4 | 5 | /** 6 | * 通道 下链接输出器上链接交换机, 输入通道标识这是一个输入通道 7 | * 8 | * @typeName Channel 9 | * @date 2023年12月4日 10 | * @author lb 11 | */ 12 | public interface InChannel extends Channel { 13 | /** 14 | * 收集脏数据脏数据推往这 15 | * 16 | * @param record 17 | * @param t 18 | * @param errorMessage 19 | */ 20 | void collectDirtyRecord(Record record, Throwable t, String errorMessage); 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/channel/OutChannel.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.channel; 2 | 3 | 4 | /** 5 | * 通道 下链接输出器上链接交换机,输出通道标识这是个输出通道 6 | * 7 | * @typeName Channel 8 | * @date 2023年12月4日 9 | * @author lb 10 | */ 11 | public interface OutChannel extends Channel { 12 | 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/close/CloseListener.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.close; 2 | 3 | /** 4 | * 关闭时的监听 5 | * 6 | * @typeName CloseListener 7 | * @date 2023年12月8日 8 | * @author lb 9 | */ 10 | @FunctionalInterface 11 | public interface CloseListener extends Closed { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/close/CloseListenerning.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.close; 2 | 3 | /** 4 | * 可被监听关闭事件的 5 | * 6 | * @typeName CloseListenerning 7 | * @date 2023年12月8日 8 | * @author lb 9 | */ 10 | public interface CloseListenerning { 11 | 12 | void addCloseListener(CloseListener closeListener); 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/close/Closed.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.close; 2 | 3 | /** 4 | * 可以被关闭的 5 | * 6 | * @typeName Closed 7 | * @date 2023年12月8日 8 | * @author lb 9 | */ 10 | public interface Closed { 11 | /** 12 | * 关闭 通常代表着上游处理任务结束 13 | */ 14 | void close() throws Exception; 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/config/ConfigLoad.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.config; 2 | 3 | import risesoft.data.transfer.core.context.JobContext; 4 | import risesoft.data.transfer.core.util.Configuration; 5 | 6 | /** 7 | * 配置加载器 8 | * 9 | * 10 | * @typeName ConfigLoad 11 | * @date 2024年8月27日 12 | * @author lb 13 | */ 14 | public interface ConfigLoad { 15 | /** 16 | * 加载配置 17 | * 18 | * @param config 19 | * @param jobContext 20 | * @return 21 | */ 22 | Configuration laod(Configuration config,JobContext jobContext); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/context/JobContextInit.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.context; 2 | 3 | public interface JobContextInit { 4 | 5 | void init(JobContext jobContext); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/data/ConfigurationData.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.data; 2 | 3 | import risesoft.data.transfer.core.util.Configuration; 4 | 5 | public class ConfigurationData implements Data{ 6 | 7 | private Configuration configuration; 8 | 9 | public ConfigurationData(Configuration configuration) { 10 | super(); 11 | this.configuration = configuration; 12 | } 13 | 14 | public Configuration getConfiguration() { 15 | return configuration; 16 | } 17 | 18 | public void setConfiguration(Configuration configuration) { 19 | this.configuration = configuration; 20 | } 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/data/Data.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.data; 2 | /** 3 | * 标志为数据对象 任务与执行器的关系为 多对一 4 | * @typeName Task 5 | * @date 2023年12月4日 6 | * @author lb 7 | */ 8 | public interface Data { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/exception/InstallException.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.exception; 2 | 3 | /** 4 | * 初始化异常 5 | * 6 | * 7 | * @typeName InstallException 8 | * @date 2024年8月27日 9 | * @author lb 10 | */ 11 | public class InstallException extends RuntimeException { 12 | 13 | /** 14 | * 15 | */ 16 | private static final long serialVersionUID = 1L; 17 | 18 | public InstallException(String msg) { 19 | super(msg); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/executor/AbstractExecutor.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.executor; 2 | 3 | /** 4 | * 抽象处理泛型 5 | * 6 | * @typeName AbstractExecutor 7 | * @date 2023年12月11日 8 | * @author lb 9 | * @param 10 | */ 11 | public abstract class AbstractExecutor implements Executor { 12 | 13 | @SuppressWarnings("unchecked") 14 | @Override 15 | public void run(Object task) { 16 | runExecutor((T) task); 17 | } 18 | 19 | public abstract void runExecutor(T task); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/executor/Executor.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.executor; 2 | 3 | import risesoft.data.transfer.core.close.Closed; 4 | 5 | /** 6 | * 执行器 7 | * 8 | * @typeName Executor 9 | * @date 2023年12月5日 10 | * @author lb 11 | * @param 12 | */ 13 | public interface Executor extends Closed{ 14 | /** 15 | * 执行任务 16 | * 17 | * @param task 任务 18 | */ 19 | void run(Object task); 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/executor/ExecutorFacotry.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.executor; 2 | /** 3 | * 执行器创造工厂 4 | * @typeName ExecutorFacotry 5 | * @date 2023年12月8日 6 | * @author lb 7 | * @param 8 | */ 9 | public interface ExecutorFacotry { 10 | /** 11 | * 执行实例 12 | * 13 | * @return 14 | */ 15 | Executor getInstance(); 16 | 17 | /** 18 | * 这个close 代表不需要使用了 19 | */ 20 | void close(); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/executor/ExecutorListener.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.executor; 2 | 3 | /** 4 | * 执行器监听器 5 | * 6 | * @typeName ExecutorListener 7 | * @date 2023年12月11日 8 | * @author lb 9 | */ 10 | public interface ExecutorListener { 11 | 12 | void onError(Throwable e); 13 | 14 | /** 15 | * 任务消费结束触发的事件 16 | */ 17 | void taskEnd(Object task); 18 | 19 | /** 20 | * 启动执行器 21 | */ 22 | void start(); 23 | 24 | /** 25 | * 一个任务启动 26 | */ 27 | void taskStart(Object task); 28 | } 29 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/factory/InstanceFactory.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.factory; 2 | 3 | import java.util.Map; 4 | 5 | 6 | 7 | /** 8 | * 类工厂实际获取实例 9 | * @typeName FactoryManager 10 | * @date 2023年12月4日 11 | * @author lb 12 | */ 13 | public interface InstanceFactory { 14 | /** 15 | * 获取实例 16 | * @param 17 | * @param name 实例名 18 | * @param cla 需要转换的类 19 | * @return 20 | */ 21 | T getInstance(String name,Class cla,Map, Object> instanceMap) throws Exception; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/factory/SetValue.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.factory; 2 | 3 | import java.util.Map; 4 | 5 | import risesoft.data.transfer.core.util.Configuration; 6 | 7 | /** 8 | * 设置值,用于bean的创建使用 9 | * 10 | * 11 | * @typeName SetValue 12 | * @date 2024年12月31日 13 | * @author lb 14 | */ 15 | public interface SetValue { 16 | 17 | void set(Object source, Object valueObject, Map, Object> instanceMap, Configuration configuration) throws Exception; 18 | 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/handle/DirtyRecordHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.handle; 2 | 3 | import risesoft.data.transfer.core.record.Record; 4 | 5 | /** 6 | * 脏数据处理 7 | * 8 | * @typeName DirtyRecordHandle 9 | * @date 2023年12月12日 10 | * @author lb 11 | */ 12 | public interface DirtyRecordHandle extends Handle { 13 | 14 | void collectDirtyRecord(Record record, Throwable t, String errorMessage); 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/handle/DoHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.handle; 2 | 3 | 4 | 5 | @FunctionalInterface 6 | public interface DoHandle { 7 | 8 | void doHandle(H handles); 9 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/handle/EmptyHandleContext.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.handle; 2 | 3 | 4 | 5 | /** 6 | * 空的上下文 7 | * 8 | * @typeName EmptyHandleContext 9 | * @date 2023年12月6日 10 | * @author lb 11 | * @param 12 | */ 13 | @SuppressWarnings("rawtypes") 14 | public class EmptyHandleContext extends HandleContext { 15 | 16 | public static EmptyHandleContext EMPTY = new EmptyHandleContext(); 17 | 18 | @Override 19 | public void handle(DoHandle doHandle) { 20 | 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/handle/Handle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.handle; 2 | 3 | 4 | 5 | /** 6 | * Handle 实现handle来实现对应的驱动 7 | * @typeName Handle 8 | * @date 2023年12月4日 9 | * @author lb 10 | */ 11 | public interface Handle { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/handle/HandleChangeHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.handle; 2 | 3 | /** 4 | * 监听handle改变 5 | * 6 | * 7 | * @typeName HandleChangeHandle 8 | * @date 2024年12月11日 9 | * @author lb 10 | */ 11 | public interface HandleChangeHandle extends Handle { 12 | /** 13 | * 删除触发 14 | * 15 | * @param handle 具体的对象 16 | * @param handleType handle的类型 17 | */ 18 | void doRemove(Handle handle, Class handleType); 19 | 20 | /** 21 | * 添加触发 22 | * 23 | * @param handle 具体的对象 24 | * @param handleType handle的类型 25 | */ 26 | void doAdd(Handle handle, Class handleType); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/handle/InitApplicationConfigHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.handle; 2 | 3 | import risesoft.data.transfer.core.util.Configuration; 4 | 5 | /** 6 | * 初始化全局配置handle 7 | * 8 | * @typeName InitApplicationConfigHandle 9 | * @date 2023年12月8日 10 | * @author lb 11 | */ 12 | public interface InitApplicationConfigHandle extends Handle { 13 | /** 14 | * 初始化全局配置 15 | * 16 | * @param configuration 17 | */ 18 | void initApplicationConfig(Configuration configuration); 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/handle/RecordDisposeHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.handle; 2 | 3 | /** 4 | * 一条数据处理的过滤器标识符其余需要实现对应的过滤器获取对应的执行流程时的数据 5 | * 6 | * @typeName RecordDisposeFilter 7 | * @date 2023年12月4日 8 | * @author lb 9 | */ 10 | public interface RecordDisposeHandle extends Handle{ 11 | 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/instruction/factory/Instruction.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.instruction.factory; 2 | 3 | import risesoft.data.transfer.core.context.JobContext; 4 | import risesoft.data.transfer.core.util.Configuration; 5 | 6 | /** 7 | * 指令 8 | * 9 | * @typeName Instruction 10 | * @date 2024年8月23日 11 | * @author lb 12 | */ 13 | public interface Instruction { 14 | /** 15 | * 执行指令 16 | * 17 | * @param config 配置文件的字符串形式 18 | * @param jobContext 任务上下文 19 | * @return 20 | */ 21 | String executor(String config, JobContext jobContext); 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/instruction/factory/InstructionFactory.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.instruction.factory; 2 | 3 | /** 4 | * 指令工厂用于处理某个特定指令的产生 5 | * 6 | * 7 | * @typeName InstructionFactory 8 | * @date 2024年8月23日 9 | * @author lb 10 | */ 11 | public interface InstructionFactory { 12 | 13 | /** 14 | * 获取工厂名字用于函数名 15 | * 16 | * @return 17 | */ 18 | String getName(); 19 | 20 | /** 21 | * 获取指令 22 | * 23 | * @param args 24 | * @return 25 | */ 26 | Instruction getInstance(String[] args,String config); 27 | } 28 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/job/JobEndHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.job; 2 | 3 | import risesoft.data.transfer.core.context.JobContext; 4 | import risesoft.data.transfer.core.handle.Handle; 5 | 6 | /** 7 | * 任务结束 8 | * 9 | * @typeName JobStartHandle 10 | * @date 2023年12月29日 11 | * @author lb 12 | */ 13 | public interface JobEndHandle extends Handle{ 14 | 15 | void onJobEnd(JobContext jobContext); 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/job/JobListener.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.job; 2 | 3 | import risesoft.data.transfer.core.context.JobContext; 4 | 5 | /** 6 | * 任务执行时的监听器 7 | * 8 | * @typeName JobListener 9 | * @date 2023年12月11日 10 | * @author lb 11 | */ 12 | public interface JobListener { 13 | /** 14 | * 当有异常时触发 15 | * 16 | * @param e 17 | */ 18 | void onError(Throwable e); 19 | 20 | /** 21 | * 失败触发 22 | * 23 | * @param jobContext 24 | */ 25 | void onFailed(JobContext jobContext); 26 | 27 | /** 28 | * 任务执行成功触发 29 | * 30 | * @param jobContext 31 | */ 32 | void onSuccess(JobContext jobContext); 33 | } 34 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/job/JobStartHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.job; 2 | 3 | import risesoft.data.transfer.core.context.JobContext; 4 | import risesoft.data.transfer.core.handle.Handle; 5 | 6 | /** 7 | * 任务启动 8 | * 9 | * @typeName JobStartHandle 10 | * @date 2023年12月29日 11 | * @author lb 12 | */ 13 | public interface JobStartHandle extends Handle{ 14 | void onJobStart(JobContext jobContext); 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/listener/JobListener.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.listener; 2 | 3 | import risesoft.data.transfer.core.statistics.Communication; 4 | 5 | /** 6 | * 监听任务执行情况 7 | * 8 | * @typeName JobListener 9 | * @date 2023年12月4日 10 | * @author lb 11 | */ 12 | public interface JobListener { 13 | 14 | void end(Communication communication); 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/log/LogDebugHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.log; 2 | 3 | import risesoft.data.transfer.core.handle.Handle; 4 | 5 | /** 6 | * 标准日志输出debug 7 | * 8 | * @typeName LogHandle 9 | * @date 2023年12月22日 10 | * @author lb 11 | */ 12 | public interface LogDebugHandle extends Handle{ 13 | /** 14 | * 15 | * @param source 日志源 16 | * @param debug 内容 17 | * @param name 名字 18 | */ 19 | void debug(Object source, String debug); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/log/LogErrorHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.log; 2 | 3 | import risesoft.data.transfer.core.handle.Handle; 4 | 5 | /** 6 | * 标准日志输出异常日志 7 | * 8 | * @typeName LogHandle 9 | * @date 2023年12月22日 10 | * @author lb 11 | */ 12 | public interface LogErrorHandle extends Handle{ 13 | /** 14 | * 15 | * @param source 日志源 16 | * @param msg 内容 17 | * @param name 发送日志的名字 18 | */ 19 | void error(Object source, String msg); 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/log/LogHandleReference.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.log; 2 | 3 | import risesoft.data.transfer.core.handle.HandleContext; 4 | 5 | /** 6 | * 日志连接 7 | * 8 | * @typeName LogReference 9 | * @date 2023年12月29日 10 | * @author lb 11 | */ 12 | public interface LogHandleReference { 13 | 14 | boolean isDebug(); 15 | 16 | boolean isInfo(); 17 | 18 | boolean isError(); 19 | 20 | HandleContext getLogDebugHandle(); 21 | 22 | HandleContext getLogInfoHandle(); 23 | 24 | HandleContext getLogErrorHandle(); 25 | } 26 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/log/LogInfoHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.log; 2 | 3 | import risesoft.data.transfer.core.handle.Handle; 4 | 5 | /** 6 | * 标准日志输出 7 | * 8 | * @typeName LogHandle 9 | * @date 2023年12月22日 10 | * @author lb 11 | */ 12 | public interface LogInfoHandle extends Handle{ 13 | /** 14 | * 15 | * @param source 日志源 16 | * @param info 信息 17 | * @param name 名字 18 | */ 19 | void info(Object source, String info); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/log/LoggerFactory.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.log; 2 | 3 | /** 4 | * 日志类产生工厂 5 | * 6 | * @typeName LoggerFactory 7 | * @date 2023年12月25日 8 | * @author lb 9 | */ 10 | public interface LoggerFactory { 11 | 12 | /** 13 | * 获取日志类 14 | * 15 | * @param type 16 | * @return 17 | */ 18 | Logger getLogger(String name); 19 | 20 | /** 21 | * 类型 22 | * 23 | * @param type 24 | * @return 25 | */ 26 | Logger getLogger(Class type); 27 | } 28 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/plug/Plug.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.plug; 2 | 3 | import risesoft.data.transfer.core.context.JobContext; 4 | import risesoft.data.transfer.core.handle.Handle; 5 | 6 | /** 7 | * 各个模块的插件此插件可以操作到执行中的操作这个插件只是一个标记标记这个类属于插件类型具体需要实现handle来决定 8 | * 9 | * @typeName Plug 10 | * @date 2023年12月4日 11 | * @author lb 12 | */ 13 | public interface Plug extends Handle { 14 | /** 15 | * 是否注册 16 | * 17 | * @param jobContext 18 | * @return 19 | */ 20 | boolean register(JobContext jobContext); 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/record/Ack.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.record; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 消息接收 7 | * 8 | * @typeName Ack 9 | * @date 2023年12月12日 10 | * @author lb 11 | */ 12 | public interface Ack { 13 | /** 14 | * 确定 15 | * 16 | * @param record 17 | */ 18 | void confirm(Record record); 19 | 20 | /** 21 | * 确定 22 | * 23 | * @param record 24 | */ 25 | void confirm(List record); 26 | 27 | /** 28 | * 取消 29 | * 30 | * @param record 31 | * @param e 32 | * @param errorMag 33 | */ 34 | void cancel(Record record, Throwable e, String errorMag); 35 | } 36 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/record/ColumnDisposeHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.record; 2 | 3 | import risesoft.data.transfer.core.column.Column; 4 | import risesoft.data.transfer.core.handle.Handle; 5 | 6 | /** 7 | * 为了避免多个字段处理时多次循环问题提供的一次循环调用的类 8 | * 9 | * @typeName ColumnDispose 10 | * @date 2024年3月18日 11 | * @author lb 12 | */ 13 | @FunctionalInterface 14 | public interface ColumnDisposeHandle extends Handle { 15 | 16 | Column dispose(Column column, Record record,int index); 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/record/RecordInHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.record; 2 | 3 | import java.util.List; 4 | 5 | import risesoft.data.transfer.core.handle.Handle; 6 | 7 | /** 8 | * 数据输入时会触发的handle 在输入通道中执行,存在多线程调用 9 | * 10 | * @typeName RecordInHandle 11 | * @date 2023年12月8日 12 | * @author lb 13 | */ 14 | public interface RecordInHandle extends Handle { 15 | /** 16 | * 从输入通道中进入一条数据 17 | * 18 | * @param record 19 | */ 20 | void doIn(Record record); 21 | 22 | /** 23 | * 从输入通道中进入一批数据 24 | * 25 | * @param records 26 | */ 27 | void doIn(List records); 28 | } 29 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/start/StartConfiguration.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.start; 2 | 3 | /** 4 | * 用于启动的配置,预加载等,用来增强引擎的功能 5 | * ps:这是个通用的启动接口,会拉起所有的增强功能,如需按需使用请使用对应的启动配置 6 | * 7 | * @typeName StartConfiguration 8 | * @date 2024年8月29日 9 | * @author lb 10 | */ 11 | public interface StartConfiguration { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/statistics/EnumVal.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.statistics; 2 | /** 3 | * 枚举值 4 | * @typeName EnumVal 5 | * @date 2023年12月4日 6 | * @author lb 7 | */ 8 | public interface EnumVal { 9 | public int value(); 10 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/statistics/RecordSize.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.statistics; 2 | 3 | public class RecordSize { 4 | int record; 5 | 6 | long size; 7 | 8 | public int getRecord() { 9 | return record; 10 | } 11 | 12 | public long getSize() { 13 | return size; 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/stream/DataStream.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.stream; 2 | 3 | import risesoft.data.transfer.core.close.Closed; 4 | 5 | /** 6 | * 数据流标识为数据处理流 7 | * 8 | * @typeName DataStream 9 | * @date 2023年12月4日 10 | * @author lb 11 | */ 12 | public interface DataStream extends Closed { 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/stream/DataStreamFactory.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.stream; 2 | 3 | import risesoft.data.transfer.core.close.Closed; 4 | 5 | /** 6 | * 创建数据流工厂 7 | * 8 | * @typeName DataStreamFactory 9 | * @date 2023年12月11日 10 | * @author lb 11 | */ 12 | public interface DataStreamFactory extends Closed { 13 | /** 14 | * 初始化输入流 如需配置文件则从构造函数中获得配置 15 | * 16 | * @param config 17 | */ 18 | void init(); 19 | 20 | /** 21 | * 获取流 22 | * 23 | * @return 24 | */ 25 | T getStream(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/stream/in/DataInputStream.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.stream.in; 2 | 3 | import risesoft.data.transfer.core.channel.InChannel; 4 | import risesoft.data.transfer.core.data.Data; 5 | import risesoft.data.transfer.core.stream.DataStream; 6 | 7 | /** 8 | * 数据输入流 9 | * 10 | * @typeName DataInputStream 11 | * @date 2023年12月4日 12 | * @author lb 13 | */ 14 | public interface DataInputStream extends DataStream { 15 | 16 | /** 17 | * 读取数据 18 | * 19 | * @param data 20 | */ 21 | void read(Data data,InChannel inChannel); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/stream/in/DataInputStreamFactory.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.stream.in; 2 | 3 | import java.util.List; 4 | 5 | 6 | import risesoft.data.transfer.core.data.Data; 7 | import risesoft.data.transfer.core.stream.DataStreamFactory; 8 | 9 | /** 10 | * 数据输入流 11 | * 12 | * @typeName DataInputStream 13 | * @date 2023年12月4日 14 | * @author lb 15 | */ 16 | public interface DataInputStreamFactory extends DataStreamFactory { 17 | 18 | /** 19 | * 切分为数据对象 20 | * 21 | * @return 22 | */ 23 | List splitToData(int executorSize) throws Exception ; 24 | 25 | } 26 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/stream/out/DataOutputStreamFactory.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.stream.out; 2 | 3 | 4 | import risesoft.data.transfer.core.stream.DataStreamFactory; 5 | 6 | /** 7 | * 数据输出流用于输出数据 8 | * 9 | * @typeName DataOutputStream 10 | * @date 2023年12月4日 11 | * @author lb 12 | */ 13 | public interface DataOutputStreamFactory extends DataStreamFactory { 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/util/CloseUtils.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.util; 2 | 3 | import risesoft.data.transfer.core.close.Closed; 4 | 5 | /** 6 | * 关闭操作 7 | * 8 | * @typeName CloseUtils 9 | * @date 2023年12月8日 10 | * @author lb 11 | */ 12 | public class CloseUtils { 13 | 14 | public static void close(Closed closed) { 15 | try { 16 | closed.close(); 17 | } catch (Exception e) { 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/util/strings/handles/CastValueHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.util.strings.handles; 2 | 3 | /** 4 | * 值改变成其他值的handle 5 | * 6 | * @typeName CastValueHandle 7 | * @date 2024年1月29日 8 | * @author lb 9 | * @param 10 | * @param 11 | */ 12 | public interface CastValueHandle { 13 | 14 | Class[] getTypes(); 15 | 16 | T getValue(V value); 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/util/strings/handles/StringCastValueHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.util.strings.handles; 2 | 3 | /** 4 | * 将string 转换为其他值 5 | * 6 | * @typeName StringCastValueHandle 7 | * @date 2024年1月29日 8 | * @author lb 9 | * @param 10 | */ 11 | public interface StringCastValueHandle extends CastValueHandle { 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/util/strings/handles/impl/StringToByteHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.util.strings.handles.impl; 2 | 3 | 4 | import risesoft.data.transfer.core.util.strings.handles.StringCastValueHandle; 5 | 6 | /** 7 | * STRING TO byte 8 | * 9 | * @typeName StringToByteHandle 10 | * @date 2024年1月29日 11 | * @author lb 12 | */ 13 | public class StringToByteHandle implements StringCastValueHandle { 14 | 15 | public Class[] getTypes() { 16 | return new Class[] { byte.class, Byte.class }; 17 | } 18 | 19 | @Override 20 | public Byte getValue(String value) { 21 | return Byte.valueOf(value); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/util/strings/handles/impl/StringToLongHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.util.strings.handles.impl; 2 | 3 | import risesoft.data.transfer.core.util.strings.handles.StringCastValueHandle; 4 | 5 | /** 6 | * STRING TO LONG 7 | * 8 | * @typeName StringToLongHandle 9 | * @date 2024年1月29日 10 | * @author lb 11 | */ 12 | public class StringToLongHandle implements StringCastValueHandle { 13 | 14 | public Class[] getTypes() { 15 | return new Class[] { long.class, Long.class }; 16 | } 17 | 18 | @Override 19 | public Long getValue(String value) { 20 | return Long.valueOf(value); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-core/src/main/java/risesoft/data/transfer/core/util/strings/handles/impl/StringToStringHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.core.util.strings.handles.impl; 2 | 3 | import risesoft.data.transfer.core.util.strings.handles.StringCastValueHandle; 4 | 5 | /** 6 | * STRING TO STRING 7 | * 8 | * @typeName StringToStringHandle 9 | * @date 2024年1月29日 10 | * @author lb 11 | */ 12 | public class StringToStringHandle implements StringCastValueHandle { 13 | 14 | public Class[] getTypes() { 15 | return new Class[] { String.class }; 16 | } 17 | 18 | @Override 19 | public String getValue(String value) { 20 | return value; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-rdbms/src/main/java/risesoft/data/transfer/stream/rdbms/in/des.md: -------------------------------------------------------------------------------- 1 | //jdbc 输入流 2 | { 3 | "jdbcUrl":"",//jdbcUrl 4 | "userName":"",//用户名 5 | "password":"",//密码 6 | "tableName":"",//表名 7 | "splitPk":"",//切分字段 8 | "where":"",//where 9 | "precise":false,//是否精准切分 10 | "tableNumber":-1,//切分为多少块 11 | "fetchSize":32,//每次读取的大小 12 | "samplePercentage":0.1,//切分时候的百分比 oracle生效 13 | "splitFactor":-1,//切分因素 为 当没有tableNumber 时生效为 executorSize*splitFactor 14 | "column":["","",""],//字段列 15 | "mandatoryEncoding":""//强制编码 16 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-rdbms/src/main/java/risesoft/data/transfer/stream/rdbms/out/columns/DateNullValuePreparedStatementHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.stream.rdbms.out.columns; 2 | 3 | import risesoft.data.transfer.stream.rdbms.utils.DataBaseType; 4 | 5 | public abstract class DateNullValuePreparedStatementHandle implements PreparedStatementHandle { 6 | 7 | @Override 8 | public String nullValue(DataBaseType dataBaseType) { 9 | switch (dataBaseType) { 10 | case MySql: 11 | return "sysdate()"; 12 | case PostgreSQL: 13 | return "now()"; 14 | case SQLServer: 15 | return "GETDATE()"; 16 | default: 17 | return "sysdate"; 18 | } 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-rdbms/src/main/java/risesoft/data/transfer/stream/rdbms/out/columns/NullCharValuePreparedStatementHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.stream.rdbms.out.columns; 2 | 3 | import risesoft.data.transfer.stream.rdbms.utils.DataBaseType; 4 | 5 | /** 6 | * 空值默认为空字符的解析器 7 | * 8 | * 9 | * @typeName NullCharValuePreparedStatementHandle 10 | * @date 2024年12月11日 11 | * @author lb 12 | */ 13 | public abstract class NullCharValuePreparedStatementHandle implements PreparedStatementHandle{ 14 | 15 | @Override 16 | public String nullValue(DataBaseType dataBaseType) { 17 | return "''"; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-rdbms/src/main/java/risesoft/data/transfer/stream/rdbms/out/columns/PreparedStatementHandleFactory.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.stream.rdbms.out.columns; 2 | 3 | /** 4 | * 用于生产PreparedStatementHandle 5 | * 6 | * 7 | * @typeName PreparedStatementHandleFactory 8 | * @date 2024年12月26日 9 | * @author lb 10 | */ 11 | public interface PreparedStatementHandleFactory { 12 | /** 13 | * 是否被这个handle处理 14 | * 15 | * @param type 16 | * @return 17 | */ 18 | boolean isHandle(int type); 19 | 20 | /** 21 | * 获取处理对象 22 | * 23 | * @return 24 | */ 25 | PreparedStatementHandle getPreparedStatementHandle(int type); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-rdbms/src/main/java/risesoft/data/transfer/stream/rdbms/out/columns/ZeroNullValuePreparedStatementHandle.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.stream.rdbms.out.columns; 2 | 3 | import risesoft.data.transfer.stream.rdbms.utils.DataBaseType; 4 | 5 | /** 6 | * 空值默认为零的解析器 7 | * 8 | * 9 | * @typeName ZeroNullValuePreparedStatementHandle 10 | * @date 2024年12月11日 11 | * @author lb 12 | */ 13 | public abstract class ZeroNullValuePreparedStatementHandle implements PreparedStatementHandle{ 14 | 15 | @Override 16 | public String nullValue(DataBaseType dataBaseType) { 17 | return "'0'"; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-rdbms/src/main/java/risesoft/data/transfer/stream/rdbms/out/des.md: -------------------------------------------------------------------------------- 1 | //jdbc 输出流 2 | { 3 | "jdbcUrl":"",//jdbcUrl 4 | "userName":"",//用户名 5 | "password":"",//密码 6 | "table":"",//表名 7 | "writerType":"",//输出类型insert or update(idCloumn) 8 | "column":["","",""]//字段列 9 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-rdbms/src/main/java/risesoft/data/transfer/stream/rdbms/utils/ConnectionFactory.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.stream.rdbms.utils; 2 | 3 | import java.sql.Connection; 4 | 5 | /** 6 | * Date: 15/3/16 下午2:17 7 | */ 8 | public interface ConnectionFactory { 9 | 10 | public Connection getConnecttion(); 11 | 12 | public Connection getConnecttionWithoutRetry(); 13 | 14 | public String getConnectionInfo(); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-stream-local-file/src/main/java/risesoft/data/transfer/stream/local/file/LocalFileInfoColumn.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.stream.local.file; 2 | 3 | import risesoft.data.transfer.stream.FileInfoColumn; 4 | import risesoft.data.transfer.stream.Stream; 5 | 6 | /** 7 | * 本地文件信息 8 | * 9 | * 10 | * @typeName LocalFileInfoColumn 11 | * @date 2024年11月27日 12 | * @author lb 13 | */ 14 | public class LocalFileInfoColumn extends FileInfoColumn { 15 | 16 | public LocalFileInfoColumn(Stream stream, long byteSize, String name, String path, long lastUpdateTime) { 17 | super(stream, byteSize, name, path, lastUpdateTime); 18 | 19 | } 20 | 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-data-transfer-stream/src/main/java/risesoft/data/transfer/stream/Stream.java: -------------------------------------------------------------------------------- 1 | package risesoft.data.transfer.stream; 2 | 3 | import java.io.OutputStream; 4 | 5 | /** 6 | * 流对象 7 | * 8 | * 9 | * @typeName Stream 10 | * @date 2024年11月27日 11 | * @author lb 12 | */ 13 | public interface Stream { 14 | /** 15 | * 获取流数据 16 | * 17 | * @return 18 | */ 19 | byte[] getBytes(); 20 | 21 | /** 22 | * 将数据输出到输出流 23 | * 24 | * @param outputStream 25 | */ 26 | void writer(OutputStream outputStream); 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-commons/src/main/java/net/risedata/rpc/Task/Task.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.Task; 2 | 3 | public interface Task { 4 | 5 | void run(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-commons/src/main/java/net/risedata/rpc/annotation/RPCScan.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.annotation; 2 | 3 | import org.springframework.stereotype.Indexed; 4 | 5 | import java.lang.annotation.*; 6 | 7 | /** 8 | * 设置扫描的包路径 9 | */ 10 | @Retention(RetentionPolicy.RUNTIME) 11 | @Documented 12 | @Indexed 13 | @Target(ElementType.TYPE) 14 | public @interface RPCScan { 15 | String[] value(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-commons/src/main/java/net/risedata/rpc/exceptions/ConfigException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.exceptions; 2 | 3 | public class ConfigException extends RuntimeException { 4 | 5 | public ConfigException(String msg) { 6 | super(msg); 7 | } 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-commons/src/main/java/net/risedata/rpc/exceptions/ProxyException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.exceptions; 2 | 3 | /** 4 | * 代理对象时出现的异常 5 | * 6 | * @author libo 2021年7月28日 7 | */ 8 | public class ProxyException extends RuntimeException { 9 | 10 | /** 11 | * 12 | */ 13 | private static final long serialVersionUID = 1L; 14 | 15 | public ProxyException(String msg) { 16 | super(msg); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-commons/src/main/java/net/risedata/rpc/provide/config/Application.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.config; 2 | 3 | import io.netty.util.internal.logging.InternalLogger; 4 | import io.netty.util.internal.logging.Log4J2LoggerFactory; 5 | 6 | public class Application { 7 | 8 | public static final InternalLogger logger = Log4J2LoggerFactory.getInstance(Application.class); 9 | 10 | public static final String GET_PORT_URL = "/RPC/PROVIDE/PORT"; 11 | } 12 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-commons/src/main/java/net/risedata/rpc/utils/LClassLoader.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.utils; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | import java.net.URLClassLoader; 6 | import java.util.ArrayList; 7 | import java.util.Arrays; 8 | import java.util.List; 9 | 10 | /** 11 | * loaderclass 12 | * 13 | * @author libo 2020年7月15日 14 | */ 15 | @SuppressWarnings("rawtypes") 16 | public class LClassLoader { 17 | 18 | public static List> findClass(String packageName) { 19 | 20 | 21 | 22 | return ClassTools.getClasses(packageName); 23 | 24 | } 25 | 26 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/annotation/ManagerListener.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.annotation; 2 | 3 | import org.springframework.stereotype.Indexed; 4 | 5 | import java.lang.annotation.*; 6 | 7 | /** 8 | * @description: 监听器所监听的连接管理器的名字 9 | * @Author lb176 10 | * @Date 2021/4/29==16:22 11 | */ 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Documented 14 | @Indexed 15 | @Target(ElementType.TYPE) 16 | public @interface ManagerListener { 17 | 18 | /** 19 | * 监听管理器的名字 20 | * @return 21 | */ 22 | String[] name() default {}; 23 | 24 | /** 25 | * 监听的连接管理器的class 26 | */ 27 | Class[] classes() default {}; 28 | 29 | } 30 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/core/ConnectionManager.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.core; 2 | 3 | 4 | public interface ConnectionManager extends BasedConnectionManager { 5 | 6 | Connection getConnection(); 7 | /** 8 | * 返回当前连接管理器的id这是每个管理器的唯一标识 9 | * @return 10 | */ 11 | int getId(); 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/exceptions/CarryRequestedException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.exceptions; 2 | 3 | 4 | import net.risedata.rpc.model.Request; 5 | 6 | public class CarryRequestedException extends RuntimeException{ 7 | 8 | private Request request; 9 | 10 | public CarryRequestedException(String msg, Request request) { 11 | super(msg); 12 | this.request = request; 13 | 14 | } 15 | 16 | public Request getRequest() { 17 | return request; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/exceptions/ListenerException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.exceptions; 2 | 3 | 4 | 5 | public class ListenerException extends RuntimeException{ 6 | 7 | 8 | public ListenerException(String msg) { 9 | super(msg); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/exceptions/RpcException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.exceptions; 2 | 3 | 4 | import net.risedata.rpc.model.Request; 5 | 6 | public class RpcException extends CarryRequestedException { 7 | 8 | 9 | public RpcException(String msg) { 10 | super(msg,null); 11 | } 12 | public RpcException(String msg, Request request) { 13 | super(msg,request); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/exceptions/RpcTimeOutException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.exceptions; 2 | 3 | import net.risedata.rpc.model.Request; 4 | 5 | public class RpcTimeOutException extends CarryRequestedException { 6 | 7 | 8 | public RpcTimeOutException(String msg, Request request) { 9 | super(msg,request); 10 | } 11 | 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/factory/ProxyFactory.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.factory; 2 | 3 | import java.lang.reflect.InvocationHandler; 4 | import java.lang.reflect.Proxy; 5 | 6 | /** 7 | * @description: 动态代理工厂 8 | * @Author lb176 9 | * @Date 2021/4/29==15:13 10 | */ 11 | class ProxyFactory { 12 | 13 | static Object getProxy(Class[] interfaces, InvocationHandler handler) { 14 | return Proxy.newProxyInstance(Thread.currentThread().getContextClassLoader(), interfaces, handler); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/listener/ConnectionListener.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.listener; 2 | 3 | 4 | 5 | import net.risedata.rpc.consumer.core.HostAndPortConnection; 6 | 7 | /** 8 | * @description: 连接监听器 9 | * @Author lb176 10 | * @Date 2021/4/29==15:14 11 | */ 12 | public interface ConnectionListener { 13 | /** 14 | * 连接时触发 15 | * @param connection 连接 16 | */ 17 | void onConnection(HostAndPortConnection connection); 18 | 19 | /** 20 | * 关闭时触发 21 | * @param connection 被关闭的connection 22 | */ 23 | void onClose(HostAndPortConnection connection); 24 | } 25 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/listener/ExceptionListener.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.listener; 2 | 3 | import net.risedata.rpc.model.Request; 4 | 5 | /** 6 | * @description: 出现异常调用的统一接口 ps:用于动态代理出来的接口调用 7 | * @Author lb176 8 | * @Date 2021/4/29==15:14 9 | */ 10 | public interface ExceptionListener { 11 | /** 12 | * 出现异常执行 13 | * 14 | * @param e 异常信息 15 | * @param returnType 返回类型 16 | * @param request 当前执行的参数 17 | * @param 返回值 18 | * @return 返回值:当没有降级的时候使用此返回值当存在降级的时候使用降级的返回值 19 | */ 20 | T onException(Throwable e, Class returnType, Request request); 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/listener/ListenerBack.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.listener; 2 | 3 | import net.risedata.rpc.consumer.core.impl.ChannelConnection; 4 | import net.risedata.rpc.consumer.model.ListenerRequest; 5 | import net.risedata.rpc.model.ListenerResponse; 6 | import net.risedata.rpc.model.Request; 7 | 8 | /** 9 | * @Description : 监听回调异常连接被断开 10 | * @ClassName ListenerBack 11 | * @Author lb 12 | * @Date 2023/1/29 9:44 13 | * @Version 1.0 14 | */ 15 | public interface ListenerBack { 16 | 17 | void onBackError(ListenerRequest request , ListenerResponse response, ChannelConnection channelConnection); 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/listener/RPCStartListener.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.listener; 2 | 3 | /** 4 | * @Description : 服务启动后执行的方法 5 | * @ClassName RPCStartListener 6 | * @Author lb 7 | * @Date 2021/11/29 16:55 8 | * @Version 1.0 9 | */ 10 | public interface RPCStartListener { 11 | void run(); 12 | } 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/result/Error.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.result; 2 | 3 | import net.risedata.rpc.model.Request; 4 | 5 | /** 6 | * @description: 调用失败执行的接口 7 | * @Author lb176 8 | * @Date 2021/7/30==10:01 9 | */ 10 | @FunctionalInterface 11 | public interface Error { 12 | /** 13 | * 失败后调用的方法 14 | * 15 | * @param res 返回值 16 | * @param e 异常 17 | */ 18 | void error(Request res, Throwable e); 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/result/Result.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.result; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * @description: 返回值 7 | * @Author lb176 8 | * @Date 2021/8/4==11:15 9 | */ 10 | public interface Result { 11 | /** 12 | * 根据类型拿到对应的值 13 | * 14 | * @param returnType 15 | * @param 16 | * @return 17 | */ 18 | T getValue(Class returnType); 19 | 20 | /** 21 | * 拿到list 类型的值 22 | * 23 | * @param returnType 返回值类型 24 | * @param list 25 | * @return 返回值 26 | */ 27 | List getList(Class returnType); 28 | 29 | 30 | } 31 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/result/Success.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.result; 2 | /** 3 | * @description: 调用成功执行的接口 4 | * @Author lb176 5 | * @Date 2021/7/30==10:01 6 | */ 7 | @FunctionalInterface 8 | public interface Success { 9 | /** 10 | * 成功后调用的方法 11 | * @param res 返回值 12 | */ 13 | void success(Result res); 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/result/SyncParseResult.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.result; 2 | 3 | /** 4 | * @description: 返回值异步操作接口不同的是这个需要解析返回值 5 | * @Author lb176 6 | * @Date 2021/7/30==9:41 7 | */ 8 | public interface SyncParseResult extends SyncResult{ 9 | /** 10 | * 当返回数据的时候调用 11 | * @param res 字符串 12 | */ 13 | void success(String res); 14 | 15 | /** 16 | * 调用失败后执行的方法 17 | * @param e 异常 18 | */ 19 | void error(Throwable e); 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/result/genericity/GenericitySuccess.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.result.genericity; 2 | /** 3 | * @description: 调用成功执行的接口 泛型形式的 4 | * @Author lb176 5 | * @Date 2021/7/30==10:01 6 | */ 7 | @FunctionalInterface 8 | public interface GenericitySuccess { 9 | /** 10 | * 成功后调用的方法 11 | * @param res 返回值 12 | */ 13 | void success(T res); 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/result/genericity/ListGenericitySuccess.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.result.genericity; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * @description: 调用成功执行的接口 泛型形式的 7 | * @Author lb176 8 | * @Date 2021/7/30==10:01 9 | */ 10 | @FunctionalInterface 11 | public interface ListGenericitySuccess { 12 | /** 13 | * 成功后调用的方法 14 | * 15 | * @param res 返回值 16 | */ 17 | void success(List res); 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/java/net/risedata/rpc/consumer/utils/AutoIdConnection.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.consumer.utils; 2 | 3 | import io.netty.channel.SimpleChannelInboundHandler; 4 | import net.risedata.rpc.model.Msg; 5 | 6 | /** 7 | * @description: 自动id生成 递增 8 | * @Author lb176 9 | * @Date 2021/8/4==10:27 10 | */ 11 | public abstract class AutoIdConnection extends SimpleChannelInboundHandler { 12 | private long id; 13 | 14 | private static final long MAX = Long.MAX_VALUE - 1; 15 | 16 | protected synchronized long getId() { 17 | if (id > MAX) { 18 | id = 0; 19 | } 20 | ; 21 | return id++; 22 | } 23 | 24 | 25 | } 26 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=net.risedata.rpc.consumer.config.ConsumerApplication -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-consumer/src/main/resources/org/springframework/beans/factory/support/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/annotation/EnableRequestParam.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.annotation; 2 | 3 | import org.springframework.stereotype.Indexed; 4 | 5 | import java.lang.annotation.*; 6 | 7 | 8 | /** 9 | * @description: 是否启动扫描 RequestParam 注解 10 | * @Author lb176 11 | * @Date 2021/4/29==16:27 12 | */ 13 | @Retention(RetentionPolicy.RUNTIME) 14 | @Documented 15 | @Indexed 16 | @Target(ElementType.TYPE) 17 | public @interface EnableRequestParam { 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/annotation/Param.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.annotation; 2 | 3 | import java.lang.annotation.*; 4 | /** 5 | * @description: 对于参数描述的注解 6 | * @Author lb176 7 | * @Date 2021/4/29==16:27 8 | */ 9 | @Target(ElementType.PARAMETER) 10 | @Retention(RetentionPolicy.RUNTIME) 11 | @Documented 12 | public @interface Param { 13 | 14 | boolean required() default true; 15 | 16 | String defaultValue() default ""; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/annotation/TypeConvert.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.annotation; 2 | 3 | import org.springframework.stereotype.Component; 4 | import org.springframework.stereotype.Indexed; 5 | 6 | import java.lang.annotation.*; 7 | 8 | 9 | /** 10 | * @description: 声明自己是处理typeConvert的 11 | * @Author lb176 12 | * @Date 2021/4/29==16:28 13 | */ 14 | @Retention(RetentionPolicy.RUNTIME) 15 | @Documented 16 | @Indexed 17 | @Component 18 | @Target(ElementType.TYPE) 19 | public @interface TypeConvert { 20 | //添加到哪些服务api中 如果没有则为全部 21 | String[] value() default {}; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/context/Send.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.context; 2 | 3 | import net.risedata.rpc.model.Response; 4 | 5 | /** 6 | * @Description : 发送接口 7 | * @ClassName Send 8 | * @Author lb 9 | * @Date 2021/11/22 11:23 10 | * @Version 1.0 11 | */ 12 | public interface Send { 13 | void send(Response response); 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/context/SendFunction.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.context; 2 | 3 | import net.risedata.rpc.model.Response; 4 | 5 | /** 6 | * @Description : 在调用send后执行的接口函数 7 | * @ClassName SendFunction 8 | * @Author lb 9 | * @Date 2021/11/22 11:09 10 | * @Version 1.0 11 | */ 12 | @FunctionalInterface 13 | public interface SendFunction { 14 | 15 | 16 | void send( Response response,Send send) throws Exception; 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/exceptions/ArgsException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.exceptions; 2 | 3 | public class ArgsException extends RuntimeException { 4 | public ArgsException(String msg) { 5 | super(msg); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/exceptions/JsonException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.exceptions; 2 | 3 | public class JsonException extends RuntimeException { 4 | public JsonException(String msg) { 5 | super(msg); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/exceptions/ListenerException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.exceptions; 2 | 3 | public class ListenerException extends RuntimeException { 4 | public ListenerException(String msg) { 5 | super(msg); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/exceptions/MatchException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.exceptions; 2 | 3 | public class MatchException extends RuntimeException { 4 | public MatchException(String msg){ 5 | super(msg); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/exceptions/SenderException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.exceptions; 2 | 3 | public class SenderException extends RuntimeException { 4 | public SenderException(String msg) { 5 | super(msg); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/exceptions/ServerStartException.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.exceptions; 2 | 3 | public class ServerStartException extends RuntimeException { 4 | public ServerStartException(String msg){ 5 | super(msg); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/handle/RPCHandle.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.handle; 2 | 3 | 4 | import net.risedata.rpc.model.Request; 5 | 6 | /** 7 | * @description: rpc的handle 统一父接口 8 | * @Author lb176 9 | * @Date 2021/4/29==16:31 10 | */ 11 | public interface RPCHandle { 12 | 13 | void handle(Request request); 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/listener/Listener.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.listener; 2 | 3 | import net.risedata.rpc.provide.net.ClinetConnection; 4 | 5 | /** 6 | * @description: 过滤器 7 | * @Author lb176 8 | * @Date 2021/4/29==10:02 9 | */ 10 | public interface Listener { 11 | 12 | /** 13 | * 当有客户端连接 14 | * @param clinetConnection 15 | */ 16 | void onConnection(ClinetConnection clinetConnection); 17 | 18 | /** 19 | * 当客户端连接被关闭 20 | * @param clinetConnection 21 | */ 22 | void onClosed(ClinetConnection clinetConnection); 23 | } 24 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/listener/ListenerError.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.listener; 2 | 3 | import net.risedata.rpc.provide.model.ListenerRequest; 4 | 5 | /** 6 | * @description: 调用失败执行的接口 7 | * @Author lb176 8 | * @Date 2021/7/30==10:01 9 | */ 10 | @FunctionalInterface 11 | public interface ListenerError { 12 | /** 13 | * 失败后调用的方法 14 | * 15 | * @param res 返回值 16 | * @param e 异常 17 | */ 18 | void error(ListenerRequest res, Throwable e); 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/listener/ListenerManager.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.listener; 2 | 3 | import io.netty.channel.socket.SocketChannel; 4 | 5 | /** 6 | * @description: 监听管理器 7 | * @Author lb176 8 | * @Date 2021/4/29==9:58 9 | */ 10 | public interface ListenerManager extends Listener{ 11 | 12 | 13 | /** 14 | * 添加一个监听器 15 | * @param listener 监听器 16 | */ 17 | void addListener(Listener listener); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/listener/Result.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.listener; 2 | 3 | import com.alibaba.fastjson.JSONArray; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * @description: 返回值 9 | * @Author lb176 10 | * @Date 2021/8/4==11:15 11 | */ 12 | public interface Result { 13 | /** 14 | * 根据类型拿到对应的值 15 | * @return 16 | */ 17 | JSONArray getValue(); 18 | 19 | /** 20 | * 拿到list 类型的值 21 | * 22 | * @param returnType 返回值类型 23 | * @param list 24 | * @return 返回值 25 | */ 26 | List getList(Class returnType); 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/listener/Success.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.listener; 2 | /** 3 | * @description: 调用成功执行的接口 4 | * @Author lb176 5 | * @Date 2021/7/30==10:01 6 | */ 7 | @FunctionalInterface 8 | public interface Success { 9 | /** 10 | * 成功后调用的方法 11 | * @param res 返回值 12 | */ 13 | void success(Result res); 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/java/net/risedata/rpc/provide/listener/SyncParseResult.java: -------------------------------------------------------------------------------- 1 | package net.risedata.rpc.provide.listener; 2 | 3 | /** 4 | * @description: 返回值异步操作接口不同的是这个需要解析返回值 5 | * @Author lb176 6 | * @Date 2021/7/30==9:41 7 | */ 8 | public interface SyncParseResult extends SyncResult{ 9 | /** 10 | * 当返回数据的时候调用 11 | * @param res 字符串 12 | */ 13 | void success(String res); 14 | 15 | /** 16 | * 调用失败后执行的方法 17 | * @param e 异常 18 | */ 19 | void error(Throwable e); 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-rpc-provide/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=net.risedata.rpc.provide.config.ApplicationConfig -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-security-base/lombok.config: -------------------------------------------------------------------------------- 1 | lombok.log.fieldName=LOGGER 2 | lombok.log.fieldIsStatic=true 3 | 4 | lombok.toString.doNotUseGetters=true 5 | lombok.toString.callSuper=call 6 | 7 | lombok.equalsAndHashCode.doNotUseGetters=true 8 | lombok.equalsAndHashCode.callSuper=call 9 | 10 | lombok.addLombokGeneratedAnnotation=true 11 | 12 | config.stopBubbling=true 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-security-base/src/main/java/net/risesoft/exceptions/ServiceOperationException.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.exceptions; 2 | 3 | /** 4 | * @Description : 服务操作出现异常抛出错误 5 | * @ClassName ServiceOperationException 6 | * @Author lb 7 | * @Date 2022/8/4 17:07 8 | * @Version 1.0 9 | */ 10 | public class ServiceOperationException extends RuntimeException { 11 | 12 | private static final long serialVersionUID = -8820877211760484344L; 13 | 14 | public ServiceOperationException(String msg){ 15 | super(msg); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-security-base/src/main/java/net/risesoft/exceptions/TokenException.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.exceptions; 2 | 3 | /** 4 | * @Description : token异常 5 | * @ClassName ServiceOperationException 6 | * @Author lb 7 | * @Date 2022/8/4 17:07 8 | * @Version 1.0 9 | */ 10 | public class TokenException extends RuntimeException { 11 | 12 | private static final long serialVersionUID = 5338676510040885569L; 13 | 14 | public TokenException(String msg){ 15 | super(msg); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-security-base/src/main/java/net/risesoft/security/GetEnvironment.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.security; 2 | 3 | /** 4 | * @Description : 获取name 5 | * @ClassName ResultString 6 | * @Author lb 7 | * @Date 2022/8/8 15:37 8 | * @Version 1.0 9 | */ 10 | public interface GetEnvironment { 11 | /** 12 | * 检查环境 13 | * @return 14 | */ 15 | String getEnvironment(); 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-security-base/src/main/java/net/risesoft/security/SecurityCheck.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.security; 2 | 3 | import javax.servlet.http.HttpServletRequest; 4 | 5 | /** 6 | * @Description : 安全检查 7 | * @ClassName SecurityCheck 8 | * @Author lb 9 | * @Date 2022/8/9 14:35 10 | * @Version 1.0 11 | */ 12 | public interface SecurityCheck { 13 | /** 14 | * 检查 15 | * @param config 配置 16 | * @param security 当前安全用户 17 | * @param url url 18 | * @param request request 19 | * @return 返回是否通过 20 | */ 21 | boolean check(SecurityConfig config, ConcurrentSecurity security,String url, HttpServletRequest request); 22 | } 23 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-security-base/src/main/java/net/risesoft/security/dao/CommonDao.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.security.dao; 2 | 3 | import java.util.List; 4 | 5 | import net.risedata.jdbc.annotations.repository.Search; 6 | import net.risedata.jdbc.repository.Repository; 7 | 8 | /** 9 | * 公共的DAO 10 | * 11 | * @typeName CommonDao 12 | * @date 2024年1月15日 13 | * @author lb 14 | */ 15 | public interface CommonDao extends Repository { 16 | 17 | @Search("select name from #{?1} where id in (?2)") 18 | List findNameByIds(Class entiryClass, List ids); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-security-base/src/main/java/net/risesoft/security/pojo/DataUser.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.security.pojo; 2 | 3 | import lombok.Data; 4 | 5 | import java.io.Serializable; 6 | 7 | @Data 8 | public class DataUser implements Serializable { 9 | 10 | private static final long serialVersionUID = 6504983651935464942L; 11 | 12 | private String id; 13 | 14 | /** 15 | * 用户名 16 | */ 17 | private String userName; 18 | 19 | /** 20 | * 账号 21 | */ 22 | private String account; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-api-online/lombok.config: -------------------------------------------------------------------------------- 1 | lombok.log.fieldName=LOGGER 2 | lombok.log.fieldIsStatic=true 3 | 4 | lombok.toString.doNotUseGetters=true 5 | lombok.toString.callSuper=call 6 | 7 | lombok.equalsAndHashCode.doNotUseGetters=true 8 | lombok.equalsAndHashCode.callSuper=call 9 | 10 | lombok.addLombokGeneratedAnnotation=true 11 | 12 | config.stopBubbling=true 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-api-online/src/main/java/net/risesoft/y9public/repository/DataApiOnlineInfoRepository.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.y9public.repository; 2 | 3 | import net.risesoft.y9public.entity.DataApiOnlineInfoEntity; 4 | 5 | import org.springframework.data.jpa.repository.JpaRepository; 6 | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; 7 | 8 | public interface DataApiOnlineInfoRepository extends JpaRepository, JpaSpecificationExecutor { 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-jpa-repository/lombok.config: -------------------------------------------------------------------------------- 1 | lombok.log.fieldName=LOGGER 2 | lombok.log.fieldIsStatic=true 3 | 4 | lombok.toString.doNotUseGetters=true 5 | lombok.toString.callSuper=call 6 | 7 | lombok.equalsAndHashCode.doNotUseGetters=true 8 | lombok.equalsAndHashCode.callSuper=call 9 | 10 | lombok.addLombokGeneratedAnnotation=true 11 | 12 | config.stopBubbling=true 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-jpa-repository/src/main/java/net/risesoft/y9public/repository/DataArrangeRepository.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.y9public.repository; 2 | 3 | import net.risesoft.y9public.entity.DataArrangeEntity; 4 | 5 | import java.util.List; 6 | 7 | import org.springframework.data.jpa.repository.JpaRepository; 8 | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; 9 | 10 | public interface DataArrangeRepository extends JpaRepository, JpaSpecificationExecutor { 11 | 12 | List findByPattern(Integer pattern); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-jpa-repository/src/main/java/net/risesoft/y9public/repository/DataProcessRepository.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.y9public.repository; 2 | 3 | import net.risesoft.y9public.entity.DataProcessEntity; 4 | 5 | import java.util.List; 6 | 7 | import org.springframework.data.jpa.repository.JpaRepository; 8 | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; 9 | 10 | public interface DataProcessRepository extends JpaRepository, JpaSpecificationExecutor { 11 | 12 | List findByArrangeIdOrderByStep(String arrangeId); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-jpa-repository/src/main/java/net/risesoft/y9public/repository/DataSingleTaskConfigRepository.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.y9public.repository; 2 | 3 | import net.risesoft.y9public.entity.DataSingleTaskConfigEntity; 4 | 5 | import org.springframework.data.jpa.repository.JpaRepository; 6 | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; 7 | 8 | public interface DataSingleTaskConfigRepository extends JpaRepository, JpaSpecificationExecutor { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/lombok.config: -------------------------------------------------------------------------------- 1 | lombok.log.fieldName=LOGGER 2 | lombok.log.fieldIsStatic=true 3 | 4 | lombok.toString.doNotUseGetters=true 5 | lombok.toString.callSuper=call 6 | 7 | lombok.equalsAndHashCode.doNotUseGetters=true 8 | lombok.equalsAndHashCode.callSuper=call 9 | 10 | lombok.addLombokGeneratedAnnotation=true 11 | 12 | config.stopBubbling=true 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/aop/CheckHttpForArgs.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.aop; 2 | 3 | import org.springframework.stereotype.Indexed; 4 | 5 | import java.lang.annotation.*; 6 | 7 | /** 8 | * 检查查询 条件 9 | * @author libo 10 | *2021年6月24日 11 | */ 12 | @Target({ ElementType.METHOD }) 13 | @Retention(RetentionPolicy.RUNTIME) 14 | @Documented 15 | @Indexed 16 | public @interface CheckHttpForArgs { 17 | 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/aop/CheckResult.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.aop; 2 | 3 | import java.lang.annotation.Documented; 4 | import java.lang.annotation.ElementType; 5 | import java.lang.annotation.Retention; 6 | import java.lang.annotation.RetentionPolicy; 7 | import java.lang.annotation.Target; 8 | 9 | import org.springframework.stereotype.Indexed; 10 | /** 11 | * 有需要被检查的对象加此方法 BindingResult 参数必须是接收的第二个 12 | * @author libo 13 | *2021年6月24日 14 | */ 15 | @Target({ ElementType.METHOD }) 16 | @Retention(RetentionPolicy.RUNTIME) 17 | @Documented 18 | @Indexed 19 | public @interface CheckResult { 20 | 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/config/ServerRPCConfig.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.config; 2 | 3 | import org.springframework.stereotype.Component; 4 | 5 | import net.risedata.rpc.annotation.RPCScan; 6 | 7 | /** 8 | * @Description : 9 | * @ClassName RPCConfig 10 | * @Author lb 11 | * @Date 2021/11/26 14:38 12 | * @Version 1.0 13 | */ 14 | @Component 15 | @RPCScan("net.risesoft.api.consumer") 16 | public class ServerRPCConfig { 17 | } 18 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/exceptions/JobException.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.exceptions; 2 | 3 | /** 4 | * @Description : token异常 5 | * @ClassName ServiceOperationException 6 | * @Author lb 7 | * @Date 2022/8/4 17:07 8 | * @Version 1.0 9 | */ 10 | public class JobException extends RuntimeException { 11 | 12 | public JobException(String msg){ 13 | super(msg); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/exceptions/RegisterException.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.exceptions; 2 | 3 | /** 4 | * @Description : 服务操作出现异常抛出错误 5 | * @ClassName ServiceOperationException 6 | * @Author lb 7 | * @Date 2022/8/4 17:07 8 | * @Version 1.0 9 | */ 10 | public class RegisterException extends RuntimeException { 11 | 12 | public RegisterException(String msg){ 13 | super(msg); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/job/actions/block/BlockJobAction.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.job.actions.block; 2 | 3 | import net.risesoft.api.job.actions.JobAction; 4 | 5 | /** 6 | * @Description : 阻塞任务接口 7 | * @ClassName BlockJobAction 8 | * @Author lb 9 | * @Date 2022/9/13 16:53 10 | * @Version 1.0 11 | */ 12 | public interface BlockJobAction extends JobAction { 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/job/actions/dispatch/DispatchJobAction.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.job.actions.dispatch; 2 | 3 | import net.risesoft.api.job.actions.JobAction; 4 | 5 | /** 6 | * @Description : 7 | * @ClassName DispatchJobAction 8 | * @Author lb 9 | * @Date 2022/9/14 17:18 10 | * @Version 1.0 11 | */ 12 | public interface DispatchJobAction extends JobAction { 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/job/actions/dispatch/DoResult.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.job.actions.dispatch; 2 | 3 | import net.risesoft.api.job.actions.dispatch.executor.Result; 4 | 5 | /** 6 | * @Description : 7 | * @ClassName DoResult 8 | * @Author lb 9 | * @Date 2022/10/17 10:02 10 | * @Version 1.0 11 | */ 12 | public interface DoResult { 13 | 14 | Result doResult(int count,Throwable e); 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/job/actions/dispatch/executor/DoBalance.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.job.actions.dispatch.executor; 2 | import org.springframework.cloud.client.ServiceInstance; 3 | 4 | /** 5 | * @Description : 负载 6 | * @ClassName DoBalance 7 | * @Author lb 8 | * @Date 2023/1/28 10:16 9 | * @Version 1.0 10 | */ 11 | public interface DoBalance { 12 | 13 | ServiceInstance doBalance(int errorCount,ServiceInstance serviceInstance); 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/job/actions/dispatch/executor/ResultError.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.job.actions.dispatch.executor; 2 | 3 | /** 4 | * @Description : 失败返回值 5 | * @ClassName Result 6 | * @Author lb 7 | * @Date 2022/9/15 11:32 8 | * @Version 1.0 9 | */ 10 | public interface ResultError { 11 | /** 12 | * 成功 13 | * @param throwable 14 | * @return 15 | */ 16 | void onError(Throwable throwable); 17 | 18 | 19 | 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/job/actions/dispatch/executor/ResultSuccess.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.job.actions.dispatch.executor; 2 | 3 | /** 4 | * @Description : 成功返回值 5 | * @ClassName Result 6 | * @Author lb 7 | * @Date 2022/9/15 11:32 8 | * @Version 1.0 9 | */ 10 | public interface ResultSuccess { 11 | /** 12 | * 成功 13 | * @param value 14 | * @return 15 | */ 16 | void onSuccess(Object value); 17 | 18 | 19 | 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/job/creator/CreatorMethod.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.job.creator; 2 | 3 | 4 | import net.risesoft.api.job.JobContext; 5 | 6 | /** 7 | * 创建名字的方法 8 | * 9 | * @author lb 10 | * 11 | */ 12 | public interface CreatorMethod { 13 | /** 14 | * 参数集 15 | * 16 | * @param args 17 | * @return 18 | */ 19 | String create(JobContext context, String[] args); 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/job/creator/JobArgsCreator.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.job.creator; 2 | 3 | 4 | import net.risesoft.api.job.JobContext; 5 | 6 | public interface JobArgsCreator { 7 | /** 8 | * 参数解析 9 | * 10 | * @param context 11 | * @param creatorStr 12 | * @return 13 | */ 14 | String creator(JobContext context, String creatorStr); 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/listener/JobListener.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.listener; 2 | 3 | import net.risesoft.api.persistence.model.job.Job; 4 | import net.risesoft.api.persistence.model.job.JobLog; 5 | 6 | /** 7 | * @Description : 8 | * @ClassName Job 9 | * @Author lb 10 | * @Date 2023/8/9 14:51 11 | * @Version 1.0 12 | */ 13 | public interface JobListener { 14 | 15 | 16 | 17 | void endJob(Job job, JobLog jobLog); 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/listener/ServiceListener.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.listener; 2 | 3 | import net.risedata.register.service.IServiceInstance; 4 | 5 | /** 6 | * @Description : 监控服务变动信息 7 | * @ClassName ServiceListener 8 | * @Author lb 9 | * @Date 2022/4/7 15:57 10 | * @Version 1.0 11 | */ 12 | public interface ServiceListener { 13 | /** 14 | * 当有服务停止的时候触发 15 | * @param iServiceInstance 16 | */ 17 | void onStop(IServiceInstance iServiceInstance); 18 | 19 | /** 20 | * 当有服务启动的时候触发 21 | * @param iServiceInstance 22 | */ 23 | void onStart(IServiceInstance iServiceInstance); 24 | } 25 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/message/InstanceMessage.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.message; 2 | 3 | import net.risesoft.api.persistence.model.IServiceInstanceModel; 4 | 5 | /** 6 | * @Description : 实例创建消息 7 | * @ClassName InstanceMessage 8 | * @Author lb 9 | * @Date 2022/8/30 15:03 10 | * @Version 1.0 11 | */ 12 | public interface InstanceMessage extends MessageCreator { 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/message/JobMessage.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.message; 2 | 3 | 4 | import net.risesoft.api.persistence.model.job.Job; 5 | 6 | /** 7 | * @Description : 任务创建消息 8 | * @ClassName InstanceMessage 9 | * @Author lb 10 | * @Date 2022/8/30 15:03 11 | * @Version 1.0 12 | */ 13 | public interface JobMessage extends MessageCreator { 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/message/MessageCreator.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.message; 2 | 3 | 4 | /** 5 | * @Description : 消息创建器 6 | * @ClassName MessageCreator 7 | * @Author lb 8 | * @Date 2022/8/30 15:04 9 | * @Version 1.0 10 | */ 11 | public interface MessageCreator { 12 | 13 | String createContent(T t); 14 | 15 | String createTitle(T t); 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/message/MessageServiceExecutor.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.message; 2 | 3 | /** 4 | * @Description : 发送消息 服务 5 | * @ClassName MessageService 6 | * @Author lb 7 | * @Date 2022/8/30 10:22 8 | * @Version 1.0 9 | */ 10 | public interface MessageServiceExecutor { 11 | 12 | /** 13 | * 发送消息服务 14 | * @param recipients 收消息人 15 | * @param title 标题 16 | * @param message 短信 17 | */ 18 | void sendMessage(String[] recipients,String title,String message,Object source); 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/persistence/dao/ConfigHisDao.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.persistence.dao; 2 | 3 | import net.risedata.jdbc.annotations.repository.Modify; 4 | import net.risedata.jdbc.repository.Repository; 5 | 6 | import java.util.Date; 7 | 8 | /** 9 | * @Description : 历史配置文件操作 10 | * @ClassName ConfigHisDao 11 | * @Author lb 12 | * @Date 2022/8/3 16:04 13 | * @Version 1.0 14 | */ 15 | public interface ConfigHisDao extends Repository { 16 | 17 | @Modify("delete from Y9_DATASERVICE_CONFIG_HIS where UPDATETIME < ?") 18 | Integer clear(Date date); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/persistence/dao/LogDao.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.persistence.dao; 2 | 3 | import java.util.Date; 4 | 5 | import net.risedata.jdbc.annotations.repository.Modify; 6 | import net.risedata.jdbc.repository.Repository; 7 | 8 | /** 9 | * @Description : 历史配置文件操作 10 | * @ClassName ConfigHisDao 11 | * @Author lb 12 | * @Date 2022/8/3 16:04 13 | * @Version 1.0 14 | */ 15 | public interface LogDao extends Repository { 16 | 17 | @Modify("delete from Y9_DATASERVICE_JOB where CREATE_DATE < ?") 18 | Integer clear(Date date); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/persistence/model/GetIP.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.persistence.model; 2 | 3 | /** 4 | * @Description : 获取ip 5 | * @ClassName ResultString 6 | * @Author lb 7 | * @Date 2022/8/8 15:37 8 | * @Version 1.0 9 | */ 10 | public interface GetIP { 11 | /** 12 | * 检查环境 13 | * @return 14 | */ 15 | String getIP(); 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/persistence/model/GetService.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.persistence.model; 2 | 3 | /** 4 | * @Description : 获取服务 5 | * @ClassName ResultString 6 | * @Author lb 7 | * @Date 2022/8/8 15:37 8 | * @Version 1.0 9 | */ 10 | public interface GetService { 11 | /** 12 | * 检查环境 13 | * @return 14 | */ 15 | String getService(); 16 | } 17 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/security/DoJurisdiction.java.txt: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.security; 2 | 3 | 4 | import java.util.List; 5 | 6 | import net.risesoft.security.ConcurrentSecurity; 7 | 8 | /** 9 | * @Description : 10 | * @ClassName DoJurisdiction 11 | * @Author lb 12 | * @Date 2022/11/18 9:07 13 | * @Version 1.0 14 | */ 15 | public interface DoJurisdiction { 16 | 17 | List doJurisdiction(ConcurrentSecurity concurrentSecurity, List jurisdictionUrls); 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/security/GetSecurity.java.txt: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.security; 2 | 3 | /** 4 | * @Description : 获取对应的字符串 5 | * @ClassName GetString 6 | * @Author lb 7 | * @Date 2022/8/9 9:29 8 | * @Version 1.0 9 | */ 10 | public interface GetSecurity { 11 | String[] getString(T t); 12 | 13 | /** 14 | * 返回权限 15 | * @return 16 | */ 17 | int getJurisdiction(T t); 18 | } 19 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/utils/CommitFunction.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.utils; 2 | 3 | /** 4 | * @Description : 提交方法 5 | * @ClassName CommitFunction 6 | * @Author lb 7 | * @Date 2023/2/21 15:57 8 | * @Version 1.0 9 | */ 10 | public interface CommitFunction { 11 | 12 | 13 | void commit(T value); 14 | } 15 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/utils/GetString.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.utils; 2 | 3 | /** 4 | * @Description : 获取字符串 5 | * @ClassName GetString 6 | * @Author lb 7 | * @Date 2022/8/25 9:48 8 | * @Version 1.0 9 | */ 10 | public interface GetString { 11 | 12 | public String get(T t); 13 | } 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/utils/NextTime.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.utils; 2 | 3 | import java.util.Date; 4 | 5 | /** 6 | * @Description : 7 | * @ClassName NextTime 8 | * @Author lb 9 | * @Date 2023/1/31 9:35 10 | * @Version 1.0 11 | */ 12 | public interface NextTime { 13 | 14 | Date next(Date time); 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/api/utils/ObjectUtils.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.api.utils; 2 | 3 | /** 4 | * @Description : 5 | * @ClassName ObjectUtils 6 | * @Author lb 7 | * @Date 2022/9/19 10:19 8 | * @Version 1.0 9 | */ 10 | public class ObjectUtils { 11 | 12 | public static Object nullOf(Object value, Object defaultValue) { 13 | return value == null ? defaultValue : value; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-scheduler/src/main/java/net/risesoft/service/JobDoActionService.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.service; 2 | 3 | import org.springframework.stereotype.Component; 4 | 5 | import net.risesoft.pojo.Y9Result; 6 | 7 | @Component 8 | public class JobDoActionService { 9 | 10 | /** 11 | * 执行任务操作 12 | * @param body 13 | * @return 14 | */ 15 | public Y9Result doAction(String body) { 16 | return Y9Result.success("开源版本不支持该功能,有需要请联系作者"); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-risedata-security/lombok.config: -------------------------------------------------------------------------------- 1 | lombok.log.fieldName=LOGGER 2 | lombok.log.fieldIsStatic=true 3 | 4 | lombok.toString.doNotUseGetters=true 5 | lombok.toString.callSuper=call 6 | 7 | lombok.equalsAndHashCode.doNotUseGetters=true 8 | lombok.equalsAndHashCode.callSuper=call 9 | 10 | lombok.addLombokGeneratedAnnotation=true 11 | 12 | config.stopBubbling=true 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-support-y9kernel-security/lombok.config: -------------------------------------------------------------------------------- 1 | lombok.log.fieldName=LOGGER 2 | lombok.log.fieldIsStatic=true 3 | 4 | lombok.toString.doNotUseGetters=true 5 | lombok.toString.callSuper=call 6 | 7 | lombok.equalsAndHashCode.doNotUseGetters=true 8 | lombok.equalsAndHashCode.callSuper=call 9 | 10 | lombok.addLombokGeneratedAnnotation=true 11 | 12 | config.stopBubbling=true 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-executor/lombok.config: -------------------------------------------------------------------------------- 1 | lombok.log.fieldName=LOGGER 2 | lombok.log.fieldIsStatic=true 3 | 4 | lombok.toString.doNotUseGetters=true 5 | lombok.toString.callSuper=call 6 | 7 | lombok.equalsAndHashCode.doNotUseGetters=true 8 | lombok.equalsAndHashCode.callSuper=call 9 | 10 | lombok.addLombokGeneratedAnnotation=true 11 | 12 | config.stopBubbling=true 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-executor/src/main/java/net/risesoft/model/Config.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.model; 2 | 3 | public class Config { 4 | 5 | private String id; 6 | 7 | private String name; 8 | 9 | private String content; 10 | 11 | public String getId() { 12 | return id; 13 | } 14 | 15 | public void setId(String id) { 16 | this.id = id; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | 23 | public void setName(String name) { 24 | this.name = name; 25 | } 26 | 27 | public String getContent() { 28 | return content; 29 | } 30 | 31 | public void setContent(String content) { 32 | this.content = content; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-executor/src/main/java/net/risesoft/service/JobService.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.service; 2 | /** 3 | * 任务服务 4 | * @typeName JobService 5 | * @date 2024年1月18日 6 | * @author lb 7 | */ 8 | public interface JobService { 9 | /** 10 | * 执行任务返回任务的id 11 | * @param jobContext 12 | * @return 13 | */ 14 | String executorJob(String jobContext); 15 | } 16 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-executor/src/main/resources/application-public.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8089 3 | spring: 4 | application: 5 | name: data-transfer 6 | beta: 7 | discovery: 8 | #监听文件 9 | listener: true 10 | #日志文件位置 11 | logPath: /dataxapp/nohup.out 12 | #版本号 13 | version: 1.0.1 14 | #描述 15 | description: 数据同步程序 16 | #环境 17 | environment: Public 18 | watch: 19 | #是否监控 20 | watch: true 21 | time: 5000 #配置多少秒监控一次 22 | serverAddr: http://localhost:7055/risedata 23 | servers: rpc:127.0.0.1:7066 -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-executor/src/main/resources/application-test.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8089 3 | spring: 4 | application: 5 | name: data-transfer 6 | beta: 7 | discovery: 8 | listener: false 9 | logPath: /dataxapp/nohup.out 10 | version: 1.0.1 11 | ip: 10.192.198.82 12 | description: 数据同步程序 13 | environment: dev 14 | watch: 15 | watch: true 16 | time: 5000 #配置多少秒监控一次 17 | serverAddr: http://10.192.198.82:7055/ 18 | #servers: rpc:10.192.198.82:81 19 | servers: rpc:10.192.198.82:7066 -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-executor/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring.profiles.active: public 2 | spring.mvc.static-path-pattern: /** 3 | spring.web.resources.static-locations: classpath:/META-INF/resources/,classpath:/resources/, classpath:/static/,classpath:/public/ 4 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-executor/src/main/resources/banner.txt: -------------------------------------------------------------------------------- 1 | _ _ _ _ 2 | _ __(_)___ ___ __| | __ _| |_ __ _ _____ _____ ___ _ _| |_ ___ _ __ 3 | | '__| / __|/ _ \/ _` |/ _` | __/ _` |_____ / _ \ \/ / _ \/ __| | | | __/ _ \| '__| 4 | | | | \__ \ __/ (_| | (_| | || (_| |_____| __/> < __/ (__| |_| | || (_) | | 5 | |_| |_|___/\___|\__,_|\__,_|\__\__,_| \___/_/\_\___|\___|\__,_|\__\___/|_| 6 | 7 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-executor/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-manager/lombok.config: -------------------------------------------------------------------------------- 1 | lombok.log.fieldName=LOGGER 2 | lombok.log.fieldIsStatic=true 3 | 4 | lombok.toString.doNotUseGetters=true 5 | lombok.toString.callSuper=call 6 | 7 | lombok.equalsAndHashCode.doNotUseGetters=true 8 | lombok.equalsAndHashCode.callSuper=call 9 | 10 | lombok.addLombokGeneratedAnnotation=true 11 | 12 | config.stopBubbling=true 13 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-manager/src/main/java/net/risesoft/pojo/ConvertField.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.pojo; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 数据转换信息 7 | * @author pzx 8 | * 9 | */ 10 | @Data 11 | public class ConvertField { 12 | 13 | /** 14 | * 字段名称 15 | */ 16 | private String fieldName; 17 | 18 | /** 19 | * 原始数据 20 | */ 21 | private String oldData; 22 | 23 | /** 24 | * 更新数据 25 | */ 26 | private String newData; 27 | 28 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-manager/src/main/java/net/risesoft/pojo/DateField.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.pojo; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 日期格式转换信息 7 | * @author pzx 8 | * 9 | */ 10 | @Data 11 | public class DateField { 12 | 13 | /** 14 | * 字段名称 15 | */ 16 | private String fieldName; 17 | 18 | /** 19 | * 日期格式 20 | */ 21 | private String format; 22 | 23 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-manager/src/main/java/net/risesoft/pojo/DifferentField.java: -------------------------------------------------------------------------------- 1 | package net.risesoft.pojo; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 异字段信息 7 | * @author pzx 8 | * 9 | */ 10 | @Data 11 | public class DifferentField { 12 | 13 | /** 14 | * 源字段名称 15 | */ 16 | private String source; 17 | 18 | /** 19 | * 目标字段名称 20 | */ 21 | private String target; 22 | 23 | } -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-manager/src/main/resources/banner.txt: -------------------------------------------------------------------------------- 1 | _ _ _ 2 | _ __(_)___ ___ __| | __ _| |_ __ _ _ __ ___ __ _ _ __ __ _ __ _ ___ _ __ 3 | | '__| / __|/ _ \/ _` |/ _` | __/ _` |_____| '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \ '__| 4 | | | | \__ \ __/ (_| | (_| | || (_| |_____| | | | | | (_| | | | | (_| | (_| | __/ | 5 | |_| |_|___/\___|\__,_|\__,_|\__\__,_| |_| |_| |_|\__,_|_| |_|\__,_|\__, |\___|_| 6 | |___/ 7 | -------------------------------------------------------------------------------- /y9-module-dataflow/risenet-y9boot-webapp-risedata-manager/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | --------------------------------------------------------------------------------