Creating a Fixed Object Group
A fixed object group is created with specific members that are defined by the governed object or by fully qualified names.
Procedure
- Navigate to <TIBCO_HOME>/ogp/1.2/samples/.<Name_of_the_Governance_Control_Template> and open the appropriate data file.
-
Under the element
<tog:FixedObjectGroup>, provide values for the following elements:
Name,
Description,
Domain, and
Type.
<description>Fixed Object Group with SOAPHTTP service binding instance created via CLI</description> <name>Sample SoapHttpServiceBindingInstance FixedObjectGroupViaCLI</name> <domain localPart="tibco.amx3" namespace="http://tns.tibco.com/governance/common/govdomain/tibco/amx3"/> <type localPart="SoapHttpServiceBindingInstance" namespace="http://tns.tibco.com/governance/common/govdomain/tibco/amx3"/>
The domain is either AMX or BW. Based on the domain, provide one of the following values for the attributes: localPart and namespace in the <domain> element.
For AMX, the localPart attribute should be tibco.amx3 and the namespace attribute should be http://tns.tibco.com/governance/common/govdomain/tibco/amx3. For BW, the localPart attribute should be tibco.bw5 and the namespace attribute should be http://tns.tibco.com/governance/common/govdomain/tibco/bw5.
Based on the domain selected, provide one of the following values for the attribute, localPart, in the <type> element.Domain Values accepted by the localPart attribute in the <type> element AMX SoapHttpReferenceBindingInstance, SoapHttpServiceBindingInstance,
SoapJmsReferenceBindingInstance,
SoapJmsServiceBindingInstance,
SoapReferenceBindingInstance,
SoapServiceBindingInstance,
VirtualizationReferenceBindingInstance,
VirtualizationServiceBindingInstance,
WebAppComponentInstance
BW BWServiceEndpoint, BWSoapHttpServiceEndpoint,
BWSoapJmsServiceEndpoint,
BWReferenceEndpoint,
BWSoapHttpReferenceEndpoint,
BWSoapJmsReferenceEndpoint
-
In the
<Members> element, specify the fully qualified names of the members in the group. To obtain the fully qualified names of the members of the group, see
http://<AMX_Admin_IP>:<AMX_Admin_Port>/govcommon/viewgovdata.jsp?objectType=GovernedObject&epackagename=GovcommonmodelPackage" where <AMX_Admin_IP> is the IP address of the TIBCO ActiveMatrix Administrator and <AMX_Admin_Port> is the port number. The following code snippet helps you define the members of the fixed object group:
<Members> <!-- Either specify 'memberFqn' or 'memberId'. Obtain the necessary details from "http://<AMX_Admin_IP>:<AMX_Admin_Port>/govcommon/viewgovdata.jsp ?objectType=GovernedObject&epackagename=GovcommonmodelPackage". --> <!-- <memberFqn></memberFqn> --> <memberId>2001</memberId> </Members>
- Add appropriate targets in the build file.
- Run the ant command to apply the changes.