wwwision/import-service

Last activity on 1 January 2021
  • 2
  • 2
  • 320
composer require wwwision/import-service

Generic service for importing data from different sources to configurable targets such as the Neos Content Repository or an arbitrary database table

1.1.0

Generic service for importing data from different sources to configurable targets such as the Neos Content Repository or an arbitrary database table

Version
1.1.0
Type
neos-package
Release Date
Aug 8, 2019 8:18:48 a.m.
Source
git
Distribution
zip
Requires
Requires (dev)
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT f63c4844c3cdf6eb7b3af00b9e9469231d608106

Wwwision.ImportService

Neos Flow package for importing data from different sources to configurable targets such as the Neos Content Repository or an arbitrary database table

Usage

Setup

Install this package using composer via

composer require wwwision/import-service

Define an Import Preset

Add some Import Preset configuration to your projects Settings.yaml, for example:

Wwwision:
  ImportService:
    presets:

      'some-prefix:some-name':
        source:
          className: 'Wwwision\ImportService\DataSource\HttpDataSource'
          options:
            endpoint: 'https://some-endpoint.tld/data.json'
        target:
          className: 'Wwwision\ImportService\DataTarget\DbalTarget'
          options:
            table: 'some_table'
        mapping:
          'id': 'id'
          'given_name': 'firstName'
          'family_name': 'lastName'

Run the import

./flow import:import some-prefix:some-name

Validate configuration

Configuration for this package is verbose and thus error prone. The settings can be validated against a schema via the following command:

./flow configuration:validate --type Settings --path Wwwision.ImportService

Which should produce the output

Validating Settings configuration on path Wwwision.ImportService
 
All Valid!
The content of the readme is provided by Github
The same vendor provides 20 package(s).