0.0.3 • Published 8 years ago

apigee_environment_migrationtool v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

Apigee Environment Configuration Migration Tool

This a commandline tool built on NodeJs to migrate Apigee environment configurations (KeyValueMaps, Target Servers) across different environments. It leverages the JSON request structure used by Apigee Management APIs.

##Features 1. KeyValueMap (KVM) - Create a new KVM - Update an existing KVM - Create a new entry in KVM - Update an existing entry in KVM

  1. TargetServer
    • Create a new TargetServer
    • Update an existing TargetServer

##Installation

  1. Clone the project to local file system or use npm install -g apigee_environment_migrationtool skip bleow steps
  2. Open the command prompt
  3. Navigate to the project directory
  4. npm install -g
  5. Run "apigee_environment_migrationtool"

##Usage

  • To create/update KVM entries apigee_environment_migrationtool -u -f -o -e -t kvm

Sample KVM json file -

[ { "name" : "KVM_1", "entry" : { "name" : "Key1", "value" : "value_1" }, { "name" : "Key2", "value" : "value_2" }, { "name" : "Key3", "value" : "value_3" } }, { "name" : "KVM_2", "entry" : { "name" : "Key4", "value" : "value_4" }, { "name" : "Key5", "value" : "value_5" } } ]

  • To create/update TargetServer apigee_environment_migrationtool -u -f -o -e -t targetserver

Sample TargetServer json file -

{ "host": "https://www.server1.com", "isEnabled": true, "name": "Server_1", "port": 443 }, { "host": "https://www.server2.com", "isEnabled": true, "name": "Server_2", "port": 443 }

##Help -u ----> Apigee Administrator Username -f ----> Path to the KVM / TargetServer JSON file -o ----> Apigee Organization Name -e ----> Apigee Environment (e.g. dev/test) -t ----> Type (kvm or targetserver)

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago