WO2023039741A1 - 基于微服务体系的在线开发方法、装置、设备及存储介质 - Google Patents

基于微服务体系的在线开发方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2023039741A1
WO2023039741A1 PCT/CN2021/118456 CN2021118456W WO2023039741A1 WO 2023039741 A1 WO2023039741 A1 WO 2023039741A1 CN 2021118456 W CN2021118456 W CN 2021118456W WO 2023039741 A1 WO2023039741 A1 WO 2023039741A1
Authority
WO
WIPO (PCT)
Prior art keywords
microservice
configuration
code
container
program
Prior art date
Application number
PCT/CN2021/118456
Other languages
English (en)
French (fr)
Inventor
邓玉芳
贺忠堂
季统凯
Original Assignee
国云科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 国云科技股份有限公司 filed Critical 国云科技股份有限公司
Priority to PCT/CN2021/118456 priority Critical patent/WO2023039741A1/zh
Publication of WO2023039741A1 publication Critical patent/WO2023039741A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven

Definitions

  • the embodiments of the present application relate to the field of computer technology, and in particular to an online development method, device, device, and storage medium based on a microservice system.
  • the database model is designed first, the project framework is built, and then the software functions are gradually completed in combination with specific business requirements.
  • the business logic of each layer is implemented based on the framework, including front-end, back-end, front-end and back-end function joint debugging, etc. If there is a change, the whole process needs to be repeated, which is cumbersome and difficult to improve efficiency.
  • Embodiments of the present application provide an online development method, device, device, and storage medium based on a microservice system, which can solve the problem of low online development efficiency of the microservice system and improve the online development efficiency of the microservice system.
  • the embodiment of the present application provides an online development method based on the microservice system, including:
  • the microservice program is matched with the container deployment configuration template, and the corresponding microservice code is generated based on the form configuration parameters according to the matched template;
  • configuration template for saving the preset microservice program and container deployment is specifically:
  • configuration template for saving the preset microservice program and container deployment is specifically:
  • Pre-configured docker-compose service templates are saved, and the docker-compose service templates include configurations of container names, dependent container component categories, host ports, container port mappings, and environment parameters.
  • the matching of the microservice program and the container deployment configuration template is carried out according to the form configuration parameters carried in the received instruction, specifically:
  • the newly added form configuration parameters carried in the instruction received from the client are matched with the configuration template of the corresponding saved preset microservice program and its container deployment ;
  • microservice code is generated based on the form configuration parameters according to the matched template, specifically:
  • container configuration and script are modified according to the form configuration parameters and the microservice code, specifically:
  • the running of the microservice code is specifically:
  • the embodiment of the present application provides an online development device based on the microservice system, including:
  • Template pre-storage module used to save preset configuration templates for microservice programs and container deployment
  • a code generation module configured to match the microservice program and the container deployment configuration template according to the form configuration parameters carried in the received instruction, and generate corresponding microservice code based on the form configuration parameters according to the matched template;
  • a container modification module configured to modify container configuration and scripts according to the form configuration parameters and the microservice code
  • the code running module is used to run the microservice code.
  • the template pre-storage module is also used to preset the maven program, main program entry class file, configuration file and construction file; save the maven program, main program entry class file, configuration file and construction file to form the configuration of the microservice program template.
  • the template pre-storage module is also used to save the preconfigured docker-compose service template
  • the docker-compose service template includes container name, dependent container component category, host port, container port mapping and configuration of environment parameters.
  • the code generating module is further configured to receive the newly added form configuration parameters carried in the instruction received from the client according to the received instruction sent by the client, and compare the newly added form configuration parameters with the corresponding saved preset Match the configuration template of the microservice program and its container deployment;
  • code generation module is also used to generate business code according to the selected microservice program and the configuration template deployed by its container;
  • the container modification module is also used to modify the docker-compose.yml configuration file and the install.sh script of the container according to the newly added form configuration parameters received from the client and the configuration template of the selected microservice program;
  • code running module is also used to compile the microservice code, and start the compiled microservice code through docker-compose after the compilation is successful.
  • an electronic device including:
  • the memory is used to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the online development method based on the microservice architecture as described in the first aspect.
  • the embodiment of the present application provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the microservice architecture-based online development method.
  • the microservice program and the container deployment configuration template are matched according to the form configuration parameters carried in the received instruction, and the corresponding microservice is generated according to the matching result Code and modify the corresponding container configuration and script, start and run the server code described above.
  • the corresponding micro-service code can be directly matched and started within the system, avoiding the operation of manually copying the code, thereby improving work efficiency and saving development time;
  • the configuration of the corresponding container and the modification of the script make it possible to directly start the server code, realize the service function of the new business module, and optimize the user experience.
  • FIG. 1 is a flow chart of an online development method based on a microservice system provided in Embodiment 1 of the present application;
  • FIG. 2 is a schematic structural diagram of an online development device based on a microservice system provided in Embodiment 2 of the present application;
  • FIG. 3 is a schematic structural diagram of an electronic device provided in Embodiment 3 of the present application.
  • the online development method, device, equipment, and storage medium based on the microservice system provided by this application are designed to generate and start corresponding microservice codes through direct matching within the system during online development, avoiding the manual operation of copying codes , so as to improve work efficiency and save development time; in addition, the configuration of the corresponding container and the modification of the script are made after the system directly matches the generated code, so that the server code can be started directly, and the new business module service function can be realized. Thereby optimizing the user experience.
  • after the code is generated it is generally necessary to manually create a sub-project by copying or rely on a parent project to complete the basic framework of the project, and then compile and deploy for verification.
  • the online development method based on the microservice system of the embodiment of the present application is provided. To solve the problem of low work efficiency in the existing online development process.
  • Figure 1 shows a flow chart of an online development method based on a microservice system provided in Embodiment 1 of the present application.
  • the online development method based on a microservice system provided in this embodiment can be implemented by an online development device based on a microservice system Execution, the online development device based on the microservice system can be realized by means of software and/or hardware, and the online development device based on the microservice system can be composed of two or more physical entities, or can be composed of one physical entity.
  • the online development device based on the microservice system can be an intelligent terminal, such as a computer.
  • the online development method based on the microservice system specifically includes:
  • the maven program, the main program entry class file, the configuration file and the construction file are preset; the maven program, the main program entry class file, the configuration file and the construction file are saved to form a configuration template of the microservice program.
  • Pre-configured docker-compose service templates are saved, and the docker-compose service templates include configurations of container names, dependent container component categories, host ports, container port mappings, and environment parameters.
  • the step of presetting the configuration template of the microservice program and container deployment is: presetting a certain type of service template, such as web_db_nacos, the service template includes a microservice program part and its container deployment part; the microservice program , such as the maven program, which includes the main program entry class file, configuration file and build file; the container part is a docker-compose service configuration template, such as container name, which container components depend on it, host port and container port mapping, environment parameters, etc. .
  • a certain type of service template such as web_db_nacos
  • the service template includes a microservice program part and its container deployment part
  • the microservice program such as the maven program, which includes the main program entry class file, configuration file and build file
  • the container part is a docker-compose service configuration template, such as container name, which container components depend on it, host port and container port mapping, environment parameters, etc.
  • the specific steps of the preset configuration template of the microservice program and container deployment are: preset the web_db_nacos microservice template, and the web_db_nacos microservice template includes the microservice program part and its container deployment part.
  • the microservice program part takes a maven program as an example, and the maven program includes a main program entry class file, an application.yml configuration file and a pom.xml construction file.
  • the main program entry class file is marked on the main program class by @SpringBootApplication, indicating that this class is the main configuration class of SpringBoot, and the corresponding functions are introduced through other related annotations, such as enabling the registration center to discover and use @EnableDiscoveryClient Scan to the service and start the SpringBoot application in the main method.
  • the application.yml configuration file includes the configuration items required by the web_db_nacos microservice template, that is, the configuration items include the default configuration of the database and the web project template of the default configuration of nacos, and generally only need to modify the port and application name.
  • the pom.xml construction file contains template_db_nacos, the dependent packages and construction plug-ins required by this type of microservice template, generally only need to modify the project name.
  • the container deployment part is a docker-compose service configuration template, such as container name, dependent container components, host port and container port mapping, environment parameters and so on.
  • the newly added form configuration parameter carried in the instruction will be received from the client, and the newly added form configuration parameter will be compared with the configuration of the corresponding saved preset microservice program and its container deployment Template matching; select the configuration template of the microservice program and its container deployment that matches the configuration parameters of the added form. Generate business code according to the configuration template of the selected microservice program and its container deployment; generate corresponding target code according to the microservice program configuration template, form configuration parameters and business code.
  • the instruction sent by the client is to trigger the entry of the corresponding function of adding business development on the client, and fill in the corresponding new form configuration parameters according to the triggered exit, and the new form configuration parameters include The table name of the new business module, select the theme template (such as ERP theme one-to-many), form style (such as one column, two columns), and enter the database attributes, page attributes, foreign keys, etc. of each attribute field.
  • receiving the instruction to increase the development business sent by the client and the new form configuration parameters synchronizing the parameter information of the new form configuration parameters into the database, and verifying whether the new form configuration parameter information in the database is It meets the expectations. If it meets the requirements, the subsequent new form configuration parameters will be matched with the configuration templates corresponding to the saved preset microservice programs and their container deployments. If not, the new form configuration parameters will be received again until they meet expectations.
  • the theme template such as ERP theme One-to-many
  • form style such as one column, two columns
  • database attributes page attributes, foreign keys, etc. entered in each attribute field
  • the client selects the corresponding business form configuration parameters, sends the corresponding [generate service code] instruction and the form configuration parameter information, and receives the instruction sent by the client and the corresponding form configuration Parameter information, feedback generated corresponding microservice code configuration instructions are sent to the client, and the client pops up a generated service code configuration window, the user needs to fill in the module name, service port, select a microservice template, etc., and the receiving client sends the corresponding Module name, service port, selected microservice template and other information; business code generated according to the received selected microservice template; according to the selected microservice template, configuration parameter information and business code, generate the corresponding business module microservice object code.
  • the directory of the corresponding business module is automatically generated under the micro-moudle of the container deployment project, and the corresponding Dockerfile configuration file is generated under the directory; the Dockerfile describes which software packages are installed in the image, what operations are there, and what is created Things, etc., you can use it to quickly create custom images.
  • the microservice code is compiled, and after the compilation is successful, the compiled microservice code is started through docker-compose.
  • the container deployment and microservice code generated in the deployment step S103 is automatically compiled, and the newly added microservice code is started through docker-compose after the compilation is successful.
  • the embodiment of this application solves the problem that developers need to manually create a sub-project every time they develop the business code online, copy the generated code to the sub-project, write container deployment configuration and scripts, and then do a series of compilation, packaging, deployment, and startup.
  • the problem of cumbersome operation It saves a lot of time for developers, improves efficiency and reduces development costs, while also improving code readability.
  • the microservice program and the container deployment configuration template are matched according to the form configuration parameters carried in the received command, and the corresponding microservice code is generated according to the matching result and Modify the corresponding container configuration and script, and start and run the server code described above.
  • the corresponding micro-service code can be directly matched and started within the system, avoiding the operation of manually copying the code, thereby improving work efficiency and saving development time;
  • the configuration of the corresponding container and the modification of the script make it possible to directly start the server code, realize the service function of the new business module, and optimize the user experience.
  • FIG. 3 is a schematic structural diagram of an online development device based on a microservice system provided in Embodiment 2 of the present application.
  • the online development device based on the microservice system provided by this embodiment specifically includes: a template pre-storage module 21 , a code generation module 22 , a container modification module 23 and a code execution module 24 .
  • the template pre-storage module 21 is used to save the configuration template of the preset micro-service program and container deployment;
  • the code generation module 22 is used to perform micro-service program and container deployment configuration according to the form configuration parameters carried in the received instructions Template matching, generating corresponding microservice codes based on the form configuration parameters according to the matched templates;
  • container modification module 23 used to modify container configuration and scripts according to the form configuration parameters and the microservice codes; code running module 24, for running the microservice code.
  • the template pre-storage module 21 is also used to preset the maven program, main program entry class file, configuration file and construction file; save the maven program, main program entry class file, configuration file and construction file to form the microservice program Configure templates.
  • the template pre-storage module 21 is also used to save the pre-configured docker-compose service template, the docker-compose service template includes container name, dependent container component category, host port, container port mapping and configuration of environment parameters .
  • the code generation module 22 is also configured to receive the newly added form configuration parameters carried in the instruction received from the client according to the received instruction sent by the client, and combine the newly added form configuration parameters with the corresponding saved preset Match the configuration template of the microservice program and its container deployment; select the configuration template of the microservice program and its container deployment that matches the configuration parameters of the added form.
  • the code generation module 22 is also used to generate business code according to the configuration template of the selected microservice program and its container deployment; generate corresponding target code according to the microservice program configuration template, form configuration parameters and business code .
  • the container modification module 23 is also used to modify the docker-compose.yml configuration file and the install.sh script of the container according to the newly added form configuration parameters received from the client and the configuration template of the selected microservice program; Start the running of the code according to the modified docker-compose.yml configuration file and the install.sh script.
  • the code running module 24 is also used to compile the microservice code, and start the compiled microservice code through docker-compose after the compilation is successful.
  • the microservice program and the container deployment configuration template are matched according to the form configuration parameters carried in the received command, and the corresponding microservice code is generated according to the matching result and Modify the corresponding container configuration and script, and start and run the server code described above.
  • the corresponding micro-service code can be directly matched and started within the system, avoiding the operation of manually copying the code, thereby improving work efficiency and saving development time;
  • the configuration of the corresponding container and the modification of the script make it possible to directly start the server code, realize the service function of the new business module, and optimize the user experience.
  • the online development device based on the microservice system provided in Embodiment 2 of the present application can be used to execute the online development method based on the microservice system provided in Embodiment 1 above, and has corresponding functions and beneficial effects.
  • Embodiment 3 of the present application provides an electronic device.
  • the electronic device includes: a processor 31 , a memory 32 , a communication module 33 , an input device 34 and an output device 35 .
  • the number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more.
  • the processor, memory, communication module, input device and output device of the electronic device can be connected through a bus or in other ways.
  • the memory 32 can be used to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the online development method based on the microservice system described in any embodiment of the present application (for example, Template pre-storage module, code generation module, container modification module and code running module in the online development device based on microservice system).
  • the memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required by a function; the data storage area may store data created according to the use of the device, and the like.
  • the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices.
  • the memory may further include memory located remotely from the processor, which remote memory may be connected to the device via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the communication module 33 is used for data transmission.
  • the processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, that is, realizes the above-mentioned online development method based on the microservice system.
  • the input device 34 can be used for receiving inputted numerical or character information, and generating key signal input related to user setting and function control of the device.
  • the output device 35 may include a display device such as a display screen.
  • the electronic device provided above can be used to execute the online development method based on the microservice system provided in the first embodiment above, and has corresponding functions and beneficial effects.
  • the embodiment of the present application also provides a storage medium containing computer-executable instructions.
  • the computer-executable instructions When executed by a computer processor, the computer-executable instructions are used to execute an online development method based on a microservice architecture.
  • the microservice architecture-based The online development method includes: saving the preset configuration templates for microservice programs and container deployment; matching the microservice programs and container deployment configuration templates according to the form configuration parameters carried in the received instructions; Generate the corresponding microservice code according to the form configuration parameters; modify the container configuration and script according to the form configuration parameters and the microservice code; run the microservice code.
  • storage medium any of various types of memory devices or storage devices.
  • storage medium is intended to include: installation media such as CD-ROMs, floppy disks, or tape drives; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc.
  • the storage medium may also include other types of memory or combinations thereof.
  • the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network such as the Internet.
  • the second computer system may provide program instructions to the first computer for execution.
  • storage medium may include two or more storage media that reside in different locations, for example in different computer systems connected by a network.
  • the storage medium may store program instructions (eg embodied as computer programs) executable by one or more processors.
  • the storage medium containing computer-executable instructions provided by the embodiments of the present application is not limited to the online development method based on the microservice system as described above, and may also execute the Related operations in the online development method based on the microservice system.
  • the online development device, storage medium, and electronic equipment based on the microservice system provided in the above embodiments can execute the online development method based on the microservice system provided in any embodiment of the present application, and the technical details not described in detail in the above embodiments , you can refer to the online development method based on the microservice system provided by any embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

一种基于微服务体系的在线开发方法、装置、设备及存储介质。该方法包括:保存预设的微服务程序和容器部署的配置模板(S101);根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,根据匹配到的模板基于所述表单配置参数生成对应的微服务代码(S102);根据所述表单配置参数和所述微服务代码修改容器配置和脚本(S103);运行所述微服务代码(S104)。上述方法能够提升微服务体系的在线开发效率。

Description

基于微服务体系的在线开发方法、装置、设备及存储介质 技术领域
本申请实施例涉及计算机技术领域,尤其涉及一种基于微服务体系的在线开发方法、装置、设备及存储介质。
背景技术
传统的软件开发过程一般是先设计数据库模型,搭建项目框架,然后再结合具体业务需求,逐步完成软件功能。其中项目框架搭建后,结合业务需求,基于框架实现各层业务逻辑,包括前端、后台、前后端功能联调等,如果存在变更,整个过程又需要重新来过,繁琐不堪,效率也难以提高。
由于传统软件开发存在诸多不足,越来越多的在线开发平台出现。尤其是对于云ERP等企业信息管理系统的开发,基本上大部分功能都可以通过配置数据模型,选择界面风格等实现在线配置生成前后端代码。代码生成以后,一般需要手动通过复制创建一个子工程或依赖一个父工程来完成项目基础框架搭建,然后编译部署验证。
每一次在线开发完业务代码之后均需要手动创建一个子工程,拷贝生成的业务代码到子工程中,编写容器部署配置、脚本,然后再做编译打包部署启动等一系列重复的操作,浪费了大量的时间,效率低,容易出错,开发成本高;而且不同的开发习惯和命名习惯,容易导致代码的可读性差,不利于代码的维护。
发明内容
本申请实施例提供一种基于微服务体系的在线开发方法、装置、设备及存储介质,能够解决微服务体系的在线开发效率低问题,提升微服务体系的在线开发效率。
在第一方面,本申请实施例提供了一种基于微服务体系的在线开发方法,包括:
保存预设的微服务程序和容器部署的配置模板;
根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,根据匹配到的模板基于所述表单配置参数生成对应的微服务代码;
根据所述表单配置参数和所述微服务代码修改容器配置和脚本;
运行所述微服务代码。
进一步的,所述保存预设的微服务程序和容器部署的配置模板,具体为:
预设maven程序、主程序入口类文件、配置文件和构建文件;
保存maven程序、主程序入口类文件、配置文件和构建文件组成微服务程序的配置模板。
进一步的,所述保存预设的微服务程序和容器部署的配置模板,具体为:
保存预配置的docker-compose服务模板,所述docker-compose服务模板包括容器名称、依赖容器组件类别、主机端口、容器端口映射和环境参数的配置。
进一步的,所述根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,具体为:
根据接收到客户端发送的指令,将从客户端接收指令中携带的新增表单配置参数,将所述新增表单配置参数与对应保存预设的微服务程序及其容器部署的配置模板进行匹配;
选择与所述新增表单配置参数相匹配的微服务程序及其容器部署的配置模板。
进一步的,所述根据匹配到的模板基于所述表单配置参数生成对应的微服务代码,具体为:
根据选择的微服务程序及其容器部署的配置模板生成业务代码;
根据所述微服务程序配置模板、表单配置参数和业务代码生成对应的目标代码。
进一步的,所述根据所述表单配置参数和所述微服务代码修改容器配置和脚本,具体为:
根据从客户端接收的新增表单配置参数和选择的微服务程序的配置模板,修改容器的docker-compose.yml配置文件和install.sh脚本;
根据修改后的docker-compose.yml配置文件和install.sh脚本启动代码的运行。
进一步的,所述运行所述微服务代码,具体为:
对所述微服务代码编译,编译成功后通过docker-compose启动所述编译后的微服务代码。
在第二方面,本申请实施例提供了一种基于微服务体系的在线开发装置,包括:
模板预存模块,用于保存预设的微服务程序和容器部署的配置模板;
代码生成模块,用于根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,根据匹配到的模板基于所述表单配置参数生成对应的微服务代码;
容器修改模块,用于根据所述表单配置参数和所述微服务代码修改容器配置和脚本;
代码运行模块,用于运行所述微服务代码。
进一步的,所述模板预存模块,还用于预设maven程序、主程序入口类文件、配置文件和构建文件;保存maven程序、主程序入口类文件、配置文件和构建文件组成微服务程序的配置模板。
进一步的,所述模板预存模块,还用于保存预配置的docker-compose服务模板,所述docker-compose服务模板包括容器名称、依赖容器组件类别、主机端口、容器端口映射和环 境参数的配置。
进一步的,所述代码生成模块,还用于根据接收到客户端发送的指令,将从客户端接收指令中携带的新增表单配置参数,将所述新增表单配置参数与对应保存预设的微服务程序及其容器部署的配置模板进行匹配;
选择与所述新增表单配置参数相匹配的微服务程序及其容器部署的配置模板。
进一步的,所述代码生成模块,还用于根据选择的微服务程序及其容器部署的配置模板生成业务代码;
根据所述微服务程序配置模板、表单配置参数和业务代码生成对应的目标代码。
进一步的,所述容器修改模块,还用于根据从客户端接收的新增表单配置参数和选择的微服务程序的配置模板,修改容器的docker-compose.yml配置文件和install.sh脚本;
根据修改后的docker-compose.yml配置文件和install.sh脚本启动代码的运行。
进一步的,所述代码运行模块,还用于对所述微服务代码编译,编译成功后通过docker-compose启动所述编译后的微服务代码。
在第三方面,本申请实施例提供了一种电子设备,包括:
存储器以及一个或多个处理器;
所述存储器,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的基于微服务体系的在线开发方法。
在第四方面,本申请实施例提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如第一方面所述的基于微服务体系的在线开发方法。
本申请实施例通过保存预设的微服务程序和容器部署的配置模板,根据接收到的指令中携带的表单配置参数进行微服务程序和容器部署配置模板的匹配,根据匹配结果生成对应的微服务代码以及修改对应的容器配置和脚本,启动运行所述为服务器代码。采用上述技术手段,可以在系统内部直接匹配生成对应的微服务代码并启动,避免了人工手动拷贝代码的操作,从而提高了工作效率和节省了开发时间;此外,系统内部直接匹配生成代码后作对应的容器的配置和脚本的修改,使得能够直接启动所述为服务器代码,实现新增业务模块服务功能,从而优化用户的使用体验。
附图说明
图1是本申请实施例一提供的一种基于微服务体系的在线开发方法的流程图;
图2是本申请实施例二提供的一种基于微服务体系的在线开发装置的结构示意图;
图3是本申请实施例三提供的一种电子设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
本申请提供的基于微服务体系的在线开发方法、装置、设备及存储介质,旨在进行在线开发时,通过在系统内部直接匹配生成对应的微服务代码并启动,避免了人工手动拷贝代码的操作,从而提高了工作效率和节省了开发时间;此外,系统内部直接匹配生成代码后作对应的容器的配置和脚本的修改,使得能够直接启动所述为服务器代码,实现新增业务模块服务功能,从而优化用户的使用体验。相对于传统的在线开发方式,其通常代码生成以后,一般需要手动通过复制创建一个子工程或依赖一个父工程来完成项目基础框架搭建,然后编译部署验证。手动进行复制和编译部署验证比较繁琐,且人工参与也比较容易出错,从而导致工作效率低下。基于此,提供本申请实施例的基于微服务体系的在线开发方法。以解决现有在线开发过程中的工作效率低下的问题。
实施例一:
图1给出了本申请实施例一提供的一种基于微服务体系的在线开发方法的流程图,本实施例中提供的基于微服务体系的在线开发方法可以由基于微服务体系的在线开发设备执行,该基于微服务体系的在线开发设备可以通过软件和/或硬件的方式实现,该基于微服务体系的在线开发设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。一般而言,该基于微服务体系的在线开发设备可以是智能终端,如计算机等。
下述以计算机为执行基于微服务体系的在线开发方法的主体为例,进行描述。参照图1,该基于微服务体系的在线开发方法具体包括:
S101、保存预设的微服务程序和容器部署的配置模板。
具体的,预设maven程序、主程序入口类文件、配置文件和构建文件;保存maven程序、主程序入口类文件、配置文件和构建文件组成微服务程序的配置模板。
保存预配置的docker-compose服务模板,所述docker-compose服务模板包括容器名称、依赖容器组件类别、主机端口、容器端口映射和环境参数的配置。
示例性的,预设微服务程序和容器部署的配置模板的步骤为:预设某类型的服务模板,如web_db_nacos,所述服务模板包括微服务程序部分及其容器部署部分;所述微服务程序,例如maven程序,包含主程序入口类文件、配置文件和构建文件;所述容器部分为docker-compose服务配置模板,比如容器名称、依赖哪些容器组件、主机端口与容器端口映射、环境参数等等。
在一实施例中,预设的微服务程序和容器部署的配置模板具体步骤为:预设web_db_nacos微服务模板,所述web_db_nacos微服务模板包括微服务程序部分及其容器部署部分。所述微服务程序部分以maven程序为例,所述maven程序包括主程序入口类文件、application.yml配置文件和pom.xml构建文件。
其中,所述主程序入口类文件,通过@SpringBootApplication标注在主程序类上,说明这个类是SpringBoot的主配置类,通过其他相关注解把相应的功能引入,如通过@EnableDiscoveryClient让注册中心能够发现并扫描到该服务,并在main方法中启动SpringBoot应用。所述application.yml配置文件包括web_db_nacos该类微服务模板所需要的配置项,即配置项中有数据库的默认配置和nacos的默认配置的web工程模板,一般仅需修改端口和应用名即可。所述pom.xml构建文件中包含template_db_nacos,该类微服务模板所需要的依赖包和构建插件,一般仅需修改工程名。所述容器部署部分是docker-compose服务配置模板,比如容器名称、依赖哪些容器组件、主机端口与容器端口映射、环境参数等等。
S102、根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,根据匹配到的模板基于所述表单配置参数生成对应的微服务代码。
具体的,根据接收到客户端发送的指令,将从客户端接收指令中携带的新增表单配置参数,将所述新增表单配置参数与对应保存预设的微服务程序及其容器部署的配置模板进行匹配;选择与所述新增表单配置参数相匹配的微服务程序及其容器部署的配置模板。根据选择的微服务程序及其容器部署的配置模板生成业务代码;根据所述微服务程序配置模板、表单配置参数和业务代码生成对应的目标代码。
示例性的,所述客户端发送的指令为在客户端触发对应的增加开发业务的功能的入口,并根据触发的出口进行对应的新增表单配置参数的填写,所述新增表单配置参数包括新业务模块的表名、选择主题模板(如ERP主题一对多)、表单风格(如一列、两列)和录入各个 属性字段的数据库属性、页面属性、外键等。接收来自所述客户端发送的增加开发业务的指令和所述新增表单配置参数,将所述新增表单配置参数的参数信息同步到数据库中,验证数据库中所述新增表单配置参数信息是否符合预期,若符合则进行后续的新增表单配置参数与对应保存预设的微服务程序及其容器部署的配置模板匹配,若不符合则重新接收所述新增表单配置参数直至符合预期为止。
在一实施例中,在客户端的线开发平台中,通过在线表单开发模块点击【新增】,弹出在线开发新增表单配置参数窗口,录入新业务模块的表名、选择主题模板(如ERP主题一对多)、表单风格(如一列、两列)和录入各个属性字段的数据库属性、页面属性、外键等,点击“确定”,系统新增表单配置参数成功;选中新增的表单配置参数记录,点击操作“同步到数据库”,表单成功同步到数据库;同步数据库成功后,可以通过表单的【功能测试】功能检查表单配置参数是否符合预期,不符合则重新编辑该业务表单配置参数至符合预期为止;
示例性的,将验证符合预期的所述新增表单配置参数与对应保存预设的微服务程序及其容器部署的配置模板进行匹配;选择与所述新增表单配置参数相匹配的微服务程序及其容器部署的配置模板。根据选择的微服务程序及其容器部署的配置模板生成业务代码;根据所述微服务程序配置模板、表单配置参数和业务代码生成对应的目标代码。
在一实施例中,在客户端选择对应的业务表单配置参数,发送对应的【生成服务代码】指令和所述表单配置参数信息,根据接收所述客户端发送的指令和对应的所述表单配置参数信息,反馈生成对应的微服务代码配置指令发送至客户端,所述客户端弹出生成服务代码配置窗口,用户需要填入模块名称、服务端口、选择微服务模板等,接收客户端发送对应的模块名称、服务端口、选择微服务模板等信息;根据接收到的所述选择微服务模板生成的业务代码;根据所选微服务模板、配置参数信息和业务代码,生成对应的业务模块微服务的目标代码。
在一实施例中,在容器部署工程的micro-moudle下自动生成对应业务模块的目录,并在目录下生成对应的Dockerfile配置文件;Dockerfile描述镜像安装了哪些软件包,有哪些操作,创建了什么东西等等,可以用它快速创建自定义的镜像。
S103、根据所述表单配置参数和所述微服务代码修改容器配置和脚本。
具体的,根据从客户端接收的新增表单配置参数和选择的微服务程序的配置模板,修改容器的docker-compose.yml配置文件和install.sh脚本;根据修改后的docker-compose.yml配置文件和install.sh脚本启动代码的运行。
示例性的,根据模块名称、服务端口、微服务模板,修改容器部署工程下的docker-compose.yml配置文件和install.sh脚本,添加新增模块的部署配置和服务启动脚本; 修改容器部署工程的pom.xml构建文件,添加将新增模块工程打包的jar拷贝至容器部署工程对应业务模块的目录下。
S104、运行所述微服务代码。
具体的,对所述微服务代码编译,编译成功后通过docker-compose启动所述编译后的微服务代码。
示例性的,自动编译部署步骤S103所生成的容器部署和微服务代码,编译成功后通过docker-compose启动新增的微服务代码。
在一实施例中,在自动编译部署后进行菜单的配置,重新登录系统并验证新增业务模块的功能,完成新增业务开完成之后的验证。
本申请实施例解决了开发人员每一次在线开发完业务代码之后均需要手动创建一个子工程,拷贝生成的代码到子工程中,编写容器部署配置和脚本,然后再做编译打包部署启动等一系列繁琐操作的问题。为开发人员节省大量时间,提高效率并且降低开发成本,同时还提高了代码的可读性。
上述,通过保存预设的微服务程序和容器部署的配置模板,根据接收到的指令中携带的表单配置参数进行微服务程序和容器部署配置模板的匹配,根据匹配结果生成对应的微服务代码以及修改对应的容器配置和脚本,启动运行所述为服务器代码。采用上述技术手段,可以在系统内部直接匹配生成对应的微服务代码并启动,避免了人工手动拷贝代码的操作,从而提高了工作效率和节省了开发时间;此外,系统内部直接匹配生成代码后作对应的容器的配置和脚本的修改,使得能够直接启动所述为服务器代码,实现新增业务模块服务功能,从而优化用户的使用体验。
实施例二:
在上述实施例的基础上,图3为本申请实施例二提供的一种基于微服务体系的在线开发装置的结构示意图。参考图3,本实施例提供的基于微服务体系的在线开发装置具体包括:模板预存模块21、代码生成模块22、容器修改模块23和代码运行模块24。
其中,模板预存模块21,用于保存预设的微服务程序和容器部署的配置模板;代码生成模块22,用于根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,根据匹配到的模板基于所述表单配置参数生成对应的微服务代码;容器修改模块23,用于根据所述表单配置参数和所述微服务代码修改容器配置和脚本;代码运行模块24,用于运行所述微服务代码。
具体的,所述模板预存模块21,还用于预设maven程序、主程序入口类文件、配置文件 和构建文件;保存maven程序、主程序入口类文件、配置文件和构建文件组成微服务程序的配置模板。
具体的,所述模板预存模块21,还用于保存预配置的docker-compose服务模板,所述docker-compose服务模板包括容器名称、依赖容器组件类别、主机端口、容器端口映射和环境参数的配置。
具体的,所述代码生成模块22,还用于根据接收到客户端发送的指令,将从客户端接收指令中携带的新增表单配置参数,将所述新增表单配置参数与对应保存预设的微服务程序及其容器部署的配置模板进行匹配;选择与所述新增表单配置参数相匹配的微服务程序及其容器部署的配置模板。
具体的,所述代码生成模块22,还用于根据选择的微服务程序及其容器部署的配置模板生成业务代码;根据所述微服务程序配置模板、表单配置参数和业务代码生成对应的目标代码。
具体的,所述容器修改模块23,还用于根据从客户端接收的新增表单配置参数和选择的微服务程序的配置模板,修改容器的docker-compose.yml配置文件和install.sh脚本;根据修改后的docker-compose.yml配置文件和install.sh脚本启动代码的运行。
具体的,所述代码运行模块24,还用于对所述微服务代码编译,编译成功后通过docker-compose启动所述编译后的微服务代码。
上述,通过保存预设的微服务程序和容器部署的配置模板,根据接收到的指令中携带的表单配置参数进行微服务程序和容器部署配置模板的匹配,根据匹配结果生成对应的微服务代码以及修改对应的容器配置和脚本,启动运行所述为服务器代码。采用上述技术手段,可以在系统内部直接匹配生成对应的微服务代码并启动,避免了人工手动拷贝代码的操作,从而提高了工作效率和节省了开发时间;此外,系统内部直接匹配生成代码后作对应的容器的配置和脚本的修改,使得能够直接启动所述为服务器代码,实现新增业务模块服务功能,从而优化用户的使用体验。
本申请实施例二提供的基于微服务体系的在线开发装置可以用于执行上述实施例一提供的基于微服务体系的在线开发方法,具备相应的功能和有益效果。
实施例三:
本申请实施例三提供了一种电子设备,参照图3,该电子设备包括:处理器31、存储器32、通信模块33、输入装置34及输出装置35。该电子设备中处理器的数量可以是一个或者多个,该电子设备中的存储器的数量可以是一个或者多个。该电子设备的处理器、存储器、 通信模块、输入装置及输出装置可以通过总线或者其他方式连接。
存储器32作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请任意实施例所述的基于微服务体系的在线开发方法对应的程序指令/模块(例如,基于微服务体系的在线开发装置中的模板预存模块、代码生成模块、容器修改模块和代码运行模块)。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
通信模块33用于进行数据传输。
处理器31通过运行存储在存储器中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的基于微服务体系的在线开发方法。
输入装置34可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置35可包括显示屏等显示设备。
上述提供的电子设备可用于执行上述实施例一提供的基于微服务体系的在线开发方法,具备相应的功能和有益效果。
实施例四:
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种基于微服务体系的在线开发方法,该基于微服务体系的在线开发方法包括:保存预设的微服务程序和容器部署的配置模板;根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,根据匹配到的模板基于所述表单配置参数生成对应的微服务代码;根据所述表单配置参数和所述微服务代码修改容器配置和脚本;运行所述微服务代码。
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网) 连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的基于微服务体系的在线开发方法,还可以执行本申请任意实施例所提供的基于微服务体系的在线开发方法中的相关操作。
上述实施例中提供的基于微服务体系的在线开发装置、存储介质及电子设备可执行本申请任意实施例所提供的基于微服务体系的在线开发方法,未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的基于微服务体系的在线开发方法。
上述仅为本申请的较佳实施例及所运用的技术原理。本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由权利要求的范围决定。

Claims (10)

  1. 一种基于微服务体系的在线开发方法,其特征在于,包括:
    保存预设的微服务程序和容器部署的配置模板;
    根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,根据匹配到的模板基于所述表单配置参数生成对应的微服务代码;
    根据所述表单配置参数和所述微服务代码修改容器配置和脚本;
    运行所述微服务代码。
  2. 根据权利要求1所述的基于微服务体系的在线开发方法,其特征在于,所述保存预设的微服务程序和容器部署的配置模板,具体为:
    预设maven程序、主程序入口类文件、配置文件和构建文件;
    保存maven程序、主程序入口类文件、配置文件和构建文件组成微服务程序的配置模板。
  3. 根据权利要求1所述的基于微服务体系的在线开发方法,其特征在于,所述保存预设的微服务程序和容器部署的配置模板,具体为:
    保存预配置的docker-compose服务模板,所述docker-compose服务模板包括容器名称、依赖容器组件类别、主机端口、容器端口映射和环境参数的配置。
  4. 根据权利要求1所述的基于微服务体系的在线开发方法,其特征在于,所述根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,具体为:
    根据接收到客户端发送的指令,将从客户端接收指令中携带的新增表单配置参数,将所述新增表单配置参数与对应保存预设的微服务程序及其容器部署的配置模板进行匹配;
    选择与所述新增表单配置参数相匹配的微服务程序及其容器部署的配置模板。
  5. 根据权利要求4所述的基于微服务体系的在线开发方法,其特征在于,所述根据匹配到的模板基于所述表单配置参数生成对应的微服务代码,具体为:
    根据选择的微服务程序及其容器部署的配置模板生成业务代码;
    根据所述微服务程序配置模板、表单配置参数和业务代码生成对应的目标代码。
  6. 根据权利要求5所述的基于微服务体系的在线开发方法,其特征在于,所述根据所述表单配置参数和所述微服务代码修改容器配置和脚本,具体为:
    根据从客户端接收的新增表单配置参数和选择的微服务程序的配置模板,修改容器的docker-compose.yml配置文件和install.sh脚本;
    根据修改后的docker-compose.yml配置文件和install.sh脚本启动代码的运行。
  7. 根据权利要求1所述的基于微服务体系的在线开发方法,其特征在于,所述运行所述微服务代码,具体为:
    对所述微服务代码编译,编译成功后通过docker-compose启动所述编译后的微服务代码。
  8. 一种基于微服务体系的在线开发装置,其特征在于,包括:
    模板预存模块,用于保存预设的微服务程序和容器部署的配置模板;
    代码生成模块,用于根据接收到的指令中携带的表单配置参数,进行微服务程序和容器部署配置模板的匹配,根据匹配到的模板基于所述表单配置参数生成对应的微服务代码;
    容器修改模块,用于根据所述表单配置参数和所述微服务代码修改容器配置和脚本;
    代码运行模块,用于运行所述微服务代码。
  9. 一种电子设备,其特征在于,包括:
    存储器以及一个或多个处理器;
    所述存储器,用于存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7任一所述的方法。
  10. 一种包含计算机可执行指令的存储介质,其特征在于,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-7任一所述的方法。
PCT/CN2021/118456 2021-09-15 2021-09-15 基于微服务体系的在线开发方法、装置、设备及存储介质 WO2023039741A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/118456 WO2023039741A1 (zh) 2021-09-15 2021-09-15 基于微服务体系的在线开发方法、装置、设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/118456 WO2023039741A1 (zh) 2021-09-15 2021-09-15 基于微服务体系的在线开发方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023039741A1 true WO2023039741A1 (zh) 2023-03-23

Family

ID=85602261

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/118456 WO2023039741A1 (zh) 2021-09-15 2021-09-15 基于微服务体系的在线开发方法、装置、设备及存储介质

Country Status (1)

Country Link
WO (1) WO2023039741A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117008923A (zh) * 2023-09-28 2023-11-07 北京智源人工智能研究院 基于ai大模型的代码生成和编译部署方法、平台和设备
CN117093187A (zh) * 2023-08-02 2023-11-21 广州盈风网络科技有限公司 后台管理系统的开发方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309343A (zh) * 2020-02-20 2020-06-19 中国建设银行股份有限公司 一种开发部署方法及装置
CN111399822A (zh) * 2020-03-17 2020-07-10 深圳市炎华信息技术有限公司 微服务开发方法、装置、设备及计算机存储介质
CN111831318A (zh) * 2020-06-30 2020-10-27 山东大学 一种自动生成代码的微服务管理系统及代码生成方法
CN111897539A (zh) * 2020-07-20 2020-11-06 国云科技股份有限公司 一种根据服务角色的进行应用部署的方法及装置
US20200387372A1 (en) * 2019-06-06 2020-12-10 Dick's Sporting Goods, Inc. Microservice file generation system
CN113268229A (zh) * 2021-06-08 2021-08-17 中国联合网络通信集团有限公司 一种代码生成方法和代码生成装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200387372A1 (en) * 2019-06-06 2020-12-10 Dick's Sporting Goods, Inc. Microservice file generation system
CN111309343A (zh) * 2020-02-20 2020-06-19 中国建设银行股份有限公司 一种开发部署方法及装置
CN111399822A (zh) * 2020-03-17 2020-07-10 深圳市炎华信息技术有限公司 微服务开发方法、装置、设备及计算机存储介质
CN111831318A (zh) * 2020-06-30 2020-10-27 山东大学 一种自动生成代码的微服务管理系统及代码生成方法
CN111897539A (zh) * 2020-07-20 2020-11-06 国云科技股份有限公司 一种根据服务角色的进行应用部署的方法及装置
CN113268229A (zh) * 2021-06-08 2021-08-17 中国联合网络通信集团有限公司 一种代码生成方法和代码生成装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117093187A (zh) * 2023-08-02 2023-11-21 广州盈风网络科技有限公司 后台管理系统的开发方法、装置、设备及存储介质
CN117093187B (zh) * 2023-08-02 2024-04-16 广州盈风网络科技有限公司 后台管理系统的开发方法、装置、设备及存储介质
CN117008923A (zh) * 2023-09-28 2023-11-07 北京智源人工智能研究院 基于ai大模型的代码生成和编译部署方法、平台和设备
CN117008923B (zh) * 2023-09-28 2023-12-29 北京智源人工智能研究院 基于ai大模型的代码生成和编译部署方法、平台和设备

Similar Documents

Publication Publication Date Title
CN109947767B (zh) 多重租赁数据库系统中的系统共享类型
CN110928529B (zh) 辅助算子开发的方法和系统
CN109947773B (zh) 在多租户数据库系统中部署对键模式的改变
CN110147369B (zh) 多重租赁数据库系统中的数据分离和写入重新定向
CN110019215B (zh) 多重租赁数据库系统中的键模式管理
WO2022170801A1 (zh) iOS应用程序构建方法及装置、电子设备及存储介质
WO2023039741A1 (zh) 基于微服务体系的在线开发方法、装置、设备及存储介质
CN108964968B (zh) 一种容器云环境下的服务接入管理方法和系统
CN105630488A (zh) 一种基于docker容器技术的持续集成实现方法
CN112965785B (zh) 基于容器的微服务应用开发方法及开发平台
CN113946323A (zh) 基于微服务体系的在线开发方法、装置、设备及存储介质
CN109508178A (zh) 一种程序开发方法及装置
CN105183520A (zh) 计算机软件远程自动化装调方法及系统
WO2017020459A1 (zh) 一种为宿主配置插件包的方法与装置
CN112214227A (zh) 一种边缘服务器镜像定制化及部署系统和方法
CN115291946A (zh) 鸿蒙系统移植方法、装置、电子设备及可读介质
WO2022199136A1 (zh) 应用改造方法、系统、集群、介质及程序产品
CN111782207A (zh) 任务流代码生成方法、装置、设备及存储介质
CN114461182A (zh) 流水线构建的方法、装置、电子设备及计算机可读存储介质
EP3851955A1 (en) Systems and methods for software documentation and code generation management
CN108287720A (zh) 软件编译方法、装置、设备及存储介质
Thomas et al. Simulation factory: Taming application configuration and workflow on high-end resources
Zalila et al. MoDMaCAO: a model-driven framework for the design, validation and configuration management of cloud applications based on OCCI
CN108932121B (zh) 一种面向多租户分布式服务组件研发的模块及方法
Nedeltcheva et al. Challenges towards modeling and generating infrastructure-as-code

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21957031

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE