Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Flujo de trabajo para construir el código al hacer push o pull_request en la rama desarrollo
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Integración continua con Gradle (gradlew)

on:
push:
branches: [ desarrollo ]
pull_request:
branches: [ desarrollo ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Dar permisos a gradlew
run: chmod +x gradlew
- name: Construir el código con gradlew
run: ./gradlew build
1 change: 1 addition & 0 deletions DEVELOPERS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Antonio Muñoz Santiago
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ Librería con capacidades que den soporte al desarrollo de aplicaciones para la

## [Página en gitHub Pages](https://mit-fs.github.io/Audit4Improve-API/)

Soy el usuario antmunsan2

2 changes: 0 additions & 2 deletions src/main/java/us/muit/fs/a4i/config/Checker.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public void setAppMetrics(String appMetricsPath) {
* </p>
*
* @param metricName nombre de la m�trica que se quiere comprobar
* @param metricType tipo de la m�trica
* @return metricDefinition Si la m�trica est� definida y el tipo es correcto se devuelve un mapa con las unidades y la descripci�n
* @throws FileNotFoundException Si no se localiza el fichero de configuraci�n
*/
Expand Down Expand Up @@ -124,7 +123,6 @@ private HashMap<String,String> isDefinedMetric(String metricName, String metricT
* </p>
*
* @param indicatorName nombre del indicador que se quiere comprobar
* @param indicatorType tipo del indicador
* @return indicatorDefinition Si el indicador est� definido y el tipo es correcto se devuelve un mapa con las unidades y la descripci�n
* @throws FileNotFoundException Si no se localiza el fichero de configuraci�n
*/
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/us/muit/fs/a4i/config/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static Context getContext() throws IOException {
*
* @param appConPath Ruta completa al fichero de configuraci�n establecido por la
* propiedad cliente
* @throws IOException Problema lectura fichero
* @throws IOException
*/
public static void setAppConf(String appConPath) throws IOException {
/**
Expand Down Expand Up @@ -150,7 +150,7 @@ public String getRemoteType() throws IOException {
* Si no se ha establecido un valor por defecto se crea una fuente simple
* </p>
*
* @return La fuente por defecto para indicadores y m�tricas
* @return
*/
public Font getDefaultFont() {
Font font = null;
Expand All @@ -174,7 +174,7 @@ public Font getDefaultFont() {
* por defecto
* </p>
*
* @return la fuente para las m�tricas
* @return
*/
public static Font getMetricFont() {
Font font = null;
Expand All @@ -193,7 +193,7 @@ public static Font getMetricFont() {
*
* @param state Estado para el que se solicita el color de fuente
* @return La fuente para el indicador cuando el estado es el par�metro pasado
* @throws IOException problema al leer el fichero
* @throws IOException
*/

public static Font getIndicatorFont(Indicator.State state) throws IOException {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/us/muit/fs/a4i/config/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* <p>Clases encargadas del contexto de aplicaci�n
* Leen la configuraci�n y la ponen disponible
* Manejan la configuraci�n b�sica en ficheros simples le�dos a Properties y la referida a m�tricas e indicadores disponibles en ficheros json</p>
* <img src="https://raw.githubusercontent.com/MIT-FS/Audit4Improve-API/gh-pages/doc-files/configPackage.GIF" alt="Paquete para la configuraci�n" height="25%" width="50%">
* <img src="https://raw.githubusercontent.com/MIT-FS/Audit4Improve-API/gh-pages/doc-files/configPackage.GIF" alt="Paquete para la configuraci�n" height="25%" width="50%"/>
*
* @author Isabel Rom�n
* @version 0.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/us/muit/fs/a4i/control/ReportManagerI.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public interface ReportManagerI {

/**
* <p>Recupera el informe que se est�n manejando</p>
* @return Devuelve el informe manejado
* @return
*/
public ReportI getReport();
/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/us/muit/fs/a4i/exceptions/package-info.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* <p>Excepciones propias de la aplicaci�n</p>
* <img src="https://raw.githubusercontent.com/MIT-FS/Audit4Improve-API/gh-pages/doc-files/exceptionsPackage.gif" alt="Paquete para excepciones" height="25%" width="50%">
* <img src="https://raw.githubusercontent.com/MIT-FS/Audit4Improve-API/gh-pages/doc-files/exceptionsPackage.gif" alt="Paquete para excepciones" height="25%" width="50%"/>
* @author Isabel Rom�n
* @version 0.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/us/muit/fs/a4i/model/entities/Report.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void addIndicator(Indicator ind) {

}
/**
* <p>Calcula el indicador solicitado y lo incluye en el informe, si se necesita alguna m�trica que no exista la calculadora la busca y la incluye</p>
* <p>Calcula el indicador solicitado y lo incluye en el informe, si se necesita alguna m�trica que no exista la calculadora la busca y la incluye<p>
*/
@Override
public void calcIndicator(String name) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* <p>Este paquete contiene las clases de tipo entidad, que representan la informaci�n manejada</p>
* <img src="https://raw.githubusercontent.com/MIT-FS/Audit4Improve-API/gh-pages/doc-files/entitiesPackage.gif" alt="Paquete de entidades" height="50%" width="75%">
* <img src="https://raw.githubusercontent.com/MIT-FS/Audit4Improve-API/gh-pages/doc-files/entitiesPackage.gif" alt="Paquete de entidades" height="50%" width="75%"/>
*
* @author Isabel Rom�n
* @version 0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* <p>Este paquete contiene las interfaces y clases especializadas en la consulta a remotos</p>
* <p>Construyen informes y m�tricas a partir de la informaci�n extra�da de servidores remotos</p>
* <img src="https://raw.githubusercontent.com/MIT-FS/Audit4Improve-API/gh-pages/doc-files/remotePackage.gif" alt="Paquete para la consulta a remotos" height="25%" width="50%">
* <img src="https://raw.githubusercontent.com/MIT-FS/Audit4Improve-API/gh-pages/doc-files/remotePackage.gif" alt="Paquete para la consulta a remotos" height="25%" width="50%"/>
*
* @author Isabel Rom�n
* @version 0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class ExcelReportManager implements PersistenceManager, FileManager{
FileInputStream inputStream=null;

/**
* <p>Localizaci�n del fichero excel</p>
* <p>Localizaci�n del fichero excel/<p>
*/
protected String filePath="";
/**
Expand Down Expand Up @@ -95,9 +95,9 @@ public void setName(String name) {
* Primero hay que abrir el libro
* Busco la hoja correspondiente a esta entidad, si ya existe la elimino
* Creo la hoja
* @return Hoja de excel
* @throws IOException error al abrir el fichero
* @throws EncryptedDocumentException documento protegido
* @return
* @throws IOException
* @throws EncryptedDocumentException
*/
protected HSSFSheet getCleanSheet() throws EncryptedDocumentException, IOException {
log.info("Solicita una hoja nueva del libro manejado");
Expand Down
7 changes: 3 additions & 4 deletions src/main/java/us/muit/fs/a4i/persistence/ReportFormaterI.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,18 @@
public interface ReportFormaterI {
/**
* <p>Devuelve el formato que debe tener la fuente de una m�trica</p>
* @return Fuente de la m�trica
* @return
*/
Font getMetricFont();
/**
* <p>Establece la fuente para las m�tricas</p>
* @param font Fuente de la m�trica
* @param font
*/
void setMetricFont(Font font);
/**
* <p>Recupera las fuente para un indicador con el estado indicado.</p>
* <p>Si no se ha configurado para ese estado una fuente espec�fica se devuelve la fuente por defecto</p>
* @param state Estado para el que solicita la fuente
* @return La fuente a utilizar para los indicadores con el estado indicado
* @return La fuente a utilizar para las m�tricas
* @throws IOException Si no se puede leer la configuraci�n
*/

Expand Down