Skip to content

Commit 44ce6e9

Browse files
Note removal of Flux MQTT package support OSS 2.7+ (#5634)
* WIP added prepend to mqtt package frontmatter * WIP excluded mqtt package from oss 2.7+ * WIP add nightly version exclude * add nightly exclude to flux function support modal, closes influxdata/DAR#437 * updated mqtt warn message and version exclude pattern * Apply suggestions from code review Co-authored-by: Jason Stirnaman <[email protected]> * exclude mqtt package from all oss versions * exclude mqtt package from everything but cloud --------- Co-authored-by: Jason Stirnaman <[email protected]>
1 parent 5aa74f2 commit 44ce6e9

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

data/flux_stdlib_frontmatter.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,11 +920,49 @@
920920
aliases:
921921
- /influxdb/v2/reference/flux/stdlib/experimental/mqtt/
922922
- /influxdb/cloud/reference/flux/stdlib/experimental/mqtt/
923+
prepend:
924+
block: warn
925+
content: |
926+
#### Only supported in InfluxDB Cloud (TSM)
927+
928+
The `experimental/mqtt` package only supported in InfluxDB Cloud (TSM).
929+
It is still available to import in InfluxDB OSS and Enterprise, but
930+
functions will not successfully publish to an MQTT broker.
931+
exclude_from:
932+
nightly: true
933+
oss: ^*
934+
enterprise: ^*
923935
924936
/flux/v0/stdlib/experimental/mqtt/to.md: |
925937
aliases:
926938
- /influxdb/v2/reference/flux/stdlib/experimental/mqtt/to/
927939
- /influxdb/cloud/reference/flux/stdlib/experimental/mqtt/to/
940+
prepend:
941+
block: warn
942+
content: |
943+
#### Only supported in InfluxDB Cloud (TSM)
944+
945+
The `experimental/mqtt` package only supported in InfluxDB Cloud (TSM).
946+
It is still available to import in InfluxDB OSS and Enterprise, but
947+
functions will not successfully publish to an MQTT broker.
948+
exclude_from:
949+
nightly: true
950+
oss: ^*
951+
enterprise: ^*
952+
953+
/flux/v0/stdlib/experimental/mqtt/publish.md: |
954+
prepend:
955+
block: warn
956+
content: |
957+
#### Only supported in InfluxDB Cloud (TSM)
958+
959+
The `experimental/mqtt` package only supported in InfluxDB Cloud (TSM).
960+
It is still available to import in InfluxDB OSS and Enterprise, but
961+
functions will not successfully publish to an MQTT broker.
962+
exclude_from:
963+
nightly: true
964+
oss: ^*
965+
enterprise: ^*
928966
929967
/flux/v0/stdlib/experimental/oee/_index.md: |
930968
aliases:

layouts/partials/footer/modals/flux-influxdb-versions.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ <h4>InfluxDB Open Source (OSS)</h4>
4545
{{ $versionSemVer := split $value "." }}
4646
{{ $supported := cond (ge (index $versionSemVer 0) (index $introducedSemVer 0)) (cond (ge (index $versionSemVer 1) (index $introducedSemVer 1)) (cond (ge (index $versionSemVer 2) (index $introducedSemVer 2)) true false) false) false }}
4747
{{ $deprecated := and (isset $.Page.Params "deprecated") (cond (ge (index $versionSemVer 0) (index $deprecatedSemVer 0)) (cond (ge (index $versionSemVer 1) (index $deprecatedSemVer 1)) (cond (ge (index $versionSemVer 2) (index $deprecatedSemVer 2)) true false) false) false) }}
48-
{{ $excluded := gt (len (findRE (string $excludePatternOSS) $key)) 0 }}
48+
{{ $nightlyExcluded := and (eq $key "nightly") $.Page.Params.exclude_from.nightly }}
49+
{{ $excluded := or (gt (len (findRE (string $excludePatternOSS) $key)) 0) $nightlyExcluded }}
4950
<div class="version-row">
5051
<div class="version-col"><p>InfluxDB {{ $key }}</p></div>
5152
<div class="version-col"><p>

0 commit comments

Comments
 (0)