Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
formulario-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Denys Tito Urbano
formulario-api
Commits
012dccca
Commit
012dccca
authored
Dec 17, 2022
by
Mauro Paolo Josue Zuñiga Mallqui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
c7db95d2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
0 deletions
+21
-0
Project_Default.xml
.idea/inspectionProfiles/Project_Default.xml
+3
-0
ExcelApi.java
src/main/java/pe/so/api/formulario/api/ExcelApi.java
+12
-0
ExcelDAO.java
src/main/java/pe/so/api/formulario/dao/ExcelDAO.java
+2
-0
PostgreSqlExcel.java
...ava/pe/so/api/formulario/postgresdao/PostgreSqlExcel.java
+0
-0
ExcelServices.java
...ain/java/pe/so/api/formulario/services/ExcelServices.java
+4
-0
No files found.
.idea/inspectionProfiles/Project_Default.xml
View file @
012dccca
...
@@ -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"
/>
...
...
src/main/java/pe/so/api/formulario/api/ExcelApi.java
View file @
012dccca
...
@@ -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
();
}
}
}
src/main/java/pe/so/api/formulario/dao/ExcelDAO.java
View file @
012dccca
...
@@ -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
;
}
}
src/main/java/pe/so/api/formulario/postgresdao/PostgreSqlExcel.java
View file @
012dccca
This diff is collapsed.
Click to expand it.
src/main/java/pe/so/api/formulario/services/ExcelServices.java
View file @
012dccca
...
@@ -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
);
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment