myriad-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kens...@apache.org
Subject [1/3] incubator-myriad git commit: MYRIAD-175 Change Destroy myriad REST api method from 'GET' to 'POST/PUT'
Date Wed, 24 Feb 2016 18:11:38 GMT
Repository: incubator-myriad
Updated Branches:
  refs/heads/master 8cad53316 -> 3daab13e5


MYRIAD-175 Change Destroy myriad REST api method from 'GET' to 'POST/PUT'


Project: http://git-wip-us.apache.org/repos/asf/incubator-myriad/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-myriad/commit/6f3d3491
Tree: http://git-wip-us.apache.org/repos/asf/incubator-myriad/tree/6f3d3491
Diff: http://git-wip-us.apache.org/repos/asf/incubator-myriad/diff/6f3d3491

Branch: refs/heads/master
Commit: 6f3d3491a54c5609d0a1e60ba82d8343bae2efd3
Parents: 44d73d0
Author: Zachary Jaffee <zij@case.edu>
Authored: Tue Feb 23 21:04:21 2016 -0800
Committer: Zachary Jaffee <zij@case.edu>
Committed: Tue Feb 23 21:04:21 2016 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/myriad/api/ControllerResource.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/6f3d3491/myriad-scheduler/src/main/java/org/apache/myriad/api/ControllerResource.java
----------------------------------------------------------------------
diff --git a/myriad-scheduler/src/main/java/org/apache/myriad/api/ControllerResource.java
b/myriad-scheduler/src/main/java/org/apache/myriad/api/ControllerResource.java
index 7ab5a59..e1d136e 100644
--- a/myriad-scheduler/src/main/java/org/apache/myriad/api/ControllerResource.java
+++ b/myriad-scheduler/src/main/java/org/apache/myriad/api/ControllerResource.java
@@ -49,7 +49,7 @@ public class ControllerResource {
    * @return a successful response.
    */
   @Timed
-  @GET
+  @POST
   @Path("/shutdown/framework")
   @Produces(MediaType.APPLICATION_JSON)
   public Response shutdownFramework() {


Mime
View raw message