🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@financial-times/biz-ops-schema-publisher

Package Overview
Dependencies
Maintainers
10
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/biz-ops-schema-publisher

This package saves a biz-ops schema to s3

latest
Source
npmnpm
Version
0.5.0
Version published
Maintainers
10
Created
Source

@financial-times/biz-ops-schema-publisher

This package saves a biz-ops schema to s3

API

sendSchemaToS3(fileName, bucketName, includeTestDefinitions)

This saves the rawData contained in the local biz-ops-schema-sdk instance to the bucketName s3 bucket (defaulting to the environment variable BIZ_OPS_SCHEMA_BUCKET), naming the file fileName.

Deploy CLI command

This package provides the CLI command of biz-ops-schema-publisher for publishing a set of schema yaml files to S3.

Usage: biz-ops-schema-publisher [options]

Publish schemas to S3 bucket

Options:
  -D, --schema-directory <directory>  directory to the schema. (default: "process.env.BIZ_OPS_SCHEMA_DIRECTORY")
  -B, --bucket-name <bucket>          S3 bucket name which you want to upload. (default: "process.env.BIZ_OPS_SCHEMA_BUCKET")
  --include-test-definitions <bool>   Whether to include definitions intended only for the test environment in the release. (default: false)) (default: false)
  -F, --file-name <env>               The file name (including path) to save the json schema as
  -V, --version                       output the version number
  -h, --help                          output usage information

Example:

  biz-ops-schema-publisher -D ./example-schema -B schema-bucket -F latest.json

You can see this help by typing biz-ops-schema-publisher -h.

FAQs

Package last updated on 13 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts