Commit Graph

4968 Commits

Author SHA1 Message Date
Martin Stockhammer 4ca2dc8ff9 Changing log statement 2018-03-30 12:47:58 +02:00
Martin Stockhammer ee953f8d13 Removing NexusIndexer references 2018-03-30 12:47:39 +02:00
Martin Stockhammer 9cd3c61340 Adding packedIndexDir 2018-03-29 23:47:13 +02:00
Martin Stockhammer f18aa86c68 Adding packingIndexDir and event 2018-03-29 23:46:51 +02:00
Martin Stockhammer 8b790550b2 Adding toString method 2018-03-29 23:45:15 +02:00
Martin Stockhammer 71c5f4f22c Adding ignore file 2018-03-29 23:44:33 +02:00
Martin Stockhammer 2541e48dce Adapting to event api change 2018-03-27 07:57:58 +02:00
Martin Stockhammer 663768d83a Moving code to repository registry 2018-03-27 07:57:29 +02:00
Martin Stockhammer 58a377b372 Cleaning up imports 2018-03-27 07:56:53 +02:00
Martin Stockhammer 4ea420ae99 Changing event api 2018-03-27 07:56:12 +02:00
Martin Stockhammer d1fcc2dd2e Updating indexing path 2018-03-27 07:32:34 +02:00
Martin Stockhammer 0ef19fe338 Moving repo features to API module 2018-03-27 07:31:04 +02:00
Martin Stockhammer c544376afb Switching repository admin and dependent classes to RepositoryRegistry
RepositoryRegistry is used for indexing context now. There is still more work to do
to move the maven dependent parts into its own projects and update the dependencies.
2018-03-24 17:44:13 +01:00
olivier lamy e496502c45 use last jetty version and upgrade oak as well
Signed-off-by: olivier lamy <olamy@apache.org>
2017-11-30 18:00:17 +11:00
Martin Stockhammer ae36964e7d [MRM-1966] Fixing error for 0 value of daysOlder entry
UI did not allow to enter value 0 for the daysOlder value.
2017-11-24 20:29:17 +01:00
Martin Stockhammer 7543d8149c Updating indexmanager interface and completing test case 2017-11-21 20:52:43 +01:00
Martin Stockhammer 21f31d04c2 Switching path in indexer api to uri adding additional tests 2017-11-20 21:48:17 +01:00
Martin Stockhammer 754b2d5940 Adding local path to repository API 2017-11-20 08:20:42 +01:00
Martin Stockhammer 2fe8227634 Resolving base paths in archiva configuration
Adding methods for retrieving base path information to ArchivaConfiguration
resolving paths according to the configuration entries.
2017-11-16 20:01:32 +01:00
Martin Stockhammer bc9256ad08 Trying to fix the archetype error on ci-build 2017-11-15 22:17:32 +01:00
Martin Stockhammer 8a131a6145 Changing log level to find out about ci build error
CI build throws a permission denied error on the Consumer Archetype test.
2017-11-15 21:44:00 +01:00
olivier lamy 71f3ec4230 remove duplicate dependency
Signed-off-by: olivier lamy <olamy@apache.org>
2017-11-14 13:23:29 +11:00
Martin Stockhammer f4a2623aa0 Implementing artifact add and removal in IndexManager 2017-11-13 18:25:00 +01:00
Martin Stockhammer a4c023ab05 Implementing indexer methods 2017-11-12 23:41:00 +01:00
Martin Stockhammer c6e4e563d6 Implementation of new archivaindexer
Not finished yet, but uses the maven index service via spring dependency injection
Moving some maven specific classes to subpackages
2017-11-11 00:07:56 +01:00
Martin Stockhammer 8f520999ff Adding indexmanager changes 2017-11-09 19:11:44 +01:00
Martin Stockhammer 3316366287 Fixing recursive call for stage repos 2017-11-09 19:11:21 +01:00
Martin Stockhammer 6899bc54a7 Fxing unit tests for RepositoryRegistry 2017-11-09 19:10:21 +01:00
Martin Stockhammer 07d51cc356 Renaming archiva-indexer module to archiva-maven2-indexer 2017-11-09 17:45:32 +01:00
Martin Stockhammer e4af2d6c41 Moving some interfaces to the repository-api module 2017-11-09 17:32:45 +01:00
Martin Stockhammer e2cdbc2b72 Rearranging modules and adding indexer api
Combining the indexer api and repository api into archiva-repository-api
They have bidirectional dependencies so they are put together in one module.

Adding new classes for a generalized indexer api that will be used for interfaces
and implementation independent tasks.
2017-11-08 22:59:33 +01:00
Martin Stockhammer 2ab8942ccf Extracting indexing api as single module
[MRM-1964] Step to move all indexing features behind archiva API
2017-11-05 19:36:42 +01:00
Martin Stockhammer 77c375434f Fixing window size issues with selenium driver 2017-11-04 12:04:19 +01:00
Martin Stockhammer 8b3de94f77 Adding another hack for selenium tests 2017-11-02 21:53:11 +01:00
Martin Stockhammer 8070af6128 Changing content access to repository registry 2017-11-02 21:52:53 +01:00
Martin Stockhammer 97b2c9c909 Refactoring the repository content factory
Adding content provider service that creates repository content instances
remove direct access to the repository content instances.
2017-11-01 22:52:14 +01:00
Martin Stockhammer dfbe05b8ab Fixing module reference
Removed reference to module in pom.xml that does not exist.
2017-11-01 16:09:41 +01:00
Martin Stockhammer 17f2989fe1 Adapting some plugins to the new repository api 2017-11-01 15:40:05 +01:00
Martin Stockhammer e4941b4696 Adapting the metadata module to the new repository api 2017-11-01 15:39:41 +01:00
Martin Stockhammer d6120d6c22 Adapting the web modules to the new repository api 2017-11-01 15:39:07 +01:00
Martin Stockhammer 32ff2ca265 Adapting the scheduler to the new repository api 2017-11-01 15:38:42 +01:00
Martin Stockhammer 9469c1b67f Adapting base modules to the new repository api
Using the repository api and RepositoryRegistry for repo access
2017-11-01 15:38:00 +01:00
Martin Stockhammer 3dc85427b3 Adding utility method for uri conversion 2017-11-01 15:35:50 +01:00
Martin Stockhammer 763991b3d9 Adapting maven repository provider to new repository api
Using the new repository interfaces where necessary.
2017-11-01 15:34:34 +01:00
Martin Stockhammer 4bcf4c0cd0 Adapting consumers to new repository api interfaces.
Using the repository api where necessary.
2017-11-01 15:33:06 +01:00
Martin Stockhammer fd51964c13 Using RepositoryRegistry in repository admin implementations
Switching to the repository registry to retrieve repository data.
Indexing is currently kept in the admin part, but will be moved in the future
to the registry.
2017-11-01 15:30:35 +01:00
Martin Stockhammer d6e4a5b485 Changing repository registry and layer
Adding unit tests for the registry.
Fixing some uri issues.
Removing dependency to consumer to break circular dependency
2017-11-01 15:27:45 +01:00
Martin Stockhammer 55f72f2824 Changed configuration model 2017-11-01 15:26:06 +01:00
Martin Stockhammer 89f7aa3416 Adding language settings to configuration 2017-10-25 22:59:26 +02:00
Martin Stockhammer 1026c8eeb8 Adding absolute URI to repositories 2017-10-22 18:22:03 +02:00
Martin Stockhammer acbcb48747 Adding data path to configuration 2017-10-22 17:01:27 +02:00
Martin Stockhammer cb38dbbbc6 Changing the initialization behaviour of metadata repo factory 2017-10-21 14:42:32 +02:00
Martin Stockhammer 2c12980a3a Adding configuration entry and removing old v1 repositories 2017-10-21 14:41:59 +02:00
Martin Stockhammer 5416993a99 Improving repository registry 2017-10-17 23:12:33 +02:00
Martin Stockhammer 4a3d11737e Improving repository provider 2017-10-15 23:36:30 +02:00
Martin Stockhammer 5121735795 Adding maven repo implementation and unit test 2017-10-13 22:23:08 +02:00
Martin Stockhammer 267b6a702b Repository changes and implementation of provider 2017-10-07 19:56:00 +02:00
Martin Stockhammer a34090cf93 Reverting the schedule definition back to cron string
Considered it too complex to convert the cron expressions into java interface
that takes all features into account that are possible by quartz cron strings.
2017-10-06 07:39:02 +02:00
Martin Stockhammer 1b7b2dbfc5 Fixing syntax error 2017-10-03 23:49:58 +02:00
Martin Stockhammer 9706f85fdc Adding some (imcomplete) changes to the scheduling part 2017-10-03 21:52:45 +02:00
Martin Stockhammer e0eff36ebc Changing daysOlder to retentionTime 2017-10-03 19:50:23 +02:00
Martin Stockhammer 3976c3fb23 Adding maven repository implementation 2017-10-03 19:27:15 +02:00
Martin Stockhammer 1b89266820 Some progress in repository abstraction 2017-10-03 18:46:16 +02:00
Martin Stockhammer 93af7e9457 Adding repository registry 2017-10-02 22:21:26 +02:00
Martin Stockhammer 656af5ce4d Adding new interface for repository
Adding interfaces for managed and remote repositories. Features
that may not be common for repository implementations use the
RepositoryFeature interface.
2017-09-30 23:35:35 +02:00
Martin Stockhammer bed24eac44 Finally switching the file lock to java.nio 2017-09-20 22:34:10 +02:00
Martin Stockhammer 5806dc2980 Switching some more files to java.nio 2017-09-20 21:39:27 +02:00
Martin Stockhammer 3ae101f7a9 Adding retry to some tests because of async index updates
Adding tryAssert function that does repeatedly run the assert
function, because JCR Oak uses asynchronous index updates and changes
are not reflected immediately in the index.
2017-09-19 13:20:54 +02:00
Martin Stockhammer d9beaa1d2b Migrating repository merger to java.nio 2017-09-14 19:50:31 +02:00
Martin Stockhammer 0eadc9bab1 Migrating maven2-repository to java.nio 2017-09-14 07:45:04 +02:00
Martin Stockhammer a446c03853 Migrating metadata file store to java.nio 2017-09-11 22:31:13 +02:00
Martin Stockhammer a7db09420a Migrating some plugins to java.nio 2017-09-11 09:23:39 +02:00
Martin Stockhammer a6706c8414 Migrating web modules to java.nio 2017-09-11 08:48:01 +02:00
Martin Stockhammer abba44b0a8 Migrating web modules to java.nio 2017-09-11 00:03:05 +02:00
Martin Stockhammer b12b8a3ec9 Migrating rest services to java.nio 2017-09-10 20:40:50 +02:00
Martin Stockhammer f886688c25 Migrating scheduler to java.nio 2017-09-10 17:47:17 +02:00
Martin Stockhammer 7503cb83e3 Migrating consumers to java.nio 2017-09-10 13:41:44 +02:00
Martin Stockhammer 413b6d7f1a Migrating transaction module to java.nio 2017-09-08 17:12:01 +02:00
Martin Stockhammer 9148a900ee Migrating repository scanner to java.nio 2017-09-08 15:24:01 +02:00
Martin Stockhammer d721477935 Migration repository admin to java.nio 2017-09-08 11:41:32 +02:00
Martin Stockhammer 98715c57ea Migrating xmltools and proxy to java.nio 2017-09-08 10:06:01 +02:00
Martin Stockhammer 5437dfd6de Migrating policies module to java.nio 2017-09-05 23:28:55 +02:00
Martin Stockhammer c8b3346225 Moving indexer to java.nio 2017-09-04 23:18:30 +02:00
Martin Stockhammer b5eddeb67b Moving converter module to java.nio 2017-09-03 11:01:15 +02:00
Martin Stockhammer cd1f4a9e79 Switching the checksum module to java.nio 2017-09-02 22:05:16 +02:00
Martin Stockhammer faceef262c Moved checksum module to java.nio 2017-09-02 20:37:52 +02:00
Martin Stockhammer 90250dc304 And another one for moving to java.nio 2017-09-02 19:17:01 +02:00
Martin Stockhammer 4781155596 Next part for moving to java.nio 2017-09-02 18:18:56 +02:00
Martin Stockhammer ad9fee4399 First part in moving to java.nio 2017-09-02 13:18:15 +02:00
olivier lamy 6abccf3510 avoid npe
Signed-off-by: olivier lamy <olamy@apache.org>
2017-09-02 18:56:07 +10:00
Martin Stockhammer a015600d48 Reformat code 2017-08-27 16:18:57 +02:00
Martin Stockhammer c50c6d5e3f Remove unused imports 2017-08-27 16:16:53 +02:00
Martin Stockhammer 1601657702 Fixing metadata removal. Adding mocks for verification.
- Prevent redundant removals for same artifacts
- Adding metadata removal for each file removal
- Adding mock verifications for metadata removal in unit tests
2017-08-27 16:12:27 +02:00
olivier lamy 9964f9d5ea upgrade to wagon 3.0.0
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-21 21:52:14 +10:00
olivier lamy 33b66d1493 get rid of some System.out
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-21 11:13:43 +10:00
Martin Stockhammer 6cee4606ca Adding different guava dependency for webtests
Workaround to get the selenium tests running. Better would
be a solution that allows the new guava version for the complete
project.
2017-08-20 20:52:59 +02:00
Martin Stockhammer 83622e8dd1 Removing indexer directory from source
This directory seems to be accidentally in the source
2017-08-20 20:46:58 +02:00
olivier lamy 7a2710ec0a Merge branch 'feature/jcr_oak' 2017-08-19 21:37:35 +10:00
olivier lamy 8838508899 helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 21:13:26 +10:00
olivier lamy 46ec727204 inherit version from parent
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 14:38:45 +10:00