Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Optimize C7 content #4785

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Remove Optimize C7 content #4785

wants to merge 12 commits into from

Conversation

akeller
Copy link
Member

@akeller akeller commented Dec 17, 2024

Description

First pass at removing C7 content from /next/.

Note - some files from the non-/next/ version were touched due to link issues (mainly the links were pointing to a version outside of their version... which is not ideal for reasons like this). There are a LOT of changes, but let's start with reviewing this set and then backport the changes in separate PRs. To get the build working, some links were replaced with #.

Related to https://github.com/camunda/product-hub/issues/1247.

When should this change go live?

  • This is a bug fix, security concern, or something that needs urgent release support.
  • This is already available but undocumented and should be released within a week.
  • This on a specific schedule and the assignee will coordinate a release with the DevEx team. (apply hold label or convert to draft PR)
  • This is part of a scheduled alpha or minor. (apply alpha or minor label)
  • There is no urgency with this change and can be released at any time.

PR Checklist

  • My changes are for an already released minor and are in /versioned_docs directory.
  • My changes are for the next minor and are in /docs directory (aka /next/).

@akeller akeller added component:optimize Issues related with Optimize project deploy Stand up a temporary docs site with this PR labels Dec 17, 2024
@akeller akeller self-assigned this Dec 17, 2024
Copy link
Contributor

github-actions bot commented Dec 17, 2024

👋 🤖 🤔 Hello, @akeller! Did you make your changes in all the right places?

These files were changed only in optimize/. You might want to duplicate these changes in optimize_versioned_docs/version-3.14.0/.

  • optimize/components/userguide/combined-process-reports.md
  • optimize/components/userguide/decision-analysis/decision-analysis-overview.md
  • optimize/components/userguide/decision-analysis/decision-filter.md
  • optimize/components/userguide/decision-analysis/decision-report.md
  • optimize/components/userguide/decision-analysis/img/dmn_date_chart.png
  • optimize/components/userguide/decision-analysis/img/dmn_decision_table.png
  • optimize/components/userguide/decision-analysis/img/dmn_pie_chart.png
  • optimize/components/userguide/decision-analysis/img/dmn_progress_bar.png
  • optimize/components/userguide/decision-analysis/img/dmn_raw_data_report.png
  • optimize/components/userguide/decision-analysis/img/dmn_report_create.png
  • optimize/components/userguide/decision-analysis/img/report-with-filterlist-open.png
  • optimize/components/userguide/decision-analysis/img/zoom-in.png
  • optimize/self-managed/optimize-deployment/advanced-features/import-guide.md
  • optimize/self-managed/optimize-deployment/configuration/getting-started.md
  • optimize/self-managed/optimize-deployment/configuration/license.md
  • optimize/self-managed/optimize-deployment/configuration/multi-tenancy.md
  • optimize/self-managed/optimize-deployment/configuration/object-variables.md
  • optimize/self-managed/optimize-deployment/configuration/system-configuration-platform-7.md
  • optimize/self-managed/optimize-deployment/configuration/webhooks.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/2.1-to-2.2.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/2.2-to-2.3.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/2.3-to-2.4.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/2.4-to-2.5.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/2.5-to-2.6.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/2.6-to-2.7.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.0-to-3.1.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.1-to-3.2.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.11-to-3.12.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.12-to-3.13.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.13-to-3.14.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.2-to-3.3.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.3-to-3.4.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.4-to-3.5.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.5-to-3.6.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.6-to-3.7.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.7-to-3.8.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.8-to-3.9-preview.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/3.9-preview-to-3.9.md
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/img/private_report_access_1_create_collection.png
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/img/private_report_access_2_create_view_permission_mary.png
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/img/private_report_access_3_1_copy_report.png
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/img/private_report_access_3_2_copy_report.png
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/img/private_report_access_4_mary_sees_collection.png
  • optimize/self-managed/optimize-deployment/migration-update/camunda-7/instructions.md
  • optimize/self-managed/optimize-deployment/plugins/businesskey-import-plugin.md
  • optimize/self-managed/optimize-deployment/plugins/decision-import-plugin.md
  • optimize/self-managed/optimize-deployment/plugins/elasticsearch-header.md
  • optimize/self-managed/optimize-deployment/plugins/engine-rest-filter-plugin.md
  • optimize/self-managed/optimize-deployment/plugins/plugin-system.md
  • optimize/self-managed/optimize-deployment/plugins/single-sign-on.md
  • optimize/self-managed/optimize-deployment/plugins/variable-import-plugin.md
  • optimize/self-managed/optimize-deployment/reimport.md
  • optimize/self-managed/optimize-deployment/version-policy.md

You may have done this intentionally, but we wanted to point it out in case you didn't. You can read more about the versioning within our docs in our documentation guidelines.

@@ -4,6 +4,8 @@ title: "Version policy"
description: "Learn about the versioning policy for Camunda Optimize."
---

<-- Does this need to be separate from the [C8 release policy](https://docs.camunda.io/docs/reference/release-policy/)? -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[all.hrefProduction] Improper link format: 'C8 release policy'. Please use relative URLs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RomanJRW @toco-cam, for Optimize + C8, do we need a different release and versioning policy anymore?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optimize 8 release policy is aligned with the rest of the stack, so maybe we don't even need this page anymore

@akeller
Copy link
Member Author

akeller commented Dec 17, 2024

@toco-cam @RomanJRW, I've done a very quick draft PR to remove Optimize C7 content from /next/ docs. One way you can help my team is verifying that this is indeed the correct content we should remove. In some cases it's full pages, sections, or parts of a page.

Can you remind me how far you want to backport this? We'll also do our best to support redirects to docs.camunda.org, but redirects to a different domain might have unintended SEO consequences or issues.

Copy link
Contributor

@RomanJRW RomanJRW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some initial comments. Can I get a preview env? Would also be able to provide further feedback if I can

Comment on lines -170 to -173
- `SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI` Complete URI to get public keys for JWT validation, e.g. `https://weblogin.cloud.company.com/.well-known/jwks.json`. For more details see [public API authentication](../../apis-tools/optimize-api/optimize-api-authentication.md).
- `OPTIMIZE_API_ACCESS_TOKEN` secret static shared token to be provided to the secured REST API on access in the authorization header. Will
be ignored if `SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI` is also set. For more details see [public API
authentication](../../apis-tools/optimize-api/optimize-api-authentication.md).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is C8-related, but might be going away anyway with the Identity changes. @matthewBearCamunda - will this still be relevant going forward?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was in a C7 labeled section, but please double check.

@@ -1,74 +0,0 @@
---
id: 3.9-to-3.10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we no longer need the Camunda 8 subfolder, as it will be the only content here after this change

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll leave this for now since we still need to rip out the separate instance in the docs for Optimize.

@@ -4,6 +4,8 @@ title: "Version policy"
description: "Learn about the versioning policy for Camunda Optimize."
---

<-- Does this need to be separate from the [C8 release policy](https://docs.camunda.io/docs/reference/release-policy/)? -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optimize 8 release policy is aligned with the rest of the stack, so maybe we don't even need this page anymore

@akeller
Copy link
Member Author

akeller commented Dec 17, 2024

@RomanJRW you are too quick! I am working on getting the deploy running. I'll try to add in your feedback, but this is already a great start!

@akeller akeller added deploy Stand up a temporary docs site with this PR and removed deploy Stand up a temporary docs site with this PR labels Dec 17, 2024
@akeller akeller added the hold This issue is parked, do not merge. label Dec 17, 2024
@akeller akeller requested a review from RomanJRW December 17, 2024 23:31
@github-actions github-actions bot temporarily deployed to camunda-docs December 17, 2024 23:34 Destroyed
Copy link
Contributor

The preview environment relating to the commit a7b059a has successfully been deployed. You can access it at https://preview.docs.camunda.cloud/pr-4785/index.html


<span class="badge badge--platform">Camunda 7 only</span>

## Overview
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is another page here: https://preview.docs.camunda.cloud/pr-4785/optimize/next/self-managed/optimize-deployment/advanced-features/engine-data-deletion/

I think that this is pretty C7 exclusive too (although we never marked it as so). With this in mind, I propose we completely delete the whole "additional features" section from the docs. Wdyt?

description: "Read about how to configure alert notification webhooks for alerts on custom systems."
---

<span class="badge badge--platform">Camunda 7 only</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a page called "Common problems". I don't think these are a good fit for C8 either, can we delete this too? https://preview.docs.camunda.cloud/pr-4785/optimize/next/self-managed/optimize-deployment/configuration/common-problems/

The import of object variable values is enabled by default and can be disabled using the `import.data.variable.includeObjectVariableValue` [configuration](./system-configuration-platform-7.md).
<!-- This section needs attention-->

The import of object variable values is enabled by default and can be disabled using the `import.data.variable.includeObjectVariableValue` [configuration](#).

## Other system configurations

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a tab section below called platformobject - we can delete this too

@@ -101,7 +95,7 @@ historyCleanup:

<TabItem value='ingestedevent'>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we delete this tab item please. This is event based process related, which is not supported in C8 anyway

@@ -101,7 +95,7 @@ historyCleanup:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't comment in the right place, but we can also delete the decisiondata tab, as this is not supported in C8

:::note
The ingested event cleanup does not cascade down to potentially existing [event-based processes](components/userguide/additional-features/event-based-processes.md) that may contain data originating from ingested events. To make sure data of ingested events is also removed from event-based processes, you need to enable the [Process Data Cleanup](#process-data-cleanup) as well.
The ingested event cleanup does not cascade down to potentially existing [event-based processes](#) that may contain data originating from ingested events. To make sure data of ingested events is also removed from event-based processes, you need to enable the [Process Data Cleanup](#process-data-cleanup) as well.
:::

</TabItem>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the above two tabs removed, we can also greatly simplify the example below to just be:

historyCleanup:
  cronTrigger: '0 1 * * 0'
  ttl: 'P1Y'
  processDataCleanup:
    enabled: true
    cleanupMode: 'variables'
    perProcessDefinitionConfig:
      'VeryConfidentProcess':
        ttl: 'P1M'
        cleanupMode: 'all'
      'KeepTwoMonthsProcess':
        ttl: 'P2M'

The explanation below can be simplified to correspond to this change too

| webhookAlerting.webhooks.$\{webhookName}.proxy.host | | The proxy host to use, must be set if webhookAlerting.webhooks.$\{webhookName}.proxy.enabled = true. |
| webhookAlerting.webhooks.$\{webhookName}.proxy.port | | The proxy port to use, must be set if webhookAlerting.webhooks.$\{webhookName}.proxy.enabled = true. |
| webhookAlerting.webhooks.$\{webhookName}.proxy.sslEnabled | | Whether this proxy is using a secured connection (HTTPS). Must be set if webhookAlerting.webhooks.$\{webhookName}.proxy.enabled = true. |

### History cleanup settings

Settings for automatic cleanup of historic process/decision instances based on their end time.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also on this page, we can delete the following lines:

  • plugin.directory
  • plugin.variableImport.basePackages
  • plugin.authenticationExtractor.basePackages
  • plugin.engineRestFilter.basePackages
  • plugin.decisionInputImport.basePackages
  • plugin.decisionOutputImport.basePackages
  • plugin.elasticsearchCustomHeader.basePackages
  • serialization.engineDateFormat
  • historyCleanup.ingestedEventCleanup.enabled
  • historyCleanup.decisionDataCleanup .perDecisionDefinitionConfig.${key}.ttl
  • historyCleanup.decisionDataCleanup.perDecisionDefinitionConfig
  • historyCleanup.decisionDataCleanup.enabled

<span class="badge badge--platform">Camunda 7 only</span>

To perform an import and provide the full set of features, Optimize requires a connection to the REST API of the Camunda engine. For details on how to configure the connection to the Camunda 7, refer to the [Camunda 7 configuration section](./system-configuration-platform-7.md).

## Camunda 8 specific configuration

For Camunda 8, Optimize is importing process data from exported zeebe records as created by the [Zeebe Elasticsearch Exporter](https://github.com/camunda/camunda/tree/main/zeebe/exporters/elasticsearch-exporter) (or [Zeebe OpenSearch Exporter](https://github.com/camunda/camunda/tree/main/zeebe/exporters/opensearch-exporter)) from the same cluster that Optimize used to store its own data. For the relevant configuration options, refer to the [Camunda 8 import configuration](./system-configuration-platform-8.md).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the bottom of the page, there is a section called "Maximum result limits for queries". This can be deleted completely

---
id: event-ingestion
title: "Event ingestion"
description: "The REST API to ingest external events into Optimize."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can still see this page in the sidebar, which I guess needs to be deleted too


<span class="badge badge--platform">Camunda 7 only</span>

Occasionally, it is necessary to compare multiple reports or visualize them together in one diagram. This can be achieved by creating a special type of report called a combined process report. To create a new combined process report, visit the **Collections** page and click **Create New > New Report > Combined Process Report**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a page in "Additional Features" called "Footer" - https://preview.docs.camunda.cloud/pr-4785/optimize/next/components/userguide/additional-features/footer/

Let's delete that as well, it's not very helpful and is quite C7-centric anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:optimize Issues related with Optimize project deploy Stand up a temporary docs site with this PR hold This issue is parked, do not merge.
Projects
Status: 🏗 In Progress
Development

Successfully merging this pull request may close these issues.

2 participants