Fixed a bug that showed objects with no properties as null instead of displaying the class name
Job.ftl
Fixed a bug that prevented the configuration referenced paths from displaying
Script.ftl
Fixed a bug that rendered extra whitespace before and after the script block
Pulling individual values for necessary data from crawl jobs instead of building the full CrawlJobModel
CrawlJobModel.java
Moving some data from methods into fields so they are exposed in the XML representation
EngineModel.java
Removing full building of CrawlJobModel. Handling instead in EngineResource
Job.ftl
Updating fields that relied on CrawlJobModel methods which were moved to fields.
Removing temporary template loading. Finishing converting XML and HTML generation to use the same data model
CrawlJobModel.java
Converting to same Map based reports used by XML API
EngineModel.java
Converting to same Map based reports used by XML API
Engine.ftl
Creating template for Map based reports
Job.ftl
Creating template for Map based reports
The new class BeanLookupBindings allows scripts to skip getBean calls.
Lines like 'beanname = appCtx.getBean("beanname")' can be left out.
Past scripts remain compatible.
This change effects action directory scripts and rest console scripts.
* JobRelatedResource.java
Added encoding to URL generation in makePresentableMapFor().
Added check to prevent URL generation from overwriting the job name portion of the path in addPresentableNestedNames()
* MultiReporter
deleted. direct method calls are a better way to specify the kind of report desired
getReports was never used to choose from the array of strings. no use case for MultiReporter.
* ArchiveUtils
writeReportToString was not used, and it used the now deleted MultiReporter#reportTo
* DevUtils, Frontier, ToePool, AbstractFrontier, WorkQueueFrontier
MultiReporter -> Reporter and make methods that implemented named multireport public
* FrontierNonemptyReport, FrontierSummaryReport
call the appropriate report method instead of passing a string constant
* MultiReporter.java
deprecated
* ToePool, ToeThread, WorkQueue, WorkQueueFrontier, PrecedenceProvider, CrawlURI, FetchStats.java
remove MultiReporter#getReports() and reportTo(String, PrintWriter)
these are not used as MultiReporter specifies, and MultiReporter is going away anyhow