Renaming packages on annotation service not to interfere with notification service

This commit is contained in:
Thomas Georgios Giannos 2024-02-12 11:49:37 +02:00
parent 5c98648e56
commit 1eef4bfb1c
187 changed files with 559 additions and 559 deletions

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web;
package gr.cite.annotation.web;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@ -11,11 +11,11 @@ import org.springframework.scheduling.annotation.EnableAsync;
"gr.cite",
"gr.cite.queueoutbox",
"gr.cite.queueinbox",
"gr.cite.notification.integrationevent",
"gr.cite.annotation.integrationevent",
"gr.cite.tools",
"gr.cite.commons"})
@EntityScan({
"gr.cite.notification.data"})
"gr.cite.annotation.data"})
@EnableAsync
public class AnnotationApplication {

View File

@ -1,9 +1,9 @@
package gr.cite.notification.web;
package gr.cite.annotation.web;
import gr.cite.notification.web.interceptors.UserInterceptor;
import gr.cite.notification.web.scope.tenant.TenantInterceptor;
import gr.cite.notification.web.scope.tenant.TenantScopeClaimInterceptor;
import gr.cite.notification.web.scope.tenant.TenantScopeHeaderInterceptor;
import gr.cite.annotation.web.interceptors.UserInterceptor;
import gr.cite.annotation.web.scope.tenant.TenantInterceptor;
import gr.cite.annotation.web.scope.tenant.TenantScopeClaimInterceptor;
import gr.cite.annotation.web.scope.tenant.TenantScopeHeaderInterceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;

View File

@ -1,12 +1,12 @@
package gr.cite.notification.web.authorization;
package gr.cite.annotation.web.authorization;
import gr.cite.commons.web.authz.handler.AuthorizationHandler;
import gr.cite.commons.web.authz.handler.AuthorizationHandlerContext;
import gr.cite.commons.web.authz.policy.AuthorizationRequirement;
import gr.cite.commons.web.oidc.principal.MyPrincipal;
import gr.cite.notification.authorization.OwnedAuthorizationRequirement;
import gr.cite.notification.authorization.OwnedResource;
import gr.cite.notification.common.scope.user.UserScope;
import gr.cite.annotation.authorization.OwnedAuthorizationRequirement;
import gr.cite.annotation.authorization.OwnedResource;
import gr.cite.annotation.common.scope.user.UserScope;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.config;
package gr.cite.annotation.web.config;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.config;
package gr.cite.annotation.web.config;
import gr.cite.commons.web.authz.handler.AuthorizationHandler;
import gr.cite.commons.web.authz.handler.PermissionClientAuthorizationHandler;
@ -8,9 +8,9 @@ import gr.cite.commons.web.authz.policy.AuthorizationResource;
import gr.cite.commons.web.authz.policy.resolver.AuthorizationPolicyConfigurer;
import gr.cite.commons.web.authz.policy.resolver.AuthorizationPolicyResolverStrategy;
import gr.cite.commons.web.oidc.configuration.WebSecurityProperties;
import gr.cite.notification.authorization.OwnedAuthorizationRequirement;
import gr.cite.notification.authorization.OwnedResource;
import gr.cite.notification.web.authorization.OwnedAuthorizationHandler;
import gr.cite.annotation.authorization.OwnedAuthorizationRequirement;
import gr.cite.annotation.authorization.OwnedResource;
import gr.cite.annotation.web.authorization.OwnedAuthorizationHandler;
import jakarta.servlet.Filter;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,6 +1,6 @@
package gr.cite.notification.web.controllerhandler;
package gr.cite.annotation.web.controllerhandler;
import gr.cite.notification.common.JsonHandlingService;
import gr.cite.annotation.common.JsonHandlingService;
import gr.cite.tools.exception.*;
import gr.cite.tools.logging.LoggerService;
import org.slf4j.LoggerFactory;

View File

@ -1,12 +1,12 @@
package gr.cite.notification.web.controllers;
package gr.cite.annotation.web.controllers;
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
import gr.cite.commons.web.oidc.principal.MyPrincipal;
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
import gr.cite.notification.audit.AuditableAction;
import gr.cite.notification.common.scope.tenant.TenantScope;
import gr.cite.notification.web.model.Account;
import gr.cite.notification.web.model.AccountBuilder;
import gr.cite.annotation.audit.AuditableAction;
import gr.cite.annotation.common.scope.tenant.TenantScope;
import gr.cite.annotation.web.model.Account;
import gr.cite.annotation.web.model.AccountBuilder;
import gr.cite.tools.auditing.AuditService;
import gr.cite.tools.fieldset.BaseFieldSet;
import gr.cite.tools.fieldset.FieldSet;

View File

@ -1,17 +1,17 @@
package gr.cite.notification.web.controllers;
package gr.cite.annotation.web.controllers;
import gr.cite.notification.audit.AuditableAction;
import gr.cite.notification.authorization.AuthorizationFlags;
import gr.cite.notification.common.enums.TenantConfigurationType;
import gr.cite.notification.data.TenantConfigurationEntity;
import gr.cite.notification.model.TenantConfiguration;
import gr.cite.notification.model.builder.TenantConfigurationBuilder;
import gr.cite.notification.model.censorship.TenantConfigurationCensor;
import gr.cite.notification.model.persist.tenantconfiguration.TenantConfigurationEmailClientPersist;
import gr.cite.notification.query.TenantConfigurationQuery;
import gr.cite.notification.query.lookup.TenantConfigurationLookup;
import gr.cite.notification.service.tenantconfiguration.TenantConfigurationService;
import gr.cite.notification.web.model.QueryResult;
import gr.cite.annotation.audit.AuditableAction;
import gr.cite.annotation.authorization.AuthorizationFlags;
import gr.cite.annotation.common.enums.TenantConfigurationType;
import gr.cite.annotation.data.TenantConfigurationEntity;
import gr.cite.annotation.model.TenantConfiguration;
import gr.cite.annotation.model.builder.TenantConfigurationBuilder;
import gr.cite.annotation.model.censorship.TenantConfigurationCensor;
import gr.cite.annotation.model.persist.tenantconfiguration.TenantConfigurationEmailClientPersist;
import gr.cite.annotation.query.TenantConfigurationQuery;
import gr.cite.annotation.query.lookup.TenantConfigurationLookup;
import gr.cite.annotation.service.tenantconfiguration.TenantConfigurationService;
import gr.cite.annotation.web.model.QueryResult;
import gr.cite.tools.auditing.AuditService;
import gr.cite.tools.data.builder.BuilderFactory;
import gr.cite.tools.data.censor.CensorFactory;

View File

@ -1,13 +1,13 @@
package gr.cite.notification.web.interceptors;
package gr.cite.annotation.web.interceptors;
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
import gr.cite.notification.common.JsonHandlingService;
import gr.cite.notification.common.lock.LockByKeyManager;
import gr.cite.notification.common.scope.user.UserScope;
import gr.cite.notification.data.UserCredentialEntity;
import gr.cite.notification.model.UserCredential;
import gr.cite.notification.query.UserCredentialQuery;
import gr.cite.annotation.common.JsonHandlingService;
import gr.cite.annotation.common.lock.LockByKeyManager;
import gr.cite.annotation.common.scope.user.UserScope;
import gr.cite.annotation.data.UserCredentialEntity;
import gr.cite.annotation.model.UserCredential;
import gr.cite.annotation.query.UserCredentialQuery;
import gr.cite.tools.data.query.QueryFactory;
import gr.cite.tools.exception.MyForbiddenException;
import gr.cite.tools.fieldset.BaseFieldSet;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.interceptors;
package gr.cite.annotation.web.interceptors;
import gr.cite.tools.cache.CacheOptions;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.interceptors;
package gr.cite.annotation.web.interceptors;
import gr.cite.tools.cache.CacheService;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.model;
package gr.cite.annotation.web.model;
import gr.cite.tools.logging.annotation.LogSensitive;

View File

@ -1,11 +1,11 @@
package gr.cite.notification.web.model;
package gr.cite.annotation.web.model;
import gr.cite.commons.web.authz.configuration.AuthorizationConfiguration;
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
import gr.cite.commons.web.oidc.principal.MyPrincipal;
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractorKeys;
import gr.cite.notification.common.scope.user.UserScope;
import gr.cite.annotation.common.scope.user.UserScope;
import gr.cite.tools.fieldset.BaseFieldSet;
import gr.cite.tools.fieldset.FieldSet;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.model;
package gr.cite.annotation.web.model;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import gr.cite.tools.cache.CacheOptions;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import gr.cite.notification.convention.ConventionService;
import gr.cite.notification.event.TenantTouchedEvent;
import gr.cite.annotation.convention.ConventionService;
import gr.cite.annotation.event.TenantTouchedEvent;
import gr.cite.tools.cache.CacheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.event.EventListener;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import gr.cite.tools.cache.CacheOptions;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import gr.cite.notification.convention.ConventionService;
import gr.cite.notification.event.TenantTouchedEvent;
import gr.cite.annotation.convention.ConventionService;
import gr.cite.annotation.event.TenantTouchedEvent;
import gr.cite.tools.cache.CacheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.event.EventListener;

View File

@ -1,16 +1,16 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import gr.cite.commons.web.authz.service.AuthorizationService;
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
import gr.cite.notification.authorization.Permission;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.common.scope.tenant.TenantScope;
import gr.cite.notification.common.scope.user.UserScope;
import gr.cite.notification.data.TenantUserEntity;
import gr.cite.notification.data.UserEntity;
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
import gr.cite.notification.errorcode.ErrorThesaurusProperties;
import gr.cite.annotation.authorization.Permission;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.common.scope.tenant.TenantScope;
import gr.cite.annotation.common.scope.user.UserScope;
import gr.cite.annotation.data.TenantUserEntity;
import gr.cite.annotation.data.UserEntity;
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
import gr.cite.annotation.errorcode.ErrorThesaurusProperties;
import gr.cite.tools.exception.MyForbiddenException;
import gr.cite.tools.logging.LoggerService;
import jakarta.persistence.EntityManager;

View File

@ -1,14 +1,14 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
import gr.cite.commons.web.oidc.principal.MyPrincipal;
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractorContext;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.common.scope.tenant.TenantScope;
import gr.cite.notification.convention.ConventionService;
import gr.cite.notification.data.TenantEntity;
import gr.cite.notification.errorcode.ErrorThesaurusProperties;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.common.scope.tenant.TenantScope;
import gr.cite.annotation.convention.ConventionService;
import gr.cite.annotation.data.TenantEntity;
import gr.cite.annotation.errorcode.ErrorThesaurusProperties;
import gr.cite.tools.exception.MyForbiddenException;
import gr.cite.tools.logging.LoggerService;
import jakarta.persistence.EntityManager;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

View File

@ -1,11 +1,11 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractorContext;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.common.scope.tenant.TenantScope;
import gr.cite.notification.convention.ConventionService;
import gr.cite.notification.data.TenantEntity;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.common.scope.tenant.TenantScope;
import gr.cite.annotation.convention.ConventionService;
import gr.cite.annotation.data.TenantEntity;
import gr.cite.tools.logging.LoggerService;
import jakarta.persistence.EntityManager;
import jakarta.persistence.PersistenceContext;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import gr.cite.tools.cache.CacheOptions;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.web.scope.tenant;
package gr.cite.annotation.web.scope.tenant;
import gr.cite.notification.event.UserAddedToTenantEvent;
import gr.cite.notification.event.UserRemovedFromTenantEvent;
import gr.cite.annotation.event.UserAddedToTenantEvent;
import gr.cite.annotation.event.UserRemovedFromTenantEvent;
import gr.cite.tools.cache.CacheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.event.EventListener;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.audit;
package gr.cite.annotation.audit;
import gr.cite.tools.logging.EventId;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.authorization;
package gr.cite.annotation.authorization;
import java.util.EnumSet;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.authorization;
package gr.cite.annotation.authorization;
import gr.cite.commons.web.authz.policy.AuthorizationRequirement;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.authorization;
package gr.cite.annotation.authorization;
import gr.cite.commons.web.authz.policy.AuthorizationResource;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.authorization;
package gr.cite.annotation.authorization;
public final class Permission {
//User

View File

@ -1,7 +1,7 @@
package gr.cite.notification.cache;
package gr.cite.annotation.cache;
import gr.cite.notification.config.formatting.FormattingUserprofileCacheOptions;
import gr.cite.notification.event.UserTouchedEvent;
import gr.cite.annotation.config.formatting.FormattingUserprofileCacheOptions;
import gr.cite.annotation.event.UserTouchedEvent;
import gr.cite.tools.cache.CacheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.event.EventListener;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common;
package gr.cite.annotation.common;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common;
package gr.cite.annotation.common;
public class StringUtils {

View File

@ -1,7 +1,7 @@
package gr.cite.notification.common;
package gr.cite.annotation.common;
import com.fasterxml.jackson.core.JsonProcessingException;
import gr.cite.notification.common.types.xml.XmlSerializable;
import gr.cite.annotation.common.types.xml.XmlSerializable;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
import jakarta.xml.bind.Marshaller;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.common.enums;
package gr.cite.annotation.common.enums;
import com.fasterxml.jackson.annotation.JsonValue;
import gr.cite.notification.data.conventers.DatabaseEnum;
import gr.cite.annotation.data.conventers.DatabaseEnum;
import java.util.Map;

View File

@ -1,6 +1,6 @@
package gr.cite.notification.common.enums;
package gr.cite.annotation.common.enums;
import gr.cite.notification.data.conventers.DatabaseEnum;
import gr.cite.annotation.data.conventers.DatabaseEnum;
import java.util.HashMap;
import java.util.Map;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.common.enums;
package gr.cite.annotation.common.enums;
import com.fasterxml.jackson.annotation.JsonValue;
import gr.cite.notification.data.conventers.DatabaseEnum;
import gr.cite.annotation.data.conventers.DatabaseEnum;
import java.util.Map;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.common.enums;
package gr.cite.annotation.common.enums;
import com.fasterxml.jackson.annotation.JsonValue;
import gr.cite.notification.data.conventers.DatabaseEnum;
import gr.cite.annotation.data.conventers.DatabaseEnum;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.lock;
package gr.cite.annotation.common.lock;
import org.springframework.stereotype.Service;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.scope.fake;
package gr.cite.annotation.common.scope.fake;
import org.springframework.util.Assert;
import org.springframework.web.context.request.RequestAttributes;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.scope.fake;
package gr.cite.annotation.common.scope.fake;
import org.springframework.web.context.request.RequestAttributes;
import org.springframework.web.context.request.RequestContextHolder;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.scope.tenant;
package gr.cite.annotation.common.scope.tenant;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.scope.tenant;
package gr.cite.annotation.common.scope.tenant;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,6 +1,6 @@
package gr.cite.notification.common.scope.tenant;
package gr.cite.annotation.common.scope.tenant;
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
import gr.cite.tools.logging.LoggerService;
import jakarta.persistence.EntityManager;
import org.hibernate.Session;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.scope.tenant;
package gr.cite.annotation.common.scope.tenant;
import java.util.UUID;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.scope.user;
package gr.cite.annotation.common.scope.user;
import gr.cite.tools.logging.LoggerService;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.notification;
package gr.cite.annotation.common.types.notification;
public class Attachment {

View File

@ -1,6 +1,6 @@
package gr.cite.notification.common.types.notification;
package gr.cite.annotation.common.types.notification;
import gr.cite.notification.common.enums.ContactInfoType;
import gr.cite.annotation.common.enums.ContactInfoType;
public class ContactPair {
private ContactInfoType type;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.tenant;
package gr.cite.annotation.common.types.tenant;
import jakarta.xml.bind.annotation.XmlAccessType;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.tenant;
package gr.cite.annotation.common.types.tenant;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.tenant;
package gr.cite.annotation.common.types.tenant;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.tenant;
package gr.cite.annotation.common.types.tenant;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.tenantconfiguration;
package gr.cite.annotation.common.types.tenantconfiguration;
public class DefaultUserLocaleConfigurationDataContainer {

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.tenantconfiguration;
package gr.cite.annotation.common.types.tenantconfiguration;
public class EmailClientConfigurationDataContainer {

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.user;
package gr.cite.annotation.common.types.user;
import java.util.UUID;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.xml;
package gr.cite.annotation.common.types.xml;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.common.types.xml;
package gr.cite.annotation.common.types.xml;
import org.w3c.dom.Document;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.common.validation;
package gr.cite.annotation.common.validation;
import gr.cite.notification.convention.ConventionService;
import gr.cite.notification.errorcode.ErrorThesaurusProperties;
import gr.cite.annotation.convention.ConventionService;
import gr.cite.annotation.errorcode.ErrorThesaurusProperties;
import gr.cite.tools.exception.MyValidationException;
import gr.cite.tools.validation.AbstractValidator;
import gr.cite.tools.validation.ValidationResult;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.config.db;
package gr.cite.annotation.config.db;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.bind.ConstructorBinding;

View File

@ -1,6 +1,6 @@
package gr.cite.notification.config.db;
package gr.cite.annotation.config.db;
import gr.cite.notification.common.StringUtils;
import gr.cite.annotation.common.StringUtils;
import org.hibernate.boot.model.naming.Identifier;
import org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl;
import org.hibernate.engine.jdbc.env.spi.JdbcEnvironment;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.config.email;
package gr.cite.annotation.config.email;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.config.email;
package gr.cite.annotation.config.email;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.config.formatting;
package gr.cite.annotation.config.formatting;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.config.formatting;
package gr.cite.annotation.config.formatting;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.config.formatting;
package gr.cite.annotation.config.formatting;
import gr.cite.tools.cache.CacheOptions;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.convention;
package gr.cite.annotation.convention;
import gr.cite.tools.exception.MyApplicationException;

View File

@ -1,6 +1,6 @@
package gr.cite.notification.convention;
package gr.cite.annotation.convention;
import gr.cite.notification.errorcode.ErrorThesaurusProperties;
import gr.cite.annotation.errorcode.ErrorThesaurusProperties;
import gr.cite.tools.exception.MyApplicationException;
import gr.cite.tools.logging.LoggerService;
import org.slf4j.LoggerFactory;

View File

@ -1,8 +1,8 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
import jakarta.persistence.*;
import java.time.Instant;

View File

@ -1,8 +1,8 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.notification.data.types.JsonSQLType;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import gr.cite.annotation.data.types.JsonSQLType;
import gr.cite.queueinbox.entity.QueueInbox;
import gr.cite.queueinbox.entity.QueueInboxStatus;
import jakarta.persistence.*;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import gr.cite.queueoutbox.entity.QueueOutbox;
import gr.cite.queueoutbox.entity.QueueOutboxNotifyStatus;
import jakarta.persistence.*;

View File

@ -1,10 +1,10 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.common.enums.TenantConfigurationType;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.notification.data.conventers.TenantConfigurationTypeConverter;
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.common.enums.TenantConfigurationType;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import gr.cite.annotation.data.conventers.TenantConfigurationTypeConverter;
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
import jakarta.persistence.*;
import java.time.Instant;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import jakarta.persistence.*;
import java.time.Instant;

View File

@ -1,9 +1,9 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.commons.web.authz.service.AuthorizationService;
import gr.cite.notification.authorization.Permission;
import gr.cite.notification.common.scope.tenant.TenantScope;
import gr.cite.notification.common.scope.tenant.TenantScoped;
import gr.cite.annotation.authorization.Permission;
import gr.cite.annotation.common.scope.tenant.TenantScope;
import gr.cite.annotation.common.scope.tenant.TenantScoped;
import gr.cite.tools.exception.MyForbiddenException;
import jakarta.persistence.EntityManager;
import jakarta.persistence.FlushModeType;

View File

@ -1,8 +1,8 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
import jakarta.persistence.*;
import java.time.Instant;

View File

@ -1,10 +1,10 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.ContactInfoType;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.data.conventers.ContactInfoTypeConverter;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
import gr.cite.annotation.common.enums.ContactInfoType;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.data.conventers.ContactInfoTypeConverter;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
import jakarta.persistence.*;
import java.time.Instant;

View File

@ -1,8 +1,8 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
import jakarta.persistence.*;
import java.time.Instant;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import jakarta.persistence.*;
import java.time.Instant;

View File

@ -1,8 +1,8 @@
package gr.cite.notification.data;
package gr.cite.annotation.data;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.notification.data.conventers.IsActiveConverter;
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
import gr.cite.annotation.common.enums.IsActive;
import gr.cite.annotation.data.conventers.IsActiveConverter;
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
import jakarta.persistence.*;
import java.time.Instant;

View File

@ -1,6 +1,6 @@
package gr.cite.notification.data.conventers;
package gr.cite.annotation.data.conventers;
import gr.cite.notification.common.enums.ContactInfoType;
import gr.cite.annotation.common.enums.ContactInfoType;
import jakarta.persistence.Converter;
@Converter

View File

@ -1,4 +1,4 @@
package gr.cite.notification.data.conventers;
package gr.cite.annotation.data.conventers;
import com.fasterxml.jackson.annotation.JsonValue;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.data.conventers;
package gr.cite.annotation.data.conventers;
import jakarta.persistence.AttributeConverter;

View File

@ -1,6 +1,6 @@
package gr.cite.notification.data.conventers;
package gr.cite.annotation.data.conventers;
import gr.cite.notification.common.enums.IsActive;
import gr.cite.annotation.common.enums.IsActive;
import jakarta.persistence.Converter;
@Converter

View File

@ -1,6 +1,6 @@
package gr.cite.notification.data.conventers;
package gr.cite.annotation.data.conventers;
import gr.cite.notification.common.enums.TenantConfigurationType;
import gr.cite.annotation.common.enums.TenantConfigurationType;
import jakarta.persistence.Converter;
@Converter

View File

@ -1,8 +1,8 @@
package gr.cite.notification.data.tenant;
package gr.cite.annotation.data.tenant;
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
import gr.cite.notification.common.scope.tenant.TenantScope;
import gr.cite.annotation.common.scope.tenant.TenantScope;
import jakarta.persistence.EntityManager;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.AfterReturning;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.data.tenant;
package gr.cite.annotation.data.tenant;
import gr.cite.notification.common.scope.tenant.TenantScope;
import gr.cite.notification.common.scope.tenant.TenantScoped;
import gr.cite.annotation.common.scope.tenant.TenantScope;
import gr.cite.annotation.common.scope.tenant.TenantScoped;
import gr.cite.tools.exception.MyForbiddenException;
import gr.cite.tools.logging.LoggerService;
import jakarta.persistence.PrePersist;

View File

@ -1,6 +1,6 @@
package gr.cite.notification.data.tenant;
package gr.cite.annotation.data.tenant;
import gr.cite.notification.common.scope.tenant.TenantScoped;
import gr.cite.annotation.common.scope.tenant.TenantScoped;
import jakarta.persistence.Column;
import jakarta.persistence.EntityListeners;
import jakarta.persistence.MappedSuperclass;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.data.types;
package gr.cite.annotation.data.types;
import org.hibernate.HibernateException;
import org.hibernate.engine.spi.SharedSessionContractImplementor;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.errorcode;
package gr.cite.annotation.errorcode;
public class ErrorDescription {
private int code;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.errorcode;
package gr.cite.annotation.errorcode;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.errorcode;
package gr.cite.annotation.errorcode;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,4 +1,4 @@
package gr.cite.notification.event;
package gr.cite.annotation.event;
import gr.cite.commons.web.oidc.apikey.events.ApiKeyStaleEvent;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,7 +1,7 @@
package gr.cite.notification.integrationevent;
package gr.cite.annotation.integrationevent;
import gr.cite.notification.integrationevent.inbox.InboxProperties;
import gr.cite.notification.integrationevent.outbox.OutboxProperties;
import gr.cite.annotation.integrationevent.inbox.InboxProperties;
import gr.cite.annotation.integrationevent.outbox.OutboxProperties;
import gr.cite.queueinbox.repository.InboxRepository;
import gr.cite.rabbitmq.RabbitConfigurer;
import gr.cite.rabbitmq.consumer.InboxBindings;

Some files were not shown because too many files have changed in this diff Show More