File

Table of contents

Description

Can be used to load CommunityMashup data serialized as XML from files.

Responsible Person

Status

Status

Ready for Use

Possible Values: Ready for Use, In Development, Plannend, Broken

Info

Aggregation Features

Fill

Yes

Update

No

Enrich

No

Development Activities

Project: https://github.com/soziotech/CommunityMashup/tree/master/sources/FileSourceService

Tracking

100%

Planned Todos

  1. handler

    Possibility to load files from outside of the OSGi Bundle.

    Priority MEDIUM
    lachenma
    Jul 17, 2012
0%

Bugs

0%

Feature Request

Used Service

No service, only local files are used.

Used Libraries

Currently no libraries (except the default EMF ones) are used.

Possible Usage Values: Compiled, Source, Extended Source, Modified Source

Info

Configuration

Key

Description

Possible Values

Default

Required (Yes/No)

fileName

Name of the file contained in the resources folder, or a path to an external configuration file. You can use {workingDirectory} as place holder for your working directory specified as java system property by org.sociotech.communitymashup.configuration.workingdirectory

Text

none

Yes

Example:

<sources bundleId="org.sociotech.communitymashup.source.FileSourceService" name="SampleFile">
   <configuration>
      <properties Key="fileName" Value="demo.xml" />
   </configuration>
</sources>

Description

Loads all items contained in the file demo.xml

Meta-Informations

No additional meta informations are added.

Transformation

No transformations are performed. All of the source data must be compatible with the CommunityMashup data model.