Midcom.helper.replicator

From OpenPSA Wiki

Jump to: navigation, search

This Purecode Component is used for replication, e.g. in Staging/Live setups. It utitilizes the Midgard Replicator and is configured via Asgard.

[edit] Replication Pipelines

You can define one or more replication targets, which are called pipelines. They use one of the available transporter types and take configuration options such as manual or automatic replication.

[edit] Transport Types

The Component supports multiple transport formats. Currently, those are E-Mail, HTTP POST and file archive.

[edit] URL Methods

midcom.helper.replicator currently provides a number of MidCOM URL Methods. They can be called manually or used for automated processing:

approve_all.php: Provides an interface for mass-aporving all unapproved contents
export_archive.php: Triggers a full dump of the database to a tar archive containing XML representations of the objects
import_archive.php: Import data from a tar archive sent by POST
import_post.php: Import XML data sent by POST
import_xml.php: Import data from an XML file sent by POST
process_queue.php
test_files.php: Self-test of the available transporters

Imrpessive brain power at work! Great answer!

Personal tools