incubator-nuvem-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sag...@apache.org
Subject svn commit: r1296943 - in /incubator/nuvem/trunk: nuvem-api/ nuvem-api/src/main/java/org/apache/nuvem/cloud/data/ nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/ nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/ nuvem-samples/st...
Date Mon, 05 Mar 2012 06:15:52 GMT
Author: sagara
Date: Mon Mar  5 06:15:51 2012
New Revision: 1296943

URL: http://svn.apache.org/viewvc?rev=1296943&view=rev
Log:
Removed tuscany-sca-data-api dependency from Nuvem API . Now Nuvem API only depends on tuscany-sca-api.


Added:
    incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Collection.java
  (with props)
    incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Entry.java 
 (with props)
    incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Item.java  
(with props)
    incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/NotFoundException.java
  (with props)
Modified:
    incubator/nuvem/trunk/nuvem-api/pom.xml
    incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/DocumentService.java
    incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceImpl.java
    incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImpl.java
    incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceTestCase.java
    incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImplTestCase.java
    incubator/nuvem/trunk/nuvem-samples/store-appengine-webapp/src/services/CachedShoppingCartManager.java
    incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/Cart.java
    incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartImpl.java
    incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartManager.java
    incubator/nuvem/trunk/nuvem-standalone/src/main/java/org/apache/nuvem/cloud/data/impl/MapDocumentServiceImpl.java

Modified: incubator/nuvem/trunk/nuvem-api/pom.xml
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-api/pom.xml?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-api/pom.xml (original)
+++ incubator/nuvem/trunk/nuvem-api/pom.xml Mon Mar  5 06:15:51 2012
@@ -37,22 +37,17 @@
 			<artifactId>tuscany-sca-api</artifactId>
 			<version>${tuscany.version}</version>
 		</dependency>
-		<dependency>
-			<groupId>org.apache.tuscany.sca</groupId>
-			<artifactId>tuscany-data-api</artifactId>
-			<version>${tuscany.version}</version>
-		</dependency>		
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <version>4.8.1</version>
+            <version>${junit.version}</version>
             <scope>test</scope>
         </dependency>
         
         <dependency>
     		<groupId>commons-lang</groupId>
     		<artifactId>commons-lang</artifactId>
-    		<version>2.2</version>
+    		<version>${commons.lang.version}</version>
 		</dependency>
 	</dependencies>
 

Added: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Collection.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Collection.java?rev=1296943&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Collection.java
(added)
+++ incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Collection.java
Mon Mar  5 06:15:51 2012
@@ -0,0 +1,74 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package org.apache.nuvem.cloud.data;
+
+import org.oasisopen.sca.annotation.Remotable;
+
+@Remotable
+public interface Collection <K, D> {
+
+    /**
+     * Get the whole collection.
+     * 
+     * @return the whole collection.
+     */
+    Entry<K, D>[] getAll();
+
+    /**
+     * Returns a collection resulting from a query.
+     * 
+     * @return the collection.
+     */
+    Entry<K, D>[] query(String queryString);
+
+    /**
+     * Creates a new item.
+     * 
+     * @param key
+     * @param item
+     * @return
+     */
+    K post(K key, D item);
+
+    /**
+     * Retrieves an item.
+     * 
+     * @param key
+     * @return
+     */
+    D get(K key) throws NotFoundException;
+
+    /**
+     * Updates an item.
+     * 
+     * @param key
+     * @param item
+     * @return
+     */
+    void put(K key, D item) throws NotFoundException;
+
+    /**
+     * Delete an item.
+     * 
+     * @param key
+     */
+    void delete(K key) throws NotFoundException;
+
+}

Propchange: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Collection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/DocumentService.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/DocumentService.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/DocumentService.java
(original)
+++ incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/DocumentService.java
Mon Mar  5 06:15:51 2012
@@ -19,8 +19,6 @@
 
 package org.apache.nuvem.cloud.data;
 
-import org.apache.tuscany.sca.data.collection.Collection;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
 
 public interface DocumentService<K, D> extends Collection<K, D> {
 

Added: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Entry.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Entry.java?rev=1296943&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Entry.java (added)
+++ incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Entry.java Mon
Mar  5 06:15:51 2012
@@ -0,0 +1,80 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package org.apache.nuvem.cloud.data;
+
+public class Entry <K, D> {
+
+    private K key;
+    private D data;
+    
+    /**
+     * Constructs a new entry.
+     */
+    public Entry() {
+    }
+    
+    /**
+     * Constructs a new entry.
+     * @param key the entry key
+     * @param data the entry data
+     */
+    public Entry(K key, D data) {
+        this.key = key;
+        this.data = data;
+    }
+    
+    /**
+     * Returns the entry key.
+     * @return the key
+     */
+    public K getKey() {
+        return key;
+    }
+    
+    /**
+     * Sets the entry key.
+     * @param key the key
+     */
+    public void setKey(K key) {
+        this.key = key;
+    }
+    
+    /**
+     * Returns the entry data.
+     * @return the entry data
+     */
+    public D getData() {
+        return data;
+    }
+    
+    /**
+     * Sets the entry data
+     * @param data the entry data
+     */
+    public void setData(D data) {
+        this.data = data;
+    }
+
+    //FIXME Temporary methods to make JAXB register the Item
+    // class when the Entry class is registered in a JAXB context  
+    public void setDummy(Item item) {}
+    public Item getDummy() { return null; }
+    
+}
\ No newline at end of file

Propchange: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Entry.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Item.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Item.java?rev=1296943&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Item.java (added)
+++ incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Item.java Mon
Mar  5 06:15:51 2012
@@ -0,0 +1,155 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package org.apache.nuvem.cloud.data;
+
+import java.util.Date;
+
+public class Item {
+
+    private String title;
+    private String contents;
+    private String link;
+    private String related;
+    private String alternate;
+    private Date date;
+    
+    /**
+     * Constructs a new item.
+     */
+    public Item() {
+    }
+
+    /**
+     * Constructs a new item.
+     * @param title the item title
+     * @param contents the item contents
+     * @param link the item link to a web resource
+     * @param related the item link to a related web resource
+     * @param date the item date
+     */
+    public Item(String title, String contents, String link, String related, Date date) {
+        this.title = title;
+        this.contents = contents;
+        this.link = link;
+        this.related = related;
+        this.date = date;
+    }
+
+    /**
+     * Returns the item title.
+     * @return the item title
+     */
+    public String getTitle() {
+        return title;
+    }
+
+    /**
+     * Sets the item title.
+     * @param title the item title
+     */
+    public void setTitle(String title) {
+        this.title = title;
+    }
+
+    /**
+     * Returns the item contents
+     * @return the item contents
+     */
+    public String getContents() {
+        return contents;
+    }
+
+    /**
+     * Sets the item contents
+     * @param contents the item contents
+     */
+    public void setContents(String contents) {
+        this.contents = contents;
+    }
+
+    /**
+     * Returns the item link to a web resource
+     * @return the item link to a web resource
+     */
+    public String getLink() {
+        return link;
+    }
+
+    /**
+     * Sets the item link to a web resource
+     * @param link the item link to a web resource
+     */
+    public void setLink(String link) {
+        this.link = link;
+    }
+
+    /**
+     * Returns the item link to a related web resource
+     * @return the item link to a related web resource
+     */
+    public String getRelated() {
+        return related;
+    }
+
+    /**
+     * Sets the item link to a related web resource.
+     *
+     * @param related the item link to a related web resource
+     */
+    public void setRelated(String related) {
+        this.related = related;
+    }
+
+    /**
+     * Returns the item link to an alternate web resource
+     * @return the item link to an alternate web resource
+     */
+    public String getAlternate() {
+        return alternate;
+    }
+
+    /**
+     * Sets the item link to an alternate web resource.
+     *
+     * @param alternate the item link to an alternate web resource
+     */
+    public void setAlternate(String alternate) {
+        this.alternate = alternate;
+    }
+
+    /**
+     * Returns the item date
+     * @return the item date
+     */
+    public Date getDate() {
+        return date;
+    }
+
+    /**
+     * Sets the item date
+     * @param date the item date
+     */
+    public void setDate(Date date) {
+        this.date = date;
+    }
+
+    
+}
+

Propchange: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/Item.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/NotFoundException.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/NotFoundException.java?rev=1296943&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/NotFoundException.java
(added)
+++ incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/NotFoundException.java
Mon Mar  5 06:15:51 2012
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package org.apache.nuvem.cloud.data;
+
+public class NotFoundException extends Exception {
+    private static final long serialVersionUID = 6792367409396084646L;
+
+    public NotFoundException() {
+    }
+
+    public NotFoundException(String message) {
+        super(message);
+    }
+
+    public NotFoundException(Throwable cause) {
+        super(cause);
+    }
+
+    public NotFoundException(String message, Throwable cause) {
+        super(message, cause);
+    }
+
+
+}

Propchange: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/data/NotFoundException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceImpl.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceImpl.java
(original)
+++ incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceImpl.java
Mon Mar  5 06:15:51 2012
@@ -22,8 +22,8 @@ package org.apache.nuvem.cloud.data.impl
 import java.util.UUID;
 
 import org.apache.nuvem.cloud.data.DocumentService;
-import org.apache.tuscany.sca.data.collection.Entry;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
+import org.apache.nuvem.cloud.data.Entry;
+import org.apache.nuvem.cloud.data.NotFoundException;
 import org.oasisopen.sca.annotation.Init;
 import org.oasisopen.sca.annotation.Service;
 

Modified: incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImpl.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImpl.java
(original)
+++ incubator/nuvem/trunk/nuvem-google/src/main/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImpl.java
Mon Mar  5 06:15:51 2012
@@ -22,8 +22,8 @@ package org.apache.nuvem.cloud.data.impl
 import java.util.UUID;
 
 import org.apache.nuvem.cloud.data.DocumentService;
-import org.apache.tuscany.sca.data.collection.Entry;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
+import org.apache.nuvem.cloud.data.Entry;
+import org.apache.nuvem.cloud.data.NotFoundException;
 import org.oasisopen.sca.annotation.Init;
 import org.oasisopen.sca.annotation.Property;
 import org.oasisopen.sca.annotation.Service;

Modified: incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceTestCase.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceTestCase.java
(original)
+++ incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/DatastoreDocumentServiceTestCase.java
Mon Mar  5 06:15:51 2012
@@ -19,7 +19,7 @@
 
 package org.apache.nuvem.cloud.data.impl;
 
-import org.apache.tuscany.sca.data.collection.NotFoundException;
+import org.apache.nuvem.cloud.data.NotFoundException;
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;

Modified: incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImplTestCase.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImplTestCase.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImplTestCase.java
(original)
+++ incubator/nuvem/trunk/nuvem-google/src/test/java/org/apache/nuvem/cloud/data/impl/MemcacheDocumentServiceImplTestCase.java
Mon Mar  5 06:15:51 2012
@@ -19,7 +19,7 @@
 
 package org.apache.nuvem.cloud.data.impl;
 
-import org.apache.tuscany.sca.data.collection.NotFoundException;
+import org.apache.nuvem.cloud.data.NotFoundException;
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;

Modified: incubator/nuvem/trunk/nuvem-samples/store-appengine-webapp/src/services/CachedShoppingCartManager.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-samples/store-appengine-webapp/src/services/CachedShoppingCartManager.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-samples/store-appengine-webapp/src/services/CachedShoppingCartManager.java
(original)
+++ incubator/nuvem/trunk/nuvem-samples/store-appengine-webapp/src/services/CachedShoppingCartManager.java
Mon Mar  5 06:15:51 2012
@@ -36,8 +36,8 @@ import net.sf.jsr107cache.CacheManager;
 import org.apache.nuvem.cloud.user.User;
 import org.apache.nuvem.cloud.user.UserService;
 import org.apache.nuvem.cloud.xmpp.JID;
-import org.apache.tuscany.sca.data.collection.Entry;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
+import org.apache.nuvem.cloud.data.Entry;
+import org.apache.nuvem.cloud.data.NotFoundException;
 import org.oasisopen.sca.annotation.Init;
 import org.oasisopen.sca.annotation.Reference;
 import org.oasisopen.sca.annotation.Scope;

Modified: incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/Cart.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/Cart.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/Cart.java (original)
+++ incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/Cart.java Mon
Mar  5 06:15:51 2012
@@ -19,8 +19,8 @@
 
 package services;
 
-import org.apache.tuscany.sca.data.collection.Entry;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
+import org.apache.nuvem.cloud.data.Entry;
+import org.apache.nuvem.cloud.data.NotFoundException;
 import org.oasisopen.sca.annotation.Remotable;
 
 @Remotable

Modified: incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartImpl.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartImpl.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartImpl.java
(original)
+++ incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartImpl.java
Mon Mar  5 06:15:51 2012
@@ -28,8 +28,8 @@ import java.util.logging.Logger;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.nuvem.cloud.data.DocumentService;
-import org.apache.tuscany.sca.data.collection.Entry;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
+import org.apache.nuvem.cloud.data.Entry;
+import org.apache.nuvem.cloud.data.NotFoundException;
 import org.oasisopen.sca.annotation.Reference;
 import org.oasisopen.sca.annotation.Scope;
 

Modified: incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartManager.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartManager.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartManager.java
(original)
+++ incubator/nuvem/trunk/nuvem-samples/store-assets/src/main/java/services/ShoppingCartManager.java
Mon Mar  5 06:15:51 2012
@@ -28,11 +28,11 @@ import java.util.logging.Logger;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.nuvem.cloud.data.DocumentService;
+import org.apache.nuvem.cloud.data.Entry;
+import org.apache.nuvem.cloud.data.NotFoundException;
 import org.apache.nuvem.cloud.user.User;
 import org.apache.nuvem.cloud.user.UserService;
 import org.apache.nuvem.cloud.xmpp.JID;
-import org.apache.tuscany.sca.data.collection.Entry;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
 import org.oasisopen.sca.annotation.Reference;
 import org.oasisopen.sca.annotation.Scope;
 

Modified: incubator/nuvem/trunk/nuvem-standalone/src/main/java/org/apache/nuvem/cloud/data/impl/MapDocumentServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-standalone/src/main/java/org/apache/nuvem/cloud/data/impl/MapDocumentServiceImpl.java?rev=1296943&r1=1296942&r2=1296943&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-standalone/src/main/java/org/apache/nuvem/cloud/data/impl/MapDocumentServiceImpl.java
(original)
+++ incubator/nuvem/trunk/nuvem-standalone/src/main/java/org/apache/nuvem/cloud/data/impl/MapDocumentServiceImpl.java
Mon Mar  5 06:15:51 2012
@@ -23,8 +23,8 @@ import java.util.Map;
 import java.util.UUID;
 
 import org.apache.nuvem.cloud.data.DocumentService;
-import org.apache.tuscany.sca.data.collection.Entry;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
+import org.apache.nuvem.cloud.data.Entry;
+import org.apache.nuvem.cloud.data.NotFoundException;
 import org.oasisopen.sca.annotation.Scope;
 import org.oasisopen.sca.annotation.Service;
 



Mime
View raw message