0.5.0 • Published 4 months ago

@financial-times/biz-ops-schema-publisher v0.5.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

@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.

0.5.0

4 months ago

0.3.2

7 months ago

0.4.0

5 months ago

0.3.1

8 months ago

0.3.3

6 months ago

0.2.7-beta.2

1 year ago

0.3.0

1 year ago

0.2.7

1 year ago

0.2.7-beta.1

1 year ago

0.2.6

1 year ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2-beta.0

2 years ago

0.2.2

2 years ago

0.2.0

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.2-beta.2

2 years ago

0.1.2-beta.1

2 years ago

0.1.2

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.0

2 years ago

0.0.1-beta.7

2 years ago

0.0.1-beta.6

2 years ago

0.0.1-beta.5

3 years ago

0.0.1-beta.4

3 years ago

0.0.1-beta.3

3 years ago

0.0.1-beta.2

3 years ago