Sunday, March 24, 2013

sca_attachPlan

Hi Team




Most of the time, our end to end testing fails ,because of the wrong config plan or some reference missing in the config plan .



And we end up of redeploying the complete compiste with the corrected config plan .



Instead of doing that we can use the below command to overwrite the config plan of a composite .



Command : sca_attachPlan



Syntax : sca_attachPlan(sar, configPlan, [overwrite], [verbose])



Argument Definition

sar Absolute path of the SAR file.

configPlan Absolute path of the configuration plan file.

overwrite Optional. Indicates whether to overwrite an existing configuration plan in the SAR file.

•false (default): Does not overwrite the plan.



•true: Overwrites the plan.



verbose Optional. Indicates whether to print more information about the configuration plan attachment.

•true (default): Prints more information.



•false: Does not print more information.





Example :



sca_attachPlan("/software:/bpmSOA/sca_Cancelletion_rev21.1.jar", "/software/bpmSOACOMPOSITE/Cancellation_cfgplan_SIT03.xml", overwrite=true)



No comments:

Post a Comment