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

Info

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

0%

Planned Todos

  1. handler

    Add adapters to process information objects directly after their creation. Avoids large processing in the update loop.

    Priority MEDIUM
    i21bpela
    Jul 17, 2012
0%

Bugs

0%

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

Info

Configuration

Key

Description

Possible Values

Default

Required (Yes/No)

deleteOlderThanIf set than older information objects will be deleteted. Use in combination with timeUnit Property.0..nnoneNo
useCreationDateIf set to true, the creation date instead the last modification date will be used for time checks.true/falsefalseNo
timeUnitUnit for time checks.minutes/hours/days/monthsminutesNo

exclusionMetaTag

Set a specific meta tag that is needed for a information object to be excluded by the processing.

Text

none

No

neededMetaTagSet a specific meta tag that is needed for a information object to be processed.TextnoneNo
processContentsWhether contents should be processed or not.true/falsetrueNo
processPersonsWhether persons should be processed or nottrue/falsetrueNo
processOrganisationsWhether organisations should be processed or not.true/falsetrueNo
deletePersonWithoutContentWhether persons without contents should be deleted or not.true/falsefalseNo
maxNumberOfInformationObjectsMaximum number of newest information objects.0..nnoneNo
deleteContentsWithoutValueWhether contents without value should be deleted or not.true/falsefalseNo
deleteContentsWithoutDocumentWhether contents without document should be deleted or not.true/falsefalseNo

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