This is an example README for Gopher Holes Unlimited - a fake business but real API that tracks two things:
- Gophers
- Holes
| { | |
| "execution": [ | |
| { | |
| "executor": "newman", | |
| "iterations": 5000, | |
| "scenario": "simple" | |
| } | |
| ], | |
| "scenarios": { | |
| "simple": { |
| FROM blazemeter/taurus | |
| # taurus includes python and pip | |
| RUN pip install --no-cache-dir awscli | |
| # Taurus working directory = /bzt-configs | |
| ADD ./load-test.sh /bzt-configs/ | |
| # Added json files for Postman support | |
| ADD Collection.json . | |
| ADD test.json . |
| { | |
| "id": "80ff6024-13ee-4ca1-be85-179d6f65ba5d", | |
| "name": "Breaking Change Detector", | |
| "values": [ | |
| { | |
| "key": "env-apiKey", | |
| "value": "", | |
| "enabled": true | |
| }, | |
| { |
| AWSTemplateFormatVersion: '2010-09-09' | |
| Transform: [AWS::Serverless-2016-10-31, AddSSMParametersMacro] | |
| Description: SAM template for consuming a CloudFormation Macro | |
| Resources: | |
| ExampleWithEnvVarFunction: | |
| Type: AWS::Serverless::Function | |
| Properties: | |
| CodeUri: example-with-env-var | |
| Handler: function.handler |
| Parameters: | |
| VpcCidrBlock: | |
| Type: String | |
| Default: "12.0.0.0/16" | |
| PublicSubnetCidrBlock: | |
| Type: String | |
| Default: "12.0.0.0/24" | |
| PrivateSubnetCidrBlock: | |
| Type: String | |
| Default: "12.0.1.0/24" |
| AWSTemplateFormatVersion: '2010-09-09' | |
| Transform: AWS::Serverless-2016-10-31 | |
| Globals: | |
| Function: | |
| Runtime: nodejs14.x | |
| Architectures: | |
| - arm64 | |
| Tracing: Active | |
| Timeout: 3 | |
| Handler: index.handler |
| const fs = require('fs'); | |
| const YAML = require('json-to-pretty-yaml'); | |
| const definition = JSON.parse(fs.readFileSync('definition.asl.json')); | |
| const substitutions = []; | |
| parameterizeStates(definition.States, substitutions); | |
| console.log(substitutions) |
| [ | |
| "Amazon MQ", | |
| "AppStream 2.0", | |
| "AppSync", | |
| "AppSync Data Plane", | |
| "Athena", | |
| "Auto Scaling", | |
| "AWS Certificate Manager (ACM)", | |
| "Batch", | |
| "Cloud Directory", |
| openapi: 3.0.0 | |
| info: | |
| title: AWS Service Integration API | |
| version: 1.0.0 | |
| paths: | |
| /translations: | |
| post: | |
| requestBody: | |
| required: true |