Multi-Tenancy Configuration

OCS requires a separate instance for each tenant. By default, OCS integrates with OMS using the default tenant. To use any other tenant than the default tenant, the following properties in ConfigValues_OCS.xml must be configured to provide the tenant ID and password:

  • <ConfValue description="Order Service security username" name="Order Service security username" propname="com.tibco.af.ocs.orderService.username" sinceVersion="3.0" visibility="Advanced">				
       <ConfString default="admin" value="admin"/>			
    </ConfValue>>
    <ConfValue description="Order Service security password" name="Order Service security password" propname="com.tibco.af.ocs.orderService.password" sinceVersion="3.0" visibility="Advanced">				
       <ConfString default="admin" isPassword="true" value="admin"/>			
    </ConfValue>
  • <ConfValue description="OCS Pricing username" name="OCS Pricing username" propname="com.tibco.af.ocs.pricingService.username" sinceVersion="3.0" visibility="Advanced">				
       <ConfString default="admin" value="admin"/>			
    </ConfValue>
    <ConfValue description="OCS Pricing security password" name="OCS Pricing security password" propname="com.tibco.af.ocs.pricingService.password" sinceVersion="3.0" visibility="Advanced">				
       <ConfString default="admin" isPassword="true" value="admin"/>			
    </ConfValue>
  • <ConfValue description="OCS Eligibility username" name="OCS Eligibility username" propname="com.tibco.af.ocs.eligibilityService.username" sinceVersion="3.0" visibility="Advanced">				
       <ConfString default="admin" value="admin"/>			
    </ConfValue>
    <ConfValue description="OCS Eligibility security password" name="OCS Eligibility security password" propname="com.tibco.af.ocs.eligibilityService.password" sinceVersion="3.0" visibility="Advanced">				
       <ConfString default="admin" isPassword="true" value="admin"/>			
    </ConfValue>
  • <ConfValue description="OMS UI REST Security username" name="OMS UI REST Security username" propname="com.tibco.af.ocs.oauthTokenService.username" sinceVersion="3.0" visibility="Advanced">
       <ConfString default="admin" value="admin"/>
    </ConfValue>
    </ConfValue>
    <ConfValue description="OMS UI REST Security password" name="OMS UI REST Security password" propname="com.tibco.af.ocs.oauthTokenService.password" sinceVersion="3.0" visibility="Advanced">
       <ConfString default="admin" isPassword="true" value="admin"/>
    </ConfValue>

The value for the above properties must be in the format of username@tenantid (for example, admin@tenant1).