Commit Graph

8847 Commits

Author SHA1 Message Date
Tim Donohue
08d3e961be Configuration cleanup. Restore authentication.cfg. Add example of configuring AuthN to local.cfg. Move default logging settings to dspace.cfg. Uncomment all module configs 2016-01-25 14:36:17 -06:00
Tim Donohue
4f1df7bbd0 Remove unnecessary filtering 2016-01-25 14:36:14 -06:00
Tim Donohue
1afaadb89f Remove more filtering from POMs. No longer used. 2016-01-25 14:36:12 -06:00
Tim Donohue
ab52dfc3d0 Correct build.xml, make it backwards compatible with old versions 2016-01-25 14:36:10 -06:00
Tim Donohue
c75e5bc578 Ignore local.cfg by default. Provide an EXAMPLE. Make sure Maven assembly handles local.cfg. Make sure Ant build reads local.cfg 2016-01-25 14:36:08 -06:00
Tim Donohue
ab8960ad3f Add back in log4j initialization via a new LoggerServiceImpl which loads configs from Commons Configs 2016-01-25 14:36:06 -06:00
Tim Donohue
2f7e41d31f Stop filtering configs during Maven assembly or Ant build 2016-01-25 14:36:04 -06:00
Tim Donohue
d7d255d441 Correct missing license headers 2016-01-25 14:36:02 -06:00
Tim Donohue
628783fb9e Update Test Environment to use its own local.cfg INSTEAD OF dspace.cfg.more / merging multiple configs 2016-01-25 14:36:00 -06:00
Tim Donohue
9d2af78158 Update Hibernate configuration to load dynamic settings via Spring / ConfigurationService. Add default DB settings back to dspace.cfg 2016-01-25 14:35:57 -06:00
Tim Donohue
9851ff5f9e Remove build.properties and replace it with a "local.cfg" which can override configs as needed. 2016-01-25 14:35:55 -06:00
Tim Donohue
fbcd3634f4 Stop filtering properties in all POMs. With Commons Config, we'll load them dynamically 2016-01-25 14:35:53 -06:00
Tim Donohue
41e8685088 Implement dynamic property substitutions for our Spring Config files. 2016-01-25 14:35:51 -06:00
Tim Donohue
fadfa351dd Fix JSP reference to old PluginManager. Update comments referencing PluginManager. Remove old plugin.reusable.* configs as they are no longer needed 2016-01-25 14:35:49 -06:00
Tim Donohue
829ea782da Allow ScriptLauncher to run *without* ConfigurationManager. Requires tweaking how DSpaceConfigurationService 'discovers' the DSpace home directory (new unit tests added). 2016-01-25 14:35:46 -06:00
Tim Donohue
444e6e0cb3 Replace MockConfigurationManager with JMockit Expectations statements 2016-01-25 14:35:44 -06:00
Tim Donohue
9bbf81a1e2 Ensure dspace.dir system property also specified for Integration Tests 2016-01-25 14:35:42 -06:00
Tim Donohue
a1d3d98be1 Test needs access to Configs / Kernel 2016-01-25 14:35:40 -06:00
Tim Donohue
ed25cc0afe Create new AbstractDSpaceTest to initialize Kernel separate from Database. Some tests ONLY need the Kernel for configs, and not the full DB. 2016-01-25 14:35:38 -06:00
Tim Donohue
44a6baa0e8 Refactor several beans (and related classes) to use ConfigurationService on init once it is injected. 2016-01-25 14:35:36 -06:00
Tim Donohue
aef58ad9da Enhance error reporting 2016-01-25 14:35:34 -06:00
Tim Donohue
ad76b42080 Refactor ChoiceAuthorityServiceImpl to load necessary plugins on first use, NOT on initialization 2016-01-25 14:35:32 -06:00
Tim Donohue
3df18c68b8 Refactor PluginManager into PluginService and LegacyPluginServiceImpl. Add unit tests. 2016-01-25 14:35:30 -06:00
Tim Donohue
0466184350 Fix compilation error after rebase 2016-01-25 14:35:28 -06:00
Tim Donohue
1c8ed977c2 Update multivalued properties to use getArrayProperty from ConfigurationService. Update specific config names based on renamed config keys. 2016-01-25 14:35:25 -06:00
Tim Donohue
a428d5a24e Prepend all configs with module name (to ensure unique keys). Load all module configs from dspace.cfg via "include" statements. 2016-01-25 14:35:23 -06:00
Tim Donohue
73740e423a Refactor org.dspace.core.* classes to use new ConfigurationService. Helps pass more unit tests. 2016-01-25 14:35:21 -06:00
Tim Donohue
36359c8a37 Minor services tweaks. Enhance comments. Have SpringServiceManager use getArrayProperty() instead of getPropertyAsType() 2016-01-25 14:35:19 -06:00
Tim Donohue
cb98175792 More convienence methods to ConfigurationService. "hasProperty()" and "getArrayProperty()". Includes unit tests. 2016-01-25 14:35:17 -06:00
Tim Donohue
257248e362 Rewrite ConfigurationManager to wrap ConfigurationService. Removal of "dspace-config" and "dspace.configuration" system/servlet params 2016-01-25 14:35:15 -06:00
Tim Donohue
71cab949a2 Add a few more unit tests of reading properties of different types. Auto-trim all string values 2016-01-25 14:35:13 -06:00
Tim Donohue
c918cbd3ba Copy major convenience methods from ConfigurationManager to ConfigurationService. Add new Unit Tests to verify. 2016-01-25 14:35:11 -06:00
Tim Donohue
514915287d Fix loading of config-definition.xml in Unit Testing. Look for it on ClassPath if cannot be found elsewhere. 2016-01-25 14:35:08 -06:00
Tim Donohue
9afd1dda73 Add back in a few dynamically generated configurations which were previously removed during refactor 2016-01-25 14:35:06 -06:00
Tim Donohue
81b2ff2454 Remove completely unused constants and configurations. These are not used at all. 2016-01-25 14:35:03 -06:00
Tim Donohue
5d6b6827e5 Initial refactor commit. Swap out DSpaceConfig/ServiceConfig for Apache Commons Configuration 2016-01-25 14:35:00 -06:00
Tim Donohue
f549eedf7b Merge pull request #801 from TAMULib/5x_search_result_export_metadata
DS-1262 CSV export of search results in XMLUI
2016-01-25 14:21:07 -06:00
helix84
d40231014f Merge pull request #1249 from tdonohue/DS-3005
DS-3005: Ensure ItemService is initialized in all constructors
2016-01-25 18:42:56 +01:00
Tim Donohue
82cb76b1ed DS-3005: Ensure ItemService is initialized in all constructors 2016-01-25 11:23:41 -06:00
Ondřej Košarko
ec804f81e2 moving queries to DAOs 2016-01-25 18:04:46 +01:00
Terry Brady
e4f7b8a2e8 Refine logic to handle presence of restricted coll 2016-01-22 12:31:39 -08:00
Terry Brady
06e915b7c4 Incrementally apply filters to items in large collections 2016-01-22 11:41:30 -08:00
Terry Brady
05de93f59f Exclude eperson schema from field drop down 2016-01-22 11:40:57 -08:00
Terry Brady
0be738dfa1 Fix enum name to match title/logic 2016-01-22 11:40:39 -08:00
Mark H. Wood
e6ac38ecdd [DS-1837] Copy the JAR to the installer 'lib' directory. 2016-01-22 14:35:22 -05:00
William Welling
3288595895 Using query string instead of path. Some code improvement. 2016-01-22 11:55:32 -06:00
William Welling
4ea135cc27 Removed some dead code. 2016-01-22 10:29:45 -06:00
William Welling
b871a4fa7a Fixed search metadata export by passing query and filter to processQuery of AbstractSearch. 2016-01-22 10:03:43 -06:00
William Welling
dca9e898c6 Added CSVExportDiscoveryNavigation to apply tranform when pattern matching discovery. 2016-01-22 09:59:30 -06:00
helix84
be8af9a50e Merge pull request #1245 from AmberPoo1/correct-conformsTo-dcterm
Correct dcterm "dcterms.conformsTo" in registry configuration
2016-01-22 08:44:04 +01:00