Sam Adams avatar Sam Adams committed 9298911

Removed client-util

Comments (0)

Files changed (5)

crystallography-importer/pom.xml

             <groupId>net.chempound</groupId>
             <artifactId>chempound-rdf-cml</artifactId>
         </dependency>
-        <dependency>
-            <groupId>net.chempound.client</groupId>
-            <artifactId>client-utils</artifactId>
-        </dependency>
 
         <dependency>
             <groupId>org.xml-cml</groupId>

crystallography-test-harness/pom.xml

         </dependency>
 
         <dependency>
-            <groupId>net.chempound.client</groupId>
-            <artifactId>client-utils</artifactId>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <scope>test</scope>

crystallography-test-harness/src/test/java/net/chempound/crystal/CrystalIntegrationTest.java

     }
 
 
-    private static Deposit createDeposit(String id, DepositRequest request) throws IOException {
+    static Deposit createDeposit(String id, DepositRequest request) throws IOException {
         Deposit deposit = new Deposit();
 
         EntryPart entryPart = new EntryPart();

crystallography-test-harness/src/test/java/net/chempound/crystal/CrystalSearchIntegrationTest.java

 import net.chempound.DefaultChempoundModule;
 import net.chempound.chemistry.ImageGenerator;
 import net.chempound.chemistry.InChIGenerator;
-import net.chempound.client.SwordUtil;
 import net.chempound.config.ChempoundConfiguration;
 import net.chempound.config.DefaultChempoundConfiguration;
 import net.chempound.content.DepositRequest;
             CrystalStructureImporter importer = new CrystalStructureImporter(imageGenerator, inchiGenerator);
             importer.setCreateImages(false);
             DepositRequest request = importer.generateDepositRequest(in, id);
-            Deposit deposit = SwordUtil.createSwordDeposit(request);
+            Deposit deposit = CrystalIntegrationTest.createDeposit(id, request);
 
             SWORDClient sword = new SWORDClient();
             sword.deposit(SWORD_ENDPOINT, deposit);
             </dependency>
 
             <dependency>
-                <groupId>net.chempound.client</groupId>
-                <artifactId>client-utils</artifactId>
-                <version>0.1-SNAPSHOT</version>
-            </dependency>
-
-            <dependency>
                 <groupId>cml</groupId>
                 <artifactId>jumbo-converters-cif</artifactId>
                 <version>0.4-SNAPSHOT</version>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.