Changeset cfc4d68cb4e45963ff15d3552f527f4c420f6978
- Timestamp:
- 01/12/12 19:41:47 (4 months ago)
- Author:
- Ted Faber <faber@…>
- Children:
- 5bbad0849d0e3e3c2e87ee597cde5fe000a6f031
- Parents:
- 40c599fc6b630e00fa88daf69d9d01825abe4573
- git-committer:
- Ted Faber <faber@isi.edu> / 2012-01-12T19:41:47Z-0800
- Message:
-
Take url as a parameter for easier testing
- Location:
- axis
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rb9c0090
|
rcfc4d68
|
|
| 164 | 164 | |
| 165 | 165 | // Reloading the port clears cached SSL connections. |
| 166 | | port = getPort("https://users.isi.deterlab.net:23235"); |
| | 166 | port = getPort(urlString); |
| 167 | 167 | |
| 168 | 168 | // This block creates an ABAC credential telling the fedd that the |
-
|
r709306c
|
rcfc4d68
|
|
| 17 | 17 | java.rmi.RemoteException { |
| 18 | 18 | |
| 19 | | FeddPortType port = getPort("https://users.isi.deterlab.net:23235"); |
| | 19 | String urlString = "https://users.isi.deterlab.net:23235"; |
| | 20 | |
| | 21 | if (args.length > 0) urlString = args[0]; |
| | 22 | |
| | 23 | FeddPortType port = getPort(urlString); |
| 20 | 24 | MultiInfoRequestType req = new MultiInfoRequestType(); |
| 21 | 25 | MultiInfoResponseType resp = null; |
-
|
r72176de2
|
rcfc4d68
|
|
| 15 | 15 | java.rmi.RemoteException { |
| 16 | 16 | |
| 17 | | boolean force = args.length > 1; |
| | 17 | boolean force = args.length > 2; |
| | 18 | String exptName = "test"; |
| | 19 | String urlString = "https://users.isi.deterlab.net:23235"; |
| | 20 | |
| | 21 | if (args.length > 0) exptName = args[0]; |
| | 22 | if (args.length > 1) urlString = args[1]; |
| 18 | 23 | |
| 19 | 24 | // Get the port and construct the (simple) request. |
| 20 | | FeddPortType port = getPort("https://users.isi.deterlab.net:23235"); |
| | 25 | FeddPortType port = getPort(urlString); |
| 21 | 26 | TerminateRequestType req = new TerminateRequestType( |
| 22 | | new IDType(null, null, null, args[0], null), |
| | 27 | new IDType(null, null, null, exptName, null), |
| 23 | 28 | force); |
| 24 | 29 | TerminateResponseType resp = null; |
-
|
rf93a65c
|
rcfc4d68
|
|
| 32 | 32 | <property name="fedd.jar" value="fedd-${version}.jar"/> |
| 33 | 33 | <property name="experiment.name" value="${user.name}-test"/> |
| | 34 | <property name="fedd.url" value="https://users.isi.deterlab.net:23235"/> |
| 34 | 35 | |
| 35 | 36 | <path id="compile.classpath"> |
| … |
… |
|
| 228 | 229 | <pathelement path="${classes.dir}"/> |
| 229 | 230 | </classpath> |
| | 231 | <arg value="${fedd.url}"/> |
| 230 | 232 | </java> |
| 231 | 233 | </target> |
| … |
… |
|
| 240 | 242 | <arg file="${topology.file}"/> |
| 241 | 243 | <arg file="${fedid.pem}"/> |
| | 244 | <arg value="${fedd.url}"/> |
| 242 | 245 | </java> |
| 243 | 246 | </target> |
| … |
… |
|
| 251 | 254 | </classpath> |
| 252 | 255 | <arg value="${experiment.name}"/> |
| | 256 | <arg value="${fedd.url}"/> |
| 253 | 257 | </java> |
| 254 | 258 | </target> |
| … |
… |
|
| 261 | 265 | </classpath> |
| 262 | 266 | <arg value="${experiment.name}"/> |
| | 267 | <arg value="${fedd.url}"/> |
| 263 | 268 | <arg value="force"/> |
| 264 | 269 | </java> |
| … |
… |
|
| 282 | 287 | </classpath> |
| 283 | 288 | <arg value="${experiment.name}"/> |
| | 289 | <arg value="${fedd.url}"/> |
| 284 | 290 | </java> |
| 285 | 291 | </target> |