ec-europa/nexteuropa_poetry

NextEuropa integration for Poetry Client.

Installs: 59

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 30

Forks: 1

Open Issues: 2

Type:drupal-module

0.1.1 2019-11-29 13:12 UTC

This package is auto-updated.

Last update: 2024-04-22 19:35:10 UTC


README

Build Status

Development setup

Run:

$ composer install

This will download all development dependencies and build a Drupal 7 target site under ./build and run ./vendor/bin/run drupal:site-setup to setup proper symlink and produce necessary scaffolding files.

After that:

  1. Copy runner.yml.dist into runner.yml and customise relevant parameters.
  2. Run ./vendor/bin/run drupal:site-install to install the project having the NextEuropa Poetry module enabled.

To have a complete list of building options run:

$ ./vendor/bin/run

Configuration

After installing the module a new administration page will be available in admin/config/regional/poetry-client.

For the Remote service (Poetry) Username and Password, and the Notification handler (Callback) Username and Password, use the same credentials as for the DGT Connector

Set the following value for Service WSDL according to your environment:

  • Production: http://intragate.ec.europa.eu/DGT/poetry_services/components/poetry.cfc?wsdl
  • Testing: http://intragate.test.ec.europa.eu/DGT/poetry_services/components/poetry.cfc?wsdl

Usage

The following code will give you a Poetry Client object:

$poetry = nexteuropa_poetry_client();