Incremental Deployment of Repositories

The incremental deployment is currently supported only for .rep.

To incremental deploy a single project, use the following syntax in the command line.

./TIBCOBusinessStudio -application com.tibco.xpd.deploy.server.cim.DeployModel -data <Workspace Directory> -u <username> -pwd <password> -mode rep -baseURL <BaseURL> -i <repository model input file> -e <User Enterprise> -d <Deployment Enterprise> -repositoryFilter "PERSON,ADDRESS,LOCATION" -relationshipFilter "PERSON\PersonToAddress,ADDRESS\AddressOfPerson" -inputmapFilter "PERSON\InputMap1,ADDRESS\InputMap2" -outputmapFilter "PERSON\OutputMap1" -classificationFilter "PERSON\Classification1"

-data : fully qualified path to the workspace

-u : username of the login user. The user must have administrator priviledges.

-pwd : password of the administrator login user.

-mode: Mode of deployment. It must be 'project' for project deployment. The flag supports the values only of 'rep'.

-baseURL : The Base URL to deploy the MDM Project.

-i : full path to the respository model.

-e : User enterprise name.

-d : Enterprise where the project is deployed.

-respositoryFilter : repository names which you want to filter.

-relationshipFilter : relationship names which you want to filter.

-inputmapFilter : inputmap names which you want to filter.

-outputmapFilter : output names which you want to filter.

-classificationFilter : classification names which you want to filter.

The sample deploys the project "Demo" to a localhost server in a techpubs enterprise.

For Windows

<Install Directory>\studio-mdm\4.0\eclipse>TIBCOBusinessStudio.exe -application com.tibco.xpd.deploy.server.cim.DeployModel -data "c:\Users\myname\workspace" -u jsmith -pwd jsmith -mode rep -baseURL http://localhost:8080 -i "c:\Users\myname\workspace\Demo\RespositoryModels\Demo.rep" -e techpubs -d techpubs -repositoryFilter "PERSON,ADDRESS,LOCATION" -relationshipFilter "PERSON\PersonToAddress,ADDRESS\AddressOfPerson" -inputmapFilter "PERSON\InputMap1,ADDRESS\InputMap2" -outputmapFilter "PERSON\OutputMap1" -classificationFilter "PERSON\Classification1"

For Linux

./TIBCOBusinessStudio -application com.tibco.xpd.deploy.server.cim.DeployModel -data "/home/apps/workspace" -u jsmith -pwd jsmith -mode rep -baseURL http://localhost:8080 -i "/home/apps/workspace/Demo/RespositoryModels/Demo.rep -e techpubs -d techpubs -repositoryFilter "PERSON,ADDRESS,LOCATION" -relationshipFilter "PERSON\PersonToAddress,ADDRESS\AddressOfPerson" -inputmapFilter "PERSON\InputMap1,ADDRESS\InputMap2" -outputmapFilter "PERSON\OutputMap1" -classificationFilter "PERSON\Classification1"