You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2013/07/26 13:03:19 UTC

svn commit: r1507260 - in /syncope/trunk/common/src/main/java/org/apache/syncope/common/services: PolicyService.java TaskService.java

Author: ilgrosso
Date: Fri Jul 26 11:03:19 2013
New Revision: 1507260

URL: http://svn.apache.org/r1507260
Log:
[SYNCOPE-285] Finalization

Modified:
    syncope/trunk/common/src/main/java/org/apache/syncope/common/services/PolicyService.java
    syncope/trunk/common/src/main/java/org/apache/syncope/common/services/TaskService.java

Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/services/PolicyService.java
URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/services/PolicyService.java?rev=1507260&r1=1507259&r2=1507260&view=diff
==============================================================================
--- syncope/trunk/common/src/main/java/org/apache/syncope/common/services/PolicyService.java (original)
+++ syncope/trunk/common/src/main/java/org/apache/syncope/common/services/PolicyService.java Fri Jul 26 11:03:19 2013
@@ -57,7 +57,6 @@ public interface PolicyService {
      */
     @GET
     @Path("{type}/list")
-    // TODO '/list' path will be removed once CXF/JAX-B bug is solved
     <T extends AbstractPolicyTO> List<T> list(@PathParam("type") PolicyType type);
 
     /**

Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/services/TaskService.java
URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/services/TaskService.java?rev=1507260&r1=1507259&r2=1507260&view=diff
==============================================================================
--- syncope/trunk/common/src/main/java/org/apache/syncope/common/services/TaskService.java (original)
+++ syncope/trunk/common/src/main/java/org/apache/syncope/common/services/TaskService.java Fri Jul 26 11:03:19 2013
@@ -104,7 +104,6 @@ public interface TaskService {
      */
     @GET
     @Path("{type}/list")
-    // TODO '/list' path will be removed once CXF/JAX-B bug is solved
     <T extends AbstractTaskTO> List<T> list(@PathParam("type") TaskType taskType);
 
     /**
@@ -115,7 +114,7 @@ public interface TaskService {
      * @return Returns paginated list of task with matching type
      */
     @GET
-    @Path("{type}")
+    @Path("{type}/list")
     <T extends AbstractTaskTO> List<T> list(@PathParam("type") TaskType taskType,
             @QueryParam("page") int page, @QueryParam("size") @DefaultValue("25") int size);