Renaming packages on annotation service not to interfere with notification service
This commit is contained in:
parent
5c98648e56
commit
1eef4bfb1c
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.web;
|
package gr.cite.annotation.web;
|
||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
@ -11,11 +11,11 @@ import org.springframework.scheduling.annotation.EnableAsync;
|
||||||
"gr.cite",
|
"gr.cite",
|
||||||
"gr.cite.queueoutbox",
|
"gr.cite.queueoutbox",
|
||||||
"gr.cite.queueinbox",
|
"gr.cite.queueinbox",
|
||||||
"gr.cite.notification.integrationevent",
|
"gr.cite.annotation.integrationevent",
|
||||||
"gr.cite.tools",
|
"gr.cite.tools",
|
||||||
"gr.cite.commons"})
|
"gr.cite.commons"})
|
||||||
@EntityScan({
|
@EntityScan({
|
||||||
"gr.cite.notification.data"})
|
"gr.cite.annotation.data"})
|
||||||
@EnableAsync
|
@EnableAsync
|
||||||
public class AnnotationApplication {
|
public class AnnotationApplication {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package gr.cite.notification.web;
|
package gr.cite.annotation.web;
|
||||||
|
|
||||||
import gr.cite.notification.web.interceptors.UserInterceptor;
|
import gr.cite.annotation.web.interceptors.UserInterceptor;
|
||||||
import gr.cite.notification.web.scope.tenant.TenantInterceptor;
|
import gr.cite.annotation.web.scope.tenant.TenantInterceptor;
|
||||||
import gr.cite.notification.web.scope.tenant.TenantScopeClaimInterceptor;
|
import gr.cite.annotation.web.scope.tenant.TenantScopeClaimInterceptor;
|
||||||
import gr.cite.notification.web.scope.tenant.TenantScopeHeaderInterceptor;
|
import gr.cite.annotation.web.scope.tenant.TenantScopeHeaderInterceptor;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
@ -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.AuthorizationHandler;
|
||||||
import gr.cite.commons.web.authz.handler.AuthorizationHandlerContext;
|
import gr.cite.commons.web.authz.handler.AuthorizationHandlerContext;
|
||||||
import gr.cite.commons.web.authz.policy.AuthorizationRequirement;
|
import gr.cite.commons.web.authz.policy.AuthorizationRequirement;
|
||||||
import gr.cite.commons.web.oidc.principal.MyPrincipal;
|
import gr.cite.commons.web.oidc.principal.MyPrincipal;
|
||||||
import gr.cite.notification.authorization.OwnedAuthorizationRequirement;
|
import gr.cite.annotation.authorization.OwnedAuthorizationRequirement;
|
||||||
import gr.cite.notification.authorization.OwnedResource;
|
import gr.cite.annotation.authorization.OwnedResource;
|
||||||
import gr.cite.notification.common.scope.user.UserScope;
|
import gr.cite.annotation.common.scope.user.UserScope;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
|
@ -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.MessageSource;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
|
@ -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.AuthorizationHandler;
|
||||||
import gr.cite.commons.web.authz.handler.PermissionClientAuthorizationHandler;
|
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.AuthorizationPolicyConfigurer;
|
||||||
import gr.cite.commons.web.authz.policy.resolver.AuthorizationPolicyResolverStrategy;
|
import gr.cite.commons.web.authz.policy.resolver.AuthorizationPolicyResolverStrategy;
|
||||||
import gr.cite.commons.web.oidc.configuration.WebSecurityProperties;
|
import gr.cite.commons.web.oidc.configuration.WebSecurityProperties;
|
||||||
import gr.cite.notification.authorization.OwnedAuthorizationRequirement;
|
import gr.cite.annotation.authorization.OwnedAuthorizationRequirement;
|
||||||
import gr.cite.notification.authorization.OwnedResource;
|
import gr.cite.annotation.authorization.OwnedResource;
|
||||||
import gr.cite.notification.web.authorization.OwnedAuthorizationHandler;
|
import gr.cite.annotation.web.authorization.OwnedAuthorizationHandler;
|
||||||
import jakarta.servlet.Filter;
|
import jakarta.servlet.Filter;
|
||||||
import jakarta.servlet.http.HttpServletRequest;
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@ -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.exception.*;
|
||||||
import gr.cite.tools.logging.LoggerService;
|
import gr.cite.tools.logging.LoggerService;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -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.CurrentPrincipalResolver;
|
||||||
import gr.cite.commons.web.oidc.principal.MyPrincipal;
|
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.ClaimExtractor;
|
||||||
import gr.cite.notification.audit.AuditableAction;
|
import gr.cite.annotation.audit.AuditableAction;
|
||||||
import gr.cite.notification.common.scope.tenant.TenantScope;
|
import gr.cite.annotation.common.scope.tenant.TenantScope;
|
||||||
import gr.cite.notification.web.model.Account;
|
import gr.cite.annotation.web.model.Account;
|
||||||
import gr.cite.notification.web.model.AccountBuilder;
|
import gr.cite.annotation.web.model.AccountBuilder;
|
||||||
import gr.cite.tools.auditing.AuditService;
|
import gr.cite.tools.auditing.AuditService;
|
||||||
import gr.cite.tools.fieldset.BaseFieldSet;
|
import gr.cite.tools.fieldset.BaseFieldSet;
|
||||||
import gr.cite.tools.fieldset.FieldSet;
|
import gr.cite.tools.fieldset.FieldSet;
|
|
@ -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.annotation.audit.AuditableAction;
|
||||||
import gr.cite.notification.authorization.AuthorizationFlags;
|
import gr.cite.annotation.authorization.AuthorizationFlags;
|
||||||
import gr.cite.notification.common.enums.TenantConfigurationType;
|
import gr.cite.annotation.common.enums.TenantConfigurationType;
|
||||||
import gr.cite.notification.data.TenantConfigurationEntity;
|
import gr.cite.annotation.data.TenantConfigurationEntity;
|
||||||
import gr.cite.notification.model.TenantConfiguration;
|
import gr.cite.annotation.model.TenantConfiguration;
|
||||||
import gr.cite.notification.model.builder.TenantConfigurationBuilder;
|
import gr.cite.annotation.model.builder.TenantConfigurationBuilder;
|
||||||
import gr.cite.notification.model.censorship.TenantConfigurationCensor;
|
import gr.cite.annotation.model.censorship.TenantConfigurationCensor;
|
||||||
import gr.cite.notification.model.persist.tenantconfiguration.TenantConfigurationEmailClientPersist;
|
import gr.cite.annotation.model.persist.tenantconfiguration.TenantConfigurationEmailClientPersist;
|
||||||
import gr.cite.notification.query.TenantConfigurationQuery;
|
import gr.cite.annotation.query.TenantConfigurationQuery;
|
||||||
import gr.cite.notification.query.lookup.TenantConfigurationLookup;
|
import gr.cite.annotation.query.lookup.TenantConfigurationLookup;
|
||||||
import gr.cite.notification.service.tenantconfiguration.TenantConfigurationService;
|
import gr.cite.annotation.service.tenantconfiguration.TenantConfigurationService;
|
||||||
import gr.cite.notification.web.model.QueryResult;
|
import gr.cite.annotation.web.model.QueryResult;
|
||||||
import gr.cite.tools.auditing.AuditService;
|
import gr.cite.tools.auditing.AuditService;
|
||||||
import gr.cite.tools.data.builder.BuilderFactory;
|
import gr.cite.tools.data.builder.BuilderFactory;
|
||||||
import gr.cite.tools.data.censor.CensorFactory;
|
import gr.cite.tools.data.censor.CensorFactory;
|
|
@ -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.CurrentPrincipalResolver;
|
||||||
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
|
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
|
||||||
import gr.cite.notification.common.JsonHandlingService;
|
import gr.cite.annotation.common.JsonHandlingService;
|
||||||
import gr.cite.notification.common.lock.LockByKeyManager;
|
import gr.cite.annotation.common.lock.LockByKeyManager;
|
||||||
import gr.cite.notification.common.scope.user.UserScope;
|
import gr.cite.annotation.common.scope.user.UserScope;
|
||||||
import gr.cite.notification.data.UserCredentialEntity;
|
import gr.cite.annotation.data.UserCredentialEntity;
|
||||||
import gr.cite.notification.model.UserCredential;
|
import gr.cite.annotation.model.UserCredential;
|
||||||
import gr.cite.notification.query.UserCredentialQuery;
|
import gr.cite.annotation.query.UserCredentialQuery;
|
||||||
import gr.cite.tools.data.query.QueryFactory;
|
import gr.cite.tools.data.query.QueryFactory;
|
||||||
import gr.cite.tools.exception.MyForbiddenException;
|
import gr.cite.tools.exception.MyForbiddenException;
|
||||||
import gr.cite.tools.fieldset.BaseFieldSet;
|
import gr.cite.tools.fieldset.BaseFieldSet;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.web.interceptors;
|
package gr.cite.annotation.web.interceptors;
|
||||||
|
|
||||||
import gr.cite.tools.cache.CacheOptions;
|
import gr.cite.tools.cache.CacheOptions;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.web.interceptors;
|
package gr.cite.annotation.web.interceptors;
|
||||||
|
|
||||||
import gr.cite.tools.cache.CacheService;
|
import gr.cite.tools.cache.CacheService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.web.model;
|
package gr.cite.annotation.web.model;
|
||||||
|
|
||||||
import gr.cite.tools.logging.annotation.LogSensitive;
|
import gr.cite.tools.logging.annotation.LogSensitive;
|
||||||
|
|
|
@ -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.authz.configuration.AuthorizationConfiguration;
|
||||||
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
|
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
|
||||||
import gr.cite.commons.web.oidc.principal.MyPrincipal;
|
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.ClaimExtractor;
|
||||||
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractorKeys;
|
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.BaseFieldSet;
|
||||||
import gr.cite.tools.fieldset.FieldSet;
|
import gr.cite.tools.fieldset.FieldSet;
|
||||||
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
|
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.web.model;
|
package gr.cite.annotation.web.model;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -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 gr.cite.tools.cache.CacheOptions;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ -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.annotation.convention.ConventionService;
|
||||||
import gr.cite.notification.event.TenantTouchedEvent;
|
import gr.cite.annotation.event.TenantTouchedEvent;
|
||||||
import gr.cite.tools.cache.CacheService;
|
import gr.cite.tools.cache.CacheService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.event.EventListener;
|
import org.springframework.context.event.EventListener;
|
|
@ -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 gr.cite.tools.cache.CacheOptions;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ -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.annotation.convention.ConventionService;
|
||||||
import gr.cite.notification.event.TenantTouchedEvent;
|
import gr.cite.annotation.event.TenantTouchedEvent;
|
||||||
import gr.cite.tools.cache.CacheService;
|
import gr.cite.tools.cache.CacheService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.event.EventListener;
|
import org.springframework.context.event.EventListener;
|
|
@ -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.authz.service.AuthorizationService;
|
||||||
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
|
import gr.cite.commons.web.oidc.principal.CurrentPrincipalResolver;
|
||||||
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
|
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
|
||||||
import gr.cite.notification.authorization.Permission;
|
import gr.cite.annotation.authorization.Permission;
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.common.scope.tenant.TenantScope;
|
import gr.cite.annotation.common.scope.tenant.TenantScope;
|
||||||
import gr.cite.notification.common.scope.user.UserScope;
|
import gr.cite.annotation.common.scope.user.UserScope;
|
||||||
import gr.cite.notification.data.TenantUserEntity;
|
import gr.cite.annotation.data.TenantUserEntity;
|
||||||
import gr.cite.notification.data.UserEntity;
|
import gr.cite.annotation.data.UserEntity;
|
||||||
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
|
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
|
||||||
import gr.cite.notification.errorcode.ErrorThesaurusProperties;
|
import gr.cite.annotation.errorcode.ErrorThesaurusProperties;
|
||||||
import gr.cite.tools.exception.MyForbiddenException;
|
import gr.cite.tools.exception.MyForbiddenException;
|
||||||
import gr.cite.tools.logging.LoggerService;
|
import gr.cite.tools.logging.LoggerService;
|
||||||
import jakarta.persistence.EntityManager;
|
import jakarta.persistence.EntityManager;
|
|
@ -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.CurrentPrincipalResolver;
|
||||||
import gr.cite.commons.web.oidc.principal.MyPrincipal;
|
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.ClaimExtractor;
|
||||||
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractorContext;
|
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractorContext;
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.common.scope.tenant.TenantScope;
|
import gr.cite.annotation.common.scope.tenant.TenantScope;
|
||||||
import gr.cite.notification.convention.ConventionService;
|
import gr.cite.annotation.convention.ConventionService;
|
||||||
import gr.cite.notification.data.TenantEntity;
|
import gr.cite.annotation.data.TenantEntity;
|
||||||
import gr.cite.notification.errorcode.ErrorThesaurusProperties;
|
import gr.cite.annotation.errorcode.ErrorThesaurusProperties;
|
||||||
import gr.cite.tools.exception.MyForbiddenException;
|
import gr.cite.tools.exception.MyForbiddenException;
|
||||||
import gr.cite.tools.logging.LoggerService;
|
import gr.cite.tools.logging.LoggerService;
|
||||||
import jakarta.persistence.EntityManager;
|
import jakarta.persistence.EntityManager;
|
|
@ -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.boot.context.properties.EnableConfigurationProperties;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
|
@ -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.CurrentPrincipalResolver;
|
||||||
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractorContext;
|
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractorContext;
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.common.scope.tenant.TenantScope;
|
import gr.cite.annotation.common.scope.tenant.TenantScope;
|
||||||
import gr.cite.notification.convention.ConventionService;
|
import gr.cite.annotation.convention.ConventionService;
|
||||||
import gr.cite.notification.data.TenantEntity;
|
import gr.cite.annotation.data.TenantEntity;
|
||||||
import gr.cite.tools.logging.LoggerService;
|
import gr.cite.tools.logging.LoggerService;
|
||||||
import jakarta.persistence.EntityManager;
|
import jakarta.persistence.EntityManager;
|
||||||
import jakarta.persistence.PersistenceContext;
|
import jakarta.persistence.PersistenceContext;
|
|
@ -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;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ -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 gr.cite.tools.cache.CacheOptions;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ -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.annotation.event.UserAddedToTenantEvent;
|
||||||
import gr.cite.notification.event.UserRemovedFromTenantEvent;
|
import gr.cite.annotation.event.UserRemovedFromTenantEvent;
|
||||||
import gr.cite.tools.cache.CacheService;
|
import gr.cite.tools.cache.CacheService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.event.EventListener;
|
import org.springframework.context.event.EventListener;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.audit;
|
package gr.cite.annotation.audit;
|
||||||
|
|
||||||
import gr.cite.tools.logging.EventId;
|
import gr.cite.tools.logging.EventId;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.authorization;
|
package gr.cite.annotation.authorization;
|
||||||
|
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.authorization;
|
package gr.cite.annotation.authorization;
|
||||||
|
|
||||||
import gr.cite.commons.web.authz.policy.AuthorizationRequirement;
|
import gr.cite.commons.web.authz.policy.AuthorizationRequirement;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.authorization;
|
package gr.cite.annotation.authorization;
|
||||||
|
|
||||||
import gr.cite.commons.web.authz.policy.AuthorizationResource;
|
import gr.cite.commons.web.authz.policy.AuthorizationResource;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.authorization;
|
package gr.cite.annotation.authorization;
|
||||||
|
|
||||||
public final class Permission {
|
public final class Permission {
|
||||||
//User
|
//User
|
|
@ -1,7 +1,7 @@
|
||||||
package gr.cite.notification.cache;
|
package gr.cite.annotation.cache;
|
||||||
|
|
||||||
import gr.cite.notification.config.formatting.FormattingUserprofileCacheOptions;
|
import gr.cite.annotation.config.formatting.FormattingUserprofileCacheOptions;
|
||||||
import gr.cite.notification.event.UserTouchedEvent;
|
import gr.cite.annotation.event.UserTouchedEvent;
|
||||||
import gr.cite.tools.cache.CacheService;
|
import gr.cite.tools.cache.CacheService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.event.EventListener;
|
import org.springframework.context.event.EventListener;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.common;
|
package gr.cite.annotation.common;
|
||||||
|
|
||||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.common;
|
package gr.cite.annotation.common;
|
||||||
|
|
||||||
public class StringUtils {
|
public class StringUtils {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package gr.cite.notification.common;
|
package gr.cite.annotation.common;
|
||||||
|
|
||||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
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.JAXBContext;
|
||||||
import jakarta.xml.bind.JAXBException;
|
import jakarta.xml.bind.JAXBException;
|
||||||
import jakarta.xml.bind.Marshaller;
|
import jakarta.xml.bind.Marshaller;
|
|
@ -1,7 +1,7 @@
|
||||||
package gr.cite.notification.common.enums;
|
package gr.cite.annotation.common.enums;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonValue;
|
import com.fasterxml.jackson.annotation.JsonValue;
|
||||||
import gr.cite.notification.data.conventers.DatabaseEnum;
|
import gr.cite.annotation.data.conventers.DatabaseEnum;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
|
@ -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.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
|
@ -1,7 +1,7 @@
|
||||||
package gr.cite.notification.common.enums;
|
package gr.cite.annotation.common.enums;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonValue;
|
import com.fasterxml.jackson.annotation.JsonValue;
|
||||||
import gr.cite.notification.data.conventers.DatabaseEnum;
|
import gr.cite.annotation.data.conventers.DatabaseEnum;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package gr.cite.notification.common.enums;
|
package gr.cite.annotation.common.enums;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonValue;
|
import com.fasterxml.jackson.annotation.JsonValue;
|
||||||
import gr.cite.notification.data.conventers.DatabaseEnum;
|
import gr.cite.annotation.data.conventers.DatabaseEnum;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.common.lock;
|
package gr.cite.annotation.common.lock;
|
||||||
|
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
|
@ -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.util.Assert;
|
||||||
import org.springframework.web.context.request.RequestAttributes;
|
import org.springframework.web.context.request.RequestAttributes;
|
|
@ -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.RequestAttributes;
|
||||||
import org.springframework.web.context.request.RequestContextHolder;
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
@ -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.boot.context.properties.EnableConfigurationProperties;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
|
@ -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;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
|
|
|
@ -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 gr.cite.tools.logging.LoggerService;
|
||||||
import jakarta.persistence.EntityManager;
|
import jakarta.persistence.EntityManager;
|
||||||
import org.hibernate.Session;
|
import org.hibernate.Session;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.common.scope.tenant;
|
package gr.cite.annotation.common.scope.tenant;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
|
@ -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 gr.cite.tools.logging.LoggerService;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.common.types.notification;
|
package gr.cite.annotation.common.types.notification;
|
||||||
|
|
||||||
public class Attachment {
|
public class Attachment {
|
||||||
|
|
|
@ -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 {
|
public class ContactPair {
|
||||||
private ContactInfoType type;
|
private ContactInfoType type;
|
|
@ -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.XmlAccessType;
|
|
@ -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.XmlAccessType;
|
||||||
import jakarta.xml.bind.annotation.XmlAccessorType;
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
@ -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.XmlAccessType;
|
||||||
import jakarta.xml.bind.annotation.XmlAccessorType;
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
@ -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.XmlAccessType;
|
||||||
import jakarta.xml.bind.annotation.XmlAccessorType;
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.common.types.tenantconfiguration;
|
package gr.cite.annotation.common.types.tenantconfiguration;
|
||||||
|
|
||||||
public class DefaultUserLocaleConfigurationDataContainer {
|
public class DefaultUserLocaleConfigurationDataContainer {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.common.types.tenantconfiguration;
|
package gr.cite.annotation.common.types.tenantconfiguration;
|
||||||
|
|
||||||
public class EmailClientConfigurationDataContainer {
|
public class EmailClientConfigurationDataContainer {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.common.types.user;
|
package gr.cite.annotation.common.types.user;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
|
@ -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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.common.types.xml;
|
package gr.cite.annotation.common.types.xml;
|
||||||
|
|
||||||
|
|
||||||
import org.w3c.dom.Document;
|
import org.w3c.dom.Document;
|
|
@ -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.annotation.convention.ConventionService;
|
||||||
import gr.cite.notification.errorcode.ErrorThesaurusProperties;
|
import gr.cite.annotation.errorcode.ErrorThesaurusProperties;
|
||||||
import gr.cite.tools.exception.MyValidationException;
|
import gr.cite.tools.exception.MyValidationException;
|
||||||
import gr.cite.tools.validation.AbstractValidator;
|
import gr.cite.tools.validation.AbstractValidator;
|
||||||
import gr.cite.tools.validation.ValidationResult;
|
import gr.cite.tools.validation.ValidationResult;
|
|
@ -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.ConfigurationProperties;
|
||||||
import org.springframework.boot.context.properties.bind.ConstructorBinding;
|
import org.springframework.boot.context.properties.bind.ConstructorBinding;
|
|
@ -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.Identifier;
|
||||||
import org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl;
|
import org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl;
|
||||||
import org.hibernate.engine.jdbc.env.spi.JdbcEnvironment;
|
import org.hibernate.engine.jdbc.env.spi.JdbcEnvironment;
|
|
@ -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.boot.context.properties.EnableConfigurationProperties;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.config.email;
|
package gr.cite.annotation.config.email;
|
||||||
|
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
|
|
|
@ -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.boot.context.properties.EnableConfigurationProperties;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.config.formatting;
|
package gr.cite.annotation.config.formatting;
|
||||||
|
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.config.formatting;
|
package gr.cite.annotation.config.formatting;
|
||||||
|
|
||||||
import gr.cite.tools.cache.CacheOptions;
|
import gr.cite.tools.cache.CacheOptions;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.convention;
|
package gr.cite.annotation.convention;
|
||||||
|
|
||||||
import gr.cite.tools.exception.MyApplicationException;
|
import gr.cite.tools.exception.MyApplicationException;
|
||||||
|
|
|
@ -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.exception.MyApplicationException;
|
||||||
import gr.cite.tools.logging.LoggerService;
|
import gr.cite.tools.logging.LoggerService;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -1,8 +1,8 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
|
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
|
@ -1,8 +1,8 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import gr.cite.notification.data.types.JsonSQLType;
|
import gr.cite.annotation.data.types.JsonSQLType;
|
||||||
import gr.cite.queueinbox.entity.QueueInbox;
|
import gr.cite.queueinbox.entity.QueueInbox;
|
||||||
import gr.cite.queueinbox.entity.QueueInboxStatus;
|
import gr.cite.queueinbox.entity.QueueInboxStatus;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
|
@ -1,7 +1,7 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import gr.cite.queueoutbox.entity.QueueOutbox;
|
import gr.cite.queueoutbox.entity.QueueOutbox;
|
||||||
import gr.cite.queueoutbox.entity.QueueOutboxNotifyStatus;
|
import gr.cite.queueoutbox.entity.QueueOutboxNotifyStatus;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
|
@ -1,10 +1,10 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.common.enums.TenantConfigurationType;
|
import gr.cite.annotation.common.enums.TenantConfigurationType;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import gr.cite.notification.data.conventers.TenantConfigurationTypeConverter;
|
import gr.cite.annotation.data.conventers.TenantConfigurationTypeConverter;
|
||||||
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
|
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
|
@ -1,7 +1,7 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
|
@ -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.commons.web.authz.service.AuthorizationService;
|
||||||
import gr.cite.notification.authorization.Permission;
|
import gr.cite.annotation.authorization.Permission;
|
||||||
import gr.cite.notification.common.scope.tenant.TenantScope;
|
import gr.cite.annotation.common.scope.tenant.TenantScope;
|
||||||
import gr.cite.notification.common.scope.tenant.TenantScoped;
|
import gr.cite.annotation.common.scope.tenant.TenantScoped;
|
||||||
import gr.cite.tools.exception.MyForbiddenException;
|
import gr.cite.tools.exception.MyForbiddenException;
|
||||||
import jakarta.persistence.EntityManager;
|
import jakarta.persistence.EntityManager;
|
||||||
import jakarta.persistence.FlushModeType;
|
import jakarta.persistence.FlushModeType;
|
|
@ -1,8 +1,8 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
|
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
|
@ -1,10 +1,10 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.ContactInfoType;
|
import gr.cite.annotation.common.enums.ContactInfoType;
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.data.conventers.ContactInfoTypeConverter;
|
import gr.cite.annotation.data.conventers.ContactInfoTypeConverter;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
|
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
|
@ -1,8 +1,8 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
|
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
|
@ -1,7 +1,7 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
|
@ -1,8 +1,8 @@
|
||||||
package gr.cite.notification.data;
|
package gr.cite.annotation.data;
|
||||||
|
|
||||||
import gr.cite.notification.common.enums.IsActive;
|
import gr.cite.annotation.common.enums.IsActive;
|
||||||
import gr.cite.notification.data.conventers.IsActiveConverter;
|
import gr.cite.annotation.data.conventers.IsActiveConverter;
|
||||||
import gr.cite.notification.data.tenant.TenantScopedBaseEntity;
|
import gr.cite.annotation.data.tenant.TenantScopedBaseEntity;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
|
@ -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;
|
import jakarta.persistence.Converter;
|
||||||
|
|
||||||
@Converter
|
@Converter
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.data.conventers;
|
package gr.cite.annotation.data.conventers;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonValue;
|
import com.fasterxml.jackson.annotation.JsonValue;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.data.conventers;
|
package gr.cite.annotation.data.conventers;
|
||||||
|
|
||||||
|
|
||||||
import jakarta.persistence.AttributeConverter;
|
import jakarta.persistence.AttributeConverter;
|
|
@ -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;
|
import jakarta.persistence.Converter;
|
||||||
|
|
||||||
@Converter
|
@Converter
|
|
@ -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;
|
import jakarta.persistence.Converter;
|
||||||
|
|
||||||
@Converter
|
@Converter
|
|
@ -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.CurrentPrincipalResolver;
|
||||||
import gr.cite.commons.web.oidc.principal.extractor.ClaimExtractor;
|
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 jakarta.persistence.EntityManager;
|
||||||
import org.aspectj.lang.JoinPoint;
|
import org.aspectj.lang.JoinPoint;
|
||||||
import org.aspectj.lang.annotation.AfterReturning;
|
import org.aspectj.lang.annotation.AfterReturning;
|
|
@ -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.annotation.common.scope.tenant.TenantScope;
|
||||||
import gr.cite.notification.common.scope.tenant.TenantScoped;
|
import gr.cite.annotation.common.scope.tenant.TenantScoped;
|
||||||
import gr.cite.tools.exception.MyForbiddenException;
|
import gr.cite.tools.exception.MyForbiddenException;
|
||||||
import gr.cite.tools.logging.LoggerService;
|
import gr.cite.tools.logging.LoggerService;
|
||||||
import jakarta.persistence.PrePersist;
|
import jakarta.persistence.PrePersist;
|
|
@ -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.Column;
|
||||||
import jakarta.persistence.EntityListeners;
|
import jakarta.persistence.EntityListeners;
|
||||||
import jakarta.persistence.MappedSuperclass;
|
import jakarta.persistence.MappedSuperclass;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.data.types;
|
package gr.cite.annotation.data.types;
|
||||||
|
|
||||||
import org.hibernate.HibernateException;
|
import org.hibernate.HibernateException;
|
||||||
import org.hibernate.engine.spi.SharedSessionContractImplementor;
|
import org.hibernate.engine.spi.SharedSessionContractImplementor;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.errorcode;
|
package gr.cite.annotation.errorcode;
|
||||||
|
|
||||||
public class ErrorDescription {
|
public class ErrorDescription {
|
||||||
private int code;
|
private int code;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.errorcode;
|
package gr.cite.annotation.errorcode;
|
||||||
|
|
||||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.errorcode;
|
package gr.cite.annotation.errorcode;
|
||||||
|
|
||||||
|
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.event;
|
package gr.cite.annotation.event;
|
||||||
|
|
||||||
import gr.cite.commons.web.oidc.apikey.events.ApiKeyStaleEvent;
|
import gr.cite.commons.web.oidc.apikey.events.ApiKeyStaleEvent;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.event;
|
package gr.cite.annotation.event;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.event;
|
package gr.cite.annotation.event;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.event;
|
package gr.cite.annotation.event;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gr.cite.notification.event;
|
package gr.cite.annotation.event;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package gr.cite.notification.integrationevent;
|
package gr.cite.annotation.integrationevent;
|
||||||
|
|
||||||
import gr.cite.notification.integrationevent.inbox.InboxProperties;
|
import gr.cite.annotation.integrationevent.inbox.InboxProperties;
|
||||||
import gr.cite.notification.integrationevent.outbox.OutboxProperties;
|
import gr.cite.annotation.integrationevent.outbox.OutboxProperties;
|
||||||
import gr.cite.queueinbox.repository.InboxRepository;
|
import gr.cite.queueinbox.repository.InboxRepository;
|
||||||
import gr.cite.rabbitmq.RabbitConfigurer;
|
import gr.cite.rabbitmq.RabbitConfigurer;
|
||||||
import gr.cite.rabbitmq.consumer.InboxBindings;
|
import gr.cite.rabbitmq.consumer.InboxBindings;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue