Skip to content

Commit 0c19dfb

Browse files
committed
chore: deprecate Synthetic Integrations
favoring Camel Dashboard
1 parent 994822d commit 0c19dfb

File tree

3 files changed

+4
-134
lines changed

3 files changed

+4
-134
lines changed

docs/modules/ROOT/pages/running/synthetic.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
= Synthetic Integrations
22

3+
WARNING: the feature is deprecated and replaced by https://camel-tooling.github.io/camel-dashboard/docs/[Camel Dashboard monitoring] instead, see the new project official documentation.
4+
35
You may have already a Camel application running on your cluster. You may have created it via a manual deployment, a CICD or any other deployment mechanism you have in place. Since the Camel K operator is meant to operate any Camel application out there, then, you will be able to import it and monitor in a similar fashion of any other Camel K **managed Integration**. These Integrations are known as **Synthetic Integrations**
46

57
== Importing existing Camel applications

e2e/advanced/synthetic_test.go

Lines changed: 0 additions & 131 deletions
This file was deleted.

pkg/cmd/operator/operator.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,9 @@ func Run(healthPort, monitoringPort int32, leaderElection bool, leaderElectionID
227227

228228
synthEnvVal, synth := os.LookupEnv("CAMEL_K_SYNTHETIC_INTEGRATIONS")
229229
if synth && synthEnvVal == "true" {
230-
log.Info("Starting the synthetic Integration manager")
230+
log.Info("Starting the synthetic Integration manager. " +
231+
"WARNING: this is a deprecated feature and will be removed in future versions, use Camel Dashboard project instead.")
231232
exitOnError(synthetic.ManageSyntheticIntegrations(ctx, ctrlClient, mgr.GetCache()), "synthetic Integration manager error")
232-
} else {
233-
log.Info("Synthetic Integration manager not configured, skipping")
234233
}
235234
log.Info("Starting the manager")
236235
exitOnError(mgr.Start(ctx), "manager exited non-zero")

0 commit comments

Comments
 (0)