├── .asf.yaml ├── .github ├── check_chinese_character.py ├── pr-title-checker-config.json ├── typos.toml └── workflows │ ├── check_chinese_character.yml │ ├── ci.yml │ ├── codeql.yaml │ └── pr.yml ├── .gitignore ├── .gitmodules ├── .licenserc.yaml ├── .mvn └── wrapper │ └── maven-wrapper.properties ├── LICENSE ├── NOTICE ├── README.md ├── bigtop-manager-agent ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── bigtop │ │ │ └── manager │ │ │ └── agent │ │ │ ├── AgentApplication.java │ │ │ ├── cache │ │ │ └── Caches.java │ │ │ ├── grpc │ │ │ ├── config │ │ │ │ └── GrpcServerConfig.java │ │ │ ├── interceptor │ │ │ │ └── TaskInterceptor.java │ │ │ └── service │ │ │ │ ├── ComponentCommandServiceGrpcImpl.java │ │ │ │ ├── ComponentStatusServiceGrpcImpl.java │ │ │ │ ├── HostCheckServiceGrpcImpl.java │ │ │ │ ├── HostInfoServiceGrpcImpl.java │ │ │ │ ├── JobCacheServiceGrpcImpl.java │ │ │ │ ├── SetupJdkServiceGrpcImpl.java │ │ │ │ └── TaskLogServiceGrpcImpl.java │ │ │ ├── holder │ │ │ └── SpringContextHolder.java │ │ │ ├── metrics │ │ │ └── MetricsCollector.java │ │ │ └── monitoring │ │ │ └── AgentHostMonitoring.java │ └── resources │ │ ├── application.yml │ │ ├── banner.txt │ │ ├── bin │ │ ├── env.sh │ │ └── start.sh │ │ └── logback-spring.xml │ └── test │ └── java │ └── org │ └── apache │ └── bigtop │ └── manager │ └── agent │ ├── AgentApplicationTest.java │ ├── grpc │ ├── interceptor │ │ └── TaskInterceptorTest.java │ └── service │ │ ├── ComponentStatusServiceGrpcImplTest.java │ │ ├── HostCheckServiceGrpcImplTest.java │ │ ├── HostInfoServiceGrpcImplTest.java │ │ └── JobCacheServiceGrpcImplTest.java │ ├── holder │ └── SpringContextHolderTest.java │ ├── metrics │ └── MetricsCollectorTest.java │ └── monitoring │ └── AgentHostMonitoringTest.java ├── bigtop-manager-ai ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── bigtop │ │ │ └── manager │ │ │ └── ai │ │ │ ├── assistant │ │ │ ├── GeneralAssistantFactory.java │ │ │ ├── config │ │ │ │ └── GeneralAssistantConfig.java │ │ │ ├── provider │ │ │ │ ├── ChatMemoryStoreProvider.java │ │ │ │ └── LocSystemPromptProvider.java │ │ │ └── store │ │ │ │ └── PersistentChatMemoryStore.java │ │ │ ├── core │ │ │ ├── AbstractAIAssistant.java │ │ │ ├── AbstractAIAssistantFactory.java │ │ │ ├── config │ │ │ │ └── AIAssistantConfig.java │ │ │ ├── enums │ │ │ │ ├── MessageType.java │ │ │ │ ├── PlatformType.java │ │ │ │ └── SystemPrompt.java │ │ │ ├── exception │ │ │ │ ├── AssistantConfigNotSetException.java │ │ │ │ └── PlatformNotFoundException.java │ │ │ ├── factory │ │ │ │ ├── AIAssistant.java │ │ │ │ └── AIAssistantFactory.java │ │ │ └── provider │ │ │ │ └── SystemPromptProvider.java │ │ │ └── platform │ │ │ ├── DashScopeAssistant.java │ │ │ ├── DeepSeekAssistant.java │ │ │ ├── OpenAIAssistant.java │ │ │ └── QianFanAssistant.java │ └── resources │ │ ├── big-data-professor.st │ │ ├── language-prompt-en_US.st │ │ └── language-prompt-zh_CN.st │ └── test │ └── java │ ├── assistant │ ├── GeneralAssistantFactoryTest.java │ ├── provider │ │ ├── GeneralAssistantConfigTest.java │ │ └── LocSystemPromptProviderTest.java │ └── store │ │ └── PersistentChatMemoryStoreTest.java │ └── core │ └── enums │ ├── MessageTypeTest.java │ └── PlatformTypeTest.java ├── bigtop-manager-bom └── pom.xml ├── bigtop-manager-common ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── bigtop │ │ └── manager │ │ └── common │ │ ├── config │ │ └── ApplicationConfig.java │ │ ├── constants │ │ ├── CacheFiles.java │ │ ├── ComponentCategories.java │ │ ├── Constants.java │ │ └── MessageConstants.java │ │ ├── enums │ │ ├── Command.java │ │ ├── JobState.java │ │ ├── MaintainState.java │ │ ├── OSArchType.java │ │ └── OSType.java │ │ ├── shell │ │ ├── ProcessContainer.java │ │ ├── ShellExecutor.java │ │ └── ShellResult.java │ │ ├── thread │ │ └── TaskLogThreadDecorator.java │ │ └── utils │ │ ├── CaseUtils.java │ │ ├── ClassUtils.java │ │ ├── DateUtils.java │ │ ├── Environments.java │ │ ├── FileUtils.java │ │ ├── InstanceUtils.java │ │ ├── JsonUtils.java │ │ ├── NetUtils.java │ │ ├── ProjectPathUtils.java │ │ ├── YamlUtils.java │ │ └── os │ │ ├── OSDetection.java │ │ └── TimeSyncDetection.java │ └── test │ └── java │ └── org │ └── apache │ └── bigtop │ └── manager │ └── common │ ├── enums │ ├── CommandTest.java │ ├── JobStateTest.java │ └── MaintainStateTest.java │ ├── shell │ ├── ProcessContainerTest.java │ └── ShellResultTest.java │ └── utils │ ├── CaseUtilsTest.java │ ├── ClassUtilsTest.java │ ├── DateUtilsTest.java │ ├── FileUtilsTest.java │ ├── JsonUtilsTest.java │ ├── NetUtilsTest.java │ └── ProjectPathUtilsTest.java ├── bigtop-manager-dao ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── bigtop │ │ │ └── manager │ │ │ └── dao │ │ │ ├── annotations │ │ │ ├── CreateBy.java │ │ │ ├── CreateTime.java │ │ │ ├── UpdateBy.java │ │ │ └── UpdateTime.java │ │ │ ├── converter │ │ │ ├── CommandConverter.java │ │ │ ├── JobStateConverter.java │ │ │ └── MaintainStateConverter.java │ │ │ ├── enums │ │ │ └── DBType.java │ │ │ ├── interceptor │ │ │ └── AuditingInterceptor.java │ │ │ ├── po │ │ │ ├── AuditLogPO.java │ │ │ ├── AuthPlatformPO.java │ │ │ ├── BasePO.java │ │ │ ├── ChatMessagePO.java │ │ │ ├── ChatThreadPO.java │ │ │ ├── ClusterPO.java │ │ │ ├── ComponentPO.java │ │ │ ├── HostPO.java │ │ │ ├── JobPO.java │ │ │ ├── PlatformPO.java │ │ │ ├── RepoPO.java │ │ │ ├── ServiceConfigPO.java │ │ │ ├── ServiceConfigSnapshotPO.java │ │ │ ├── ServicePO.java │ │ │ ├── StagePO.java │ │ │ ├── TaskPO.java │ │ │ ├── ToolPO.java │ │ │ └── UserPO.java │ │ │ ├── query │ │ │ ├── ComponentQuery.java │ │ │ ├── HostQuery.java │ │ │ └── ServiceQuery.java │ │ │ ├── repository │ │ │ ├── AuditLogDao.java │ │ │ ├── AuthPlatformDao.java │ │ │ ├── BaseDao.java │ │ │ ├── ChatMessageDao.java │ │ │ ├── ChatThreadDao.java │ │ │ ├── ClusterDao.java │ │ │ ├── ComponentDao.java │ │ │ ├── HostDao.java │ │ │ ├── JobDao.java │ │ │ ├── PlatformDao.java │ │ │ ├── RepoDao.java │ │ │ ├── ServiceConfigDao.java │ │ │ ├── ServiceConfigSnapshotDao.java │ │ │ ├── ServiceDao.java │ │ │ ├── StageDao.java │ │ │ ├── TaskDao.java │ │ │ ├── ToolDao.java │ │ │ └── UserDao.java │ │ │ └── sql │ │ │ ├── BaseSqlProvider.java │ │ │ ├── SQLBuilder.java │ │ │ └── TableMetaData.java │ └── resources │ │ └── mapper │ │ ├── mysql │ │ ├── AuthPlatformMapper.xml │ │ ├── ChatMessageMapper.xml │ │ ├── ChatThreadMapper.xml │ │ ├── ClusterMapper.xml │ │ ├── ComponentMapper.xml │ │ ├── HostMapper.xml │ │ ├── JobMapper.xml │ │ ├── PlatformMapper.xml │ │ ├── RepoMapper.xml │ │ ├── ServiceConfigMapper.xml │ │ ├── ServiceConfigSnapshotMapper.xml │ │ ├── ServiceMapper.xml │ │ ├── StageMapper.xml │ │ ├── TaskMapper.xml │ │ ├── ToolMapper.xml │ │ └── UserMapper.xml │ │ └── postgresql │ │ ├── AuthPlatformMapper.xml │ │ ├── ChatMessageMapper.xml │ │ ├── ChatThreadMapper.xml │ │ ├── ClusterMapper.xml │ │ ├── ComponentMapper.xml │ │ ├── HostMapper.xml │ │ ├── JobMapper.xml │ │ ├── PlatformMapper.xml │ │ ├── RepoMapper.xml │ │ ├── ServiceConfigMapper.xml │ │ ├── ServiceConfigSnapshotMapper.xml │ │ ├── ServiceMapper.xml │ │ ├── StageMapper.xml │ │ ├── TaskMapper.xml │ │ ├── ToolMapper.xml │ │ └── UserMapper.xml │ └── test │ └── java │ └── org │ └── apache │ └── bigtop │ └── manager │ └── dao │ ├── converter │ ├── CommandConverterTest.java │ ├── JobStateConverterTest.java │ └── MaintainStateConverterTest.java │ ├── enums │ └── DBTypeTest.java │ └── interceptor │ └── AuditingInterceptorTest.java ├── bigtop-manager-dist ├── pom.xml └── src │ └── main │ └── assembly │ ├── assembly-agent.xml │ ├── assembly-server.xml │ └── assembly-src.xml ├── bigtop-manager-grpc ├── pom.xml └── src │ └── main │ ├── java │ └── org │ │ └── apache │ │ └── bigtop │ │ └── manager │ │ └── grpc │ │ ├── payload │ │ ├── ComponentCommandPayload.java │ │ └── JobCachePayload.java │ │ ├── pojo │ │ ├── ClusterInfo.java │ │ ├── PackageInfo.java │ │ ├── PackageSpecificInfo.java │ │ ├── RepoInfo.java │ │ ├── TemplateInfo.java │ │ └── ToolInfo.java │ │ └── utils │ │ └── ProtobufUtil.java │ └── resources │ └── proto │ ├── command.proto │ ├── component_command.proto │ ├── component_status.proto │ ├── host_check.proto │ ├── host_info.proto │ ├── job_cache.proto │ ├── setup_jdk.proto │ └── task_log.proto ├── bigtop-manager-server ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── bigtop │ │ │ └── manager │ │ │ └── server │ │ │ ├── ServerApplication.java │ │ │ ├── annotations │ │ │ └── Audit.java │ │ │ ├── aop │ │ │ └── AuditAspect.java │ │ │ ├── command │ │ │ ├── CommandIdentifier.java │ │ │ ├── factory │ │ │ │ ├── AbstractJobFactory.java │ │ │ │ ├── JobFactories.java │ │ │ │ ├── JobFactory.java │ │ │ │ ├── cluster │ │ │ │ │ ├── AbstractClusterJobFactory.java │ │ │ │ │ ├── ClusterAddJobFactory.java │ │ │ │ │ ├── ClusterRestartJobFactory.java │ │ │ │ │ ├── ClusterStartJobFactory.java │ │ │ │ │ └── ClusterStopJobFactory.java │ │ │ │ ├── component │ │ │ │ │ ├── AbstractComponentJobFactory.java │ │ │ │ │ ├── ComponentAddJobFactory.java │ │ │ │ │ ├── ComponentRestartJobFactory.java │ │ │ │ │ ├── ComponentStartJobFactory.java │ │ │ │ │ └── ComponentStopJobFactory.java │ │ │ │ ├── host │ │ │ │ │ ├── AbstractHostJobFactory.java │ │ │ │ │ ├── HostAddJobFactory.java │ │ │ │ │ ├── HostRestartJobFactory.java │ │ │ │ │ ├── HostStartJobFactory.java │ │ │ │ │ └── HostStopJobFactory.java │ │ │ │ └── service │ │ │ │ │ ├── AbstractServiceJobFactory.java │ │ │ │ │ ├── ServiceAddJobFactory.java │ │ │ │ │ ├── ServiceCheckJobFactory.java │ │ │ │ │ ├── ServiceConfigureJobFactory.java │ │ │ │ │ ├── ServiceRestartJobFactory.java │ │ │ │ │ ├── ServiceStartJobFactory.java │ │ │ │ │ └── ServiceStopJobFactory.java │ │ │ ├── helper │ │ │ │ ├── ComponentStageHelper.java │ │ │ │ └── JobCacheHelper.java │ │ │ ├── job │ │ │ │ ├── AbstractJob.java │ │ │ │ ├── Job.java │ │ │ │ ├── JobContext.java │ │ │ │ ├── cluster │ │ │ │ │ ├── AbstractClusterJob.java │ │ │ │ │ ├── ClusterAddJob.java │ │ │ │ │ ├── ClusterRestartJob.java │ │ │ │ │ ├── ClusterStartJob.java │ │ │ │ │ └── ClusterStopJob.java │ │ │ │ ├── component │ │ │ │ │ ├── AbstractComponentJob.java │ │ │ │ │ ├── ComponentAddJob.java │ │ │ │ │ ├── ComponentRestartJob.java │ │ │ │ │ ├── ComponentStartJob.java │ │ │ │ │ └── ComponentStopJob.java │ │ │ │ ├── host │ │ │ │ │ ├── AbstractHostJob.java │ │ │ │ │ ├── HostAddJob.java │ │ │ │ │ ├── HostRestartJob.java │ │ │ │ │ ├── HostStartJob.java │ │ │ │ │ └── HostStopJob.java │ │ │ │ └── service │ │ │ │ │ ├── AbstractServiceJob.java │ │ │ │ │ ├── ServiceAddJob.java │ │ │ │ │ ├── ServiceCheckJob.java │ │ │ │ │ ├── ServiceConfigureJob.java │ │ │ │ │ ├── ServiceRestartJob.java │ │ │ │ │ ├── ServiceStartJob.java │ │ │ │ │ └── ServiceStopJob.java │ │ │ ├── scheduler │ │ │ │ ├── DefaultJobScheduler.java │ │ │ │ └── JobScheduler.java │ │ │ ├── stage │ │ │ │ ├── AbstractComponentStage.java │ │ │ │ ├── AbstractStage.java │ │ │ │ ├── ComponentAddStage.java │ │ │ │ ├── ComponentCheckStage.java │ │ │ │ ├── ComponentConfigureStage.java │ │ │ │ ├── ComponentInitStage.java │ │ │ │ ├── ComponentPrepareStage.java │ │ │ │ ├── ComponentStartStage.java │ │ │ │ ├── ComponentStopStage.java │ │ │ │ ├── HostCheckStage.java │ │ │ │ ├── SetupJdkStage.java │ │ │ │ ├── Stage.java │ │ │ │ └── StageContext.java │ │ │ ├── task │ │ │ │ ├── AbstractComponentTask.java │ │ │ │ ├── AbstractTask.java │ │ │ │ ├── ComponentAddTask.java │ │ │ │ ├── ComponentCheckTask.java │ │ │ │ ├── ComponentConfigureTask.java │ │ │ │ ├── ComponentInitTask.java │ │ │ │ ├── ComponentPrepareTask.java │ │ │ │ ├── ComponentStartTask.java │ │ │ │ ├── ComponentStopTask.java │ │ │ │ ├── HostCheckTask.java │ │ │ │ ├── SetupJdkTask.java │ │ │ │ ├── Task.java │ │ │ │ └── TaskContext.java │ │ │ └── validator │ │ │ │ ├── ClusterAddValidator.java │ │ │ │ ├── ClusterRestartValidator.java │ │ │ │ ├── ClusterStartValidator.java │ │ │ │ ├── ClusterStopValidator.java │ │ │ │ ├── CommandValidator.java │ │ │ │ ├── ComponentOpValidator.java │ │ │ │ ├── HostAddValidator.java │ │ │ │ ├── RequiredServicesValidator.java │ │ │ │ ├── ValidatorContext.java │ │ │ │ └── ValidatorExecutionChain.java │ │ │ ├── config │ │ │ ├── AsyncThreadPoolConfig.java │ │ │ ├── CommandGroupSequenceProvider.java │ │ │ ├── FrontendRedirector.java │ │ │ ├── LocaleConfig.java │ │ │ ├── MapStructSharedConfig.java │ │ │ ├── MyBatisConfig.java │ │ │ ├── OpenAPIConfig.java │ │ │ ├── ValidatorConfig.java │ │ │ └── WebConfig.java │ │ │ ├── controller │ │ │ ├── ChatbotController.java │ │ │ ├── ClusterController.java │ │ │ ├── CommandController.java │ │ │ ├── ComponentController.java │ │ │ ├── FileController.java │ │ │ ├── HostController.java │ │ │ ├── JobController.java │ │ │ ├── LLMConfigController.java │ │ │ ├── LoginController.java │ │ │ ├── MetricsController.java │ │ │ ├── RepoController.java │ │ │ ├── ServiceController.java │ │ │ ├── StackController.java │ │ │ └── UserController.java │ │ │ ├── enums │ │ │ ├── ApiExceptionEnum.java │ │ │ ├── AuthPlatformStatus.java │ │ │ ├── ChatbotCommand.java │ │ │ ├── CommandLevel.java │ │ │ ├── HealthyStatusEnum.java │ │ │ ├── HostAuthTypeEnum.java │ │ │ ├── InstalledStatusEnum.java │ │ │ ├── LocaleKeys.java │ │ │ └── ResponseStatus.java │ │ │ ├── exception │ │ │ ├── ApiException.java │ │ │ ├── GlobalExceptionHandler.java │ │ │ └── ServerException.java │ │ │ ├── grpc │ │ │ └── GrpcClient.java │ │ │ ├── holder │ │ │ ├── SessionUserHolder.java │ │ │ └── SpringContextHolder.java │ │ │ ├── interceptor │ │ │ └── AuthInterceptor.java │ │ │ ├── model │ │ │ ├── converter │ │ │ │ ├── AuthCredentialConverter.java │ │ │ │ ├── AuthPlatformConverter.java │ │ │ │ ├── ChatMessageConverter.java │ │ │ │ ├── ChatThreadConverter.java │ │ │ │ ├── ClusterConverter.java │ │ │ │ ├── CommandConverter.java │ │ │ │ ├── ComponentConverter.java │ │ │ │ ├── ConverterTool.java │ │ │ │ ├── HostConverter.java │ │ │ │ ├── JobConverter.java │ │ │ │ ├── LoginConverter.java │ │ │ │ ├── PlatformConverter.java │ │ │ │ ├── PropertyConverter.java │ │ │ │ ├── RepoConverter.java │ │ │ │ ├── ServiceConfigConverter.java │ │ │ │ ├── ServiceConfigSnapshotConverter.java │ │ │ │ ├── ServiceConverter.java │ │ │ │ ├── StackConverter.java │ │ │ │ ├── StageConverter.java │ │ │ │ ├── TaskConverter.java │ │ │ │ └── UserConverter.java │ │ │ ├── dto │ │ │ │ ├── AttrsDTO.java │ │ │ │ ├── AuthCredentialDTO.java │ │ │ │ ├── AuthPlatformDTO.java │ │ │ │ ├── ChatThreadDTO.java │ │ │ │ ├── ClusterDTO.java │ │ │ │ ├── CommandDTO.java │ │ │ │ ├── ComponentDTO.java │ │ │ │ ├── ComponentHostDTO.java │ │ │ │ ├── HostDTO.java │ │ │ │ ├── LoginDTO.java │ │ │ │ ├── PackageDTO.java │ │ │ │ ├── PackageSpecificDTO.java │ │ │ │ ├── PlatformDTO.java │ │ │ │ ├── PropertyDTO.java │ │ │ │ ├── QuickLinkDTO.java │ │ │ │ ├── RepoDTO.java │ │ │ │ ├── ServiceConfigDTO.java │ │ │ │ ├── ServiceConfigSnapshotDTO.java │ │ │ │ ├── ServiceDTO.java │ │ │ │ ├── StackDTO.java │ │ │ │ ├── TemplateDTO.java │ │ │ │ ├── UserDTO.java │ │ │ │ └── command │ │ │ │ │ ├── ClusterCommandDTO.java │ │ │ │ │ ├── ComponentCommandDTO.java │ │ │ │ │ ├── HostCommandDTO.java │ │ │ │ │ └── ServiceCommandDTO.java │ │ │ ├── query │ │ │ │ └── PageQuery.java │ │ │ ├── req │ │ │ │ ├── AttrsReq.java │ │ │ │ ├── AuthCredentialReq.java │ │ │ │ ├── AuthPlatformReq.java │ │ │ │ ├── ChatbotMessageReq.java │ │ │ │ ├── ChatbotThreadReq.java │ │ │ │ ├── ClusterReq.java │ │ │ │ ├── CommandReq.java │ │ │ │ ├── ComponentHostReq.java │ │ │ │ ├── HostPathReq.java │ │ │ │ ├── HostReq.java │ │ │ │ ├── IdsReq.java │ │ │ │ ├── LoginReq.java │ │ │ │ ├── PlatformReq.java │ │ │ │ ├── PropertyReq.java │ │ │ │ ├── RepoReq.java │ │ │ │ ├── ServiceConfigReq.java │ │ │ │ ├── ServiceConfigSnapshotReq.java │ │ │ │ ├── StackReq.java │ │ │ │ ├── UserReq.java │ │ │ │ └── command │ │ │ │ │ ├── ClusterCommandReq.java │ │ │ │ │ ├── ComponentCommandReq.java │ │ │ │ │ ├── HostCommandReq.java │ │ │ │ │ └── ServiceCommandReq.java │ │ │ └── vo │ │ │ │ ├── AttrsVO.java │ │ │ │ ├── AuthPlatformVO.java │ │ │ │ ├── ChatMessageVO.java │ │ │ │ ├── ChatThreadVO.java │ │ │ │ ├── ClusterVO.java │ │ │ │ ├── CommandVO.java │ │ │ │ ├── ComponentVO.java │ │ │ │ ├── HostVO.java │ │ │ │ ├── InstalledStatusVO.java │ │ │ │ ├── JobVO.java │ │ │ │ ├── LoginVO.java │ │ │ │ ├── PageVO.java │ │ │ │ ├── PlatformAuthCredentialVO.java │ │ │ │ ├── PlatformVO.java │ │ │ │ ├── PropertyVO.java │ │ │ │ ├── QuickLinkVO.java │ │ │ │ ├── RepoVO.java │ │ │ │ ├── ServiceClusterVO.java │ │ │ │ ├── ServiceComponentVO.java │ │ │ │ ├── ServiceConfigSnapshotVO.java │ │ │ │ ├── ServiceConfigVO.java │ │ │ │ ├── ServiceUserVO.java │ │ │ │ ├── ServiceVO.java │ │ │ │ ├── StackConfigVO.java │ │ │ │ ├── StackVO.java │ │ │ │ ├── StageVO.java │ │ │ │ ├── TalkVO.java │ │ │ │ ├── TaskVO.java │ │ │ │ └── UserVO.java │ │ │ ├── proxy │ │ │ └── PrometheusProxy.java │ │ │ ├── service │ │ │ ├── ChatbotService.java │ │ │ ├── ClusterService.java │ │ │ ├── CommandService.java │ │ │ ├── ComponentService.java │ │ │ ├── HostService.java │ │ │ ├── JobService.java │ │ │ ├── LLMConfigService.java │ │ │ ├── LoginService.java │ │ │ ├── MetricsService.java │ │ │ ├── RepoService.java │ │ │ ├── ServiceService.java │ │ │ ├── StackService.java │ │ │ ├── TaskLogService.java │ │ │ ├── UserService.java │ │ │ └── impl │ │ │ │ ├── ChatbotServiceImpl.java │ │ │ │ ├── ClusterServiceImpl.java │ │ │ │ ├── CommandServiceImpl.java │ │ │ │ ├── ComponentServiceImpl.java │ │ │ │ ├── HostServiceImpl.java │ │ │ │ ├── JobServiceImpl.java │ │ │ │ ├── LLMConfigServiceImpl.java │ │ │ │ ├── LoginServiceImpl.java │ │ │ │ ├── MetricsServiceImpl.java │ │ │ │ ├── RepoServiceImpl.java │ │ │ │ ├── ServiceServiceImpl.java │ │ │ │ ├── StackServiceImpl.java │ │ │ │ ├── TaskLogServiceImpl.java │ │ │ │ └── UserServiceImpl.java │ │ │ ├── stack │ │ │ ├── dag │ │ │ │ ├── ComponentCommandWrapper.java │ │ │ │ ├── DAG.java │ │ │ │ └── DagGraphEdge.java │ │ │ ├── model │ │ │ │ ├── AttrsModel.java │ │ │ │ ├── ComponentModel.java │ │ │ │ ├── PackageModel.java │ │ │ │ ├── PackageSpecificModel.java │ │ │ │ ├── PropertyModel.java │ │ │ │ ├── QuickLinkModel.java │ │ │ │ ├── ServiceModel.java │ │ │ │ └── TemplateModel.java │ │ │ └── xml │ │ │ │ ├── ConfigurationXml.java │ │ │ │ └── ServiceMetainfoXml.java │ │ │ ├── timer │ │ │ ├── ComponentStatusTimer.java │ │ │ └── HostInfoTimer.java │ │ │ ├── tools │ │ │ ├── functions │ │ │ │ ├── ClusterFunctions.java │ │ │ │ ├── HostFunctions.java │ │ │ │ └── StackFunctions.java │ │ │ └── provider │ │ │ │ ├── AIServiceToolsProvider.java │ │ │ │ └── InfoToolsProvider.java │ │ │ └── utils │ │ │ ├── ClusterUtils.java │ │ │ ├── JWTUtils.java │ │ │ ├── JaxbUtils.java │ │ │ ├── MessageSourceUtils.java │ │ │ ├── PageUtils.java │ │ │ ├── ProxyUtils.java │ │ │ ├── RemoteSSHUtils.java │ │ │ ├── ResponseEntity.java │ │ │ ├── ServletUtils.java │ │ │ ├── StackConfigUtils.java │ │ │ └── StackUtils.java │ └── resources │ │ ├── application.yml │ │ ├── banner.txt │ │ ├── bin │ │ ├── env.sh │ │ └── start.sh │ │ ├── ddl │ │ ├── DaMeng-DDL-CREATE.sql │ │ ├── MySQL-DDL-CREATE.sql │ │ └── PostgreSQL-DDL-CREATE.sql │ │ ├── i18n │ │ ├── messages.properties │ │ ├── messages_en_US.properties │ │ └── messages_zh_CN.properties │ │ ├── logback-spring.xml │ │ ├── scripts │ │ └── setup-agent.sh │ │ └── stacks │ │ ├── bigtop │ │ └── 3.3.0 │ │ │ └── services │ │ │ ├── flink │ │ │ ├── configuration │ │ │ │ ├── flink-conf.xml │ │ │ │ ├── flink-env.xml │ │ │ │ ├── flink-log4j-cli-properties.xml │ │ │ │ ├── flink-log4j-console-properties.xml │ │ │ │ ├── flink-log4j-properties.xml │ │ │ │ └── flink-log4j-session-properties.xml │ │ │ ├── metainfo.xml │ │ │ └── order.json │ │ │ ├── hadoop │ │ │ ├── configuration │ │ │ │ ├── core-site.xml │ │ │ │ ├── hadoop-env.xml │ │ │ │ ├── hadoop-policy.xml │ │ │ │ ├── hadoop.conf.xml │ │ │ │ ├── hdfs-log4j.xml │ │ │ │ ├── hdfs-site.xml │ │ │ │ ├── mapred-env.xml │ │ │ │ ├── mapred-site.xml │ │ │ │ ├── ssl-client.xml │ │ │ │ ├── ssl-server.xml │ │ │ │ ├── workers.xml │ │ │ │ ├── yarn-env.xml │ │ │ │ ├── yarn-log4j.xml │ │ │ │ └── yarn-site.xml │ │ │ ├── metainfo.xml │ │ │ └── order.json │ │ │ ├── hbase │ │ │ ├── configuration │ │ │ │ ├── hbase-env.xml │ │ │ │ ├── hbase-log4j.xml │ │ │ │ ├── hbase-policy.xml │ │ │ │ ├── hbase-site.xml │ │ │ │ ├── hbase.conf.xml │ │ │ │ └── regionservers.xml │ │ │ ├── metainfo.xml │ │ │ └── order.json │ │ │ ├── hive │ │ │ ├── configuration │ │ │ │ ├── beeline-log4j2.xml │ │ │ │ ├── hive-env.xml │ │ │ │ ├── hive-exec-log4j2.xml │ │ │ │ ├── hive-log4j2.xml │ │ │ │ ├── hive-site.xml │ │ │ │ ├── hive.conf.xml │ │ │ │ ├── llap-cli-log4j2.xml │ │ │ │ └── llap-daemon-log4j2.xml │ │ │ ├── metainfo.xml │ │ │ ├── order.json │ │ │ └── template │ │ │ │ └── hive-service.sh │ │ │ ├── kafka │ │ │ ├── configuration │ │ │ │ ├── kafka-broker.xml │ │ │ │ ├── kafka-env.xml │ │ │ │ ├── kafka-log4j.xml │ │ │ │ └── kafka.conf.xml │ │ │ ├── metainfo.xml │ │ │ └── order.json │ │ │ ├── solr │ │ │ ├── configuration │ │ │ │ ├── solr-xml.xml │ │ │ │ └── solr.in.xml │ │ │ ├── metainfo.xml │ │ │ └── order.json │ │ │ ├── spark │ │ │ ├── configuration │ │ │ │ ├── fairscheduler.xml │ │ │ │ ├── log4j2.xml │ │ │ │ ├── metrics.xml │ │ │ │ ├── spark-defaults.xml │ │ │ │ ├── spark-env.xml │ │ │ │ └── spark-hive-site.xml │ │ │ ├── metainfo.xml │ │ │ └── order.json │ │ │ ├── tez │ │ │ ├── configuration │ │ │ │ ├── tez-env.xml │ │ │ │ └── tez-site.xml │ │ │ └── metainfo.xml │ │ │ └── zookeeper │ │ │ ├── configuration │ │ │ ├── zoo.cfg.xml │ │ │ └── zookeeper-env.xml │ │ │ ├── metainfo.xml │ │ │ └── order.json │ │ ├── extra │ │ └── 1.0.0 │ │ │ └── services │ │ │ └── seatunnel │ │ │ ├── configuration │ │ │ ├── hazelcast-client.yaml.xml │ │ │ ├── hazelcast-master.yaml.xml │ │ │ ├── hazelcast-worker.yaml.xml │ │ │ ├── jvm_client_options.xml │ │ │ ├── jvm_master_options.xml │ │ │ ├── jvm_worker_options.xml │ │ │ ├── log4j2.properties.xml │ │ │ ├── log4j2_client.properties.xml │ │ │ ├── seatunnel-env.sh.xml │ │ │ └── seatunnel.yaml.xml │ │ │ ├── metainfo.xml │ │ │ └── order.json │ │ └── infra │ │ └── 1.0.0 │ │ └── services │ │ ├── grafana │ │ ├── configuration │ │ │ ├── grafana-dashboard.xml │ │ │ ├── grafana-datasources.xml │ │ │ └── grafana.xml │ │ ├── metainfo.xml │ │ ├── order.json │ │ └── template │ │ │ ├── cluster-dashboard.json │ │ │ └── host-dashboard.json │ │ ├── mysql │ │ ├── configuration │ │ │ ├── common.xml │ │ │ └── my.cnf.xml │ │ ├── metainfo.xml │ │ └── order.json │ │ └── prometheus │ │ ├── configuration │ │ ├── prometheus-rule.xml │ │ └── prometheus.xml │ │ ├── metainfo.xml │ │ └── order.json │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── bigtop │ │ └── manager │ │ └── server │ │ ├── aop │ │ └── AuditAspectTest.java │ │ ├── command │ │ ├── factory │ │ │ ├── cluster │ │ │ │ ├── ClusterAddJobFactoryTest.java │ │ │ │ ├── ClusterRestartJobFactoryTest.java │ │ │ │ ├── ClusterStartJobFactoryTest.java │ │ │ │ └── ClusterStopJobFactoryTest.java │ │ │ ├── component │ │ │ │ ├── ComponentAddJobFactoryTest.java │ │ │ │ ├── ComponentRestartJobFactoryTest.java │ │ │ │ ├── ComponentStartJobFactoryTest.java │ │ │ │ └── ComponentStopJobFactoryTest.java │ │ │ ├── host │ │ │ │ ├── HostAddJobFactoryTest.java │ │ │ │ ├── HostRestartJobFactoryTest.java │ │ │ │ ├── HostStartJobFactoryTest.java │ │ │ │ └── HostStopJobFactoryTest.java │ │ │ └── service │ │ │ │ ├── ServiceAddJobFactoryTest.java │ │ │ │ ├── ServiceCheckJobFactoryTest.java │ │ │ │ ├── ServiceConfigureJobFactoryTest.java │ │ │ │ ├── ServiceRestartJobFactoryTest.java │ │ │ │ ├── ServiceStartJobFactoryTest.java │ │ │ │ └── ServiceStopJobFactoryTest.java │ │ ├── job │ │ │ ├── cluster │ │ │ │ ├── ClusterAddJobTest.java │ │ │ │ ├── ClusterRestartJobTest.java │ │ │ │ ├── ClusterStartJobTest.java │ │ │ │ └── ClusterStopJobTest.java │ │ │ ├── component │ │ │ │ ├── ComponentAddJobTest.java │ │ │ │ ├── ComponentRestartJobTest.java │ │ │ │ ├── ComponentStartJobTest.java │ │ │ │ └── ComponentStopJobTest.java │ │ │ ├── host │ │ │ │ ├── HostAddJobTest.java │ │ │ │ ├── HostRestartJobTest.java │ │ │ │ ├── HostStartJobTest.java │ │ │ │ └── HostStopJobTest.java │ │ │ └── service │ │ │ │ ├── ServiceAddJobTest.java │ │ │ │ ├── ServiceCheckJobTest.java │ │ │ │ ├── ServiceConfigureJobTest.java │ │ │ │ ├── ServiceRestartJobTest.java │ │ │ │ ├── ServiceStartJobTest.java │ │ │ │ └── ServiceStopJobTest.java │ │ ├── stage │ │ │ ├── AbstractComponentStageTest.java │ │ │ ├── ComponentAddStageTest.java │ │ │ ├── ComponentCheckStageTest.java │ │ │ ├── ComponentConfigureStageTest.java │ │ │ ├── ComponentInitStageTest.java │ │ │ ├── ComponentPrepareStageTest.java │ │ │ ├── ComponentStartStageTest.java │ │ │ ├── ComponentStopStageTest.java │ │ │ ├── HostCheckStageTest.java │ │ │ ├── SetupJdkStageTest.java │ │ │ └── StageContextTest.java │ │ └── task │ │ │ ├── ComponentAddTaskTest.java │ │ │ ├── ComponentCheckTaskTest.java │ │ │ ├── ComponentConfigureTaskTest.java │ │ │ ├── ComponentInitTaskTest.java │ │ │ ├── ComponentPrepareTaskTest.java │ │ │ ├── ComponentStartTaskTest.java │ │ │ ├── ComponentStopTaskTest.java │ │ │ ├── HostCheckTaskTest.java │ │ │ └── SetupJdkTaskTest.java │ │ ├── config │ │ ├── AsyncThreadPoolConfigTest.java │ │ ├── CommandGroupSequenceProviderTest.java │ │ ├── FrontendRedirectorTest.java │ │ ├── LocaleConfigTest.java │ │ ├── MyBatisConfigTest.java │ │ ├── OpenAPIConfigTest.java │ │ └── ValidatorConfigTest.java │ │ ├── controller │ │ ├── ChatbotControllerTest.java │ │ ├── ClusterControllerTest.java │ │ ├── CommandControllerTest.java │ │ ├── ComponentControllerTest.java │ │ ├── HostControllerTest.java │ │ ├── JobControllerTest.java │ │ ├── LoginControllerTest.java │ │ ├── MetricsControllerTest.java │ │ ├── RepoControllerTest.java │ │ ├── ServiceControllerTest.java │ │ ├── StackControllerTest.java │ │ └── UserControllerTest.java │ │ ├── enums │ │ ├── ApiExceptionEnumTest.java │ │ ├── AuthPlatformStatusTest.java │ │ ├── ChatbotCommandTest.java │ │ ├── CommandLevelTest.java │ │ ├── HealthyStatusEnumTest.java │ │ ├── HostAuthTypeEnumTest.java │ │ ├── InstalledStatusEnumTest.java │ │ └── ResponseStatusTest.java │ │ ├── holder │ │ ├── SessionUserHolderTest.java │ │ └── SpringContextHolderTest.java │ │ ├── service │ │ ├── ClusterServiceTest.java │ │ ├── CommandServiceTest.java │ │ ├── LoginServiceTest.java │ │ ├── RepoServiceTest.java │ │ └── UserServiceTest.java │ │ ├── stack │ │ └── dag │ │ │ ├── ComponentCommandWrapperTest.java │ │ │ ├── DAGTest.java │ │ │ └── DagGraphEdgeTest.java │ │ ├── tools │ │ ├── functions │ │ │ ├── ClusterFunctionsTest.java │ │ │ ├── HostFunctionsTest.java │ │ │ └── StackFunctionsTest.java │ │ └── provider │ │ │ └── AIServiceToolsProviderTest.java │ │ └── utils │ │ ├── ClusterUtilsTest.java │ │ ├── JWTUtilsTest.java │ │ ├── MessageSourceUtilsTest.java │ │ ├── PageUtilsTest.java │ │ ├── ProxyUtilsTest.java │ │ └── ServletUtilsTest.java │ └── resources │ └── stacks │ └── bigtop │ └── 3.3.0 │ └── services │ ├── kafka │ ├── configuration │ │ ├── kafka-broker.xml │ │ ├── kafka-env.xml │ │ ├── kafka-log4j.xml │ │ └── kafka.conf.xml │ ├── metainfo.xml │ └── order.json │ └── zookeeper │ ├── configuration │ ├── zoo.cfg.xml │ └── zookeeper-env.xml │ ├── metainfo.xml │ └── order.json ├── bigtop-manager-stack ├── bigtop-manager-stack-bigtop │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── bigtop │ │ │ └── manager │ │ │ └── stack │ │ │ └── bigtop │ │ │ ├── param │ │ │ └── BigtopParams.java │ │ │ ├── utils │ │ │ └── HdfsUtil.java │ │ │ └── v3_3_0 │ │ │ ├── flink │ │ │ ├── FlinkClientScript.java │ │ │ ├── FlinkHistoryServerScript.java │ │ │ ├── FlinkParams.java │ │ │ └── FlinkSetup.java │ │ │ ├── hadoop │ │ │ ├── DataNodeScript.java │ │ │ ├── HadoopClientScript.java │ │ │ ├── HadoopParams.java │ │ │ ├── HadoopSetup.java │ │ │ ├── HistoryServerScript.java │ │ │ ├── NameNodeScript.java │ │ │ ├── NodeManagerScript.java │ │ │ ├── ResourceManagerScript.java │ │ │ └── SNameNodeScript.java │ │ │ ├── hbase │ │ │ ├── HBaseClientScript.java │ │ │ ├── HBaseParams.java │ │ │ ├── HBaseSetup.java │ │ │ ├── HMasterScript.java │ │ │ └── HRegionServerScript.java │ │ │ ├── hive │ │ │ ├── HiveClientScript.java │ │ │ ├── HiveMetastoreScript.java │ │ │ ├── HiveParams.java │ │ │ ├── HiveServer2Script.java │ │ │ └── HiveSetup.java │ │ │ ├── kafka │ │ │ ├── KafkaBrokerScript.java │ │ │ ├── KafkaParams.java │ │ │ └── KafkaSetup.java │ │ │ ├── solr │ │ │ ├── SolrInstanceScript.java │ │ │ ├── SolrParams.java │ │ │ └── SolrSetup.java │ │ │ ├── spark │ │ │ ├── SparkClientScript.java │ │ │ ├── SparkHistoryServerScript.java │ │ │ ├── SparkParams.java │ │ │ ├── SparkSetup.java │ │ │ └── SparkThriftServerScript.java │ │ │ ├── tez │ │ │ ├── TezClientScript.java │ │ │ ├── TezParams.java │ │ │ └── TezSetup.java │ │ │ └── zookeeper │ │ │ ├── ZookeeperClientScript.java │ │ │ ├── ZookeeperParams.java │ │ │ ├── ZookeeperServerScript.java │ │ │ └── ZookeeperSetup.java │ │ └── test │ │ └── java │ │ └── org │ │ └── apache │ │ └── bigtop │ │ └── manager │ │ └── stack │ │ └── bigtop │ │ └── v3_3_0 │ │ ├── flink │ │ ├── FlinkClientScriptTest.java │ │ ├── FlinkHistoryServerScriptTest.java │ │ └── FlinkParamsTest.java │ │ ├── hadoop │ │ ├── DataNodeScriptTest.java │ │ ├── HadoopClientScriptTest.java │ │ ├── HadoopParamsTest.java │ │ ├── HistoryServerScriptTest.java │ │ ├── NameNodeScriptTest.java │ │ ├── NodeManagerScriptTest.java │ │ ├── ResourceManagerScriptTest.java │ │ └── SNameNodeScriptTest.java │ │ ├── hbase │ │ ├── HBaseClientScriptTest.java │ │ ├── HBaseParamsTest.java │ │ ├── HMasterScriptTest.java │ │ └── HRegionServerScriptTest.java │ │ ├── hive │ │ ├── HiveClientScriptTest.java │ │ ├── HiveMetastoreScriptTest.java │ │ ├── HiveParamsTest.java │ │ └── HiveServer2ScriptTest.java │ │ ├── kafka │ │ ├── KafkaBrokerScriptTest.java │ │ └── KafkaParamsTest.java │ │ ├── solr │ │ ├── SolrInstanceScriptTest.java │ │ └── SolrParamsTest.java │ │ ├── spark │ │ ├── SparkClientScriptTest.java │ │ ├── SparkHistoryServerScriptTest.java │ │ ├── SparkParamsTest.java │ │ └── SparkThriftServerScriptTest.java │ │ ├── tez │ │ ├── TezClientScriptTest.java │ │ └── TezParamsTest.java │ │ └── zookeeper │ │ ├── ZookeeperClientScriptTest.java │ │ ├── ZookeeperParamsTest.java │ │ └── ZookeeperServerScriptTest.java ├── bigtop-manager-stack-core │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── bigtop │ │ │ │ └── manager │ │ │ │ └── stack │ │ │ │ └── core │ │ │ │ ├── annotations │ │ │ │ └── GlobalParams.java │ │ │ │ ├── enums │ │ │ │ └── ConfigType.java │ │ │ │ ├── exception │ │ │ │ └── StackException.java │ │ │ │ ├── executor │ │ │ │ └── StackExecutor.java │ │ │ │ ├── spi │ │ │ │ ├── PrioritySPI.java │ │ │ │ ├── PrioritySPIFactory.java │ │ │ │ ├── hook │ │ │ │ │ ├── AbstractHook.java │ │ │ │ │ ├── AddHook.java │ │ │ │ │ ├── Hook.java │ │ │ │ │ ├── RestartHook.java │ │ │ │ │ ├── StartHook.java │ │ │ │ │ └── StopHook.java │ │ │ │ ├── param │ │ │ │ │ ├── BaseParams.java │ │ │ │ │ └── Params.java │ │ │ │ ├── repo │ │ │ │ │ ├── AptPackageManager.java │ │ │ │ │ ├── DnfPackageManager.java │ │ │ │ │ ├── PackageManager.java │ │ │ │ │ ├── PackageManagerType.java │ │ │ │ │ └── YumPackageManager.java │ │ │ │ └── script │ │ │ │ │ ├── AbstractClientScript.java │ │ │ │ │ ├── AbstractScript.java │ │ │ │ │ ├── AbstractServerScript.java │ │ │ │ │ └── Script.java │ │ │ │ ├── tarball │ │ │ │ ├── ChecksumValidator.java │ │ │ │ ├── FileDownloader.java │ │ │ │ └── TarballExtractor.java │ │ │ │ └── utils │ │ │ │ ├── LocalSettings.java │ │ │ │ ├── PackageUtils.java │ │ │ │ ├── PropertiesUtils.java │ │ │ │ ├── TarballUtils.java │ │ │ │ ├── XmlUtils.java │ │ │ │ ├── linux │ │ │ │ ├── LinuxAccountUtils.java │ │ │ │ ├── LinuxFileUtils.java │ │ │ │ └── LinuxOSUtils.java │ │ │ │ └── template │ │ │ │ ├── BaseTemplate.java │ │ │ │ └── TemplateUtils.java │ │ └── resources │ │ │ └── templates │ │ │ ├── CONTENT.ftl │ │ │ ├── ENV.ftl │ │ │ ├── PROPERTIES.ftl │ │ │ └── XML.ftl │ │ └── test │ │ └── java │ │ └── org │ │ └── apache │ │ └── bigtop │ │ └── manager │ │ └── stack │ │ └── core │ │ ├── spi │ │ ├── hook │ │ │ ├── AddHookTest.java │ │ │ ├── RestartHookTest.java │ │ │ ├── StartHookTest.java │ │ │ └── StopHookTest.java │ │ ├── param │ │ │ └── BaseParamsTest.java │ │ ├── repo │ │ │ ├── AptPackageManagerTest.java │ │ │ ├── DnfPackageManagerTest.java │ │ │ └── YumPackageManagerTest.java │ │ └── script │ │ │ └── AbstractClientScriptTest.java │ │ ├── tarball │ │ ├── ChecksumValidatorTest.java │ │ └── TarballExtractorTest.java │ │ └── utils │ │ ├── LocalSettingsTest.java │ │ ├── PackageUtilsTest.java │ │ ├── PropertiesUtilsTest.java │ │ ├── linux │ │ ├── LinuxAccountUtilsTest.java │ │ └── LinuxOSUtilsTest.java │ │ └── template │ │ └── TemplateUtilsTest.java ├── bigtop-manager-stack-extra │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── bigtop │ │ │ └── manager │ │ │ └── stack │ │ │ └── extra │ │ │ ├── param │ │ │ └── ExtraParams.java │ │ │ └── v1_0_0 │ │ │ └── seatunnel │ │ │ ├── SeaTunnelClientScript.java │ │ │ ├── SeaTunnelMasterScript.java │ │ │ ├── SeaTunnelParams.java │ │ │ ├── SeaTunnelSetup.java │ │ │ └── SeaTunnelWorkerScript.java │ │ └── test │ │ └── java │ │ └── org │ │ └── apache │ │ └── bigtop │ │ └── manager │ │ └── stack │ │ └── extra │ │ └── v1_0_0 │ │ └── seatunnel │ │ ├── SeaTunnelClientScriptTest.java │ │ ├── SeaTunnelMasterScriptTest.java │ │ ├── SeaTunnelParamsTest.java │ │ └── SeaTunnelWorkerScriptTest.java ├── bigtop-manager-stack-infra │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── bigtop │ │ │ └── manager │ │ │ └── stack │ │ │ └── infra │ │ │ ├── param │ │ │ └── InfraParams.java │ │ │ └── v1_0_0 │ │ │ ├── grafana │ │ │ ├── GrafanaParams.java │ │ │ ├── GrafanaServerScript.java │ │ │ └── GrafanaSetup.java │ │ │ ├── mysql │ │ │ ├── MySQLClientScript.java │ │ │ ├── MySQLParams.java │ │ │ ├── MySQLServerScript.java │ │ │ └── MySQLSetup.java │ │ │ └── prometheus │ │ │ ├── PrometheusParams.java │ │ │ ├── PrometheusServerScript.java │ │ │ └── PrometheusSetup.java │ │ └── test │ │ └── java │ │ └── org │ │ └── apache │ │ └── bigtop │ │ └── manager │ │ └── stack │ │ └── infra │ │ └── v1_0_0 │ │ ├── grafana │ │ ├── GrafanaParamsTest.java │ │ └── GrafanaServerScriptTest.java │ │ ├── mysql │ │ ├── MySQLClientScriptTest.java │ │ ├── MySQLParamsTest.java │ │ └── MySQLServerScriptTest.java │ │ └── prometheus │ │ ├── PrometheusParamsTest.java │ │ └── PrometheusServerScriptTest.java └── pom.xml ├── bigtop-manager-ui ├── .env.development ├── .env.production ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .prettierignore ├── .prettierrc.js ├── README.md ├── README.zh.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── pom.xml ├── postcss.config.js ├── public │ └── logo.svg ├── src │ ├── App.vue │ ├── api │ │ ├── ai-assistant │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── cluster │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── command │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── component │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── config │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── hosts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── job │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── llm-config │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── login │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── repo │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── request-util.ts │ │ ├── request.ts │ │ ├── service │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── stack │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── types.ts │ │ ├── upload-file │ │ │ └── index.ts │ │ └── user │ │ │ ├── index.ts │ │ │ └── types.ts │ ├── assets │ │ ├── images │ │ │ ├── ai_disabled.png │ │ │ ├── ai_helper.png │ │ │ ├── cluster.png │ │ │ ├── dashscope.png │ │ │ ├── deepseek.png │ │ │ ├── default.png │ │ │ ├── flink.png │ │ │ ├── grafana.png │ │ │ ├── hadoop.png │ │ │ ├── hbase.png │ │ │ ├── helper.png │ │ │ ├── hive.png │ │ │ ├── host.png │ │ │ ├── kafka.png │ │ │ ├── login.png │ │ │ ├── mysql.png │ │ │ ├── openai.png │ │ │ ├── prometheus.png │ │ │ ├── qianfan.png │ │ │ ├── seatunnel.png │ │ │ ├── solr.png │ │ │ ├── spark.png │ │ │ ├── svg │ │ │ │ ├── avatar.svg │ │ │ │ ├── bm_logo.svg │ │ │ │ ├── book.svg │ │ │ │ ├── bottom-activated.svg │ │ │ │ ├── bottom.svg │ │ │ │ ├── canceled.svg │ │ │ │ ├── chat_avatar.svg │ │ │ │ ├── chatbot.svg │ │ │ │ ├── close.svg │ │ │ │ ├── clusters.svg │ │ │ │ ├── clusters_activated.svg │ │ │ │ ├── communication.svg │ │ │ │ ├── components.svg │ │ │ │ ├── components_activated.svg │ │ │ │ ├── copy.svg │ │ │ │ ├── download.svg │ │ │ │ ├── error.svg │ │ │ │ ├── exit_screen.svg │ │ │ │ ├── failed.svg │ │ │ │ ├── filter.svg │ │ │ │ ├── filter_activated.svg │ │ │ │ ├── full_screen.svg │ │ │ │ ├── github.svg │ │ │ │ ├── history.svg │ │ │ │ ├── hosts.svg │ │ │ │ ├── hosts_activated.svg │ │ │ │ ├── infrastructures.svg │ │ │ │ ├── infrastructures_activated.svg │ │ │ │ ├── installing.svg │ │ │ │ ├── language.svg │ │ │ │ ├── llm_config.svg │ │ │ │ ├── llm_config_activated.svg │ │ │ │ ├── more.svg │ │ │ │ ├── more_line.svg │ │ │ │ ├── plus.svg │ │ │ │ ├── plus_dark.svg │ │ │ │ ├── plus_gray.svg │ │ │ │ ├── processing.svg │ │ │ │ ├── question.svg │ │ │ │ ├── remove.svg │ │ │ │ ├── restart.svg │ │ │ │ ├── retry.svg │ │ │ │ ├── search.svg │ │ │ │ ├── search_activated.svg │ │ │ │ ├── send.svg │ │ │ │ ├── start.svg │ │ │ │ ├── stop.svg │ │ │ │ ├── success.svg │ │ │ │ └── unknown.svg │ │ │ ├── tez.png │ │ │ └── zookeeper.png │ │ └── logo.svg │ ├── components │ │ ├── ai-assistant │ │ │ ├── chat-history.vue │ │ │ ├── chat-input.vue │ │ │ ├── chat-message.vue │ │ │ ├── empty-content.vue │ │ │ └── index.vue │ │ ├── common │ │ │ ├── auto-form │ │ │ │ ├── index.vue │ │ │ │ ├── template.vue │ │ │ │ └── types.ts │ │ │ ├── button-group │ │ │ │ ├── index.vue │ │ │ │ └── types.ts │ │ │ ├── filter-form │ │ │ │ ├── index.vue │ │ │ │ └── types.ts │ │ │ ├── header-card │ │ │ │ └── index.vue │ │ │ ├── index.ts │ │ │ ├── main-card │ │ │ │ ├── index.vue │ │ │ │ └── types.ts │ │ │ ├── markdown-view │ │ │ │ └── index.vue │ │ │ ├── status-dot │ │ │ │ └── index.vue │ │ │ └── svg-icon │ │ │ │ └── index.vue │ │ ├── create-service │ │ │ ├── components │ │ │ │ ├── component-assigner.vue │ │ │ │ ├── component-installer.vue │ │ │ │ ├── service-configurator.vue │ │ │ │ ├── service-selector.vue │ │ │ │ └── tree-selector.vue │ │ │ └── create.vue │ │ ├── job-modal │ │ │ └── index.vue │ │ ├── job │ │ │ ├── custom-progress.vue │ │ │ └── index.vue │ │ ├── log-view │ │ │ └── index.vue │ │ ├── select-lang │ │ │ └── index.vue │ │ ├── service-management │ │ │ ├── components.vue │ │ │ ├── components │ │ │ │ ├── capture-snapshot.vue │ │ │ │ └── snapshot-management.vue │ │ │ ├── configs.vue │ │ │ ├── index.vue │ │ │ └── overview.vue │ │ ├── theme-switch │ │ │ └── index.vue │ │ └── user-avatar │ │ │ └── index.vue │ ├── composables │ │ ├── use-base-table.ts │ │ └── use-steps.ts │ ├── directives │ │ └── index.ts │ ├── enums │ │ ├── index.ts │ │ ├── route-exceptions.ts │ │ └── state.ts │ ├── layouts │ │ ├── default.vue │ │ ├── footer.vue │ │ ├── header.vue │ │ ├── index.vue │ │ └── sider.vue │ ├── locales │ │ ├── en_US │ │ │ ├── ai-assistant.ts │ │ │ ├── cluster.ts │ │ │ ├── common.ts │ │ │ ├── host.ts │ │ │ ├── index.ts │ │ │ ├── infra.ts │ │ │ ├── job.ts │ │ │ ├── llm-config.ts │ │ │ ├── login.ts │ │ │ ├── menu.ts │ │ │ ├── overview.ts │ │ │ ├── service.ts │ │ │ └── user.ts │ │ ├── index.ts │ │ └── zh_CN │ │ │ ├── ai-assistant.ts │ │ │ ├── cluster.ts │ │ │ ├── common.ts │ │ │ ├── host.ts │ │ │ ├── index.ts │ │ │ ├── infra.ts │ │ │ ├── job.ts │ │ │ ├── llm-config.ts │ │ │ ├── login.ts │ │ │ ├── menu.ts │ │ │ ├── overview.ts │ │ │ ├── service.ts │ │ │ └── user.ts │ ├── main.ts │ ├── pages │ │ ├── cluster-manage │ │ │ ├── cluster │ │ │ │ ├── components │ │ │ │ │ ├── category-chart.vue │ │ │ │ │ ├── check-workflow.vue │ │ │ │ │ ├── cluster-base.vue │ │ │ │ │ ├── component-info.vue │ │ │ │ │ ├── gauge-chart.vue │ │ │ │ │ ├── host-config.vue │ │ │ │ │ └── set-source.vue │ │ │ │ ├── create.vue │ │ │ │ ├── host.vue │ │ │ │ ├── index.vue │ │ │ │ ├── overview.vue │ │ │ │ ├── service.vue │ │ │ │ └── user.vue │ │ │ ├── components │ │ │ │ └── index.vue │ │ │ ├── hosts │ │ │ │ ├── create.vue │ │ │ │ ├── detail.vue │ │ │ │ ├── index.vue │ │ │ │ ├── install-dependencies.vue │ │ │ │ └── overview.vue │ │ │ └── infrastructures │ │ │ │ ├── index.vue │ │ │ │ └── service.vue │ │ ├── error │ │ │ └── 404.vue │ │ ├── login │ │ │ └── index.vue │ │ ├── system-manage │ │ │ └── llm-config │ │ │ │ ├── components │ │ │ │ ├── add-llm-item.vue │ │ │ │ └── llm-item.vue │ │ │ │ └── index.vue │ │ └── user │ │ │ ├── profile │ │ │ └── index.vue │ │ │ └── settings │ │ │ └── index.vue │ ├── plugins │ │ └── index.ts │ ├── router │ │ ├── guard.ts │ │ ├── index.ts │ │ └── routes │ │ │ ├── index.ts │ │ │ └── modules │ │ │ ├── clusters.ts │ │ │ ├── system.ts │ │ │ └── user.ts │ ├── store │ │ ├── ai-assistant │ │ │ └── index.ts │ │ ├── cluster │ │ │ └── index.ts │ │ ├── create-service │ │ │ ├── index.ts │ │ │ └── validation.ts │ │ ├── index.ts │ │ ├── job-progress │ │ │ └── index.ts │ │ ├── llm-config │ │ │ ├── config.ts │ │ │ └── index.ts │ │ ├── locale │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── menu │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── service │ │ │ └── index.ts │ │ ├── stack │ │ │ └── index.ts │ │ ├── theme │ │ │ ├── config.ts │ │ │ └── index.ts │ │ ├── ui │ │ │ └── index.ts │ │ └── user │ │ │ └── index.ts │ ├── styles │ │ ├── ant-design-vue.scss │ │ ├── index.scss │ │ ├── marked.scss │ │ ├── scrollbar.scss │ │ └── variables.scss │ ├── types │ │ ├── components.d.ts │ │ ├── global.d.ts │ │ └── route.d.ts │ ├── utils │ │ ├── array.ts │ │ ├── constant.ts │ │ ├── render.ts │ │ ├── router-util.ts │ │ ├── storage.ts │ │ └── tools.ts │ └── vite-env.d.ts ├── tests │ ├── __components__ │ │ └── svg-icon.test.ts │ ├── __composables__ │ │ └── use-table.test.ts │ ├── __utils__ │ │ └── array.test.ts │ └── test-util.ts ├── tsconfig.json ├── tsconfig.node.json ├── vite.config.ts └── vitest.config.ts ├── dev-support ├── README.md └── docker │ ├── containers │ └── build.sh │ └── image │ ├── Dockerfile.openeuler24 │ ├── Dockerfile.rocky8 │ └── build.sh ├── docs ├── README.md ├── README.zh.md ├── en │ ├── architecture.md │ ├── cluster.md │ ├── concepts.md │ ├── contribution.md │ ├── deploy.md │ ├── prepare.md │ ├── release.md │ └── service.md └── zh │ ├── architecture.md │ ├── cluster.md │ ├── concepts.md │ ├── contribution.md │ ├── deploy.md │ ├── prepare.md │ ├── release.md │ └── service.md ├── mvnw ├── mvnw.cmd └── pom.xml /.github/pr-title-checker-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "LABEL": { 3 | "name": "title needs formatting", 4 | "color": "EEEEEE" 5 | }, 6 | "CHECKS": { 7 | "regexp": "^BIGTOP-\\d{1,9}: .*" 8 | }, 9 | "MESSAGES": { 10 | "success": "PR title is valid", 11 | "failure": "PR title is invalid", 12 | "notice": "PR Title needs to pass regex '^BIGTOP-\\d{1,9}: .*'" 13 | } 14 | } -------------------------------------------------------------------------------- /.github/typos.toml: -------------------------------------------------------------------------------- 1 | [default.extend-words] 2 | ser = "ser" 3 | -------------------------------------------------------------------------------- /.github/workflows/pr.yml: -------------------------------------------------------------------------------- 1 | name: "Pull Request" 2 | on: 3 | pull_request: 4 | types: [opened, edited, reopened, synchronize] 5 | 6 | jobs: 7 | check-pr-title: 8 | name: "Check PR Title" 9 | runs-on: ubuntu-latest 10 | steps: 11 | - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" 12 | uses: actions/checkout@v4 13 | with: 14 | persist-credentials: false 15 | submodules: recursive 16 | - name: "Check PR Title" 17 | uses: ./.github/actions/pr-title-checker 18 | with: 19 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 20 | pass_on_octokit_error: false 21 | configuration_path: .github/pr-title-checker-config.json 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # maven ignore 2 | target/ 3 | *.jar 4 | *.zip 5 | *.tar.gz 6 | .flattened-pom.xml 7 | 8 | !**/src/main/**/target/ 9 | !**/src/test/**/target/ 10 | # system ignore 11 | .DS_Store 12 | 13 | ### STS ### 14 | .apt_generated 15 | .classpath 16 | .factorypath 17 | .project 18 | .settings 19 | .springBeans 20 | .sts4-cache 21 | 22 | ### IntelliJ IDEA ### 23 | .idea 24 | *.iws 25 | *.iml 26 | *.ipr 27 | 28 | ### NetBeans ### 29 | /nbproject/private/ 30 | /nbbuild/ 31 | /dist/ 32 | /nbdist/ 33 | /.nb-gradle/ 34 | build/ 35 | !**/src/main/**/build/ 36 | !**/src/test/**/build/ 37 | 38 | ### VS Code ### 39 | .vscode/ 40 | 41 | ### Log ### 42 | logs 43 | tasklogs 44 | *.log 45 | npm-debug.log* 46 | yarn-debug.log* 47 | yarn-error.log* 48 | pnpm-debug.log* 49 | lerna-debug.log* 50 | 51 | ### Frontend ### 52 | node 53 | node_modules 54 | dist 55 | dist-ssr 56 | .pnpm-store 57 | *.local 58 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule ".github/actions/pr-title-checker"] 2 | path = .github/actions/pr-title-checker 3 | url = https://github.com/thehanimo/pr-title-checker.git 4 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # https://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.7/apache-maven-3.8.7-bin.zip 18 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar 19 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Apache Bigtop 2 | Copyright 2024-2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (https://www.apache.org/). 6 | -------------------------------------------------------------------------------- /bigtop-manager-agent/src/main/java/org/apache/bigtop/manager/agent/cache/Caches.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.agent.cache; 20 | 21 | public class Caches { 22 | 23 | public static Long RUNNING_TASK = null; 24 | } 25 | -------------------------------------------------------------------------------- /bigtop-manager-agent/src/main/resources/banner.txt: -------------------------------------------------------------------------------- 1 | 2 | ____ ___ ____ _____ ___ ____ __ __ _ _ _ _ ____ _____ ____ 3 | | __ )_ _/ ___|_ _/ _ \| _ \ | \/ | / \ | \ | | / \ / ___| ____| _ \ 4 | | _ \| | | _ | || | | | |_) | | |\/| | / _ \ | \| | / _ \| | _| _| | |_) | 5 | | |_) | | |_| | | || |_| | __/ | | | |/ ___ \| |\ |/ ___ \ |_| | |___| _ < 6 | |____/___\____| |_| \___/|_| |_| |_/_/ \_\_| \_/_/ \_\____|_____|_| \_\ 7 | 8 | :: Bigtop Manager Agent :: ${application.formatted-version} -------------------------------------------------------------------------------- /bigtop-manager-agent/src/main/resources/bin/env.sh: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | 21 | export JAVA_OPTS="" -------------------------------------------------------------------------------- /bigtop-manager-ai/src/main/java/org/apache/bigtop/manager/ai/core/AbstractAIAssistantFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.ai.core; 20 | 21 | import org.apache.bigtop.manager.ai.core.factory.AIAssistantFactory; 22 | 23 | public abstract class AbstractAIAssistantFactory implements AIAssistantFactory {} 24 | -------------------------------------------------------------------------------- /bigtop-manager-ai/src/main/java/org/apache/bigtop/manager/ai/core/config/AIAssistantConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.ai.core.config; 20 | 21 | import java.util.Map; 22 | 23 | public interface AIAssistantConfig { 24 | String getModel(); 25 | 26 | Map getCredentials(); 27 | 28 | Map getConfigs(); 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-ai/src/main/java/org/apache/bigtop/manager/ai/core/exception/AssistantConfigNotSetException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.ai.core.exception; 20 | 21 | public class AssistantConfigNotSetException extends RuntimeException { 22 | private String paramName; 23 | 24 | public AssistantConfigNotSetException(String paramName) { 25 | super(paramName + " is a required parameter. You need to set."); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /bigtop-manager-ai/src/main/java/org/apache/bigtop/manager/ai/core/exception/PlatformNotFoundException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.ai.core.exception; 20 | 21 | public class PlatformNotFoundException extends RuntimeException { 22 | public PlatformNotFoundException(String platform) { 23 | super(platform + " platform not found. Please select one from PlatformType."); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /bigtop-manager-ai/src/main/resources/big-data-professor.st: -------------------------------------------------------------------------------- 1 | You are a qualified big data expert who knows the world's leading open source big data component engineering projects. Now please focus on the content in the direction of big data. I will ask you some questions and hope to get your answers. -------------------------------------------------------------------------------- /bigtop-manager-ai/src/main/resources/language-prompt-en_US.st: -------------------------------------------------------------------------------- 1 | Please answer the question in English: -------------------------------------------------------------------------------- /bigtop-manager-ai/src/main/resources/language-prompt-zh_CN.st: -------------------------------------------------------------------------------- 1 | 请使用中文回答问题: -------------------------------------------------------------------------------- /bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/config/ApplicationConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.common.config; 20 | 21 | import org.springframework.boot.context.properties.ConfigurationProperties; 22 | import org.springframework.context.annotation.Configuration; 23 | 24 | import lombok.Data; 25 | 26 | @Data 27 | @Configuration 28 | @ConfigurationProperties(prefix = "bigtop.manager") 29 | public class ApplicationConfig {} 30 | -------------------------------------------------------------------------------- /bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/constants/ComponentCategories.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.common.constants; 20 | 21 | public class ComponentCategories { 22 | 23 | public static final String SERVER = "server"; 24 | 25 | public static final String CLIENT = "client"; 26 | } 27 | -------------------------------------------------------------------------------- /bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/enums/OSArchType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.common.enums; 20 | 21 | /** 22 | * Contains the list of supported architectures. 23 | */ 24 | public enum OSArchType { 25 | X86_64, 26 | 27 | AARCH64, 28 | ; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-common/src/main/java/org/apache/bigtop/manager/common/enums/OSType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.common.enums; 20 | 21 | /** 22 | * Contains the list of supported OS types. 23 | */ 24 | public enum OSType { 25 | CENTOS7, 26 | 27 | ROCKY8, 28 | 29 | UBUNTU20, 30 | 31 | UBUNTU22, 32 | 33 | DEBIAN10, 34 | 35 | DEBIAN11, 36 | 37 | FEDORA36, 38 | 39 | OPENEULER22, 40 | 41 | OPENEULER24, 42 | ; 43 | } 44 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/annotations/CreateBy.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.dao.annotations; 20 | 21 | import java.lang.annotation.ElementType; 22 | import java.lang.annotation.Retention; 23 | import java.lang.annotation.RetentionPolicy; 24 | import java.lang.annotation.Target; 25 | 26 | @Retention(RetentionPolicy.RUNTIME) 27 | @Target(value = {ElementType.FIELD}) 28 | public @interface CreateBy {} 29 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/annotations/CreateTime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.dao.annotations; 20 | 21 | import java.lang.annotation.ElementType; 22 | import java.lang.annotation.Retention; 23 | import java.lang.annotation.RetentionPolicy; 24 | import java.lang.annotation.Target; 25 | 26 | @Retention(RetentionPolicy.RUNTIME) 27 | @Target(value = {ElementType.FIELD}) 28 | public @interface CreateTime {} 29 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/annotations/UpdateBy.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.dao.annotations; 20 | 21 | import java.lang.annotation.ElementType; 22 | import java.lang.annotation.Retention; 23 | import java.lang.annotation.RetentionPolicy; 24 | import java.lang.annotation.Target; 25 | 26 | @Retention(RetentionPolicy.RUNTIME) 27 | @Target(value = {ElementType.FIELD}) 28 | public @interface UpdateBy {} 29 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/annotations/UpdateTime.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.dao.annotations; 20 | 21 | import java.lang.annotation.ElementType; 22 | import java.lang.annotation.Retention; 23 | import java.lang.annotation.RetentionPolicy; 24 | import java.lang.annotation.Target; 25 | 26 | @Retention(RetentionPolicy.RUNTIME) 27 | @Target(value = {ElementType.FIELD}) 28 | public @interface UpdateTime {} 29 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/AuditLogDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.bigtop.manager.dao.repository; 21 | 22 | import org.apache.bigtop.manager.dao.po.AuditLogPO; 23 | 24 | public interface AuditLogDao extends BaseDao {} 25 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/AuthPlatformDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.dao.repository; 20 | 21 | import org.apache.bigtop.manager.dao.po.AuthPlatformPO; 22 | 23 | import org.apache.ibatis.annotations.Param; 24 | 25 | public interface AuthPlatformDao extends BaseDao { 26 | AuthPlatformPO findByPlatformId(@Param("platformId") Long platformId); 27 | } 28 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/ChatMessageDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.dao.repository; 20 | 21 | import org.apache.bigtop.manager.dao.po.ChatMessagePO; 22 | 23 | import org.apache.ibatis.annotations.Param; 24 | 25 | import java.util.List; 26 | 27 | public interface ChatMessageDao extends BaseDao { 28 | List findAllByThreadId(@Param("threadId") Long threadId); 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/JobDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.bigtop.manager.dao.repository; 21 | 22 | import org.apache.bigtop.manager.dao.po.JobPO; 23 | 24 | import org.apache.ibatis.annotations.Param; 25 | 26 | import java.util.List; 27 | 28 | public interface JobDao extends BaseDao { 29 | 30 | List findByClusterId(@Param("clusterId") Long clusterId); 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/PlatformDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.dao.repository; 20 | 21 | import org.apache.bigtop.manager.dao.po.PlatformPO; 22 | 23 | public interface PlatformDao extends BaseDao {} 24 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/RepoDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.bigtop.manager.dao.repository; 21 | 22 | import org.apache.bigtop.manager.dao.po.RepoPO; 23 | 24 | public interface RepoDao extends BaseDao {} 25 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/StageDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.bigtop.manager.dao.repository; 21 | 22 | import org.apache.bigtop.manager.dao.po.StagePO; 23 | 24 | import org.apache.ibatis.annotations.Param; 25 | 26 | import java.util.List; 27 | 28 | public interface StageDao extends BaseDao { 29 | 30 | List findByJobId(@Param("jobId") Long jobId); 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/TaskDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.bigtop.manager.dao.repository; 21 | 22 | import org.apache.bigtop.manager.dao.po.TaskPO; 23 | 24 | import org.apache.ibatis.annotations.Param; 25 | 26 | import java.util.List; 27 | 28 | public interface TaskDao extends BaseDao { 29 | 30 | List findByStageId(@Param("stageId") Long stageId); 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/ToolDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.bigtop.manager.dao.repository; 21 | 22 | import org.apache.bigtop.manager.dao.po.ToolPO; 23 | 24 | import org.apache.ibatis.annotations.Param; 25 | 26 | public interface ToolDao extends BaseDao { 27 | 28 | ToolPO findByName(@Param("name") String name); 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/java/org/apache/bigtop/manager/dao/repository/UserDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.bigtop.manager.dao.repository; 21 | 22 | import org.apache.bigtop.manager.dao.po.UserPO; 23 | 24 | import org.apache.ibatis.annotations.Param; 25 | 26 | public interface UserDao extends BaseDao { 27 | 28 | UserPO findByUsername(@Param("username") String username); 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/resources/mapper/mysql/PlatformMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 23 | 24 | 25 | 26 | id, name, credential, support_models 27 | 28 | 29 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/resources/mapper/mysql/RepoMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 25 | 26 | 27 | id, name, arch, base_url, type 28 | 29 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/resources/mapper/postgresql/PlatformMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 23 | 24 | 25 | 26 | "id", "name", "credential", "support_models" 27 | 28 | 29 | -------------------------------------------------------------------------------- /bigtop-manager-dao/src/main/resources/mapper/postgresql/RepoMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | 25 | 26 | 27 | id, name, arch, base_url, type 28 | 29 | -------------------------------------------------------------------------------- /bigtop-manager-grpc/src/main/java/org/apache/bigtop/manager/grpc/pojo/ClusterInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.grpc.pojo; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.List; 24 | 25 | @Data 26 | public class ClusterInfo { 27 | 28 | private String name; 29 | 30 | private String userGroup; 31 | 32 | private String rootDir; 33 | 34 | private List tools; 35 | } 36 | -------------------------------------------------------------------------------- /bigtop-manager-grpc/src/main/java/org/apache/bigtop/manager/grpc/pojo/PackageInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.grpc.pojo; 20 | 21 | import lombok.AllArgsConstructor; 22 | import lombok.Data; 23 | import lombok.NoArgsConstructor; 24 | 25 | @Data 26 | @AllArgsConstructor 27 | @NoArgsConstructor 28 | public class PackageInfo { 29 | 30 | private String url; 31 | 32 | private String name; 33 | 34 | private String checksum; 35 | } 36 | -------------------------------------------------------------------------------- /bigtop-manager-grpc/src/main/java/org/apache/bigtop/manager/grpc/pojo/PackageSpecificInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.grpc.pojo; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.List; 24 | 25 | @Data 26 | public class PackageSpecificInfo { 27 | 28 | private List arch; 29 | 30 | private List packages; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-grpc/src/main/java/org/apache/bigtop/manager/grpc/pojo/RepoInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.grpc.pojo; 20 | 21 | import lombok.AllArgsConstructor; 22 | import lombok.Data; 23 | import lombok.NoArgsConstructor; 24 | 25 | @Data 26 | @AllArgsConstructor 27 | @NoArgsConstructor 28 | public class RepoInfo { 29 | 30 | private String name; 31 | 32 | private String arch; 33 | 34 | private String baseUrl; 35 | } 36 | -------------------------------------------------------------------------------- /bigtop-manager-grpc/src/main/java/org/apache/bigtop/manager/grpc/pojo/TemplateInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.grpc.pojo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class TemplateInfo { 25 | 26 | private String src; 27 | 28 | private String dest; 29 | 30 | private String content; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-grpc/src/main/java/org/apache/bigtop/manager/grpc/pojo/ToolInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.grpc.pojo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class ToolInfo { 25 | 26 | private String name; 27 | 28 | private String baseUrl; 29 | 30 | private String pkgName; 31 | 32 | private String arch; 33 | 34 | private String checksum; 35 | } 36 | -------------------------------------------------------------------------------- /bigtop-manager-grpc/src/main/resources/proto/setup_jdk.proto: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | syntax = "proto3"; 20 | 21 | option java_multiple_files = true; 22 | option java_package = "org.apache.bigtop.manager.grpc.generated"; 23 | option java_outer_classname = "SetupJdkProto"; 24 | 25 | service SetupJdkService { 26 | rpc Setup (SetupJdkRequest) returns (SetupJdkReply) {} 27 | } 28 | 29 | message SetupJdkRequest { 30 | int64 task_id = 1; 31 | } 32 | 33 | message SetupJdkReply { 34 | int32 code = 1; 35 | } -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/annotations/Audit.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.annotations; 20 | 21 | import java.lang.annotation.ElementType; 22 | import java.lang.annotation.Retention; 23 | import java.lang.annotation.RetentionPolicy; 24 | import java.lang.annotation.Target; 25 | 26 | @Retention(RetentionPolicy.RUNTIME) 27 | @Target(value = {ElementType.METHOD}) 28 | public @interface Audit {} 29 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/factory/AbstractJobFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.command.factory; 20 | 21 | public abstract class AbstractJobFactory implements JobFactory {} 22 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/factory/cluster/AbstractClusterJobFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.command.factory.cluster; 20 | 21 | import org.apache.bigtop.manager.server.command.factory.AbstractJobFactory; 22 | 23 | public abstract class AbstractClusterJobFactory extends AbstractJobFactory {} 24 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/factory/component/AbstractComponentJobFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.command.factory.component; 20 | 21 | import org.apache.bigtop.manager.server.command.factory.AbstractJobFactory; 22 | 23 | public abstract class AbstractComponentJobFactory extends AbstractJobFactory {} 24 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/factory/host/AbstractHostJobFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.command.factory.host; 20 | 21 | import org.apache.bigtop.manager.server.command.factory.AbstractJobFactory; 22 | 23 | public abstract class AbstractHostJobFactory extends AbstractJobFactory {} 24 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/factory/service/AbstractServiceJobFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.command.factory.service; 20 | 21 | import org.apache.bigtop.manager.server.command.factory.AbstractJobFactory; 22 | 23 | public abstract class AbstractServiceJobFactory extends AbstractJobFactory {} 24 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/job/JobContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.command.job; 20 | 21 | import org.apache.bigtop.manager.server.model.dto.CommandDTO; 22 | 23 | import lombok.Data; 24 | 25 | @Data 26 | public class JobContext { 27 | 28 | private CommandDTO commandDTO; 29 | 30 | private Boolean retryFlag; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/validator/CommandValidator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.command.validator; 20 | 21 | import org.apache.bigtop.manager.server.command.CommandIdentifier; 22 | 23 | import java.util.List; 24 | 25 | public interface CommandValidator { 26 | 27 | List getCommandIdentifiers(); 28 | 29 | void validate(ValidatorContext context); 30 | } 31 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/command/validator/ValidatorContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.command.validator; 20 | 21 | import org.apache.bigtop.manager.server.model.dto.CommandDTO; 22 | 23 | import lombok.Data; 24 | 25 | @Data 26 | public class ValidatorContext { 27 | 28 | private CommandDTO commandDTO; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/config/MapStructSharedConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.config; 20 | 21 | import org.mapstruct.MapperConfig; 22 | import org.mapstruct.ReportingPolicy; 23 | 24 | @MapperConfig(unmappedTargetPolicy = ReportingPolicy.IGNORE) 25 | public class MapStructSharedConfig {} 26 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/AttrsDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | import java.io.Serializable; 24 | 25 | @Data 26 | public class AttrsDTO implements Serializable { 27 | 28 | private String type; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/AuthCredentialDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | import java.io.Serializable; 24 | 25 | @Data 26 | public class AuthCredentialDTO implements Serializable { 27 | 28 | private String key; 29 | 30 | private String value; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/ChatThreadDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.Map; 24 | 25 | @Data 26 | public class ChatThreadDTO { 27 | private Long id; 28 | 29 | private Long platformId; 30 | 31 | private Long authId; 32 | 33 | private String name; 34 | 35 | private Map authCredentials; 36 | } 37 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/ClusterDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class ClusterDTO { 25 | 26 | private String name; 27 | 28 | private String displayName; 29 | 30 | private String desc; 31 | 32 | private Integer type; 33 | 34 | private String userGroup; 35 | 36 | private String rootDir; 37 | } 38 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/LoginDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class LoginDTO { 25 | 26 | private String username; 27 | 28 | private String password; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/PackageDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.AllArgsConstructor; 22 | import lombok.Data; 23 | import lombok.NoArgsConstructor; 24 | 25 | @Data 26 | @AllArgsConstructor 27 | @NoArgsConstructor 28 | public class PackageDTO { 29 | 30 | private String url; 31 | 32 | private String name; 33 | 34 | private String checksum; 35 | } 36 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/PackageSpecificDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.List; 24 | 25 | @Data 26 | public class PackageSpecificDTO { 27 | 28 | private List arch; 29 | 30 | private List packages; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/PlatformDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.Map; 24 | 25 | @Data 26 | public class PlatformDTO { 27 | private Long platformId; 28 | private Map authCredentials; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/QuickLinkDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class QuickLinkDTO { 25 | 26 | private String displayName; 27 | 28 | private String httpPortProperty; 29 | 30 | private String httpPortDefault; 31 | 32 | private String httpsPortProperty; 33 | 34 | private String httpsPortDefault; 35 | } 36 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/ServiceConfigDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | import java.io.Serializable; 24 | import java.util.List; 25 | 26 | @Data 27 | public class ServiceConfigDTO implements Serializable { 28 | 29 | private Long id; 30 | 31 | private String name; 32 | 33 | private List properties; 34 | } 35 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/ServiceConfigSnapshotDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | import java.io.Serializable; 24 | 25 | @Data 26 | public class ServiceConfigSnapshotDTO implements Serializable { 27 | 28 | private Long id; 29 | 30 | private String name; 31 | 32 | private String desc; 33 | 34 | private String configJson; 35 | } 36 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/StackDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.AllArgsConstructor; 22 | import lombok.Data; 23 | import lombok.EqualsAndHashCode; 24 | 25 | @Data 26 | @AllArgsConstructor 27 | @EqualsAndHashCode 28 | public class StackDTO { 29 | 30 | private String stackName; 31 | 32 | private String stackVersion; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/TemplateDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class TemplateDTO { 25 | 26 | private String src; 27 | 28 | private String dest; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/UserDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class UserDTO { 25 | 26 | private Long id; 27 | 28 | private String username; 29 | 30 | private String nickname; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/dto/command/ComponentCommandDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.dto.command; 20 | 21 | import lombok.Data; 22 | 23 | import java.io.Serializable; 24 | import java.util.List; 25 | 26 | @Data 27 | public class ComponentCommandDTO implements Serializable { 28 | 29 | private String componentName; 30 | 31 | private List hostnames; 32 | } 33 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/query/PageQuery.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.query; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class PageQuery { 25 | 26 | private Integer pageNum; 27 | 28 | private Integer pageSize; 29 | 30 | private String orderBy; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/AttrsReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class AttrsReq { 25 | 26 | private String type; 27 | } 28 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/AuthCredentialReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.Data; 22 | 23 | import jakarta.validation.constraints.NotBlank; 24 | 25 | @Data 26 | public class AuthCredentialReq { 27 | 28 | @NotBlank 29 | private String key; 30 | 31 | private String value; 32 | } 33 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/ChatbotMessageReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.Data; 22 | 23 | import jakarta.validation.constraints.NotEmpty; 24 | 25 | @Data 26 | public class ChatbotMessageReq { 27 | @NotEmpty 28 | private String message; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/ChatbotThreadReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class ChatbotThreadReq { 25 | private Long id; 26 | 27 | private String name; 28 | } 29 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/HostPathReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import io.swagger.v3.oas.annotations.media.Schema; 22 | import lombok.Data; 23 | 24 | import java.util.List; 25 | 26 | @Data 27 | public class HostPathReq { 28 | 29 | @Schema(example = "[1, 2]") 30 | private List hostIds; 31 | 32 | @Schema(example = "/opt") 33 | private String path; 34 | } 35 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/IdsReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.List; 24 | 25 | @Data 26 | public class IdsReq { 27 | 28 | private List ids; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/LoginReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import io.swagger.v3.oas.annotations.media.Schema; 22 | import lombok.Data; 23 | 24 | @Data 25 | public class LoginReq { 26 | 27 | @Schema(example = "admin") 28 | private String username; 29 | 30 | @Schema(example = "admin") 31 | private String password; 32 | } 33 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/PlatformReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.Data; 22 | 23 | import jakarta.validation.constraints.NotEmpty; 24 | import java.util.List; 25 | 26 | @Data 27 | public class PlatformReq { 28 | @NotEmpty 29 | private Long platformId; 30 | 31 | @NotEmpty 32 | private List authCredentials; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/RepoReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.AllArgsConstructor; 22 | import lombok.Data; 23 | import lombok.NoArgsConstructor; 24 | 25 | @Data 26 | @AllArgsConstructor 27 | @NoArgsConstructor 28 | public class RepoReq { 29 | 30 | private Integer id; 31 | 32 | private String baseUrl; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/ServiceConfigReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.List; 24 | 25 | @Data 26 | public class ServiceConfigReq { 27 | 28 | private Long id; 29 | 30 | private String name; 31 | 32 | private List properties; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/ServiceConfigSnapshotReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.Data; 22 | 23 | import java.io.Serializable; 24 | 25 | @Data 26 | public class ServiceConfigSnapshotReq implements Serializable { 27 | 28 | private String name; 29 | 30 | private String desc; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/StackReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import io.swagger.v3.oas.annotations.media.Schema; 22 | import lombok.Data; 23 | 24 | @Data 25 | public class StackReq { 26 | 27 | @Schema(example = "bigtop") 28 | private String stackName; 29 | 30 | @Schema(example = "3.3.0") 31 | private String stackVersion; 32 | } 33 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/req/UserReq.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.req; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class UserReq { 25 | 26 | private Long id; 27 | 28 | private String username; 29 | 30 | private String nickname; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/AttrsVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class AttrsVO { 25 | 26 | private String type; 27 | } 28 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/CommandVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class CommandVO { 25 | 26 | private Long id; 27 | 28 | private String name; 29 | 30 | private String state; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/InstalledStatusVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import org.apache.bigtop.manager.server.enums.InstalledStatusEnum; 22 | 23 | import lombok.Data; 24 | 25 | @Data 26 | public class InstalledStatusVO { 27 | 28 | private String hostname; 29 | 30 | private InstalledStatusEnum status; 31 | 32 | private String message; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/LoginVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class LoginVO { 25 | 26 | private String token; 27 | } 28 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/PlatformVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class PlatformVO { 25 | private Long id; 26 | 27 | private String name; 28 | 29 | private String supportModels; 30 | 31 | private String desc; 32 | } 33 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/PropertyVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class PropertyVO { 25 | 26 | private String name; 27 | 28 | private String value; 29 | 30 | private String displayName; 31 | 32 | private String desc; 33 | 34 | private AttrsVO attrs; 35 | } 36 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/QuickLinkVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class QuickLinkVO { 25 | 26 | private String displayName; 27 | 28 | private String url; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/RepoVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class RepoVO { 25 | 26 | private Integer id; 27 | 28 | private String name; 29 | 30 | private String arch; 31 | 32 | private String baseUrl; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/ServiceComponentVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.List; 24 | 25 | @Data 26 | public class ServiceComponentVO { 27 | 28 | private String serviceName; 29 | 30 | private List components; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/ServiceConfigVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.List; 24 | 25 | @Data 26 | public class ServiceConfigVO { 27 | 28 | private Long id; 29 | 30 | private String name; 31 | 32 | private List properties; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/ServiceUserVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class ServiceUserVO { 25 | 26 | private String displayName; 27 | 28 | private String user; 29 | 30 | private String userGroup; 31 | 32 | private String desc; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/StackConfigVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.List; 24 | 25 | @Data 26 | public class StackConfigVO { 27 | 28 | private String typeName; 29 | 30 | private List properties; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/StackVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | import java.util.List; 24 | 25 | @Data 26 | public class StackVO { 27 | 28 | private String stackName; 29 | 30 | private String stackVersion; 31 | 32 | private List services; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/TalkVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class TalkVO { 25 | private String content; 26 | 27 | private String finishReason; 28 | } 29 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/TaskVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class TaskVO { 25 | 26 | private Long id; 27 | 28 | private String name; 29 | 30 | private String state; 31 | 32 | private String hostname; 33 | 34 | private String createTime; 35 | 36 | private String updateTime; 37 | } 38 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/model/vo/UserVO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.model.vo; 20 | 21 | import lombok.Data; 22 | 23 | @Data 24 | public class UserVO { 25 | 26 | private Long id; 27 | 28 | private String username; 29 | 30 | private String nickname; 31 | 32 | private String createTime; 33 | 34 | private String updateTime; 35 | 36 | private Boolean status; 37 | } 38 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/service/MetricsService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.service; 20 | 21 | import com.fasterxml.jackson.databind.JsonNode; 22 | 23 | public interface MetricsService { 24 | 25 | JsonNode queryAgentsHealthyStatus(); 26 | 27 | JsonNode queryAgentsInfo(Long id, String interval); 28 | 29 | JsonNode queryClustersInfo(Long clusterId, String interval); 30 | } 31 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/service/RepoService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.service; 20 | 21 | import org.apache.bigtop.manager.server.model.dto.RepoDTO; 22 | import org.apache.bigtop.manager.server.model.vo.RepoVO; 23 | 24 | import java.util.List; 25 | 26 | public interface RepoService { 27 | 28 | List list(); 29 | 30 | List update(List repoDTOList); 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/service/TaskLogService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.service; 20 | 21 | import reactor.core.publisher.FluxSink; 22 | 23 | public interface TaskLogService { 24 | 25 | void registerSink(Long taskId, FluxSink sink); 26 | } 27 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/stack/model/AttrsModel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.stack.model; 20 | 21 | import lombok.Data; 22 | 23 | import jakarta.xml.bind.annotation.XmlAccessType; 24 | import jakarta.xml.bind.annotation.XmlAccessorType; 25 | 26 | @Data 27 | @XmlAccessorType(XmlAccessType.FIELD) 28 | public class AttrsModel { 29 | 30 | private String type; 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/stack/model/TemplateModel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.stack.model; 20 | 21 | import lombok.Data; 22 | 23 | import jakarta.xml.bind.annotation.XmlAccessType; 24 | import jakarta.xml.bind.annotation.XmlAccessorType; 25 | 26 | @Data 27 | @XmlAccessorType(XmlAccessType.FIELD) 28 | public class TemplateModel { 29 | 30 | private String src; 31 | 32 | private String dest; 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/utils/ClusterUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.server.utils; 20 | 21 | public class ClusterUtils { 22 | 23 | public static Boolean isNoneCluster(Long clusterId) { 24 | return clusterId == null || clusterId == 0L; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/banner.txt: -------------------------------------------------------------------------------- 1 | 2 | ____ ___ ____ _____ ___ ____ __ __ _ _ _ _ ____ _____ ____ 3 | | __ )_ _/ ___|_ _/ _ \| _ \ | \/ | / \ | \ | | / \ / ___| ____| _ \ 4 | | _ \| | | _ | || | | | |_) | | |\/| | / _ \ | \| | / _ \| | _| _| | |_) | 5 | | |_) | | |_| | | || |_| | __/ | | | |/ ___ \| |\ |/ ___ \ |_| | |___| _ < 6 | |____/___\____| |_| \___/|_| |_| |_/_/ \_\_| \_/_/ \_\____|_____|_| \_\ 7 | 8 | :: Bigtop Manager Server :: ${application.formatted-version} -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/bin/env.sh: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | 21 | export JAVA_OPTS="" -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/i18n/messages.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/bigtop/3.3.0/services/flink/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "FLINK_HISTORYSERVER-START": ["NAMENODE-START", "DATANODE-START"] 3 | } 4 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/bigtop/3.3.0/services/hbase/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "HBASE_REGIONSERVER-START": [ 3 | "HBASE_MASTER-START" 4 | ], 5 | "HBASE_MASTER-STOP": [ 6 | "HBASE_REGIONSERVER-STOP" 7 | ], 8 | "HBASE_MASTER-START": [ 9 | "NAMENODE-START", 10 | "DATANODE-START", 11 | "ZOOKEEPER_SERVER-START" 12 | ] 13 | } -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/bigtop/3.3.0/services/hive/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "HIVE_METASTORE-INIT": [ 3 | "MYSQL_SERVER-PREPARE" 4 | ], 5 | "HIVE_METASTORE-START": [ 6 | "NAMENODE-START", 7 | "NODEMANAGER-START" 8 | ], 9 | "HIVE_METASTORE-RESTART": [ 10 | "MYSQL_SERVER-RESTART", 11 | "NAMENODE-RESTART", 12 | "NODEMANAGER-RESTART" 13 | ], 14 | "HIVE_METASTORE-STOP": [ 15 | "SPARK_HISTORYSERVER-STOP", 16 | "SPARK_THRIFTSERVER-STOP" 17 | ], 18 | "HIVESERVER2-START": [ 19 | "NODEMANAGER-START", 20 | "ZOOKEEPER_SERVER-START", 21 | "HIVE_METASTORE-START" 22 | ], 23 | "HIVESERVER2-RESTART": [ 24 | "NODEMANAGER-RESTART", 25 | "ZOOKEEPER_SERVER-RESTART", 26 | "HIVE_METASTORE-RESTART" 27 | ] 28 | } -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/bigtop/3.3.0/services/hive/template/hive-service.sh: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | dir=$(dirname $0) 17 | $dir/hive --service $1 > /dev/null 2>&1 & 18 | echo $! > $2 -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/bigtop/3.3.0/services/kafka/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "KAFKA_BROKER-START": [ 3 | "ZOOKEEPER_SERVER-START" 4 | ], 5 | "KAFKA_BROKER-RESTART": [ 6 | "ZOOKEEPER_SERVER-RESTART" 7 | ] 8 | } -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/bigtop/3.3.0/services/solr/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "SOLR_INSTANCE-START" : ["ZOOKEEPER_SERVER-START"] 3 | } -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/bigtop/3.3.0/services/spark/configuration/spark-hive-site.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | hive.server2.thrift.port 24 | 10015 25 | Spark ThriftServer Port 26 | TCP port number to listen on, default 10015. 27 | 28 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/bigtop/3.3.0/services/spark/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "SPARK_HISTORYSERVER-START": [ 3 | "HIVE_METASTORE-START" 4 | ], 5 | "SPARK_HISTORYSERVER-RESTART": [ 6 | "HIVE_METASTORE-RESTART" 7 | ], 8 | "SPARK_THRIFTSERVER-START": [ 9 | "HIVE_METASTORE-START" 10 | ], 11 | "SPARK_THRIFTSERVER-RESTART": [ 12 | "HIVE_METASTORE-RESTART" 13 | ] 14 | } -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/bigtop/3.3.0/services/zookeeper/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "ZOOKEEPER_SERVER-STOP": [ 3 | "KAFKA_BROKER-STOP", 4 | "HBASE_MASTER-STOP" 5 | ] 6 | } -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/extra/1.0.0/services/seatunnel/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "SEATUNNEL_WORKER-START": [ 3 | "SEATUNNEL_MASTER-START" 4 | ], 5 | "SEATUNNEL_MASTER-STOP": [ 6 | "SEATUNNEL_WORKER-STOP" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/infra/1.0.0/services/grafana/order.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/infra/1.0.0/services/mysql/configuration/common.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | root_password 24 | root 25 | Root Password 26 | Password for MySQL root user. 27 | 28 | 29 | -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/infra/1.0.0/services/mysql/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "MYSQL_SERVER-STOP": [ 3 | "HIVE_METASTORE-STOP" 4 | ] 5 | } -------------------------------------------------------------------------------- /bigtop-manager-server/src/main/resources/stacks/infra/1.0.0/services/prometheus/order.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /bigtop-manager-server/src/test/resources/stacks/bigtop/3.3.0/services/kafka/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "KAFKA_BROKER-START": [ 3 | "ZOOKEEPER_SERVER-START" 4 | ], 5 | "KAFKA_BROKER-RESTART": [ 6 | "ZOOKEEPER_SERVER-RESTART" 7 | ] 8 | } -------------------------------------------------------------------------------- /bigtop-manager-server/src/test/resources/stacks/bigtop/3.3.0/services/zookeeper/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "ZOOKEEPER_SERVER-STOP": [ 3 | "KAFKA_BROKER-STOP" 4 | ] 5 | } -------------------------------------------------------------------------------- /bigtop-manager-stack/bigtop-manager-stack-core/src/main/java/org/apache/bigtop/manager/stack/core/enums/ConfigType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.stack.core.enums; 20 | 21 | public enum ConfigType { 22 | PROPERTIES, 23 | YAML, 24 | XML, 25 | JSON, 26 | ENV, 27 | CONTENT, 28 | UNKNOWN; 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-stack/bigtop-manager-stack-core/src/main/java/org/apache/bigtop/manager/stack/core/spi/hook/Hook.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.stack.core.spi.hook; 20 | 21 | import org.apache.bigtop.manager.stack.core.spi.PrioritySPI; 22 | import org.apache.bigtop.manager.stack.core.spi.param.Params; 23 | 24 | public interface Hook extends PrioritySPI { 25 | 26 | void before(Params params); 27 | 28 | void after(Params params); 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-stack/bigtop-manager-stack-core/src/main/java/org/apache/bigtop/manager/stack/core/spi/script/AbstractServerScript.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.bigtop.manager.stack.core.spi.script; 20 | 21 | public abstract class AbstractServerScript extends AbstractScript {} 22 | -------------------------------------------------------------------------------- /bigtop-manager-stack/bigtop-manager-stack-core/src/main/resources/templates/CONTENT.ftl: -------------------------------------------------------------------------------- 1 | ${model} -------------------------------------------------------------------------------- /bigtop-manager-stack/bigtop-manager-stack-core/src/main/resources/templates/ENV.ftl: -------------------------------------------------------------------------------- 1 | # Generated by Apache BigTop Manager. 2 | # Generated datetime is ${.now}. 3 | <#compress> 4 | <#list model as key,value> 5 | <#if value??> 6 | <#if value?string == 'true'> 7 | export ${key}=true 8 | <#elseif value?string == 'false'> 9 | export ${key}=false 10 | <#else> 11 | export ${key}=${value} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /bigtop-manager-stack/bigtop-manager-stack-core/src/main/resources/templates/PROPERTIES.ftl: -------------------------------------------------------------------------------- 1 | # Generated by Apache BigTop Manager. 2 | # Generated datetime is ${.now?datetime}. 3 | <#compress> 4 | <#list model as key,value> 5 | <#if value??> 6 | <#if value?string == 'true'> 7 | ${key}=true 8 | <#elseif value?string == 'false'> 9 | ${key}=false 10 | <#else> 11 | ${key}=${value} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /bigtop-manager-stack/bigtop-manager-stack-core/src/main/resources/templates/XML.ftl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | <#list model as key,value> 7 | <#if value??> 8 | 9 | ${key} 10 | <#if value?string == 'true'> 11 | true 12 | <#elseif value?string == 'false'> 13 | false 14 | <#else> 15 | ${value} 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /bigtop-manager-ui/.env.development: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | NODE_ENV=development 17 | 18 | VITE_APP_BASE='/' 19 | VITE_APP_BASE_URL='http://localhost:8080' 20 | VITE_APP_BASE_API='/api' 21 | VITE_GITHUB_URL='https://github.com/apache/bigtop-manager' 22 | VITE_BIGTOP_MANAGER_DOC_URL='https://github.com/apache/bigtop-manager/tree/main/docs' 23 | -------------------------------------------------------------------------------- /bigtop-manager-ui/.env.production: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | NODE_ENV=production 17 | 18 | VITE_APP_BASE='/ui/' 19 | VITE_APP_BASE_URL='' 20 | VITE_APP_BASE_API='/api' 21 | VITE_GITHUB_URL='https://github.com/apache/bigtop-manager' 22 | VITE_BIGTOP_MANAGER_DOC_URL='https://github.com/apache/bigtop-manager/tree/main/docs' 23 | -------------------------------------------------------------------------------- /bigtop-manager-ui/.eslintignore: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | node_modules 17 | dist 18 | public -------------------------------------------------------------------------------- /bigtop-manager-ui/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | package-lock.json 10 | 11 | node 12 | node_modules 13 | dist 14 | dist-ssr 15 | *.local 16 | 17 | # Editor directories and files 18 | .vscode/* 19 | !.vscode/extensions.json 20 | .idea 21 | .DS_Store 22 | *.suo 23 | *.ntvs* 24 | *.njsproj 25 | *.sln 26 | *.sw? 27 | -------------------------------------------------------------------------------- /bigtop-manager-ui/.prettierignore: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | node_modules 17 | dist 18 | public 19 | 20 | package.json 21 | pnpm-lock.yaml 22 | 23 | **/*.md -------------------------------------------------------------------------------- /bigtop-manager-ui/.prettierrc.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | module.exports = { 21 | useTabs: false, 22 | printWidth: 120, 23 | semi: false, 24 | vueIndentScriptAndStyle: true, 25 | singleQuote: true, 26 | quoteProps: 'as-needed', 27 | jsxBracketSameLine: false, 28 | jsxSingleQuote: true, 29 | arrowParens: 'always', 30 | htmlWhitespaceSensitivity: 'strict', 31 | endOfLine: 'lf', 32 | trailingComma: 'none' 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-ui/postcss.config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | const autoprefixer = require('autoprefixer') 21 | const cssnano = require('cssnano') 22 | 23 | module.exports = { 24 | plugins: [ 25 | autoprefixer(), 26 | cssnano({ 27 | preset: 'default' 28 | }) 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/command/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import request from '@/api/request.ts' 21 | import { CommandRequest, CommandVO } from '@/api/command/types.ts' 22 | 23 | export const execCommand = (data: CommandRequest): Promise => { 24 | return request({ 25 | method: 'post', 26 | url: '/command', 27 | data 28 | }) 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/login/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { LoginReq, LoginVO } from '@/api/login/types.ts' 21 | import request from '@/api/request.ts' 22 | 23 | export const login = (data: LoginReq): Promise => { 24 | return request({ 25 | method: 'post', 26 | url: '/login', 27 | data 28 | }) 29 | } 30 | 31 | export const test = () => { 32 | return request({ 33 | method: 'get', 34 | url: '/test' 35 | }) 36 | } 37 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/login/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export interface LoginReq { 21 | username: string 22 | password: string 23 | } 24 | 25 | export interface LoginVO { 26 | token: string 27 | } 28 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/repo/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { RepoUpdate, RepoVO } from './types' 21 | import request from '@/api/request.ts' 22 | 23 | export const getRepoList = (): Promise => { 24 | return request({ 25 | method: 'get', 26 | url: 'repos' 27 | }) 28 | } 29 | 30 | export const updateRepo = (data: RepoUpdate[]) => { 31 | return request({ 32 | method: 'put', 33 | url: 'repos', 34 | data 35 | }) 36 | } 37 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/repo/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export interface RepoVO { 20 | arch?: string 21 | baseUrl?: string 22 | id?: number 23 | name?: string 24 | [property: string]: any 25 | } 26 | 27 | export interface RepoUpdate { 28 | baseUrl?: string 29 | id?: number 30 | [property: string]: any 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/stack/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import request from '@/api/request.ts' 21 | import { StackVO } from '@/api/stack/types.ts' 22 | 23 | export const getStacks = (): Promise => { 24 | return request({ 25 | method: 'get', 26 | url: '/stacks' 27 | }) 28 | } 29 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/stack/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { RepoVO } from '@/api/repo/types.ts' 21 | import { ServiceVO } from '../service/types' 22 | 23 | export interface StackVO { 24 | stackName: string 25 | stackVersion: string 26 | services: ServiceVO[] 27 | repos: RepoVO[] 28 | } 29 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export interface ResponseEntity { 21 | code: number 22 | data?: T 23 | message: string 24 | } 25 | 26 | export interface PageVO { 27 | total: number 28 | content: T[] 29 | } 30 | 31 | export interface ListParams { 32 | order?: string 33 | pageNum?: number 34 | pageSize?: number 35 | sort?: string 36 | } 37 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/upload-file/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import request from '@/api/request.ts' 21 | 22 | export const uploadFile = (data: FormData): Promise => { 23 | return request({ 24 | method: 'post', 25 | url: '/files/upload-key', 26 | data, 27 | headers: { 28 | 'Content-Type': 'multipart/form-data' 29 | } 30 | }) 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/api/user/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export interface UserVO { 20 | id: number 21 | username: string 22 | nickname: string 23 | createTime: string 24 | updateTime: string 25 | status: boolean 26 | } 27 | 28 | export interface UserReq { 29 | id: number 30 | username: string 31 | nickname: string 32 | } 33 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/ai_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/ai_disabled.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/ai_helper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/ai_helper.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/cluster.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/dashscope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/dashscope.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/deepseek.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/deepseek.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/default.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/flink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/flink.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/grafana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/grafana.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/hadoop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/hadoop.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/hbase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/hbase.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/helper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/helper.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/hive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/hive.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/host.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/host.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/kafka.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/kafka.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/login.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/mysql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/mysql.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/openai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/openai.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/prometheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/prometheus.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/qianfan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/qianfan.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/seatunnel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/seatunnel.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/solr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/solr.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/spark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/spark.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/svg/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/svg/filter.svg: -------------------------------------------------------------------------------- 1 | 2 | 20 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/svg/filter_activated.svg: -------------------------------------------------------------------------------- 1 | 2 | 20 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/svg/more.svg: -------------------------------------------------------------------------------- 1 | 2 | 20 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/svg/remove.svg: -------------------------------------------------------------------------------- 1 | 2 | 20 | 22 | 24 | 25 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/tez.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/tez.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/assets/images/zookeeper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/bigtop-manager/2a52fe954d6e9c29b842f1e0db2116922f95cace/bigtop-manager-ui/src/assets/images/zookeeper.png -------------------------------------------------------------------------------- /bigtop-manager-ui/src/components/common/filter-form/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export interface FilterFormItemOptionItem { 21 | value: string | number | boolean 22 | label: string 23 | [propkey: string]: any 24 | } 25 | 26 | export interface FilterFormItem { 27 | type: string 28 | key: string 29 | label: string 30 | options?: FilterFormItemOptionItem[] 31 | } 32 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/components/common/main-card/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export interface TabItem { 21 | key: string 22 | title: string 23 | } 24 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/components/theme-switch/index.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 24 | 25 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/enums/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export * from './route-exceptions' 21 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/enums/route-exceptions.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export enum RouteExceptions { 21 | DEFAULT_ROUTE_NAME = 'Default', 22 | DYNAMIC_ROUTE_MATCH = ':cluster/:id', 23 | SPECIAL_ROUTE_NAME = 'Clusters', 24 | SPECIAL_ROUTE_PATH = '/cluster-manage/clusters' 25 | } 26 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/en_US/infra.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export default { 20 | info: 'Only one instance of a basic service shared across clusters can exist', 21 | action: 'Add service', 22 | restart: 'Need to restart' 23 | } 24 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/en_US/job.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default { 21 | job_list: 'Job List', 22 | task_log: 'Task Log', 23 | log_loading: 'Loading logs', 24 | pending: 'Waiting to run', 25 | processing: 'Running', 26 | success: 'Run succeeded!', 27 | failed: 'Run failed!' 28 | } 29 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/en_US/llm-config.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export default { 20 | add_authorization: 'Add Authorization', 21 | edit_authorization: 'Edit Authorization', 22 | test: 'Test', 23 | unavailable: 'Unavailable', 24 | active: 'Active', 25 | available: 'Available', 26 | name: 'Name', 27 | platform_name: 'Platform', 28 | model: 'Model', 29 | desc: 'Remark' 30 | } 31 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/en_US/menu.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default { 21 | cluster: 'Cluster', 22 | infra: 'Infrastructure', 23 | stacks: 'Stacks', 24 | host: 'Host', 25 | create: 'Create Cluster', 26 | system: 'System', 27 | llm_config: 'LLM Config' 28 | } 29 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/en_US/user.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default { 21 | profile: 'Profile', 22 | settings: 'Settings', 23 | logout: 'Log Out', 24 | username: 'Username', 25 | user_group: 'User Group', 26 | nickname: 'Nickname', 27 | user_list: 'User List', 28 | set_nickname_valid: 'Nickname should not be empty' 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { createI18n } from 'vue-i18n' 21 | import zh_CN from './zh_CN' 22 | import en_US from './en_US' 23 | import { defaultLocale } from '@/store/locale/types.ts' 24 | 25 | const i18n = createI18n({ 26 | legacy: false, 27 | globalInjection: true, 28 | locale: defaultLocale, 29 | messages: { 30 | zh_CN, 31 | en_US 32 | } 33 | }) 34 | 35 | export default i18n 36 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/zh_CN/infra.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export default { 20 | info: '跨集群共享的基础服务,只能存在一个实例', 21 | action: '添加服务', 22 | restart: '需要重启' 23 | } 24 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/zh_CN/job.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default { 21 | job_list: '作业列表', 22 | task_log: '任务日志', 23 | log_loading: '获取日志中', 24 | pending: '等待中', 25 | processing: '运行中', 26 | success: '运行成功!', 27 | failed: '运行失败!' 28 | } 29 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/zh_CN/llm-config.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export default { 20 | add_authorization: '新增授权', 21 | edit_authorization: '编辑授权', 22 | test: '测试', 23 | unavailable: '不可用', 24 | active: '使用中', 25 | available: '可用', 26 | name: '名字', 27 | platform_name: '平台', 28 | model: '模型', 29 | desc: '备注' 30 | } 31 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/zh_CN/login.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default { 21 | desc: '更便捷的 Bigtop 部署工具', 22 | tips: '欢迎使用本系统', 23 | tab_account: '账号密码登录', 24 | username_placeholder: '请输入用户名', 25 | username_required: '用户名不能为空', 26 | password_placeholder: '请输入密码', 27 | password_required: '密码不能为空', 28 | remember_me: '记住我', 29 | submit: '登录', 30 | logging_in: '登录中...', 31 | login_success: '登录成功', 32 | logging_out: '退出登录中...', 33 | logout_success: '退出登录成功' 34 | } 35 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/zh_CN/menu.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default { 21 | cluster: '集群管理', 22 | infra: '基础服务', 23 | stacks: '组件栈', 24 | host: '主机管理', 25 | create: '添加集群', 26 | system: '系统管理', 27 | llm_config: '大模型配置' 28 | } 29 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/locales/zh_CN/user.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default { 21 | profile: '个人中心', 22 | settings: '个人设置', 23 | logout: '退出登录', 24 | username: '用户名', 25 | user_group: '用户组', 26 | nickname: '昵称', 27 | user_list: '用户列表', 28 | set_nickname_valid: '昵称不能为空' 29 | } 30 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/main.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { createApp } from 'vue' 21 | import App from './App.vue' 22 | import plugins from '@/plugins' 23 | import 'ant-design-vue/dist/reset.css' 24 | import 'virtual:svg-icons-register' 25 | import '@/styles/scrollbar.scss' 26 | import '@/styles/marked.scss' 27 | 28 | const app = createApp(App) 29 | app.use(plugins, { antdMessageMaxCount: 1 }) 30 | app.mount('#app') 31 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/pages/user/settings/index.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/router/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import routes from './routes' 21 | import { createRouter, createWebHistory } from 'vue-router' 22 | import { createRouterGuard } from './guard' 23 | 24 | const router = createRouter({ 25 | routes, 26 | history: createWebHistory(import.meta.env.VITE_APP_BASE) 27 | }) 28 | 29 | createRouterGuard(router) 30 | 31 | export default router 32 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/store/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { createPinia } from 'pinia' 21 | import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' 22 | 23 | const pinia = createPinia() 24 | pinia.use(piniaPluginPersistedstate) 25 | 26 | export default pinia 27 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/store/locale/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export const defaultLocale: Locale = 'en_US' 21 | export type Locale = 'zh_CN' | 'en_US' 22 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/store/menu/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export interface MenuItem { 20 | icon: string 21 | key: string 22 | label: string 23 | title: string 24 | name?: string 25 | activeMenu?: string 26 | status?: number 27 | children?: MenuItem[] 28 | } 29 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/store/theme/config.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export const componentsConfigProvider = { 21 | Modal: { 22 | marginLG: 16, 23 | paddingMD: 16, 24 | paddingLG: 16, 25 | paddingContentHorizontalLG: 16, 26 | colorTextHeading: 'rgba(0, 0,.0,1)', 27 | fontWeightStrong: 500 28 | }, 29 | Form: { 30 | controlHeightSM: 24, 31 | marginLG: 16 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/types/global.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import AutoForm from '@/components/common/auto-form/index.vue' 21 | 22 | declare global { 23 | namespace Comp { 24 | type AutoFormInstance = InstanceType 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/types/route.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import 'vue-router' 21 | 22 | declare module 'vue-router' { 23 | interface RouteMeta { 24 | title?: string 25 | icon?: string 26 | hidden?: boolean 27 | alwaysShow?: boolean 28 | belong?: string 29 | noCache?: boolean 30 | activeMenu?: string 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/utils/constant.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export const API_RETRY_TIME = 3 21 | export const API_EXPIRE_TIME = 30 * 1000 22 | export const JOB_SCHEDULE_INTERVAL = 1000 23 | export const MONITOR_SCHEDULE_INTERVAL = 10 * 1000 24 | export const DEFAULT_PAGE_SIZE = 10 25 | -------------------------------------------------------------------------------- /bigtop-manager-ui/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.vue' { 21 | import { defineComponent } from 'vue' 22 | const component: ReturnType 23 | export default component 24 | } 25 | 26 | interface ImportMetaEnv { 27 | readonly VITE_APP_BASE: string 28 | readonly VITE_APP_BASE_URL: string 29 | readonly VITE_APP_BASE_API: string 30 | readonly VITE_APP_BASE_WS_URL: string 31 | readonly VITE_APP_BASE_WS_API: string 32 | } 33 | -------------------------------------------------------------------------------- /bigtop-manager-ui/tests/test-util.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { createApp } from 'vue' 21 | 22 | export function withSetup(composable: any, payload?: T) { 23 | let result: any 24 | const app = createApp({ 25 | setup() { 26 | result = composable(payload) 27 | return () => {} 28 | } 29 | }) 30 | app.mount(document.createElement('div')) 31 | return [result, app] 32 | } 33 | -------------------------------------------------------------------------------- /bigtop-manager-ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2020", 4 | "useDefineForClassFields": true, 5 | "module": "ESNext", 6 | "lib": ["ES2020", "DOM", "DOM.Iterable"], 7 | "baseUrl": "./", 8 | "paths": { 9 | "@/*": ["src/*"] 10 | }, 11 | "skipLibCheck": true, 12 | "types": ["vitest", "vitest/globals", "vite/client", "vite-plugin-svg-icons/client"], 13 | /* Bundler mode */ 14 | // "moduleResolution": "Bundler", 15 | "moduleResolution": "Node", 16 | "allowImportingTsExtensions": true, 17 | "allowSyntheticDefaultImports": true, 18 | "resolveJsonModule": true, 19 | "isolatedModules": true, 20 | "noEmit": true, 21 | "jsx": "preserve", 22 | /* Linting */ 23 | "strict": true, 24 | "noUnusedLocals": true, 25 | "noUnusedParameters": true, 26 | "noFallthroughCasesInSwitch": true, 27 | "noImplicitAny": false, 28 | }, 29 | "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/types/**/*.d.ts"], 30 | "references": [ 31 | { 32 | "path": "./tsconfig.node.json" 33 | } 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /bigtop-manager-ui/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "Node", 7 | "allowSyntheticDefaultImports": true 8 | }, 9 | "include": ["vite.config.ts"] 10 | } 11 | -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | # Documents 2 | [Chinese Edition](README.zh.md) 3 | 4 | We provide the following documents for you to understand this project: 5 | * [Prepare](./en/prepare.md): Prepare environment. 6 | * [Deploy](./en/deploy.md): Deploy the project. 7 | * [Architecture](./en/architecture.md): The architecture of the project. 8 | * [Concepts](./en/concepts.md): The concepts used in this project. 9 | * [Cluster](./en/cluster.md): How to create a cluster. 10 | * [Service](./en/service.md): How to add a service. 11 | * [Contribution](./en/contribution.md): How to contribute to the project. 12 | * [Release](./en/release.md): How to release. 13 | -------------------------------------------------------------------------------- /docs/README.zh.md: -------------------------------------------------------------------------------- 1 | # 文档 2 | [英文文档](README.md) 3 | 4 | 我们为您提供以下文档,以帮助您了解该项目: 5 | * [环境准备](./zh/prepare.md): 如何为项目部署做环境准备。 6 | * [部署](./zh/deploy.md): 如何部署项目。 7 | * [架构](./zh/architecture.md): 项目的架构。 8 | * [概念](./zh/concepts.md): 项目中使用的概念。 9 | * [集群](./zh/cluster.md): 如何创建一个集群。 10 | * [服务](./zh/service.md): 如何添加一个服务。 11 | * [贡献](./zh/contribution.md): 如何为项目做出贡献。 12 | * [发版](./zh/release.md): 如何发版。 13 | --------------------------------------------------------------------------------