Removing Mandatory Plan Fragment Attributes
To remove the mandatory Plan Fragment attributes, perform the following steps:
While creating the Plan Fragment record, the following are the mandatory values:
- Plan Fragment ID
- Plan Fragment Name
- Plan Fragment Version
- Description
- Procedure
- Go to
$MQ_COMMON_DIR/<enterprise>/catalog/master/<Catalog_ID_PLANFRAGMENT>. Where:
enterprise
is the actual enterprise name for which the rule can be disabled.Catalog_ID_PLANFRAGMENT
is the actual PLANFRAGMENT repository ID. It can be seen from the UI in the repository list.
- Open the catalogvalidation.xml file with a text editor.
- Change the given constraint and remove the mandatory attribute according to your requirement.
<constraint> <name>Mandatory</name> <description>Mandatory attributes</description> <usefor> <var>PLANFRAGMENTNAME</var> <var>PLANFRAGMENTVERSION</var> <var>SHORTDESC</var> </usefor> <action> <check> <explanation> Plan Fragment Name, Plan Fragment Version and Plan Fragment Type, Plan Fragment Description are mandatory attributes</explanation> <defined> <var/> </defined> </check> </action> </constraint>