changes

parent c7db95d2
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
<inspection_tool class="AndroidLintTypographyEllipsis" enabled="false" level="WARNING" enabled_by_default="false" /> <inspection_tool class="AndroidLintTypographyEllipsis" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="AndroidLintTypographyFractions" enabled="false" level="WARNING" enabled_by_default="false" /> <inspection_tool class="AndroidLintTypographyFractions" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="AndroidLintTypographyOther" enabled="false" level="WARNING" enabled_by_default="false" /> <inspection_tool class="AndroidLintTypographyOther" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="AutoCloseableResource" enabled="true" level="WARNING" enabled_by_default="true">
<option name="METHOD_MATCHER_CONFIG" value="java.util.Formatter,format,java.io.Writer,append,com.google.common.base.Preconditions,checkNotNull,org.hibernate.Session,close,java.io.PrintWriter,printf,java.io.PrintStream,printf,pe.so.api.formulario.postgresdao.PostgreSqlFactoryDAO,obtenerConexion" />
</inspection_tool>
<inspection_tool class="SpellCheckingInspection" enabled="false" level="WARNING" enabled_by_default="false" editorAttributes="WARNING_ATTRIBUTES"> <inspection_tool class="SpellCheckingInspection" enabled="false" level="WARNING" enabled_by_default="false" editorAttributes="WARNING_ATTRIBUTES">
<option name="processCode" value="true" /> <option name="processCode" value="true" />
<option name="processLiterals" value="true" /> <option name="processLiterals" value="true" />
......
...@@ -106,5 +106,17 @@ public class ExcelApi { ...@@ -106,5 +106,17 @@ public class ExcelApi {
} }
@POST
@Path("/ejecutar_redes")
public Response ejecutar_redes(String json) throws Exception {
JSONObject entrada = new JSONObject(json);
ExcelServices excelServices = new ExcelServices();
MSJ_RESPUESTA = excelServices.execute_redes(entrada);
return Response.status(200).entity(MSJ_RESPUESTA.toString()).build();
}
} }
...@@ -12,4 +12,6 @@ public interface ExcelDAO{ ...@@ -12,4 +12,6 @@ public interface ExcelDAO{
JSONObject execute_avance (JSONObject json) throws Exception; JSONObject execute_avance (JSONObject json) throws Exception;
JSONObject execute_redes (JSONObject json) throws Exception;
} }
...@@ -22,4 +22,8 @@ public class ExcelServices{ ...@@ -22,4 +22,8 @@ public class ExcelServices{
public JSONObject execute_avance(JSONObject json) throws Exception{ public JSONObject execute_avance(JSONObject json) throws Exception{
return dao.execute_avance(json); return dao.execute_avance(json);
} }
public JSONObject execute_redes(JSONObject json) throws Exception{
return dao.execute_redes(json);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment