From: Richard Millet Date: Fri, 1 May 2009 18:01:33 +0000 (+0000) Subject: NOJIRA: This file is being deprecated. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=b051737970d8f27f5777bf362b7c57165b1f0da1;p=tmp%2Fjakarta-migration.git NOJIRA: This file is being deprecated. --- diff --git a/services/common/src/main/java/org/collectionspace/services/CollectionSpaceResource.java b/services/common/src/main/java/org/collectionspace/services/CollectionSpaceResource.java index 79ded42d7..bbc5f65fd 100644 --- a/services/common/src/main/java/org/collectionspace/services/CollectionSpaceResource.java +++ b/services/common/src/main/java/org/collectionspace/services/CollectionSpaceResource.java @@ -1,25 +1,12 @@ package org.collectionspace.services; -import org.collectionspace.services.nuxeo.NuxeoRESTClient; - -public abstract class CollectionSpaceResource { - //replace WORKSPACE_UID for resource workspace - static String CS_COLLECTIONOBJECT_WORKSPACE_UID = "4416ba45-08ca-47b2-aafa-7f4483611d76"; - //rem demo.collectionspace.org UID for CO's is 5a37d40f-59c4-4d15-93ad-e0e6a0c33587 - //sanjay 6c7881fe-54c5-486e-b144-a025dee3a484 - //demo eae0d7b6-580a-45a3-a0f3-e25e980e03bb - static String CS_PERSON_WORKSPACE_UID = "eae0d7b6-580a-45a3-a0f3-e25e980e03bb"; - - //replace host if not running on localhost - //static String CS_NUXEO_HOST = "173.45.234.217"; - static String CS_NUXEO_HOST = "localhost"; - static String CS_NUXEO_URI = "http://" + CS_NUXEO_HOST + ":8080/nuxeo"; - - NuxeoRESTClient getClient() { - NuxeoRESTClient nxClient = new NuxeoRESTClient(CS_NUXEO_URI); - nxClient.setAuthType(NuxeoRESTClient.AUTH_TYPE_BASIC); - nxClient.setBasicAuthentication("Administrator", "Administrator"); - return nxClient; - } - +/** + * @author remillet + * + */ +public interface CollectionSpaceResource { + // replace host if not running on localhost + // static String CS_NUXEO_HOST = "173.45.234.217"; + //static String CS_NUXEO_HOST = "localhost"; + //static String CS_NUXEO_URI = "http://" + CS_NUXEO_HOST + ":8080/nuxeo"; }