Migrating Configuration Changes In A Content Management System

Information

  • Patent Application
  • 20180039648
  • Publication Number
    20180039648
  • Date Filed
    August 17, 2016
    8 years ago
  • Date Published
    February 08, 2018
    6 years ago
Abstract
Systems and methods for migrating configuration changes to a target content management system. The method comprises: generating a source component directory for a source system, determining configuration changes from the source system by identifying differences between the source component directory and a target component directory, generating a changed component package based on the differences between the source component directory and the target component directory; and sending the changed component package from the source system to the target system.
Description
BACKGROUND

The subject technology relates generally to content management, and more particularly to migrate configuration changes in enterprise content management.


Enterprise content management systems are highly configurable. Before starting to use an enterprise content management system, a customer may configure it per its business requirements, or business processes, by creating some customizations on top of out of the box features. The customizations may be, e.g., adding document types or creating custom objects. The customized content management system may be tested in a sandbox environment, and then be cloned into a production environment. When new business requirements come in, the customer needs to determine how to change the configuration of the existing content management system to satisfy the new business requirements, and implement new configurations on top of the existing content management system in a test environment. The customer then needs to test and validate the new configurations, and migrate the new configurations to the actual production system. At this point, the customer can no longer clone the new configurations, since that may disturb operation of the actual production system and overwrite data in the actual production system. Therefore, it is desirable to provide a method to migrate the configuration changes over to the actual production system in a way that preserves the production data.


SUMMARY

The disclosed subject matter relates to a method for migrating configuration changes to a target content management system. The method comprises: generating a source component directory for a source system, wherein the source component directory comprises configuration objects in the source system. The method further comprises: determining configuration changes from the source system by identifying differences between the source component directory and a target component directory, wherein the target component directory comprises configuration objects in the target system. The method further comprises: generating a changed component package based on the differences between the source component directory and the target component directory; and sending the changed component package from the source system to the target system.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 illustrates an example high level block diagram of an enterprise content management architecture wherein the present invention may be implemented.



FIG. 2 illustrates an example high level block diagram of a computing device.



FIG. 3 illustrates an example high level block diagram of the content management server according to one embodiment of the present invention.



FIG. 4 illustrates an example high level block diagram of an enterprise content management architecture wherein the present invention may be implemented.



FIGS. 5A and 5B illustrate an example flowchart of a method for migrating configuration changes in a content management system according to one embodiment of the present invention.



FIG. 6 illustrates an example user interface for displaying differences between a source component directory and a target component directory according to one embodiment of the present invention.



FIG. 7 illustrates an example user interface for displaying a changed component package generated at the source system according to one embodiment of the present invention.



FIG. 8 illustrates an example changed component package file according to one embodiment of the present invention.



FIG. 9 illustrates an example user interface for displaying the changed component package received at the target system according to one embodiment of the present invention.



FIG. 10 illustrates an example user interface for displaying deployment status according to one embodiment of the present invention.



FIG. 11 illustrates an example user interface for displaying verification status according to one embodiment of the present invention.





DETAILED DESCRIPTION

The detailed description set forth below is intended as a description of various configurations of the subject technology and is not intended to represent the only configurations in which the subject technology may be practiced. The appended drawings are incorporated herein and constitute a part of the detailed description. The detailed description includes specific details for the purpose of providing a thorough understanding of the subject technology. However, the subject technology is not limited to the specific details set forth herein and may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring the concepts of the subject technology.



FIG. 1 illustrates an example high level block diagram of an enterprise content management architecture 100 wherein the present invention may be implemented. The enterprise may be a business, or an organization. As shown, the architecture 100 may include a content management system 110, and a plurality of user computing devices 120a, 120b, . . . 120n, coupled to each other via a network 150. The content management system 110 may store content that user computing devices 120a-120n may access and allow users to interact with its content in a specific business context. The content management system 110 may include a database management system 111, a content management server 112, a search platform 113 and a file storage system 114. The network 150 may include one or more types of communication networks, e.g., a local area network (“LAN”), a wide area network (“WAN”), an intra-network, an inter-network (e.g., the Internet), a telecommunication network, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), which may be wired or wireless.


The user computing devices 120a-120n may be any machine or system that is used by a user to access the content management system 110 via the network 150, and may be any commercially available computing devices including laptop computers, desktop computers, mobile phones, smart phones, tablet computers, netbooks, and personal digital assistants (PDAs).


The content management server 112 is typically a remote computer system accessible over a remote or local network, such as the network 150. Various code in the content management server 112 may commit data (e.g., customer data) to the search platform 113 to make the data visible to users of the content management system 110. The content management server 112 may have a production system 115 for running the actual existing content management configurations, a test system 116 for testing new content management configurations, and/or a configuration migration controller 117 for controlling the configuration migration from the test system 116 to the production system 115. The configurations are metadata and may comprise one or more applications. It should be appreciated that the production system 115, the test system 116 and the migration controller 117 may be in separate servers. A user may test and validate new configurations in the test system 116, and the migration controller 117 may control migration of the new configurations from the test system 116 to the production system 115.


The database management system 111 may be a relational database management system, and may store data and metadata of documents and/or objects in the file storage system 114. Data may be taken out of the database management system 111, processed and sent to a denormalized dataset store (e.g., the search platform 113) to make it easier to search and retrieve. Consequently, the content management server 112 may interact with the persistent data, which is a combination of the database management system 111 and the search platform 113. In one implementation, the database management system 111 may be a MySQL system.


The file storage system 114 may store documents and/or objects.


In one implementation, the content management system 110 may be a multi-tenant system where various elements of hardware and software may be shared by one or more customers. For instance, a server may simultaneously process requests from a plurality of customers, and the content management system 110 may store content for a plurality of customers. In a multi-tenant system, a user is typically associated with a particular customer. In one example, a user could be an employee of one of a number of pharmaceutical companies which are tenants, or customers, of the content management system 110.


In one embodiment, the content management system 110 may run on a cloud computing platform. Users can access content on the cloud independently by using a virtual machine image, or purchasing access to a service maintained by a cloud database provider.


In one embodiment, the content management system 110 may be provided as Software as a Service (“SaaS”) to allow users to access the content management system 110 with a thin client.



FIG. 2 illustrates an example block diagram of a computing device 200 which can be used as the user computing devices 120a-120n, and/or the content management server 112 in FIGS. 1 and 4. The computing device 200 is only one example of a suitable computing environment and is not intended to suggest any limitation as to scope of use or functionality. The computing device 200 may include a processing unit 201, a system memory 202, an input device 203, an output device 204, a network interface 205 and a system bus 206 that couples these components to each other.


The processing unit 201 may be configured to execute computer instructions that are stored in a computer-readable medium, for example, the system memory 202. The processing unit 201 may be a central processing unit (CPU).


The system memory 202 typically includes a variety of computer readable media which may be any available media accessible by the processing unit 201. For instance, the system memory 202 may include computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) and/or random access memory (RAM). By way of example, but not limitation, the system memory 202 may store instructions and data, e.g., an operating system, program modules, various application programs, and program data.


A user can enter commands and information to the computing device 200 through the input device 203. The input device 203 may be, e.g., a keyboard, a touchscreen input device, a touch pad, a mouse, a microphone, and/or a pen.


The computing device 200 may provide its output via the output device 204 which may be, e.g., a monitor or other type of display device, a speaker, or a printer.


The computing device 200, through the network interface 205, may operate in a networked or distributed environment using logical connections to one or more other computing devices, which may be a personal computer, a server, a router, a network PC, a peer device, a smart phone, or any other media consumption or transmission device, and may include any or all of the elements described above. The logical connections may include a network (e.g., the network 150) and/or buses. The network interface 205 may be configured to allow the computing device 200 to transmit and receive data in a network, for example, the network 150. The network interface 205 may include one or more network interface cards (NICs).



FIG. 3 illustrates an example high level block diagram of the content management server 112 according to one embodiment of the present invention. The content management server 112 may be implemented by the computing device 200, and may have a processing unit 1121, a system memory 1122, an input device 1123, an output device 1124, and a network interface 1125, coupled to each other via a system bus 1126. The system memory 1123 may store the production system 115, the test system 116 and/or the migration controller 117.



FIG. 4 illustrates an example high level block diagram of another enterprise content management architecture wherein the present invention may be implemented. As shown, the architecture 180 may include a test system 140, a production system 160, and a plurality of user computing devices 120a, 120b, . . . 120n, coupled to each other via a network 150. The production system 160 may store content that user computing devices 120a-120n may access and allow users to interact with its content in a specific business context. The test system 140 may include a database management system 141, a content management server 142, a migration controller 145, a search platform 143 and a file storage system 144. The production system 160 may include a database management system 161, a content management server 162, a migration controller 165, a search platform 163 and a file storage system 164. A user may test and validate new configurations in the test system 140, and the migration controllers 145 and 165 may control migration of the new configurations from the test system 140 to the production system 160.


The present invention uses a metadata definition language (“MDL”) to configure content management systems without disturbing operation of the content management system. Main functions of the MDL may include: providing a list of MDL enabled components, with each of the components the MDL functions described below can be invoked; describing an MDL component; define the metadata for each MDL component; exporting an MDL component by retrieving its definition; and importing configuration of one or more components by manipulating their definitions.


MDL components define the model that holds the data for content management system configurations. Each component may contain a set of attributes and optionally further sub-components. The attributes define the data type and validation rules which are enforced when values are set into the attributes. The present invention provides a component metadata framework with which the components could get annotated and the shape and validation rules of the components could be dynamically acquired by client applications and an MDL parser. In one implementation, the component metadata framework may define the metadata for each component consisting of the following:












TABLE 1







Metadata Field
Description









name
Component type name



label
Component user friendly label



active
Component status (true/false)










The framework defines the metadata for each of the component attributes consisting of the following:











TABLE 2





Metadata Field
Type
Description







name
String
The unique attribute identifier


type
enum
the type of the data that can be stored by the




attribute, options: String, Number, Boolean,




Date, DateTime, XMLString, JSONString,




<MDL Component>,


requiredness
enum
Whether it is required, optional or conditionally




required to provide the value in this attribute.




Options: “required”, “optional’, “conditional”


max_length
Number
Maximum length of the String (for String




attributes)


max_value
Number
Maximum number that can be set into the




attribute (value can be float)


min_value
Number
Minimum number that can be set into the




attribute (value can be float)


editable
Boolean
Whether it is allowed to update the value in this




attribute


multi_value
Boolean
Whether multiple values can he set


ordered
Boolean
For multi-value attributes, whether values in




the list are ordered


enums
List
A defined list of acceptable values for an




attribute.









The framework may define the metadata for each component's sub-components consisting of the following:












TABLE 3







Metadata Field
Description









name
Component type name



label
Component type label










Table 4 shows an example of an MDL component, Doctype.









TABLE 4







Component Doctype









Attribute
Definition
Description





name*
[required],
Component's name. It is not part of the MDL



string
attribute list, but is returned on Describe


label
[required],
UI-friendly string



string


active
[required],
options: true/false



boolean


document_number_format
[optional],
the document numbering pattern. if none are



string
specified the default value is inherited from




parent or base


document_name_format
[optional],
the document numbering pattern. if none are



string
specified the default value is inherited from




parent or base




If not specified at root, the default is:




{FileName}


available_lifecycles
[optional] list
the list of Lifecycle names. if none are




specified the default value is inherited from




parent or base


rendition_types
[optional] list
the list of rendition type names


relationship_types
[optional] list
the list of relationship type names


create_document_permissions
[optional] list -
the list of group or user IDs in the form of



users and/or
user:username or Group.name_v



groups


create_binder_permissions
[optional] list -
the list of group or user IDs in the form of



users and/or
user:username or Group.name_v



groups


role_defaulting_editors
[optional] list -
the list of group or user IDs in the form of



users and/or
user:username or Group.name_v



groups


role_defaulting_viewers
[optional] list -
the list of group or user IDs in the form of



users and/or
user:username or Group.name_v



groups


role_defaulting_consumers
[optional] list -
the list of group or user IDs in the form of



users and/or
user:username or Group.name_v



groups


processes **
[optional] list
the list of process names. these come from




processes picklist


etmf_department **
[optional]
the department name from etmf_departmnet



enum
picklist


default_workflows **
[optional] list
the list consists of lifecycle/workflow




combinations separated by ‘:’ char.. e.g.




“promotional_field_c:start_mld_review_c”


filters
[required] list
names of fields for document fields using



of fields
MDL notation: Docfield.field_v




additional special filters: date_search,




user_search, version_search.




file_format_search


fields
[optional] list
the list of Docfield components linked to this




Doctype









The present invention may retrieve the definition of a component by requesting the associated RECREATE statement for a component. The content management configuration may include other components, e.g., Document Attributes, Lifecycle, Workflows and Objects.


Below is an example of component metadata for the Docfield component type:



















{




 ″responseStatus″: ″SUCCESS″,




 ″data″:




 {




  ″name″: ″Docfield″,




  ″label″: ″Document Field″,




  ″active″: true,




  ″attributes″: [




  {




   ″name″: ″label″,




   ″label″: ″Label″,




   ″type″: ″String″,




   ″requiredness″: ″required″,




   ″max_length″: 255,




   ″editable″: true




  },




  {




   ″name″: ″active″,




   ″label″: ″Active″,




   ″type″: ″Boolean″,




   ″requiredness″: ″required″,




   ″editable″: true




  }],




  ″sub_components″: [




  {




   ″name″: ″Picklistentry″




   ″label″: ″Picklist Entry″,




   ″attributes″: [




    {




     ″name″: ″label″,




     ″label″: ″Label″,




     ″type″: ″String″,




     ″requiredness″: ″required″,




     ″max_length″: 255,




     ″editable″: true




    },




    {




     ″name″: ″active″,




     ″label″: ″Active″,




     ″type″: ″Boolean″,




     ″requiredness″: ″required″,




    }




  }]




 }




}










MDL provides a number of application programming interfaces (“APIs”) as tools. One API may have a Describe function for generating information about the existing configuration in order for the API to generate or create a command. One example Execute API may allow the user to execute a command or a set of commands grouped together into a script. Other APIs may include a Component Shape API, an Error API, and a directory of component API.


MDL provides a number of commands, including RECREATE, CREATE, ALTER, DROP, RENAME, or COMMIT, as will be discussed in detail below.


RECREATE is a command to recreate a source system (e.g., the test system 140) component on the target system (e.g., the production system 160). When there is a description of a source system component and the same component has been deployed to the target system, and the source system makes some modifications to the source system component (e.g., adding a couple of new fields, removing a couple of existing fields, and changing the configuration of one of the existing fields), the RECREATE command may be created and applied to make sure that the target system looks exactly the same as the source system after the migration. In one implementation, the RECREATE statement syntax is as follows:
















(1)



RECREATE Componenttype name_{namespace suffix} (



  component_definition,...



  [sub_component_definition,...]



);



component_definition:



  attribute_name(attribute_value)



sub_component_definition:



  Componenttype name_{namespace suffix} (



   Component_definition,...



 )









RECREATE Componenttype may either create a new component instance or alter an existing component instance (identified by the name) such that the final component instance contains the exact data as specified in the RECREATE command.


The attribute_value is represented depending on the datatype it stores. For example, the number values are represented as attribute_name(37):


Supported Data Type for Attribute Values:


String: (‘string value’)


Number: (37)


Boolean: (true)


List/Array: (‘elem1’, ‘elem2’)


Component Reference: (Objectproduc_v)


Below is an example syntax for a basis component RECREATE:



















RECREATE Docfield country_v (




 label(′Country′),




  active(true),




  type(′ObjectReference′),




  object(′Object.country_v′),




  required(false),




  shared(true),




  multi_value(true),




  display_section(′Docfieldlayout.general_vs′)




  default_value( ),




  blank_fields( ),




  controlling_field( ),




  max_value( );




  min_value( ),




  max_length( ),




 scale( ),




  help_content( ),




  default_security(′editable′),




  security_override_editable( ),




  security_override_readonly( ),




  security_override_hidden( ),




  defined_in( ),




  picklist( )




);










CREATE is a command to create a new component on the target system. In one implementation, the CREATE statement syntax is as follows:
















(2)



CREATE Componenttype name_{namespace suffix} (



 component_definition,...



 [sub_component_definition,...]



);



component_definition:



 attribute_name(attribute_value)



sub_component_definition:



 Componenttype name_{namespace suffix} (



  Component_definition,...



 )









CREATE Componenttype may create a new component instance. If the component with indicated name already exists, an error is returned.


The attribute value is represented depending on the datatype it stores. For example, the number values are represented as attribute_name(37)


Supported Data Type for Attribute Values:


String: (‘string value’)


Number: (37)


Boolean: (true)


List/Array: (‘elem1’, ‘elem2’)


Component Reference: (Objectproduct_v)


Below is an example syntax for a basis component CREATE:



















CREATE Docfield my_country_v (




 label(′My Country′),




active(true),




type(′ObjectReference′),




object(Object.country_v′),




required(false),




 shared(true),




 multi_value(true),




display_section(′Docfieldlayout.general_vs′),




default_value( ),




blank_fields( ),




controlling_field( ),




max_value( ),




min_value( ),




max_length( ),




scale( ),




help_content( ),




default_Security(′editable′),




security_override_editable( ),




security_override_readonly( ),




seeurity_override_hidden( ),




defined_in( ),




picklist( )




);










ALTER is a command to alter an existing component (e.g., adding a new field, changing the configuration of an existing field, or changing the label). In one example, when the command is to change a label from application row to something else, the command may say “Alter application row name.” The command may update the metadata on the target system to change the label of a particular component. In one implementation, the ALTER statement syntax is as follows:



















(3)




ALTER Componenttype name_{namespace suffix} (




[alter_specification [, alter_specification ] ...]




);




alter_specification:




 [ component_definition [, component_definition ] ...]




 | ADD Componenttype_name_{namespace suffix} (




  component_definition




 )




 | MODIFY Componenttype name_{namespace suffix} (




  component_definition




 )




 | DROP Componenttype name_{namespace suffix}










ALTER Componenttype may update the component instance by changing attribute values at the component or sub-component level, or by adding, modifying or dropping sub-components.


Below is an example syntax for component ALTER:



















ALTER Object my_product_c (




 label(′New Label′),




 MODIFY Field my_field_c (




   label(′New Label′)




 ),




 DROP Field old_field_c,




 ADD Field new_field_c (




 label(Field Name′),




  type(′String′),




  active(true),




  required(true),




  unique(true),




  max_length(128),




  help_content( ),




  list_column(true),




  order(1),




  system_managed_name(false),




  start_number( ),




  value_format( ),




  lookup_relationship_name( ),




  lookup_source_field( )




     )




    );










It may be possible to ADD or DROP one or more values from a multi-value attribute:














ALTER Job effective_periodic_review_c (


 job_actions DROP (′my_upcoming_effectivity_job_action_c′),


)


ALTER Job effective_periodic_review_c (


 job_actions ADD (′my_job_c′,′my_upcoming_effectivity_job_action_c′),


)









ALTER may also support ADD FIRST and ADD AFTER attribute syntax. This may allow ALTER to control the position of the value inside a multi-value attribute. A specific example is an ordinal position of the field inside a section. For example:


ALTER Docfieldlayout general_section_c ( fields(‘Docfield.field3_v’,‘Docfield.field5_v’) );


To insert field(s) into the list starting at the position 1:

    • ALTER Docfieldlayout general section_c ( fields ADD (‘Docfield.field1_v’,‘Docfield.field2_v’) FIRST );


To insert field(s) after Docfield.field3_v:

    • ALTER Docfieldlayout general_section_c ( fields ADD (‘Docfield.field4_v’) AFTER (‘Docfield.field3_v’) );


By default, ADD may insert the value(s) at the last position of the list:

    • ALTER Docfieldlayout general_section_c ( fields ADD (‘Docfield.field6_v’) );


DROP is a command to delete a component. In one implementation, the DROP statement syntax is as follows:





DROP Componenttype name_{namespace suffix};





DROP Componentype deletes a component instance identified by its name.   (4)


An example of the DROP command is as follows:


DROP Object my_product_c;


RENAME is a command to rename a component. In one implementation, the RENAME statement syntax is as follows:





RENAME Componentype name_{old namespace suffix}TO name_{new namespace suffix};   (5)


RENAME Componenttype may rename the component instance from one name to another.


START TRANSACTION/COMMIT are commands to commit the changes to the target system.





START TRANSACTION:





[mdl_statement[,mdl_statement] . . . ]





COMMIT;   (6)


The START TRANSACTION/COMMIT commands may allow executing several migration statements in a transaction.


The user may put in as many detailed statements as he wants, and each one may accomplish a task, e.g., DROP, or RENAME. The user may fill out this very elaborate script very quickly, and modify the entire configuration of the target system in one execution. For example, a user wants to:

    • re-label the navmenu itself;
    • re-label library_v subcomponent;
    • delete product_info_c menu item and all sub-items; and
    • add product_category_vs menu item.


The present invention may provide a robust error framework in the execution part. When it executes a migration statement, it may analyze what the user is trying to do, e.g., recreating a particular component. If there is an error, the error framework may generate an error code to indicate where the error occurred, the line number, the component that generates the error, the operation that generates the error, and what was trying to do when that error occurred. Based on the error code, the user may determine if there is a warning or failure. The error code may also indicate the reason type, the actual cause, and the classification of error, e.g., permission denied, invalid input, or parameter that was not supplied. When the user is executing a script consisting of mini commands, the error code may indicate which particular command within the script that causes the error.


With the migration statements, the user may define transactional boundaries. For example, if the user wants two components to execute, and wants to insure that both of them are executed successfully, the user may put them into a transactional boundary, so that if at least one of them fails, the whole thing fails, like all or none.


With the migration statements, users may build components in a very consistent way. Components, by default, become migratable. With this set of APIs, users can create migration scripts that will exercise the commands, to extract configuration, and deploy configuration into the target system. In one implementation, old components may become migratable if they are enabled retroactively.


With the migration statements, user may describe the configuration, and then deploy the configuration to the target system. The configuration is metadata, and the commands operate on the metadata level. In one implementation, one script may be sent to multiple target systems to deploy configuration.



FIGS. 5A and 5B illustrate an example flowchart of a method for migrating configuration changes in a content management system according to one embodiment of the present invention. The method may identify the changes, enable automatic movement of the changes from the source system to the target system, and verify that the result in the target system is the same as the source system. The process may start at 501.


At 503, a source component directory may be generated for the source system, e.g., by the source system migration controller 145. In one implementation, the source component directory may be a table that includes configuration objects in the source system.


At 505, a target component directory may be generated for the target system, e.g., by the target system migration controller 165. In one implementation, the target component directory may be a table that includes configuration objects in the target system.


At 507, changes on the components may be identified and tracked, e.g., when a component is created, altered, dropped or renamed in the source system and/or the target system. In one implementation, the source component directory and the target component directory may be queried and compared, e.g., by the source system migration controller 145, to find out what components are the same, what components exist in both systems but have differences, and what components exist in one system but not the other. In one implementation, a hash of current definitions of the components may be created for the comparison. In one example, the user may search the object Doctype in the source component directory and target component directory to compare these objects. In one example, the user may search for all changes within the last week.


At 509, the comparison result may be displayed on a user interface, e.g., a user interface 600 shown in FIG. 6. As shown, the user interface 600 may indicate which items are identical and which items have differences.


At 511, a user interface 700 may be displayed to enable creation of a package to collect the changed components together. As shown, the user interface 700 may have basic information of the package and allow the administrative user to add changed components to the package, e.g., by dropping a component in the area 701. The administrative user may select a subset of changed components.


At 513, a changed component package 710 may be generated, e.g., by the source system migration controller 145. The changed component package 710 may be a file-based transport that makes it easy to move configuration between the source system and the target system, and to deliver a set of configuration changes. In one example, the changed component package 710 is a zip archive file that has two high level sections. The first is a manifest file, which provides header information about the package. As show in FIG. 8, the content of the package is stored in a Components folder, within this folder a set of MDL scripts are organized into Steps, denoted by a set of ordered files. Each step includes one or more scripts and for each script, a checksum used to verify the script (ensure that the script hasn't been modified) on the target system. In one example, the changed component package 710 is an attached file, which capsules all the configuration changes involved in the components in this package.


At 515, the component package 710 may be exported from the source system, e.g., by the source system migration controller 145. In one example, the user may download the file.


When the user logs in to the target system, a user interface may be displayed at 517 to enable the user to locate the file.


At 519, the changed component package may be verified, e.g., by the administrative user.


At 521, the changed component package 710 may be imported to the target system. In one example, the user may take that package file he just exported and downloaded, and then send that to the target system. In one implementation, the zip archive of components may be broken apart, and the components may be pulled into a set of tables or objects inside of the target system.


At 523, the component package 710 may be displayed on a user interface 900 in FIG. 9 to allow the administrative user look at the components he brought into the target system.


At 525, the changes may be deployed and applied to the target system, e.g., by the target system migration controller 165. In one example, the changed component package 710 may be automatically deployed. In one example, the user interface 900 may allow the administrative user to choose the components he wants to deploy.


At 527, the source component directory and the target component directory may be queried and compared again to verify the changes, e.g., by the source system migration controller 145 or the target system migration controller 165.


At 529, a user interface 1000 in FIG. 10 may be displayed to show the results of the deployment, e.g., which one is deployed. The user interface 1000 may have a Deploy button 1010, so that the administrative user may fix the error and click on the Deploy button 1010 to deploy again if there is an error.



527 and 529 may be repeated until all changes are deployed successfully. In one implementation, the deployment of changes in one package may be repeated to make sure that all changes are applied to the target system.


At 531, a user interface 1100 in FIG. 11 may be displayed to show the verification results of the migration. The process may then return to 501.


Although the embodiments are described with migrating configuration changes from the test system to the production system in a content management system, the present invention may be used in other situations. In one implementation, the migration statements may be used to migrate configuration changes between two content management systems. In one implementation, the migration statements may be used as an application deployer, not just a single configuration deployer, by configuring the target system to enable a new set of features. Users may create their own application package by putting some migration commands together, which may create metadata configuration for that application.


The above-described features and applications can be implemented as software processes that are specified as a set of instructions recorded on a computer readable storage medium (also referred to as computer readable medium). When these instructions are executed by one or more processing unit(s) (e.g., one or more processors, cores of processors, or other processing units), they cause the processing unit(s) to perform the actions indicated in the instructions. Examples of computer readable media include, but are not limited to, CD-ROMs, flash drives, RAM chips, hard drives, EPROMs, etc. The computer readable media does not include carrier waves and electronic signals passing wirelessly or over wired connections.


These functions described above can be implemented in digital electronic circuitry, in computer software, firmware or hardware. The techniques can be implemented using one or more computer program products. Programmable processors and computers can be included in or packaged as mobile devices. The processes and logic flows can be performed by one or more programmable processors and by one or more programmable logic circuitry. General and special purpose computing devices and storage devices can be interconnected through communication networks.


In this specification, the term “software” is meant to include firmware residing in read-only memory or applications stored in magnetic storage, which can be read into memory for processing by a processor. Also, in some implementations, multiple software technologies can be implemented as sub-parts of a larger program while remaining distinct software technologies. In some implementations, multiple software technologies can also be implemented as separate programs. Finally, any combination of separate programs that together implement a software technology described here is within the scope of the subject technology. In some implementations, the software programs, when installed to operate on one or more electronic systems, define one or more specific machine implementations that execute and perform the operations of the software programs. Examples of computer programs or computer code include machine code, for example is produced by a compiler, and files including higher-level code that are executed by a computer, an electronic component, or a microprocessor using an interpreter.


A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and it can be deployed in any form, including as a stand alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.


As used in this specification and any claims of this application, the terms “computer”, “server”, “processor”, and “memory” all refer to electronic or other technological devices. These terms exclude people or groups of people. For the purposes of the specification, the terms display or displaying means displaying on an electronic device. As used in this specification and any claims of this application, the terms “computer readable medium” and “computer readable media” are entirely restricted to tangible, physical objects that store information in a form that is readable by a computer. These terms exclude any wireless signals, wired download signals, and any other ephemeral signals.


It is understood that any specific order or hierarchy of steps in the processes disclosed is an illustration of example approaches. Based upon design preferences, it is understood that the specific order or hierarchy of steps in the processes may be rearranged, or that all illustrated steps be performed. Some of the steps may be performed simultaneously. For example, in certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components illustrated above should not be understood as requiring such separation, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.


Various modifications to these aspects will be readily apparent, and the generic principles defined herein may be applied to other aspects. Thus, the claims are not intended to be limited to the aspects shown herein, but is to be accorded the full scope consistent with the language claims, where reference to an element in the singular is not intended to mean “one and only one” unless specifically so stated, but rather “one or more.” Unless specifically stated otherwise, the term “some” refers to one or more.

Claims
  • 1. A method for migrating configuration changes to a target content management system, comprising: generating a source component directory for a source test system, wherein the source component directory comprises configuration objects in the source test system;determining configuration changes from the source test system to the target content management system by identifying differences between the source component directory and a target component directory, wherein the target component directory comprises configuration objects in the target content management system, wherein the target content management system is a production system customized according to a first set of requirements, and wherein the source test system is customized according to a second set of requirements;generating a changed component package based on the differences between the source component directory and the target component directory;sending the changed component package from the source test system to the target content management system; andreconfiguring the target content management system based on the changed component package while preserving production data in the target content management system,wherein the source test system and the target content management system belong to a content management system for managing files.
  • 2. The method of claim 1, wherein the configuration objects are metadata definition language (“MDL”) enabled for migrating configuration changes to the target content management system.
  • 3. The method of claim 1, further comprising: tracking the differences between the source component directory and the target component directory.
  • 4. The method of claim 1, further comprising: identifying the differences between the source component directory and the target component directory when a component is created, altered, dropped or renamed in the source test system.
  • 5. The method of claim 1, further comprising: querying the source component directory and the target component directory to determine the differences between the source component directory and the target component directory.
  • 6. The method of claim 1, further comprising: creating a hash of current definitions of components in the source component directory and the target component directory.
  • 7. The method of claim 1, further comprising: displaying differences between the source component directory and the target component directory on a first user interface.
  • 8. The method of claim 1, further comprising: displaying a second user interface for creating the changed component package.
  • 9. The method of claim 8, wherein the second user interface comprises an area for receiving a user input of changed components.
  • 10. The method of claim 1, wherein the changed component package is a zip archive file comprising header information about the changed component package and a plurality of component folders for storing content of the changed component package.
  • 11. The method of claim 10, wherein a component folder comprises a set of MDL scripts organized into steps.
  • 12. The method of claim 1, wherein the changed component package is an attached file which capsules the configuration changes involved in components in the changed component package.
  • 13. The method of claim 1, further comprising: displaying a third user interface for locating the changed component package file in the target content management system.
  • 14. The method of claim 1, further comprising: obtaining the changed components from the changed component package file and adding the changed components to a table in the target content management system.
  • 15. The method of claim 1, further comprising: displaying the changed component package on a fourth user interface in the target content management system.
  • 16. The method of claim 1, further comprising: deploying the configuration changes to the target content management system to reconfigure the target content management system.
  • 17. The method of claim 16, further comprising: displaying a fifth user interface for selectively deploying the configuration changes to the target content management system in response to a user selection.
  • 18. The method of claim 16, further comprising: querying the source component directory and the target component directory to verify that the configuration changes are deployed to the target content management system.
  • 19. The method of claim 16, further comprising: displaying a sixth user interface to show the results of the deploying.
  • 20. A content management system, comprising: a source test system which comprises: a first content management server, a first file storage system for storing documents and objects, and a first database management system for storing data and metadata of the documents and objects in the first file storage system; anda migration controller for: determining configuration changes from the source test system by identifying differences between a source component directory and a target component directory, wherein the source component directory comprises configuration objects in the source test system, and wherein the target component directory comprises configuration objects in a target content management system, wherein the target content management system is a production system customized according to a first set of requirements, and wherein the source test system is customized according to a second set of requirements;generating a changed component package based on the differences between the source component directory and the target component directory;sending the changed component package from the source test system to the target content management system; andreconfiguring the target content management system based on the changed component package while preserving production data in the target content management system,wherein the source test system and the target content management system belong to a content management system for managing files.
  • 21. A content management system, comprising: a target production system which comprises: a first content management server, a first file storage system for storing documents and objects, and a first database management system for storing data and metadata of the documents and objects in the first file storage system; anda migration controller for: receiving a changed component package from a source content management system;obtaining changed components from the changed component package and adding the changed components to a table in the target production system;deploying the configuration changes to the target production system to reconfigure the target production system; andverifying that the configuration changes are deployed to the target production system,wherein the source content management system and the target production system belong to a content management system for managing files, wherein the target production system is customized according to a first set of requirements, and wherein the source content management system is customized according to a second set of requirements.
CROSS-REFERENCE TO RELATED APPLICATION

The present application is a continuation-in-part of U.S. nonprovisional patent application Ser. No. 15/228,968, filed on Aug. 4, 2016, entitled Configuring Content Management Systems, which is hereby incorporated by reference herein for all purposes.

Continuation in Parts (1)
Number Date Country
Parent 15228968 Aug 2016 US
Child 15239582 US