Author: kono
Date: 2011-01-24 12:46:03 -0800 (Mon, 24 Jan 2011)
New Revision: 23571

Added:
   core3/webservice-ncbi-client/trunk/osgi.bnd
   core3/webservice-ncbi-client/trunk/pom.xml
   core3/webservice-ncbi-client/trunk/src/
   core3/webservice-ncbi-client/trunk/src/main/
   core3/webservice-ncbi-client/trunk/src/main/java/
   core3/webservice-ncbi-client/trunk/src/main/java/org/
   core3/webservice-ncbi-client/trunk/src/main/java/org/cytoscape/
   core3/webservice-ncbi-client/trunk/src/main/java/org/cytoscape/webservice/
   
core3/webservice-ncbi-client/trunk/src/main/java/org/cytoscape/webservice/ncbi/
   
core3/webservice-ncbi-client/trunk/src/main/java/org/cytoscape/webservice/ncbi/NCBIWebServiceClient.java
   core3/webservice-ncbi-client/trunk/src/main/resources/
   core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/
   core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/spring/
   
core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
   
core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/spring/bundle-context.xml
   core3/webservice-ncbi-client/trunk/src/main/resources/readme.txt
   core3/webservice-ncbi-client/trunk/src/test/
   core3/webservice-ncbi-client/trunk/src/test/java/
Log:
NCBI Client project template.  This one has no functionality yet.

Added: core3/webservice-ncbi-client/trunk/osgi.bnd
===================================================================
--- core3/webservice-ncbi-client/trunk/osgi.bnd                         (rev 0)
+++ core3/webservice-ncbi-client/trunk/osgi.bnd 2011-01-24 20:46:03 UTC (rev 
23571)
@@ -0,0 +1,5 @@
+#-----------------------------------------------------------------
+# Use this file to add customized Bnd instructions for the bundle
+#-----------------------------------------------------------------
+
+Import-Package: *

Added: core3/webservice-ncbi-client/trunk/pom.xml
===================================================================
--- core3/webservice-ncbi-client/trunk/pom.xml                          (rev 0)
+++ core3/webservice-ncbi-client/trunk/pom.xml  2011-01-24 20:46:03 UTC (rev 
23571)
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+
+
+       <parent>
+               <artifactId>parent</artifactId>
+               <groupId>org.cytoscape</groupId>
+               <version>3.0.0-alpha4-SNAPSHOT</version>
+       </parent>
+
+       <properties>
+               
<bundle.symbolicName>org.cytoscape.webservice-ncbi-client</bundle.symbolicName>
+               
<bundle.namespace>org.cytoscape.webservice.ncbi</bundle.namespace>
+       </properties>
+
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>org.cytoscape</groupId>
+       <artifactId>webservice-ncbi-client</artifactId>
+       <version>0.0.1-SNAPSHOT</version>
+
+       <name>${bundle.symbolicName} [${bundle.namespace}]</name>
+
+       <packaging>bundle</packaging>
+
+       <build>
+               <resources>
+                       <resource>
+                               <directory>src/main/resources</directory>
+                       </resource>
+                       <!-- | example additional resource entries, useful when 
building Eclipse 
+                               RCP applications -->
+               </resources>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>test-jar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                               <configuration>
+                                       
<redirectTestOutputToFile>true</redirectTestOutputToFile>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>test-jar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.ops4j</groupId>
+                               <artifactId>maven-pax-plugin</artifactId>
+                               <version>1.4</version>
+                               <!-- | enable improved OSGi compilation support 
for the bundle life-cycle. 
+                                       | to switch back to the standard bundle 
life-cycle, move this setting | down 
+                                       to the maven-bundle-plugin section -->
+                               <extensions>true</extensions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               
<version>${maven-bundle-plugin.version}</version>
+                               <!-- | the following instructions build a 
simple set of public/private 
+                                       classes into an OSGi bundle -->
+                               <configuration>
+                                       <instructions>
+                                               
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
+                                               
<Bundle-Version>${pom.version}</Bundle-Version>
+                                               <!-- | assume public classes 
are in the top package, and private classes 
+                                                       are under ".internal" 
-->
+                                               
<Export-Package>!${bundle.namespace}.internal.*,${bundle.namespace}.*;version="${pom.version}"</Export-Package>
+                                               
<Private-Package>${bundle.namespace}.internal.*</Private-Package>
+                                               <!-- | each module can override 
these defaults in their osgi.bnd file -->
+                                               <_include>-osgi.bnd</_include>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+
+       <dependencies>
+
+               <!-- Cytoscape modules -->
+               <dependency>
+                       <groupId>org.cytoscape</groupId>
+                       <artifactId>webservice-impl</artifactId>
+                       <version>0.0.1-SNAPSHOT</version>
+               </dependency>
+
+
+               <!-- Testing -->
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <version>${junit.version}</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.mockito</groupId>
+                       <artifactId>mockito-all</artifactId>
+                       <version>1.8.1</version>
+                       <scope>test</scope>
+               </dependency>
+
+       </dependencies>
+
+</project>

Added: 
core3/webservice-ncbi-client/trunk/src/main/java/org/cytoscape/webservice/ncbi/NCBIWebServiceClient.java
===================================================================
--- 
core3/webservice-ncbi-client/trunk/src/main/java/org/cytoscape/webservice/ncbi/NCBIWebServiceClient.java
                            (rev 0)
+++ 
core3/webservice-ncbi-client/trunk/src/main/java/org/cytoscape/webservice/ncbi/NCBIWebServiceClient.java
    2011-01-24 20:46:03 UTC (rev 23571)
@@ -0,0 +1,37 @@
+package org.cytoscape.webservice.ncbi;
+
+import java.util.Set;
+
+import org.cytoscape.io.webservice.NetworkImportWebServiceClient;
+import org.cytoscape.io.webservice.TableImportWebServiceClient;
+import org.cytoscape.io.webservice.client.AbstractWebServiceClient;
+import org.cytoscape.model.CyNetwork;
+import org.cytoscape.model.CyTable;
+import org.cytoscape.work.TaskIterator;
+
+public class NCBIWebServiceClient extends AbstractWebServiceClient implements 
TableImportWebServiceClient, NetworkImportWebServiceClient {
+
+       public NCBIWebServiceClient(String uri, String displayName, String 
description) {
+               super(uri, displayName, description);
+               // TODO Auto-generated constructor stub
+       }
+
+       @Override
+       public TaskIterator getTaskIterator() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       @Override
+       public Set<CyNetwork> getNetworks() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       @Override
+       public Set<CyTable> getTables() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+}

Added: 
core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
===================================================================
--- 
core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
                               (rev 0)
+++ 
core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
       2011-01-24 20:46:03 UTC (rev 23571)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:osgi="http://www.springframework.org/schema/osgi";
+       xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+                      http://www.springframework.org/schema/osgi 
http://www.springframework.org/schema/osgi/spring-osgi-1.0.xsd";
+       default-lazy-init="false">
+       
+</beans>

Added: 
core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/spring/bundle-context.xml
===================================================================
--- 
core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/spring/bundle-context.xml
                            (rev 0)
+++ 
core3/webservice-ncbi-client/trunk/src/main/resources/META-INF/spring/bundle-context.xml
    2011-01-24 20:46:03 UTC (rev 23571)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:aop="http://www.springframework.org/schema/aop";
+       xmlns:util="http://www.springframework.org/schema/util";
+       xmlns:context="http://www.springframework.org/schema/context";
+       xmlns:lang="http://www.springframework.org/schema/lang"; 
xmlns:osgi="http://www.springframework.org/schema/osgi";
+       xsi:schemaLocation="
+    http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+    http://www.springframework.org/schema/aop
+    http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
+    http://www.springframework.org/schema/util
+    http://www.springframework.org/schema/util/spring-util-2.5.xsd
+    http://www.springframework.org/schema/context
+           http://www.springframework.org/schema/context/spring-context-2.5.xsd
+           http://www.springframework.org/schema/lang 
http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
+            http://www.springframework.org/schema/osgi 
http://www.springframework.org/schema/osgi/spring-osgi-1.0.xsd";
+       default-lazy-init="false">
+
+
+       <context:annotation-config />
+       
+       
+
+</beans>

Added: core3/webservice-ncbi-client/trunk/src/main/resources/readme.txt
===================================================================
--- core3/webservice-ncbi-client/trunk/src/main/resources/readme.txt            
                (rev 0)
+++ core3/webservice-ncbi-client/trunk/src/main/resources/readme.txt    
2011-01-24 20:46:03 UTC (rev 23571)
@@ -0,0 +1 @@
+Bundle resources go here

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to