发明名称 Deploying incremental scripts
摘要 A method and system of implementing continuous deployment of scripts in languages that only support single deployment. The method and system may develop incremental scripts based on differences between a pending script and an implemented script.
申请公布号 US9513901(B2) 申请公布日期 2016.12.06
申请号 US201514674017 申请日期 2015.03.31
申请人 International Business Machines Corporation 发明人 Chen Xiao Long;Lv Na;Wang Xi Ning;Yan Zhe;Zhao Zhuo
分类号 G06F9/445;G06F9/44 主分类号 G06F9/445
代理机构 代理人 Johnson Erik K.
主权项 1. A computer program product for deploying incremental script updates, the computer program product comprising: one or more computer-readable storage devices and program instructions stored on at least one of the one or more tangible storage devices, the program instructions comprising: program instructions to receive a first script and a second script, wherein the first script is associated with a database, and wherein the second script is a potential update to the first script;program instructions to create a first set and a second set by comparing the first script and the second script, wherein the first set includes elements that are present in only the second script, and wherein the second set includes elements that are present in the first script and the second script;program instructions to classify the elements associated with the first set, wherein program instructions to classify the elements associated with the first set comprise adding metadata tags to the elements associated with the first set corresponding to the function of the element;program instructions to create a context model, wherein the context model includes the elements and corresponding metadata tags associated with the first set and elements associated with the second set;program instructions to classify the elements associated with the first set as structural changes to the database;program instructions to create a data migration script based on the elements classified as structural changes;program instructions to create a third script from the elements classified as structural changes and the data migration script; andprogram instructions to deploy the third script as an update to the first script.
地址 Armonk NY US