docs-v2/api-docs/getswagger.sh

157 lines
4.3 KiB
Bash
Raw Normal View History

#!/bin/bash -e
# This script provides a simple way grab the latest fully resolved openapi (OAS, OpenAPI Specification) contract files
# from the influxdata/openapi repo.
#
# Specify a context to retrieve (cloud, oss, v1compat, all).
# Optionally specify:
# - an OSS version as the second argument or using the -o flag.
# The version specifies where to write the updated openapi.
# The default version is the latest OSS version directory in the api-docs directory.
# - a base URL using the -b flag.
# The baseURL specifies where to retrieve the openapi files from.
# The default baseUrl is the master branch of the influxdata/openapi repo.
# The default baseUrl for OSS is the tag for the latest InfluxDB release.
# When a new OSS version is released, update baseUrlOSS to with the tag (/influxdb-oss-[SEMANTIC_VERSION]).
# For local development, pass your openapi directory using the file:/// protocol.
#
# Syntax:
# sh ./getswagger.sh <context>
# sh ./getswagger.sh <context> -b <baseUrl>
# sh ./getswagger.sh -c <context> -o <version> -b <baseUrl>
#
# Examples:
# sh ./getswagger.sh cloud
# sh ./getswagger.sh -c oss -o v2.0 -b file:///Users/johnsmith/github/openapi
versionDirs=($(ls -d */))
latestOSS=${versionDirs[${#versionDirs[@]}-1]}
baseUrl="https://raw.githubusercontent.com/influxdata/openapi/master"
baseUrlOSS="https://raw.githubusercontent.com/influxdata/openapi/docs-release/influxdb-oss"
ossVersion=${latestOSS%/}
verbose=""
context=""
function showHelp {
echo "Usage: ./getswagger.sh <context>"
echo " With optional arguments:"
echo " ./getswagger.sh <context> -b <baseUrl> -V"
echo " ./getswagger.sh oss -o <ossVersion> -V"
echo "Commands:"
echo "-b <URL> The base URL to fetch from."
echo " ex. ./getswagger.sh -b file:///Users/yourname/github/openapi"
echo " The default is the influxdata/openapi repo master branch."
echo "-h Show this help."
echo "-o <semantic version> The OSS Version to fetch."
echo " ex. ./getswagger.sh oss -o v2.0"
echo " The default is the latest OSS version directory in the api-docs directory."
echo "-V Verbose. Print the processed arguments and verbose Curl output."
}
subcommand=$1
case "$subcommand" in
cloud|oss|v1compat|all)
context=$1
shift
while getopts ":o:b:hV" opt; do
case ${opt} in
h)
showHelp
exit 0
;;
V)
verbose="-v"
;;
b)
baseUrl=$OPTARG
baseUrlOSS=$OPTARG
;;
o)
ossVersion=$OPTARG
;;
\?)
echo "Invalid option: $OPTARG" 1>&2
showHelp
;;
:)
echo "Invalid option: $OPTARG requires an argument" 1>&2
showHelp
;;
esac
done
shift $((OPTIND -1))
;;
esac
function showArgs {
echo "context: $context";
echo "baseUrl: $baseUrl";
echo "ossVersion: $ossVersion";
}
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
function postProcess() {
# Use npx to install and run the specified version of openapi-cli.
# npm_config_yes=true npx overrides the prompt
# and (vs. npx --yes) is compatible with npm@6 and npm@7.
specPath=$1
version="$2"
apiVersion="$3"
openapiCLI="@redocly/openapi-cli"
npx --version
# Use Redoc's openapi-cli to regenerate the spec with custom decorations.
INFLUXDB_API_VERSION=$apiVersion \
INFLUXDB_VERSION=$version \
npm_config_yes=true \
npx $openapiCLI bundle $specPath \
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
--config=./.redocly.yaml \
-o $specPath
}
function updateCloud {
curl ${verbose} ${baseUrl}/contracts/ref/cloud.yml -s -o cloud/ref.yml
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
postProcess $_ cloud
}
function updateOSS {
mkdir -p ${ossVersion} && curl ${verbose} ${baseUrlOSS}/contracts/ref/oss.yml -s -o $_/ref.yml
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
postProcess $_ $ossVersion
}
function updateV1Compat {
curl ${verbose} ${baseUrl}/contracts/swaggerV1Compat.yml -s -o cloud/swaggerV1Compat.yml
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
postProcess $_ cloud v1compat
mkdir -p ${ossVersion} && cp cloud/swaggerV1Compat.yml $_/swaggerV1Compat.yml
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
postProcess $_ $ossVersion v1compat
}
if [ ! -z ${verbose} ];
then
showArgs
echo ""
fi
if [ "$context" = "cloud" ];
then
updateCloud
elif [ "$context" = "oss" ];
then
updateOSS
elif [ "$context" = "v1compat" ];
then
updateV1Compat
elif [ "$context" = "all" ];
then
updateCloud
updateOSS
updateV1Compat
else
echo "Provide a context (cloud, oss, v1compat, all)"
showHelp
fi