Skip to content

Commit

Permalink
Change package signature from sic to opencommercial (#495)
Browse files Browse the repository at this point in the history
* Change package signature from sic to opencommercial

* Update pom.xml
  • Loading branch information
belluccifranco authored Nov 10, 2024
1 parent 124fcee commit fe89e1e
Show file tree
Hide file tree
Showing 371 changed files with 1,903 additions and 2,016 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.opencommercial</groupId>
<artifactId>api</artifactId>
<version>1.2.1</version>
<version>1.3.1</version>
<packaging>jar</packaging>

<parent>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sic;
package org.opencommercial;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package sic.aspect;
package org.opencommercial.aspect;

import sic.modelo.Rol;
import org.opencommercial.model.Rol;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sic.aspect;
package org.opencommercial.aspect;

import io.jsonwebtoken.Claims;
import org.aspectj.lang.annotation.Aspect;
Expand All @@ -8,9 +8,9 @@
import org.springframework.stereotype.Component;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import sic.exception.ForbiddenException;
import sic.modelo.Rol;
import sic.service.AuthService;
import org.opencommercial.exception.ForbiddenException;
import org.opencommercial.model.Rol;
import org.opencommercial.service.AuthService;

import java.util.List;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sic.config;
package org.opencommercial.config;

import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
Expand All @@ -17,11 +17,11 @@
import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.cors.UrlBasedCorsConfigurationSource;
import org.springframework.web.filter.CorsFilter;
import sic.modelo.Cliente;
import sic.modelo.Ubicacion;
import sic.modelo.dto.ClienteDTO;
import sic.modelo.dto.UbicacionDTO;
import sic.service.AfipWebServiceSOAPClient;
import org.opencommercial.model.Cliente;
import org.opencommercial.model.Ubicacion;
import org.opencommercial.model.dto.ClienteDTO;
import org.opencommercial.model.dto.UbicacionDTO;
import org.opencommercial.service.AfipWebServiceSOAPClient;

import java.io.IOException;
import java.time.Clock;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package sic.config;
package org.opencommercial.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import sic.interceptor.JwtInterceptor;
import org.opencommercial.interceptor.JwtInterceptor;

@Configuration
public class AppWebMvc implements WebMvcConfigurer {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sic.config;
package org.opencommercial.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.MethodParameter;
Expand All @@ -8,8 +8,8 @@
import org.springframework.http.server.ServerHttpResponse;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.AbstractMappingJacksonResponseBodyAdvice;
import sic.modelo.Rol;
import sic.service.AuthService;
import org.opencommercial.model.Rol;
import org.opencommercial.service.AuthService;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sic.config;
package org.opencommercial.config;

public class Views {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package sic.controller;
package org.opencommercial.controller;

import jakarta.servlet.http.HttpServletRequest;
import org.opencommercial.model.Credencial;
import org.opencommercial.model.dto.RecoveryPasswordDTO;
import org.opencommercial.model.dto.RegistracionClienteAndUsuarioDTO;
import org.opencommercial.service.AuthService;
import org.opencommercial.service.RegistracionService;
import org.opencommercial.service.UsuarioService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import sic.modelo.*;
import sic.modelo.dto.RecoveryPasswordDTO;
import sic.modelo.dto.RegistracionClienteAndUsuarioDTO;
import sic.service.AuthService;
import sic.service.RegistracionService;
import sic.service.UsuarioService;

@RestController
public class AuthController {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package sic.controller;
package org.opencommercial.controller;

import io.jsonwebtoken.Claims;
import org.opencommercial.aspect.AccesoRolesPermitidos;
import org.opencommercial.model.Caja;
import org.opencommercial.model.MovimientoCaja;
import org.opencommercial.model.Rol;
import org.opencommercial.model.criteria.BusquedaCajaCriteria;
import org.opencommercial.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;
import sic.aspect.AccesoRolesPermitidos;
import sic.modelo.Caja;
import sic.modelo.MovimientoCaja;
import sic.modelo.Rol;
import sic.modelo.criteria.BusquedaCajaCriteria;
import sic.service.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package sic.controller;
package org.opencommercial.controller;

import io.jsonwebtoken.Claims;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;
import sic.modelo.ItemCarritoCompra;
import sic.modelo.Pedido;
import sic.modelo.dto.CarritoCompraDTO;
import sic.modelo.dto.NuevaOrdenDePagoDTO;
import sic.modelo.dto.ProductoFaltanteDTO;
import sic.service.AuthService;
import sic.service.CarritoCompraService;
import sic.service.ProductoService;
import org.opencommercial.model.ItemCarritoCompra;
import org.opencommercial.model.Pedido;
import org.opencommercial.model.dto.CarritoCompraDTO;
import org.opencommercial.model.dto.NuevaOrdenDePagoDTO;
import org.opencommercial.model.dto.ProductoFaltanteDTO;
import org.opencommercial.service.AuthService;
import org.opencommercial.service.CarritoCompraService;
import org.opencommercial.service.ProductoService;

import java.math.BigDecimal;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
package sic.controller;
package org.opencommercial.controller;

import io.jsonwebtoken.Claims;
import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;
import sic.aspect.AccesoRolesPermitidos;
import sic.exception.ForbiddenException;
import sic.modelo.Cliente;
import sic.modelo.Rol;
import sic.modelo.Ubicacion;
import sic.modelo.Usuario;
import sic.modelo.criteria.BusquedaClienteCriteria;
import sic.modelo.dto.ClienteDTO;
import sic.service.AuthService;
import sic.service.ClienteService;
import sic.service.UbicacionService;
import sic.service.UsuarioService;
import org.opencommercial.aspect.AccesoRolesPermitidos;
import org.opencommercial.exception.ForbiddenException;
import org.opencommercial.model.Cliente;
import org.opencommercial.model.Rol;
import org.opencommercial.model.Ubicacion;
import org.opencommercial.model.Usuario;
import org.opencommercial.model.criteria.BusquedaClienteCriteria;
import org.opencommercial.model.dto.ClienteDTO;
import org.opencommercial.service.AuthService;
import org.opencommercial.service.ClienteService;
import org.opencommercial.service.UbicacionService;
import org.opencommercial.service.UsuarioService;

import java.math.BigDecimal;
import java.time.LocalDateTime;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sic.controller;
package org.opencommercial.controller;

import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.Autowired;
Expand All @@ -8,12 +8,12 @@
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import sic.aspect.AccesoRolesPermitidos;
import sic.modelo.ConfiguracionSucursal;
import sic.modelo.Rol;
import sic.modelo.dto.ConfiguracionSucursalDTO;
import sic.service.ConfiguracionSucursalService;
import sic.service.SucursalService;
import org.opencommercial.aspect.AccesoRolesPermitidos;
import org.opencommercial.model.ConfiguracionSucursal;
import org.opencommercial.model.Rol;
import org.opencommercial.model.dto.ConfiguracionSucursalDTO;
import org.opencommercial.service.ConfiguracionSucursalService;
import org.opencommercial.service.SucursalService;

@RestController
public class ConfiguracionSucursalController {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
package sic.controller;
package org.opencommercial.controller;

import io.jsonwebtoken.Claims;
import org.opencommercial.aspect.AccesoRolesPermitidos;
import org.opencommercial.exception.BusinessServiceException;
import org.opencommercial.model.CuentaCorrienteCliente;
import org.opencommercial.model.CuentaCorrienteProveedor;
import org.opencommercial.model.RenglonCuentaCorriente;
import org.opencommercial.model.Rol;
import org.opencommercial.model.criteria.BusquedaCuentaCorrienteClienteCriteria;
import org.opencommercial.model.criteria.BusquedaCuentaCorrienteProveedorCriteria;
import org.opencommercial.service.AuthService;
import org.opencommercial.service.ClienteService;
import org.opencommercial.service.CuentaCorrienteService;
import org.opencommercial.service.ProveedorService;
import org.opencommercial.util.FormatoReporte;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.data.domain.Page;
Expand All @@ -9,19 +22,6 @@
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import sic.aspect.AccesoRolesPermitidos;
import sic.exception.BusinessServiceException;
import sic.modelo.CuentaCorrienteCliente;
import sic.modelo.CuentaCorrienteProveedor;
import sic.modelo.RenglonCuentaCorriente;
import sic.modelo.Rol;
import sic.modelo.criteria.BusquedaCuentaCorrienteClienteCriteria;
import sic.modelo.criteria.BusquedaCuentaCorrienteProveedorCriteria;
import sic.service.AuthService;
import sic.service.ClienteService;
import sic.service.CuentaCorrienteService;
import sic.service.ProveedorService;
import sic.util.FormatoReporte;

import java.math.BigDecimal;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package sic.controller;
package org.opencommercial.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import sic.aspect.AccesoRolesPermitidos;
import sic.modelo.Rol;
import sic.modelo.dto.EntidadMontoDTO;
import sic.modelo.dto.PeriodoMontoDTO;
import sic.service.EstadisticaService;
import org.opencommercial.aspect.AccesoRolesPermitidos;
import org.opencommercial.model.Rol;
import org.opencommercial.model.dto.EntidadMontoDTO;
import org.opencommercial.model.dto.PeriodoMontoDTO;
import org.opencommercial.service.EstadisticaService;
import java.util.List;

@RestController
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sic.controller;
package org.opencommercial.controller;

import java.time.LocalDateTime;
import java.time.ZoneId;
Expand All @@ -13,9 +13,9 @@
import org.springframework.web.bind.annotation.RestControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import sic.exception.ForbiddenException;
import sic.exception.UnauthorizedException;
import sic.exception.ServiceException;
import org.opencommercial.exception.ForbiddenException;
import org.opencommercial.exception.UnauthorizedException;
import org.opencommercial.exception.ServiceException;

@RestControllerAdvice
@Slf4j
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package sic.controller;
package org.opencommercial.controller;

import io.jsonwebtoken.Claims;
import org.opencommercial.aspect.AccesoRolesPermitidos;
import org.opencommercial.model.*;
import org.opencommercial.model.criteria.BusquedaFacturaCompraCriteria;
import org.opencommercial.model.dto.NuevaFacturaCompraDTO;
import org.opencommercial.model.dto.NuevoRenglonFacturaDTO;
import org.opencommercial.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;
import sic.aspect.AccesoRolesPermitidos;
import sic.modelo.*;
import sic.modelo.criteria.BusquedaFacturaCompraCriteria;
import sic.modelo.dto.NuevaFacturaCompraDTO;
import sic.modelo.dto.NuevoRenglonFacturaDTO;
import sic.service.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package sic.controller;
package org.opencommercial.controller;

import java.math.BigDecimal;
import java.util.*;
import org.opencommercial.aspect.AccesoRolesPermitidos;
import org.opencommercial.model.*;
import org.opencommercial.model.dto.NuevosResultadosComprobanteDTO;
import org.opencommercial.service.FacturaService;
import org.opencommercial.service.SucursalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import sic.aspect.AccesoRolesPermitidos;
import sic.modelo.*;
import sic.modelo.Resultados;
import sic.modelo.dto.NuevosResultadosComprobanteDTO;
import sic.service.*;

import java.math.BigDecimal;
import java.util.List;

@RestController
public class FacturaController {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
package sic.controller;
package org.opencommercial.controller;

import io.jsonwebtoken.Claims;
import org.opencommercial.aspect.AccesoRolesPermitidos;
import org.opencommercial.exception.BusinessServiceException;
import org.opencommercial.model.*;
import org.opencommercial.model.criteria.BusquedaFacturaVentaCriteria;
import org.opencommercial.model.dto.NuevaFacturaVentaDTO;
import org.opencommercial.model.dto.NuevoRenglonFacturaDTO;
import org.opencommercial.service.AuthService;
import org.opencommercial.service.FacturaService;
import org.opencommercial.service.FacturaVentaService;
import org.opencommercial.service.ReciboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.data.domain.Page;
Expand All @@ -9,16 +19,6 @@
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import sic.aspect.AccesoRolesPermitidos;
import sic.exception.BusinessServiceException;
import sic.modelo.*;
import sic.modelo.criteria.BusquedaFacturaVentaCriteria;
import sic.modelo.dto.NuevaFacturaVentaDTO;
import sic.modelo.dto.NuevoRenglonFacturaDTO;
import sic.service.AuthService;
import sic.service.FacturaService;
import sic.service.FacturaVentaService;
import sic.service.ReciboService;

import java.math.BigDecimal;
import java.util.ArrayList;
Expand Down
Loading

0 comments on commit fe89e1e

Please sign in to comment.