Author: stevel Date: Wed May 14 10:43:05 2014 New Revision: 1594535 URL: http://svn.apache.org/r1594535 Log: SLIDER-50 change URL for published key-val pairs to .filetype, not /filetype
Modified: incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/web/rest/publisher/PublisherResource.java Modified: incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/web/rest/publisher/PublisherResource.java URL: http://svn.apache.org/viewvc/incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/web/rest/publisher/PublisherResource.java?rev=1594535&r1=1594534&r2=1594535&view=diff ============================================================================== --- incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/web/rest/publisher/PublisherResource.java (original) +++ incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/web/rest/publisher/PublisherResource.java Wed May 14 10:43:05 2014 @@ -79,7 +79,7 @@ public class PublisherResource { } @GET - @Path("/{config}") + @Path("/" + CONFIG) @Produces({MediaType.APPLICATION_JSON}) public PublishedConfiguration getConfigurationInstance( @PathParam("config") String config, @@ -96,7 +96,7 @@ public class PublisherResource { } @GET - @Path("/{config}.json") + @Path("/" + CONFIG+ ".json") @Produces({MediaType.APPLICATION_JSON}) public String getConfigurationContentJson( @PathParam("config") String config, @@ -107,7 +107,7 @@ public class PublisherResource { } @GET - @Path("/{config}.xml") + @Path("/" + CONFIG + ".xml") @Produces({MediaType.APPLICATION_XML}) public String getConfigurationContentXML( @PathParam("config") String config, @@ -118,7 +118,7 @@ public class PublisherResource { } @GET - @Path("/{config}.properties") + @Path("/" + CONFIG + ".properties") @Produces({MediaType.APPLICATION_XML}) public String getConfigurationContentProperties( @PathParam("config") String config,