Sharing Data and Resources (TeaObjects) Between Agents

TIBCO Enterprise Administrator allows agents to share data or resources (TeaObjects) which can be used by other agents that are registered with the same TIBCO Enterprise Administrator server. For example, an LDAP resource that is created and shared by a TSS server could be used by the TIBCO Policy Director to create policies. TIBCO Enterprise Administrator provides some APIs that you can use to share data and resources.

In order to use this feature, you must set up the TIBCO Enterprise Administrator server to enable the data sharing API. Refer to the TIBCO Enterprise Administrator SDK Installation Guide for details on how to set up the TIBCO Enterprise Administrator server for this feature.

Once the agent gets registered with the server, the proper Data Sharing configuration gets passed to the agent so TeaObjects can be shared and retrieved. No configuration is needed on the agent

The property @objectId contains the id of the TeaObject in the form of a com.tibco.tea.agent.api.ObjectId, this class is the recommended way to manage the @objectId property since it will encode and decode the id accordingly. The objectId in the Data Sharing API agentId and agentTypeVersion are always empty.

Limitations

  • All TeaObjects shared in the same AgentType must have an ObjectType name that is different when its non alphanumeric values are converted to "_". The reason for that is that the ObjectType name is used as part of the Name of the DDBB where the shared object is stored. (For example: an invalid ObjectType name will be 2 objects with: "abc-def" and "abc.def" as object type names)
  • There is currently no support in tea to change username and password for the DDBB, so an external utility should be used for managing the DDBB.