Skip to content

Commit

Permalink
Fix production build errors v/5.4 (#1273)
Browse files Browse the repository at this point in the history
Fixes
```
6:39:36 PM: [15:39:36.387] ERROR (asciidoctor): target of image not found: rest-api-swagger-listed-endpoints.png
6:39:36 PM:     file: docs/modules/maintain-cluster/pages/enterprise-rest-api.adoc
6:39:36 PM:     source: https://github.com/hazelcast/hz-docs (branch: v/5.4 | start path: docs)
6:39:36 PM: [15:39:36.387] ERROR (asciidoctor): target of image not found: rest-api-swagger-expanding-an-endpoint.png
6:39:36 PM:     file: docs/modules/maintain-cluster/pages/enterprise-rest-api.adoc
6:39:36 PM:     source: https://github.com/hazelcast/hz-docs (branch: v/5.4 | start path: docs)
6:39:36 PM: [15:39:36.388] ERROR (asciidoctor): target of image not found: rest-api-swagger-clicking-execute-button.png
6:39:36 PM:     file: docs/modules/maintain-cluster/pages/enterprise-rest-api.adoc
6:39:36 PM:     source: https://github.com/hazelcast/hz-docs (branch: v/5.4 | start path: docs)
6:39:36 PM: [15:39:36.388] ERROR (asciidoctor): target of image not found: rest-api-swagger-clicking-try-it-out-button.png
6:39:36 PM:     file: docs/modules/maintain-cluster/pages/enterprise-rest-api.adoc
6:39:36 PM:     source: https://github.com/hazelcast/hz-docs (branch: v/5.4 | start path: docs)
6:39:36 PM: [15:39:36.390] WARN (asciidoctor): skipping reference to missing attribute: group-name
6:39:36 PM:     file: docs/modules/maintain-cluster/pages/enterprise-rest-api.adoc
6:39:36 PM:     source: https://github.com/hazelcast/hz-docs (branch: v/5.4 | start path: docs)
6:39:36 PM: [15:39:36.738] WARN (asciidoctor): unterminated open block
6:39:36 PM:     file: docs/modules/maintain-cluster/pages/shutdown.adoc:49
6:39:36 PM:     source: https://github.com/hazelcast/hz-docs (branch: v/5.4 | start path: docs)
6:39:37 PM: [15:39:37.159] WARN (asciidoctor): unterminated listing block
6:39:37 PM:     file: docs/modules/migrate/pages/upgrading-from-imdg-3.adoc:295
6:39:37 PM:     source: https://github.com/hazelcast/hz-docs (branch: v/5.4 | start path: docs)
6:39:38 PM: [15:39:38.827] WARN (asciidoctor): skipping reference to missing attribute: platform-javadocs
6:39:38 PM:     file: docs/modules/release-notes/pages/5-4-0.adoc
6:39:38 PM:     source: https://github.com/hazelcast/hz-docs (branch: v/5.4 | start path: docs)
```


https://app.netlify.com/sites/nifty-wozniak-71a44b/deploys/66d72c95e732700008b85034#L290
  • Loading branch information
fantkolja authored Sep 4, 2024
1 parent 5e7390a commit fc6c9b9
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 19 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions docs/modules/maintain-cluster/pages/enterprise-rest-api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ REST service is **disabled** in the configuration by default; enable it as shown

NOTE: If you are using Hazelcast's xref:getting-started:editions.adoc#slim-distribution[slim distribution], you must add `hazelcast-enterprise-rest-{full-version}.jar` to your member's classpath to use the REST API. If you are working with the full distribution, this additional step is not needed.

[tabs]
====
XML::
+
--
[tabs]
====
XML::
+
--
[source,xml]
----
<hazelcast>
Expand All @@ -47,11 +47,11 @@ hazelcast:

`8443` is the default port for REST API. To change it to another port, update the `rest` configuration as shown in the following example.

[tabs]
====
XML::
+
--
[tabs]
====
XML::
+
--
[source,xml]
----
<hazelcast>
Expand Down Expand Up @@ -443,7 +443,7 @@ curl -X 'POST' \

=== Destroying a CP Group

You can send a `DELETE` request to the endpoint at `/hazelcast/rest/api/v1/cp/groups/{group-name}` to unconditionally destroy the given active CP group.
You can send a `DELETE` request to the endpoint at `/hazelcast/rest/api/v1/cp/groups/\{group-name}` to unconditionally destroy the given active CP group.

Example request using cURL:

Expand Down
11 changes: 6 additions & 5 deletions docs/modules/maintain-cluster/pages/shutdown.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@

To send a command to shut down the cluster, use one of the following options:

[tabs]
====
CLI::
+
[tabs]
====
CLI::
+
--
NOTE: To use the CLI to shut down a cluster, you must first xref:clients:rest.adoc[enable the REST API].
[source,bash]
----
bin/hz-cluster-admin -a <address> -c <cluster-name> -o shutdown
----
--
REST API::
+
--
Expand Down Expand Up @@ -147,4 +148,4 @@ Similarly, the `isLocalMemberSafe()` method does the same check for the local me
The `forceLocalMemberToBeSafe()` method forces the owned and backup partitions to be synchronized,
making the local member safe.

For code samples, see https://github.com/hazelcast/hazelcast-code-samples/tree/master/monitoring/cluster-safety[GitHub^].
For code samples, see https://github.com/hazelcast/hazelcast-code-samples/tree/master/monitoring/cluster-safety[GitHub^].
3 changes: 2 additions & 1 deletion docs/modules/migrate/pages/upgrading-from-imdg-3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ mapConfig.addIndexConfig(indexConfig);
</map>
...
</hazelcast>
----

2+|Dynamic Index Create

Expand Down Expand Up @@ -2248,7 +2249,7 @@ See the following table for the before/after snippets.

== Deprecation of User Code Deployment

The adding of Java classes to members using {ucd} was deprecated in Platform 5.4.
The adding of Java classes to members using {ucd} was deprecated in Platform 5.4.

The {ucn} feature, which extends {ucd} to allow you to redeploy your classes, is available for Enterprise users.

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/release-notes/pages/5-4-0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ https://github.com/hazelcast/hazelcast/pull/24800[#24800]

=== API Documentation

* Detailed the existing partition aware interface description to explain the requirements when calculating the partition ID in case partition aware is implemented. See {platform-javadocs}/{full-version}/com/hazelcast/partition/PartitionAware.html. #875
* Detailed the existing partition aware interface description to explain the requirements when calculating the partition ID in case partition aware is implemented. See link:https://docs.hazelcast.org/docs/{full-version}/javadoc/com/hazelcast/partition/PartitionAware.html[`Interface PartitionAware<T>`].

== Fixes

Expand Down Expand Up @@ -312,7 +312,7 @@ With this fix, only the members on which the jobs have not been completed are qu
https://github.com/hazelcast/hazelcast/pull/24734[#24734]
* The evaluation tool for IMDG 3.x users (Hazelcast 3 Connector) is removed. In the upcoming releases, a new tool for migrating data from 3.x versions will be introduced.
https://github.com/hazelcast/hazelcast/pull/25051[#25051]
* Transactions have been deprecated, and will be removed as of Hazelcast version 7.0.
* Transactions have been deprecated, and will be removed as of Hazelcast version 7.0.
An improved version of this feature is under consideration. If you are already using transactions, get in touch and share your use case. Your feedback will help us to develop a solution that meets your needs.
* Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
* The user code deployment API is deprecated, and will be removed in Hazelcast Platform version 6.0. #223
Expand Down

0 comments on commit fc6c9b9

Please sign in to comment.