diff --git a/src/java/com/rjconsultores/ventaboletos/rest/pricing/AlteraPricingRS.java b/src/java/com/rjconsultores/ventaboletos/rest/pricing/AlteraPricingRS.java index 125f0f4d5..098844dc9 100644 --- a/src/java/com/rjconsultores/ventaboletos/rest/pricing/AlteraPricingRS.java +++ b/src/java/com/rjconsultores/ventaboletos/rest/pricing/AlteraPricingRS.java @@ -24,15 +24,16 @@ import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; import com.rjconsultores.ventaboletos.vo.pricing.Pricing; import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext; -@Path("pricing") +//@Path("pricing") +// FIXME: Este EndPoint foi movido para a RJ API public class AlteraPricingRS { private static Logger log = org.slf4j.LoggerFactory.getLogger(AlteraPricingRS.class); - @POST - @Consumes({ MediaType.APPLICATION_JSON }) - @Produces({ MediaType.APPLICATION_JSON }) - @Path("recuperarPricing") +// @POST +// @Consumes({ MediaType.APPLICATION_JSON }) +// @Produces({ MediaType.APPLICATION_JSON }) +// @Path("recuperarPricing") public Response recuperarPricing(ParamsAlterarPricing params) { PricingRetorno pricingRetorno = new PricingRetorno(); try { @@ -60,10 +61,10 @@ public class AlteraPricingRS { } } - @POST - @Consumes({ MediaType.APPLICATION_JSON }) - @Produces({ MediaType.APPLICATION_JSON }) - @Path("alterarPricing") +// @POST +// @Consumes({ MediaType.APPLICATION_JSON }) +// @Produces({ MediaType.APPLICATION_JSON }) +// @Path("alterarPricing") public Response alterarPricing(ParamsAlterarPricing params) { String retorno = "Tipo Operação não identificada"; AlteraPricingService service = (AlteraPricingService) AppContext.getApplicationContext().getBean("alteraPricingService"); @@ -89,10 +90,10 @@ public class AlteraPricingRS { return Response.ok(retorno, MediaType.APPLICATION_JSON + Constantes.CHARSET_UTF8).build(); } - @POST - @Consumes({ MediaType.APPLICATION_JSON }) - @Produces({ MediaType.APPLICATION_JSON }) - @Path("excluirPricingDiasFimViagem") +// @POST +// @Consumes({ MediaType.APPLICATION_JSON }) +// @Produces({ MediaType.APPLICATION_JSON }) +// @Path("excluirPricingDiasFimViagem") public Response excluirPricingDiasFimViagem(ParamsAlterarPricing params) { String retorno = "Dias Fim Viagem informado é inválido."; if(isUsuarioValido()) {