Changeset cfc4d68cb4e45963ff15d3552f527f4c420f6978

Show
Ignore:
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:
4 modified

Legend:

Unmodified
Added
Removed
  • axis/Create.java

    rb9c0090 rcfc4d68  
    164164 
    165165        // Reloading the port clears cached SSL connections. 
    166         port = getPort("https://users.isi.deterlab.net:23235"); 
     166        port = getPort(urlString); 
    167167 
    168168        // This block creates an ABAC credential telling the fedd that the 
  • axis/MultiStatus.java

    r709306c rcfc4d68  
    1717            java.rmi.RemoteException { 
    1818         
    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); 
    2024        MultiInfoRequestType req = new MultiInfoRequestType(); 
    2125        MultiInfoResponseType resp = null; 
  • axis/Terminate.java

    r72176de2 rcfc4d68  
    1515            java.rmi.RemoteException { 
    1616 
    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]; 
    1823 
    1924        // Get the port and construct the (simple) request. 
    20         FeddPortType port = getPort("https://users.isi.deterlab.net:23235"); 
     25        FeddPortType port = getPort(urlString); 
    2126        TerminateRequestType req = new TerminateRequestType( 
    22                 new IDType(null, null, null, args[0], null),  
     27                new IDType(null, null, null, exptName, null),  
    2328                force); 
    2429        TerminateResponseType resp = null; 
  • axis/build.xml

    rf93a65c rcfc4d68  
    3232  <property name="fedd.jar" value="fedd-${version}.jar"/> 
    3333  <property name="experiment.name" value="${user.name}-test"/> 
     34  <property name="fedd.url" value="https://users.isi.deterlab.net:23235"/> 
    3435 
    3536  <path id="compile.classpath"> 
     
    228229        <pathelement path="${classes.dir}"/> 
    229230      </classpath> 
     231      <arg value="${fedd.url}"/> 
    230232    </java> 
    231233  </target> 
     
    240242      <arg file="${topology.file}"/> 
    241243      <arg file="${fedid.pem}"/> 
     244      <arg value="${fedd.url}"/> 
    242245    </java> 
    243246  </target> 
     
    251254      </classpath> 
    252255      <arg value="${experiment.name}"/> 
     256      <arg value="${fedd.url}"/> 
    253257    </java> 
    254258  </target> 
     
    261265      </classpath> 
    262266      <arg value="${experiment.name}"/> 
     267      <arg value="${fedd.url}"/> 
    263268      <arg value="force"/> 
    264269    </java> 
     
    282287      </classpath> 
    283288      <arg value="${experiment.name}"/> 
     289      <arg value="${fedd.url}"/> 
    284290    </java> 
    285291  </target>