Titania Delivery Repository
The Titania Delivery Repository provides a connection to a Titania Delivery Project.
Attributes
Attribute Name |
Description |
name |
Descriptive name of the repository. |
type |
“titania-delivery” |
Parameters
Parameter Name |
Description |
url |
url of the HARP admin service. For example, https://qa.titaniadelivery.com/admin/. |
username |
Username of the end user that will perform the actions within the repository. |
password |
Password of end user that is associated with the username. |
projectKey |
Key for a specific project. This can be obtained by looking at the HARP URL while within the project. For example, 5458dca0efa24ad663b70918. |
projectFolder |
The folder within the project to push content into. May be blank to push to the root of the project. |
requestTimeout |
An integer in milliseconds that defines how long the Titania Sync client will wait before timing out when executing HTTP Requests. The maximum number this can be when this was written is 60000 due to that be the max amount of time before the server side issues a time-out. This is useful when syncing to folder in Titania that have thousands of objects. |
updateKey |
updateKey doesn’t do anything on its own, but is used in conjunction with the parameter updateDuplicates, and/or reprocessContexts. It defines the Titania metadata field name that the underlying code will use to find associated objects. |
updateDuplicates |
updateKey must also be defined. This parameter activates functionality that loops over each object being pushed from Windchill to Titania, it queries Titania for other objects with the same updateKey value and updates those objects with the latest version of the object content, and metadata. |
reprocessContexts |
updateKey must also be defined. This parameter activates functionality that loops over each object being synchronized with Titania from Windchill. It queries Titania for objects that have the same updateKey in any project, and creates a list of contexts. After all objects have been evaluated, and a unique list of contexts that need to be reprocessed is created, code iterates over each context and reprocesses them. This code waits up to 5 minutes for each object to be reprocessed and reports the status in the log as it does this. |
Example
Below is an example of how to configure a Titania Repository
<Repository name="TitaniaQA" type="titania-delivery"> <Param name='url' value='https://td.example.com/admin/' /> <Param name='username' value='demo@example.com' /> <Param name='password' value='Passw0rd' /> <Param name='organizationKey value='654017194c8ae97e026cc894' /> <Param name='updateKey' value='wc.number' /> <Param name='revisionId' value='wc.revision' /> <Param name='iterationId' value='wc.iteration' /> </Repository>