Skip to content

Instantly share code, notes, and snippets.

@arlina-espinoza
Last active November 8, 2019 16:41
Show Gist options
  • Save arlina-espinoza/e6b299d64f781e89bf54dc5596be1de2 to your computer and use it in GitHub Desktop.
Save arlina-espinoza/e6b299d64f781e89bf54dc5596be1de2 to your computer and use it in GitHub Desktop.
Apigee Edge Hybrid testing

How to Install Apigee Edge for testing Hybrid integration

  1. Install Drupal using composer:
composer create-project drupal-composer/drupal-project:8.x-dev MY_PROJECT --no-interaction
cd MY_PROJECT
  1. Edit the composer.json file. The "repositories" section should look like:
    "repositories": {
        "drupal": {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        "edge": {
            "type": "vcs",
            "url": "git@github.com:arlina-espinoza/apigee-edge-drupal.git"
        },
        "client": {
            "type": "vcs",
            "url": "git@github.com:arlina-espinoza/apigee-client-php.git"
        }
    }
  1. Add the following two packages to the "require" section:

"apigee/apigee-client-php": "dev-2.x-hybrid-wip as 2.0.3" and "drupal/apigee_edge": "dev-8.x-1.x-hybrid as 1.x-dev"

  1. Run composer install.

  2. Install Drupal as usual.

  3. Enable the modules Apigee Edge module (and Apigee Edge Debug for logging - recommended), along other required modules:

drush en apigee_edge apigee_edge_debug -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment