Upload Models Utility

The Upload Models utility, uploadModels.sh, is located in the $af_home/roles/configurator/standalone/bin directory.

  1. Use the following table to update $af_home/roles/configurator/standalone/config/configModelUpload.properties with values that reflect your environment.
  2. Execute the uploadModels.sh script.

The utility uploads the specified models from their specific directories to the respective queues.

Property and Description
configurator.modelloader.jms.jms.jndi.url

Description: The EMS server you are using.

configurator.modelloader.jms.jndi.security.principal

Description: The EMS user name.

configurator.modelloader.jms.jndi.security.credentials

Description: The EMS password.

configurator.modelloader.mappings.keys

Description: The model types you want to upload. The default value is 'productModel, planfragmentmodel, actionmodel, pricemodel, discountmodel, rulemodel'.

configurator.modelloader.mappings.productModel.folderLocation

Description: The offline directory location from where we want to upload the product models.

configurator.modelloader.mappings.productModel.queueName

Description: The queue name where the product models will be uploaded.

The default value is tibco.aff.catalog.product.request.

configurator.modelloader.mappings.planfragmentmodel.folderLocation

The offline directory location from where you want to upload the plan fragment models.

configurator.modelloader.mappings.planfragmentmodel.queueName

Description: The queue name where the plan fragment models will be uploaded. The default value is tibco.aff.catalog.planfragment.request.

configurator.modelloader.mappings.actionmodel.folderLocation

Description: The offline directory location from where we want to upload the action models.

configurator.modelloader.mappings.actionmodel.queueName

Description: The queue name where the action models will be uploaded. The default value is tibco.aff.catalog.action request.

configurator.modelloader.mappings.pricemodel.folderLocation

Description: The offline directory location from where we want to upload the price models.

configurator.modelloader.mappings.pricemodel.queueName

Description: The queue name where the price models will be uploaded. The default value is tibco.aff.catalog.price.request.

configurator.modelloader.mappings.discountmodel.folderLocation

Description: The offline directory location from where we want to upload the discount models.

configurator.modelloader.mappings.discountmodel.queueName

Description: This property specifies the queue name where the discount models will be uploaded. The default value is tibco.aff.catalog.discount.request.

configurator.modelloader.mappings.rulemodel.folderLocation

Description: The offline directory location from where we want to upload the rule models.

configurator.modelloader.mappings.rulemodel.queueName

Description: This property specifies the queue name where the rule models will be uploaded. The default value is tibco.aff.catalog.operulemodel.request.