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

hpe-alm-octane-call-url-demo

v1.0.0

Published

Example project for using HPE ALM Octane's Call URL with the REST API

Downloads

6

Readme

HPE ALM Octane Call URL/REST API Demo

This project is a simple node.js project that demonstrates using HPE ALM Octane's Call URL to call an external system and Octane's REST API to call back and change a field with Octane.

This project demonstrates how a loop can be built that enables Octane to integrate with any external system that supports REST calls.

For more information about Call URL and the REST API please see Octane's documentation.

This project uses the hpe-alm-octane-js-rest-sdk project that enables easy integration with REST APIs.

Use Case

  • A UDF is created for a defect called rework_counter_udf. This field is of type number.
  • A Call URL business rule is created for defects. The rule has a condition that the Phase field is modified. When the defect is updated the URL server:port/calculator resource is called
  • This node.js server listens to that URL and if the phase was either fixed or closed and is now opened then it will get the rework_counter_udf field from the calling defect and update the number by 1

Installation

  • Run npm install on the root of the project
  • Update the configuration.json file in the root of the project with the correct details of the Octane server.
    • You have a choice of using either client_id/secret authentication (recommended) or user/pass
    • Choose one of the methods and change its key to just authentication for example:
      "authentication": {
          "client_id": "id",
          "client_secret": "secret"
        }   
  • Run the server using the node bin\www command

License

Apache 2.0