Skip to content

Commit 6be0e38

Browse files
committed
Controlador update
1 parent 90f97cd commit 6be0e38

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Qodana
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
qodana:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
- name: 'Qodana Scan'
17+
uses: JetBrains/qodana-action@v2023.3
18+
env:
19+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

qodana.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#-------------------------------------------------------------------------------#
2+
# Qodana analysis is configured by qodana.yaml file #
3+
# https://www.jetbrains.com/help/qodana/qodana-yaml.html #
4+
#-------------------------------------------------------------------------------#
5+
version: "1.0"
6+
7+
#Specify inspection profile for code analysis
8+
profile:
9+
name: qodana.starter
10+
11+
#Enable inspections
12+
#include:
13+
# - name: <SomeEnabledInspectionId>
14+
15+
#Disable inspections
16+
#exclude:
17+
# - name: <SomeDisabledInspectionId>
18+
# paths:
19+
# - <path/where/not/run/inspection>
20+
21+
projectJDK: 17 #(Applied in CI/CD pipeline)
22+
23+
#Execute shell command before Qodana execution (Applied in CI/CD pipeline)
24+
#bootstrap: sh ./prepare-qodana.sh
25+
26+
#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
27+
#plugins:
28+
# - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)
29+
30+
#Specify Qodana linter for analysis (Applied in CI/CD pipeline)
31+
linter: jetbrains/qodana-jvm-community:latest

src/main/resources/import.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Proyecto de Matemáticas', 'Desarrollar un programa para resolver ecuaciones', 'ACTIVE', '2024-04-01 10:00:00', '2024-04-01 10:00:00');
2+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Arreglar el Jardín', 'Limpiar el jardín y plantar nuevas flores', 'INACTIVE', '2024-04-02 11:00:00', '2024-04-02 11:00:00');
3+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Preparar Presentación de Ventas', 'Crear una presentación para la reunión de ventas', 'PAUSED', '2024-04-03 12:00:00', '2024-04-03 12:00:00');
4+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Proyecto de Investigación Histórica', 'Investigar eventos históricos para un artículo', 'ACTIVE', '2024-04-04 13:00:00', '2024-04-04 13:00:00');
5+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Reorganizar el Armario', 'Clasificar la ropa y deshacerse de lo que ya no se usa', 'INACTIVE', '2024-04-05 14:00:00', '2024-04-05 14:00:00');
6+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Proyecto de Desarrollo de Software', 'Desarrollar una nueva aplicación móvil', 'PAUSED', '2024-04-06 15:00:00', '2024-04-06 15:00:00');
7+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Planificar el Viaje de Vacaciones', 'Organizar itinerario y reservas para las vacaciones', 'ACTIVE', '2024-04-07 16:00:00', '2024-04-07 16:00:00');
8+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Decorar la Sala de Estar', 'Comprar muebles y decorar la sala de estar', 'INACTIVE', '2024-04-08 17:00:00', '2024-04-08 17:00:00');
9+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Estudiar para el Examen Final', 'Repasar material y hacer ejercicios de práctica', 'PAUSED', '2024-04-09 18:00:00', '2024-04-09 18:00:00');
10+
INSERT INTO Project (nombre, descripcion, status, fecha_creacion, fecha_actualizacion) VALUES ('Proyecto de Mejora de Procesos', 'Analizar procesos y proponer mejoras para la eficiencia', 'ACTIVE', '2024-04-10 19:00:00', '2024-04-10 19:00:00');

0 commit comments

Comments
 (0)