Changeset 400

Show
Ignore:
Timestamp:
06/04/10 17:09:53 (20 months ago)
Author:
rodche
Message:

mavenized ..webservice.synergizer (test fails due to the org.bridgedb.webservice.synergizer.SynergizerStub??.idExist(SynergizerStub??.java:268) is error or outdated; probably the service changed...)

Location:
trunk
Files:
2 added
8 modified

Legend:

Unmodified
Added
Removed
  • trunk/org.bridgedb.webservice.cronos/src-axis/org/bridgedb/webservice/cronos/CronosWS.java

    r391 r400  
    1111/** 
    1212 * This class was generated by Apache CXF 2.2.6 
    13  * Wed Jun 02 14:38:11 EDT 2010 
     13 * Wed Jun 02 17:21:58 EDT 2010 
    1414 * Generated source version: 2.2.6 
    1515 *  
  • trunk/org.bridgedb.webservice.cronos/src-axis/org/bridgedb/webservice/cronos/CronosWSService.java

    r391 r400  
    1616/** 
    1717 * This class was generated by Apache CXF 2.2.6 
    18  * Wed Jun 02 14:38:11 EDT 2010 
     18 * Wed Jun 02 17:21:58 EDT 2010 
    1919 * Generated source version: 2.2.6 
    2020 *  
  • trunk/org.bridgedb.webservice.cronos/src-axis/org/bridgedb/webservice/cronos/ObjectFactory.java

    r391 r400  
    3838 
    3939    /** 
     40     * Create an instance of {@link CronosWSResponse } 
     41     *  
     42     */ 
     43    public CronosWSResponse createCronosWSResponse() { 
     44        return new CronosWSResponse(); 
     45    } 
     46 
     47    /** 
    4048     * Create an instance of {@link IsinRedList } 
    4149     *  
     
    4351    public IsinRedList createIsinRedList() { 
    4452        return new IsinRedList(); 
    45     } 
    46  
    47     /** 
    48      * Create an instance of {@link IsinRedListResponse } 
    49      *  
    50      */ 
    51     public IsinRedListResponse createIsinRedListResponse() { 
    52         return new IsinRedListResponse(); 
    5353    } 
    5454 
     
    6262 
    6363    /** 
    64      * Create an instance of {@link CronosWSResponse } 
     64     * Create an instance of {@link IsinRedListResponse } 
    6565     *  
    6666     */ 
    67     public CronosWSResponse createCronosWSResponse() { 
    68         return new CronosWSResponse(); 
     67    public IsinRedListResponse createIsinRedListResponse() { 
     68        return new IsinRedListResponse(); 
    6969    } 
    7070 
  • trunk/org.bridgedb.webservice.synergizer

    • Property svn:ignore set to
      target
  • trunk/org.bridgedb.webservice.synergizer/src/org/bridgedb/webservice/synergizer/SynergizerStub.java

    r308 r400  
    260260    public boolean idExist(final String authority, final String species, 
    261261            final String domain, final String id) throws IDMapperException { 
    262         String range = domain; 
     262        String range = domain; // bug: client now complains that domain==range! 
    263263        Set<String> ids = new HashSet(1); 
    264264        ids.add(id); 
  • trunk/org.bridgedb.webservice.synergizer/test/org/bridgedb/webservice/synergizer/Test.java

    r308 r400  
    5050 
    5151        public void testIDMapperSynergizer() throws IOException, IDMapperException { 
    52 //            SynergizerStub client = SynergizerStub.getInstance(); 
    53 //            for (String auth : client.availableAuthorities()) { 
    54 //                System.out.println("Authority: "+auth); 
    55 //                for (String species : client.availableSpecies(auth)) { 
    56 //                    System.out.println("  Species: "+species); 
    57 //                    IDMapperSynergizer mapper = new IDMapperSynergizer(auth, species); 
    58 //                    System.out.println("    Supported source data sources:"); 
    59 //                    for (DataSource ds : mapper.getCapabilities().getSupportedSrcDataSources()) { 
    60 //                        System.out.println("      "+ds.getFullName()); 
    61 //                    } 
    62 //                    System.out.println("    Supported target data sources:"); 
    63 //                    for (DataSource ds : mapper.getCapabilities().getSupportedTgtDataSources()) { 
    64 //                        System.out.println("      "+ds.getFullName()); 
    65 //                    } 
    66 //                } 
    67 //            } 
     52                 
     53            SynergizerStub client = SynergizerStub.getInstance(); 
     54            for (String auth : client.availableAuthorities()) { 
     55                System.out.println("Authority: "+auth); 
     56                for (String species : client.availableSpecies(auth)) { 
     57                    System.out.println("  Species: "+species); 
     58                    IDMapperSynergizer mapper = new IDMapperSynergizer(auth, species); 
     59                    System.out.println("    Supported source data sources:"); 
     60                    for (DataSource ds : mapper.getCapabilities().getSupportedSrcDataSources()) { 
     61                        System.out.println("      "+ds.getFullName()); 
     62                    } 
     63                    System.out.println("    Supported target data sources:"); 
     64                    for (DataSource ds : mapper.getCapabilities().getSupportedTgtDataSources()) { 
     65                        System.out.println("      "+ds.getFullName()); 
     66                    } 
     67                    break; // one is enough for now 
     68                } 
     69                break; // one is enough for now 
     70            } 
    6871 
    6972            IDMapper mapper = BridgeDb.connect("idmapper-synergizer:?authority=ensembl&species=Homo sapiens"); 
    70  
    7173            DataSource srcDs = DataSource.getByFullName("hgnc_symbol"); 
    72             assertTrue(mapper.xrefExists(new Xref("pja1", srcDs))); 
     74            assertTrue(mapper.xrefExists(new Xref("snph", srcDs))); 
    7375 
    7476            Set<Xref> srcXrefs = new HashSet(); 
  • trunk/org.bridgedb/src/org/bridgedb/BridgeDb.properties

    r363 r400  
    11# Version and compilation information 
    2 REVISION=362MP 
    3 COMPILE_DATE=20100520 1858 
     2REVISION=390MP 
     3COMPILE_DATE=20100602 1712 
    44# copied from version.props 
    55bridgedb.version=1.0.1 
  • trunk/pom.xml

    r394 r400  
    1515        <module>org.bridgedb.webservice.cronos</module> 
    1616        <module>org.bridgedb.webservice.picr</module> 
     17        <module>org.bridgedb.webservice.synergizer</module> 
    1718        <module>examples</module> 
    1819        <module>org.bridgedb.server</module>