npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

apigee_environment_migrationtool

v0.0.3

Published

A command-line tool to move KVM values to Apigee environment configurations

Downloads

3

Readme

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
  2. 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)