/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0; you may not use this file except in compliance with the Elastic License
 * 2.0.
 */

package org.elasticsearch.xpack.core.transform;

public class TransformDeprecations {

    public static final String UPGRADE_TRANSFORM_URL = "https://ela.st/es-8-upgrade-transforms";

    // breaking changes base url for the _next_ major release
    public static final String BREAKING_CHANGES_BASE_URL =
        "https://www.elastic.co/guide/en/elasticsearch/reference/master/migrating-8.0.html";

    public static final String QUERY_BREAKING_CHANGES_URL = BREAKING_CHANGES_BASE_URL + "#breaking_80_search_changes";

    public static final String AGGS_BREAKING_CHANGES_URL = BREAKING_CHANGES_BASE_URL + "#breaking_80_aggregations_changes";

    public static final String ACTION_UPGRADE_TRANSFORMS_API = "Use the upgrade transforms API to fix your transforms.";

    public static final String ACTION_MAX_PAGE_SEARCH_SIZE_IS_DEPRECATED =
        "[max_page_search_size] is deprecated inside pivot. Use settings instead.";

    private TransformDeprecations() {}
}

@@ -711,63 +711,63 @@
 L = 
-BREAKING_CHANGES_BASE_URL + %22#breaking_80_search_change
+%22https://ela.st/es-deprecation-8-transform-query-option
 s%22;%0A
@@ -830,50 +830,51 @@
 L = 
-BREAKING_CHANGES_BASE_URL + %22#breaking_80_
+%22https://ela.st/es-deprecation-8-transform-
 aggr
@@ -884,16 +884,15 @@
 tion
-s_change
+-option
 s%22;%0A

Use short URLs for transform deprecation messages (#79659)