Skip to content

Commit

Permalink
Use https in the short URLs for the shards_availability indicator (el…
Browse files Browse the repository at this point in the history
  • Loading branch information
andreidan authored Dec 15, 2022
1 parent e209791 commit 8e87b70
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions docs/changelog/92310.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 92310
summary: Use https in the short URLs for the `shards_availability` indicator
area: Health
type: bug
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
public static final String PRIMARY_UNASSIGNED_IMPACT_ID = "primary_unassigned";
public static final String REPLICA_UNASSIGNED_IMPACT_ID = "replica_unassigned";

public static final String RESTORE_FROM_SNAPSHOT_ACTION_GUIDE = "http://ela.st/restore-snapshot";
public static final String RESTORE_FROM_SNAPSHOT_ACTION_GUIDE = "https://ela.st/restore-snapshot";
public static final Diagnosis.Definition ACTION_RESTORE_FROM_SNAPSHOT = new Diagnosis.Definition(
NAME,
"restore_from_snapshot",
Expand All @@ -144,7 +144,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
RESTORE_FROM_SNAPSHOT_ACTION_GUIDE
);

public static final String DIAGNOSE_SHARDS_ACTION_GUIDE = "http://ela.st/diagnose-shards";
public static final String DIAGNOSE_SHARDS_ACTION_GUIDE = "https://ela.st/diagnose-shards";
public static final Diagnosis.Definition ACTION_CHECK_ALLOCATION_EXPLAIN_API = new Diagnosis.Definition(
NAME,
"explain_allocations",
Expand All @@ -155,7 +155,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
DIAGNOSE_SHARDS_ACTION_GUIDE
);

public static final String FIX_DELAYED_SHARDS_GUIDE = "http://ela.st/fix-delayed-shard-allocation";
public static final String FIX_DELAYED_SHARDS_GUIDE = "https://ela.st/fix-delayed-shard-allocation";
public static final Diagnosis.Definition DIAGNOSIS_WAIT_FOR_OR_FIX_DELAYED_SHARDS = new Diagnosis.Definition(
NAME,
"delayed_shard_allocations",
Expand All @@ -166,7 +166,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
FIX_DELAYED_SHARDS_GUIDE
);

public static final String ENABLE_INDEX_ALLOCATION_GUIDE = "http://ela.st/fix-index-allocation";
public static final String ENABLE_INDEX_ALLOCATION_GUIDE = "https://ela.st/fix-index-allocation";
public static final Diagnosis.Definition ACTION_ENABLE_INDEX_ROUTING_ALLOCATION = new Diagnosis.Definition(
NAME,
"enable_index_allocations",
Expand All @@ -179,7 +179,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
+ "].",
ENABLE_INDEX_ALLOCATION_GUIDE
);
public static final String ENABLE_CLUSTER_ALLOCATION_ACTION_GUIDE = "http://ela.st/fix-cluster-allocation";
public static final String ENABLE_CLUSTER_ALLOCATION_ACTION_GUIDE = "https://ela.st/fix-cluster-allocation";
public static final Diagnosis.Definition ACTION_ENABLE_CLUSTER_ROUTING_ALLOCATION = new Diagnosis.Definition(
NAME,
"enable_cluster_allocations",
Expand All @@ -193,7 +193,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
ENABLE_CLUSTER_ALLOCATION_ACTION_GUIDE
);

public static final String ENABLE_TIER_ACTION_GUIDE = "http://ela.st/enable-tier";
public static final String ENABLE_TIER_ACTION_GUIDE = "https://ela.st/enable-tier";
public static final Map<String, Diagnosis.Definition> ACTION_ENABLE_TIERS_LOOKUP = DataTier.ALL_DATA_TIERS.stream()
.collect(
Collectors.toUnmodifiableMap(
Expand All @@ -209,7 +209,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
)
);

public static final String INCREASE_SHARD_LIMIT_ACTION_GUIDE = "http://ela.st/index-total-shards";
public static final String INCREASE_SHARD_LIMIT_ACTION_GUIDE = "https://ela.st/index-total-shards";
public static final Diagnosis.Definition ACTION_INCREASE_SHARD_LIMIT_INDEX_SETTING = new Diagnosis.Definition(
NAME,
"increase_shard_limit_index_setting",
Expand Down Expand Up @@ -240,7 +240,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
)
);

public static final String INCREASE_CLUSTER_SHARD_LIMIT_ACTION_GUIDE = "http://ela.st/cluster-total-shards";
public static final String INCREASE_CLUSTER_SHARD_LIMIT_ACTION_GUIDE = "https://ela.st/cluster-total-shards";
public static final Diagnosis.Definition ACTION_INCREASE_SHARD_LIMIT_CLUSTER_SETTING = new Diagnosis.Definition(
NAME,
"increase_shard_limit_cluster_setting",
Expand Down Expand Up @@ -271,7 +271,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
)
);

public static final String MIGRATE_TO_TIERS_ACTION_GUIDE = "http://ela.st/migrate-to-tiers";
public static final String MIGRATE_TO_TIERS_ACTION_GUIDE = "https://ela.st/migrate-to-tiers";
public static final Diagnosis.Definition ACTION_MIGRATE_TIERS_AWAY_FROM_REQUIRE_DATA = new Diagnosis.Definition(
NAME,
"migrate_data_tiers_require_data",
Expand Down Expand Up @@ -340,7 +340,7 @@ public HealthIndicatorResult calculate(boolean verbose, HealthInfo healthInfo) {
)
);

public static final String TIER_CAPACITY_ACTION_GUIDE = "http://ela.st/tier-capacity";
public static final String TIER_CAPACITY_ACTION_GUIDE = "https://ela.st/tier-capacity";
public static final Diagnosis.Definition ACTION_INCREASE_NODE_CAPACITY = new Diagnosis.Definition(
NAME,
"increase_node_capacity_for_allocations",
Expand Down

0 comments on commit 8e87b70

Please sign in to comment.