+
+
APM Agent .NET
- 9.0.0
+ Planned
-
APM Agent Java
- Beta
- 9.1.0
+ Planned
]
let ``renders EDOT agents`` () =
markdown |> convertsToHtml """
-
-
+
+
EDOT .NET
- 9.0.0
+ Planned
-
EDOT Java
- Beta
- 9.1.0
+ Planned
]
let ``renders GA planned when preview exists alongside GA`` () =
markdown |> convertsToHtml """
-
-
+
+This functionality may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.">
Stack
-
- 8.8.0
+
+ Planned
+If this functionality is unavailable or behaves differently when deployed on ECH, ECE, ECK, or a self-managed installation, it will be indicated on the page.">
Stack
-
- Planned
+
+ GA planned
-
+
"""
type ``deprecation planned`` () =
@@ -440,7 +435,7 @@ stack: deprecated 9.1.0
[]
let ``renders deprecation planned for future version`` () =
markdown |> convertsToHtml """
-
+
Stack
@@ -448,7 +443,7 @@ stack: deprecated 9.1.0
Deprecation planned
-
+
"""
type ``removal planned`` () =
@@ -461,7 +456,7 @@ stack: removed 9.1.0
[]
let ``renders removal planned for future version`` () =
markdown |> convertsToHtml """
-
+
Stack
@@ -469,7 +464,7 @@ stack: removed 9.1.0
Removal planned
-
+
"""
// Test edge cases
@@ -483,7 +478,7 @@ stack: unavailable
[]
let ``renders unavailable`` () =
markdown |> convertsToHtml """
-
+
Stack
@@ -504,11 +499,13 @@ product: ga
[]
let ``renders product all versions`` () =
markdown |> convertsToHtml """
-
+
"""
// Test complex mixed scenarios
@@ -530,24 +527,23 @@ apm_agent_java: beta 9.1.0
[
]
let ``renders complex mixed scenario`` () =
markdown |> convertsToHtml """
-
-
+
Stack
- 8.8.0
+ Planned
-
Serverless Elasticsearch
- Beta
- 9.0.0
+ Planned
- ECE
-
-
- 8.8.0
-
-
-
ECK
-
- Beta
- 9.0.0
-
-
-
- APM Agent .NET
-
-
- 9.0.0
-
-
-
- APM Agent Java
-
Planned
-
-"""
-
-// Test missing ProductApplicability products
-type ``product applicability missing`` () =
- static let markdown = Setup.Markdown """
-```{applies_to}
-ecctl: ga 9.0.0
-curator: beta 9.1.0
-edot_android: preview 9.2.0
-edot_cf_aws: ga 9.0.0
-edot_collector: beta 9.1.0
-edot_node: preview 9.2.0
-apm_agent_android: ga 9.0.0
-apm_agent_go: beta 9.1.0
-apm_agent_ruby: preview 9.2.0
-```
-"""
-
- []
- let ``renders missing ProductApplicability products`` () =
- markdown |> convertsToHtml """
-
-
- ECCTL
+
+ ECE
- 9.0.0
-
-
-
- Curator
-
-
- Beta
- 9.1.0
-
-
-
- EDOT Android
-
-
Planned
-
- EDOT CF AWS
+
+ APM Agent .NET
- 9.0.0
-
-
-
- EDOT Collector
-
-
- Beta
- 9.1.0
-
-
-
- EDOT Node.js
-
-
Planned
-
- APM Agent Android
-
-
- 9.0.0
-
-
-
- APM Agent Go
+
+ APM Agent Java
- Beta
- 9.1.0
-
-
-
- APM Agent Ruby
-
-
Planned
-
+
"""
// Test missing lifecycle scenarios
type ``lifecycle scenarios missing`` () =
static let markdown = Setup.Markdown """
```{applies_to}
-stack: development 9.0.0
+stack: beta 9.1.0
deployment:
- ece: discontinued 9.0.0
- eck: planned 9.0.0
+ ece: ga 9.1.0
```
"""
[]
let ``renders missing lifecycle scenarios`` () =
markdown |> convertsToHtml """
-
-
+
+
Stack
-
- Development
- 9.0.0
+
+ Planned
-
+
ECE
-
- Discontinued
- 9.0.0
-
-
-
- ECK
-
-
- Planned
- 9.0.0
+
+ Planned
-
+
"""
// Test missing version scenarios
@@ -739,8 +636,10 @@ deployment:
[]
let ``renders missing version scenarios`` () =
markdown |> convertsToHtml """
-
-
+
+
Stack
@@ -754,7 +653,7 @@ deployment:
Planned
-
+
"""
// Test missing edge cases
@@ -768,11 +667,15 @@ stack:
[]
let ``renders missing edge cases`` () =
markdown |> convertsToHtml """
-
+
"""
// Test missing VersioningSystemId coverage
@@ -793,53 +696,58 @@ product: ga 9.0.0
[]
let ``renders missing VersioningSystemId coverage`` () =
markdown |> convertsToHtml """
-
-
+
+
Stack
- 9.0.0
+ Planned
-
+
Serverless
- 9.0.0
+ Planned
-
- ECE
+
+ ECH
- 9.0.0
+ Planned
-
+
ECK
- 9.0.0
+ Planned
-
- ECH
+
+ ECE
- 9.0.0
+ Planned
-
+
Self-Managed
- 9.0.0
+ Planned
-
+
+
+ Planned
+
-
+
"""
// Test missing disclaimer scenarios
@@ -853,15 +761,15 @@ stack: ga 9.0.0
[]
let ``renders missing disclaimer scenarios`` () =
markdown |> convertsToHtml """
-
-
+
Stack
- 9.0.0
+ Planned
-
+
"""
diff --git a/tests/authoring/Framework/Setup.fs b/tests/authoring/Framework/Setup.fs
index cae2c210e..a88e0a499 100644
--- a/tests/authoring/Framework/Setup.fs
+++ b/tests/authoring/Framework/Setup.fs
@@ -209,6 +209,56 @@ type Setup =
Base = SemVersion(8, 0, 0)
)
)
+ versioningSystems.Add(VersioningSystemId.ApmAgentJava,
+ VersioningSystem(
+ Id = VersioningSystemId.ApmAgentJava,
+ Current = SemVersion(8, 0, 0),
+ Base = SemVersion(8, 0, 0)
+ )
+ )
+ versioningSystems.Add(VersioningSystemId.ApmAgentPython,
+ VersioningSystem(
+ Id = VersioningSystemId.ApmAgentPython,
+ Current = SemVersion(8, 0, 0),
+ Base = SemVersion(8, 0, 0)
+ )
+ )
+ versioningSystems.Add(VersioningSystemId.EdotDotnet,
+ VersioningSystem(
+ Id = VersioningSystemId.EdotDotnet,
+ Current = SemVersion(8, 0, 0),
+ Base = SemVersion(8, 0, 0)
+ )
+ )
+ versioningSystems.Add(VersioningSystemId.EdotJava,
+ VersioningSystem(
+ Id = VersioningSystemId.EdotJava,
+ Current = SemVersion(8, 0, 0),
+ Base = SemVersion(8, 0, 0)
+ )
+ )
+ versioningSystems.Add(VersioningSystemId.EdotPython,
+ VersioningSystem(
+ Id = VersioningSystemId.EdotPython,
+ Current = SemVersion(8, 0, 0),
+ Base = SemVersion(8, 0, 0)
+ )
+ )
+ versioningSystems.Add(VersioningSystemId.Curator,
+ VersioningSystem(
+ Id = VersioningSystemId.Curator,
+ Current = SemVersion(8, 0, 0),
+ Base = SemVersion(8, 0, 0)
+ )
+ )
+ versioningSystems.Add(VersioningSystemId.EdotCollector,
+ VersioningSystem(
+ Id = VersioningSystemId.EdotCollector,
+ Current = SemVersion(8, 0, 0),
+ Base = SemVersion(8, 0, 0)
+ )
+ )
+
let versionConfig = VersionsConfiguration(VersioningSystems = versioningSystems)
let configurationFileProvider = ConfigurationFileProvider(fileSystem)
let configurationContext = ConfigurationContext(
diff --git a/tests/authoring/authoring.fsproj b/tests/authoring/authoring.fsproj
index 053238969..661be140d 100644
--- a/tests/authoring/authoring.fsproj
+++ b/tests/authoring/authoring.fsproj
@@ -51,6 +51,7 @@
+