Patent ID: 8635594

Claim:
A method for configuring a target data store comprising: providing code written in a scripting language, said scripting language including environment blocks that retrieve data used in a subsequent block and execution blocks that execute an operation to configure said target data store, said retrieved data including data from said target data store; receiving a master rule file and a configuration schema instance, said master rule file including a first rule that specifies an associated tag and an associated context and identifies a rule file of instructions executed for a matching occurrence of the first rule in said configuration schema instance, said code being included in said rule file, said configuration schema instance including data storage configuration information to be added to said target data store; generating a hierarchical representation of said configuration schema instance as a memory context tree; determining said matching occurrence in said memory context tree for the first rule, wherein said matching occurrence identifies a tag in the configuration schema instance matching the associated tag of the first rule and wherein a context of said matching occurrence has a first hierarchical structure matching a hierarchical structure of the associated context of said first rule; and processing said rule file in response to determining said matching occurrence, wherein said processing includes executing said rule file, said executing including: retrieving data in accordance with environment blocks included in said code; and updating said target data store in accordance with execution blocks included in said code.