CleanUp
Table of contents
Description
Intended to be used as gardener in configured data sets. E. g. to remove old items.
Responsible Person
Status
Status | Ready for Use |
---|
Possible Values: Ready for Use, In Development, Plannend, Broken
Aggregation Features
Fill | No |
---|---|
Update | Yes |
Enrich | Yes |
The clean up will be processed in the update and enrich state.
Source Code
Project: https://github.com/soziotech/CommunityMashup/tree/master/sources/CleanUpSourceService
Tracking
Planned Todos
Bugs
Feature Request
Used Service
No external Services are used.
Used Libraries
Currently no libraries are used.
Name | Version | License | Usage | Link |
---|---|---|---|---|
|
|
|
|
|
Possible Usage Values: Compiled, Source, Extended Source, Modified Source
Configuration
Key | Description | Possible Values | Default | Required (Yes/No) |
---|---|---|---|---|
deleteOlderThan | If set than older information objects will be deleteted. Use in combination with timeUnit Property. | 0..n | none | No |
useCreationDate | If set to true, the creation date instead the last modification date will be used for time checks. | true/false | false | No |
timeUnit | Unit for time checks. | minutes/hours/days/months | minutes | No |
exclusionMetaTag | Set a specific meta tag that is needed for a information object to be excluded by the processing. | Text | none | No |
neededMetaTag | Set a specific meta tag that is needed for a information object to be processed. | Text | none | No |
processContents | Whether contents should be processed or not. | true/false | true | No |
processPersons | Whether persons should be processed or not | true/false | true | No |
processOrganisations | Whether organisations should be processed or not. | true/false | true | No |
deletePersonWithoutContent | Whether persons without contents should be deleted or not. | true/false | false | No |
maxNumberOfInformationObjects | Maximum number of newest information objects. | 0..n | none | No |
deleteContentsWithoutValue | Whether contents without value should be deleted or not. | true/false | false | No |
deleteContentsWithoutDocument | Whether contents without document should be deleted or not. | true/false | false | No |
Example:
<sources bundleId="org.sociotech.communitymashup.source.CleanUpSourceService" name="Gardener"> <configuration> <properties Key="useCreationDate" Value="true" /> <properties Key="maxNumberOfInformationObjects" Value="99" /> <properties Key="processPersons" Value="false" /> <properties Key="processOrganisations" Value="false" /> </configuration> </sources>
Description | This example shows the usage to keep only the latest created 99 contents. All persons and organisations are kept. |
---|
Meta-Informations
Currently no additional meta informations are added.
Type | Description | Value | Items |
---|---|---|---|
|
|
|
|