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

loopback-connector-kv-extreme-scale

v1.0.2

Published

The official WebSphere eXtreme Scale KeyValue connector for LoopBack

Downloads

8

Readme

loopback-connector-kv-extreme-scale

The official WebSphere eXtreme Scale KeyValue connector for LoopBack.

Usage

While it is possible to use this connector as a standalone module, we recommended using it in your application via the LoopBack command-line tools.

Installation and configuration

The command line tool will prompt you to install the connector (if not already installed):

cd your-loopback-app
lb datasource
? Enter the data-source name: xs
? Select the connector for xs: IBM WebSphere eXtreme Scale key-value connector (supported by StrongLoop)
Connector-specific configuration:
? Connection String url to override other settings (eg: https://user:pass@host:port/wxsdata/v1/grids/$GRID_NAME): https://username:password@localhost:9444/wxsdata/v1/grids/your-grid-name
? Use SSL for connections to the grid: Yes
? Install loopback-connector-kv-extreme-scale@^1.0.0 (Y/n) Yes
[email protected] $HOME/your-project-name
└── [email protected]

Running tests

The test suite requires a running WebSphere eXtreme Scale server. We recommend Docker for the easiest set up experience.

Setting up development environment

Important note for Mac users

The XSLD image does not work in the virtual environment provided by Docker for Mac. You need to create a new docker-machine using the virtualbox driver, see docker-machine docs for instructions.

The instructions

  1. Follow the instructions at https://hub.docker.com/r/ibmcom/xsld/ to setup a Docker version of WebSphere eXtreme Scale server.

  2. Create your test grid:

  • Open the administration web interface (https://your-ip:9443/), replace your-ip with the hostname or IP address of your (docker) machine.

    Use docker-machine ls to find the IP address used by your docker machine.

  • Login using credentials created in step one, usually xsadmin and xsadmin4Me!

  • Select "Data Grids"

  • Click on the plus-in-circle button in the top-right corner

  • Use simple Template, fill in Name testgrid

  1. Verify your configuration
  • Open the REST API explorer at https://your-ip:9444/ibm/api/explorer
  • Expand grids section
  • Expand POST endpoint
  • Fill in gridname testgrid, mapname testmap.LUT.O, key test, body { "name": "test" }
  • Click "Try it out!"
  • You should receive Response Code 200
  1. Setup environment variable EXTREME_SCALE_URL pointing to the grid created. Replace xsadmin, xsadmin4Me! and your-ip with admin username, admin password and your hostname/IP address.

    On Linux and Mac:

    $ export EXTREME_SCALE_URL=https://xsadmin:xsadmin4Me!@your-ip:9444/wxsdata/v1/grids/testgrid/testmap

    On Windows:

    % SET EXTREME_SCALE_URL=https://xsadmin:xsadmin4Me!@your-ip:9444/wxsdata/v1/grids/testgrid/testmap
  2. Congratulations, you can run npm test now!