Deploy Rules

Editorial architecture visual showing system boundaries, service interaction, and technical tradeoffs

Lesson learned,

  1. Use command line from http://blogs.msdn.com/biztalkbre/archive/2007/02/16/sample-deploying-business-rules-programmatically.aspx to export vocabularies and rules to different files. Add this to Buildxxx.msi:
  2. ..\..\References\DeployRules /e /v:SharedInterfaceBroker.1.0 .\BRE_Vocabulary.xml
    ..\..\References\DeployRules /e /p .\BRE_Policy.xml

  3. In deployment file
    1. turn IncludeVocabAndRules to true
    2. add entries to files extracted from step 1,

<RuleVocabularies Include=”BRE_Vocabulary.xml”>
   <LocationPath>.\</LocationPath>
</RuleVocabularies>
<RulePolicies Include=”BRE_Policy.xml”>
   <LocationPath>.\</LocationPath>
</RulePolicies>

Next step

Need this reviewed in a real system?

Use the article as a starting point, then bring the actual decision, constraints, and failure paths into an architecture review.