This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Connection, Receiver, EventContext, ConnectionOptions, ReceiverOptions, delay, ReceiverEvents, types | |
} from "../lib"; | |
import * as dotenv from "dotenv"; // Optional for loading environment configuration from a .env (config) file | |
dotenv.config(); | |
const host = process.env.AMQP_HOST || "host"; | |
const username = process.env.AMQP_USERNAME || "sharedAccessKeyName"; | |
const password = process.env.AMQP_PASSWORD || "sharedAccessKeyValue"; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "test-rhea", | |
"version": "0.1.0", | |
"dependencies": { | |
"rhea": "*", | |
"uuid": "*" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "NetworkManagementClient", | |
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", | |
"version": "2016-12-01" | |
}, | |
"host": "management.azure.com", | |
"schemes": [ | |
"https" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Please install sway and request before executing the script | |
'use strict'; | |
var Sway = require('sway'), | |
request = require('request'), | |
path = require('path'), | |
fs = require('fs'), | |
util = require('util'); | |
class SpecValidator { |