mirror of https://github.com/apache/archiva.git
Changing package for audit events
This commit is contained in:
parent
405687b120
commit
391442c6a0
|
@ -27,7 +27,7 @@ import org.apache.archiva.metadata.repository.*;
|
|||
import org.apache.archiva.model.ArtifactReference;
|
||||
import org.apache.archiva.repository.ContentNotFoundException;
|
||||
import org.apache.archiva.repository.ManagedRepositoryContent;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.repository.storage.StorageAsset;
|
||||
import org.apache.archiva.repository.storage.StorageUtil;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
|
|
@ -33,7 +33,7 @@ import org.apache.archiva.repository.ManagedRepositoryContent;
|
|||
import org.apache.archiva.repository.ReleaseScheme;
|
||||
import org.apache.archiva.repository.RepositoryException;
|
||||
import org.apache.archiva.repository.RepositoryRegistry;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.repository.metadata.MetadataTools;
|
||||
import org.apache.archiva.repository.metadata.RepositoryMetadataException;
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.archiva.model.VersionedReference;
|
|||
import org.apache.archiva.repository.ContentNotFoundException;
|
||||
import org.apache.archiva.repository.LayoutException;
|
||||
import org.apache.archiva.repository.ManagedRepositoryContent;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.repository.storage.StorageAsset;
|
||||
|
||||
import java.nio.file.Files;
|
||||
|
|
|
@ -33,7 +33,7 @@ import org.apache.archiva.repository.ManagedRepository;
|
|||
import org.apache.archiva.repository.ManagedRepositoryContent;
|
||||
import org.apache.archiva.repository.RepositoryContentFactory;
|
||||
import org.apache.archiva.repository.RepositoryRegistry;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.repository.features.ArtifactCleanupFeature;
|
||||
import org.apache.archiva.repository.metadata.MetadataTools;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.archiva.model.VersionedReference;
|
|||
import org.apache.archiva.repository.ContentNotFoundException;
|
||||
import org.apache.archiva.repository.LayoutException;
|
||||
import org.apache.archiva.repository.ManagedRepositoryContent;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.apache.archiva.repository.BasicManagedRepository;
|
|||
import org.apache.archiva.repository.ManagedRepositoryContent;
|
||||
import org.apache.archiva.repository.ReleaseScheme;
|
||||
import org.apache.archiva.repository.RepositoryContentProvider;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.repository.features.ArtifactCleanupFeature;
|
||||
import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.archiva.metadata.model.MetadataFacet;
|
|||
import org.apache.archiva.repository.ManagedRepository;
|
||||
import org.apache.archiva.repository.RepositoryContentFactory;
|
||||
import org.apache.archiva.repository.RepositoryRegistry;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.repository.metadata.MetadataTools;
|
||||
import org.custommonkey.xmlunit.XMLAssert;
|
||||
import org.easymock.EasyMock;
|
||||
|
|
|
@ -20,7 +20,7 @@ package org.apache.archiva.consumers.core.repository;
|
|||
*/
|
||||
|
||||
import org.apache.archiva.metadata.model.ArtifactMetadata;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.repository.features.ArtifactCleanupFeature;
|
||||
import org.easymock.EasyMock;
|
||||
import org.junit.After;
|
||||
|
|
|
@ -20,7 +20,7 @@ package org.apache.archiva.consumers.core.repository;
|
|||
*/
|
||||
|
||||
import org.apache.archiva.metadata.model.ArtifactMetadata;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.repository.features.ArtifactCleanupFeature;
|
||||
import org.easymock.EasyMock;
|
||||
import org.junit.After;
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.apache.archiva.metadata.model.facets.AuditEvent;
|
|||
import org.apache.archiva.redback.components.registry.Registry;
|
||||
import org.apache.archiva.redback.users.User;
|
||||
import org.apache.archiva.repository.Repository;
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
import org.apache.archiva.metadata.audit.AuditListener;
|
||||
import org.apache.archiva.repository.features.IndexCreationFeature;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.modelmapper.ModelMapper;
|
||||
|
|
|
@ -19,7 +19,7 @@ package org.apache.archiva.admin.mock;
|
|||
*/
|
||||
|
||||
import org.apache.archiva.metadata.model.facets.AuditEvent;
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
import org.apache.archiva.metadata.audit.AuditListener;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
|
@ -40,7 +40,7 @@ import org.apache.archiva.repository.ManagedRepository;
|
|||
import org.apache.archiva.repository.ManagedRepositoryContent;
|
||||
import org.apache.archiva.repository.RepositoryException;
|
||||
import org.apache.archiva.repository.RepositoryRegistry;
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
import org.apache.archiva.metadata.audit.AuditListener;
|
||||
import org.apache.archiva.rest.api.services.ArchivaRestServiceException;
|
||||
import org.apache.archiva.rest.services.utils.ArtifactBuilder;
|
||||
import org.apache.archiva.scheduler.repository.model.RepositoryArchivaTaskScheduler;
|
||||
|
|
|
@ -53,7 +53,7 @@ import org.apache.archiva.repository.RepositoryRegistry;
|
|||
import org.apache.archiva.repository.storage.RepositoryStorage;
|
||||
import org.apache.archiva.repository.storage.StorageAsset;
|
||||
import org.apache.archiva.repository.storage.StorageUtil;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.repository.metadata.MetadataTools;
|
||||
import org.apache.archiva.repository.metadata.RepositoryMetadataException;
|
||||
import org.apache.archiva.repository.metadata.RepositoryMetadataWriter;
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.apache.archiva.policies.ProxyDownloadException;
|
|||
import org.apache.archiva.redback.components.taskqueue.TaskQueueException;
|
||||
import org.apache.archiva.repository.ManagedRepository;
|
||||
import org.apache.archiva.repository.ManagedRepositoryContent;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.scheduler.repository.model.RepositoryArchivaTaskScheduler;
|
||||
import org.apache.archiva.scheduler.repository.model.RepositoryTask;
|
||||
import org.apache.archiva.xml.XMLException;
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.apache.archiva.metadata.model.facets.AuditEvent;
|
|||
import org.apache.archiva.repository.LayoutException;
|
||||
import org.apache.archiva.repository.storage.RepositoryStorage;
|
||||
import org.apache.archiva.repository.storage.StorageAsset;
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
import org.apache.archiva.metadata.audit.AuditListener;
|
||||
import org.apache.archiva.scheduler.ArchivaTaskScheduler;
|
||||
import org.apache.archiva.scheduler.repository.model.RepositoryArchivaTaskScheduler;
|
||||
import org.apache.archiva.scheduler.repository.model.RepositoryTask;
|
||||
|
|
|
@ -68,7 +68,7 @@ import org.apache.archiva.repository.RepositoryRegistry;
|
|||
import org.apache.archiva.repository.RepositoryRequestInfo;
|
||||
import org.apache.archiva.repository.storage.FilesystemStorage;
|
||||
import org.apache.archiva.repository.storage.StorageAsset;
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
import org.apache.archiva.metadata.audit.AuditListener;
|
||||
import org.apache.archiva.repository.features.IndexCreationFeature;
|
||||
import org.apache.archiva.repository.metadata.MetadataTools;
|
||||
import org.apache.archiva.repository.metadata.RepositoryMetadataException;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.archiva.repository.audit;
|
||||
package org.apache.archiva.metadata.audit;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -20,7 +20,6 @@ package org.apache.archiva.repository.audit;
|
|||
*/
|
||||
|
||||
import org.apache.archiva.metadata.model.facets.AuditEvent;
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -25,7 +25,7 @@ import org.apache.archiva.common.utils.FileUtils;
|
|||
import org.apache.archiva.repository.LayoutException;
|
||||
import org.apache.archiva.repository.RepositoryRegistry;
|
||||
import org.apache.archiva.repository.storage.FilesystemAsset;
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
import org.apache.archiva.metadata.audit.AuditListener;
|
||||
import org.apache.archiva.repository.maven2.MavenManagedRepository;
|
||||
import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner;
|
||||
import org.apache.archiva.webdav.util.MimeTypes;
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.apache.archiva.redback.system.SecuritySession;
|
|||
import org.apache.archiva.redback.users.User;
|
||||
import org.apache.archiva.redback.users.memory.SimpleUser;
|
||||
import org.apache.archiva.repository.RepositoryRegistry;
|
||||
import org.apache.archiva.repository.audit.TestAuditListener;
|
||||
import org.apache.archiva.metadata.audit.TestAuditListener;
|
||||
import org.apache.archiva.security.ServletAuthenticator;
|
||||
import org.apache.archiva.security.common.ArchivaRoleConstants;
|
||||
import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.archiva.repository.events;
|
||||
package org.apache.archiva.metadata.audit;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.archiva.repository.event;
|
||||
package org.apache.archiva.metadata.audit;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -30,7 +30,7 @@ import org.apache.archiva.metadata.repository.storage.RepositoryStorageMetadataI
|
|||
import org.apache.archiva.metadata.repository.storage.RepositoryStorageMetadataNotFoundException;
|
||||
import org.apache.archiva.metadata.repository.storage.RepositoryStorageRuntimeException;
|
||||
import org.apache.archiva.redback.components.cache.Cache;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
|
@ -20,7 +20,7 @@ package org.apache.archiva.audit;
|
|||
*/
|
||||
|
||||
import org.apache.archiva.metadata.model.facets.AuditEvent;
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
import org.apache.archiva.metadata.audit.AuditListener;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
|
@ -19,7 +19,7 @@ package org.apache.archiva.audit;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
import org.apache.archiva.metadata.audit.AuditListener;
|
||||
|
||||
/**
|
||||
* Auditable
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.apache.archiva.metadata.model.facets.AuditEvent;
|
|||
import org.apache.archiva.metadata.repository.MetadataRepositoryException;
|
||||
import org.apache.archiva.metadata.repository.RepositorySession;
|
||||
import org.apache.archiva.metadata.repository.RepositorySessionFactory;
|
||||
import org.apache.archiva.repository.events.AuditListener;
|
||||
import org.apache.archiva.metadata.audit.AuditListener;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
|
@ -36,7 +36,7 @@ import org.apache.archiva.model.ArtifactReference;
|
|||
import org.apache.archiva.policies.ProxyDownloadException;
|
||||
import org.apache.archiva.repository.ManagedRepository;
|
||||
import org.apache.archiva.repository.ManagedRepositoryContent;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.apache.archiva.xml.XMLException;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.apache.archiva.metadata.repository.MetadataRepositoryException;
|
|||
import org.apache.archiva.metadata.repository.RepositorySession;
|
||||
import org.apache.archiva.metadata.repository.RepositorySessionFactory;
|
||||
import org.apache.archiva.metadata.repository.storage.RepositoryStorageMetadataException;
|
||||
import org.apache.archiva.repository.event.RepositoryListener;
|
||||
import org.apache.archiva.metadata.audit.RepositoryListener;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
Loading…
Reference in New Issue