|
Lines 21-29
Link Here
|
| 21 |
* |
21 |
* |
| 22 |
* It's the client of DatapoolPasswordsService ,used to get list of datapool and |
22 |
* It's the client of DatapoolPasswordsService ,used to get list of datapool and |
| 23 |
* it's encryption password from workbench side. |
23 |
* it's encryption password from workbench side. |
|
|
24 |
* <p/> |
| 24 |
* |
25 |
* |
| 25 |
* @author Huang Xin Ying |
26 |
* |
| 26 |
* @version February, 27 |
27 |
* @author Huang Xin Ying |
|
|
28 |
* @author Paul E. Slauenwhite |
| 29 |
* @version February 27, 2008 |
| 30 |
* @since March 20, 2008 |
| 27 |
* @provisional Provisional API as of TPTP 4.5.0. |
31 |
* @provisional Provisional API as of TPTP 4.5.0. |
| 28 |
*/ |
32 |
*/ |
| 29 |
public class DatapoolPasswordProvider { |
33 |
public class DatapoolPasswordProvider { |
|
Lines 36-52
Link Here
|
| 36 |
*/ |
40 |
*/ |
| 37 |
public static HashMap getDatapoolPassword(String testId) |
41 |
public static HashMap getDatapoolPassword(String testId) |
| 38 |
throws UnknownTestServiceException { |
42 |
throws UnknownTestServiceException { |
| 39 |
String result = null; |
43 |
|
| 40 |
try { |
44 |
if(testId != null){ |
| 41 |
|
|
|
| 42 |
result = ServiceInvoker.invokeService(getProviderName(), |
| 43 |
"method=getDatapoolList,args:testId={0}".concat(testId)); |
| 44 |
|
45 |
|
| 45 |
} catch (UnconfiguredComptestAgentException e) { |
46 |
try { |
| 46 |
throw new UnknownTestServiceException(e); |
47 |
return (parseResult(ServiceInvoker.invokeService(getProviderName(), "method=getDatapoolList,args:testId={0}".concat(testId)))); |
|
|
48 |
} |
| 49 |
catch (UnconfiguredComptestAgentException e) { |
| 50 |
throw new UnknownTestServiceException(e); |
| 51 |
} |
| 47 |
} |
52 |
} |
| 48 |
|
53 |
|
| 49 |
return parseResult(result); |
54 |
return null; |
| 50 |
} |
55 |
} |
| 51 |
|
56 |
|
| 52 |
/** |
57 |
/** |