-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
75 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: templates | ||
title: Templates | ||
version: v0.1 | ||
nav: | ||
- modules/ROOT/nav.adoc | ||
|
||
|
8 changes: 8 additions & 0 deletions
8
templates/modules/ROOT/pages/microservices/application-structure.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// {framework} -> The name of the microservices framework | ||
|
||
ifdef::framework[] | ||
The application is a basic {framework} app having 2 endpoints defined in `CommandController`: | ||
|
||
- `/put` is the page where key and values can be put on a Hazelcast distributed map. It takes `key` and `value` as query parameters and returns the entry in JSON format. | ||
- `/get` is the page where the values in the Hazelcast distributed map can be obtained by keys. It takes `key` as query parameter and returns the found entry in JSON format. | ||
endif::[] |
3 changes: 3 additions & 0 deletions
3
templates/modules/ROOT/pages/microservices/prerequisites.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- A text editor or IDE | ||
- JDK 1.8+ | ||
- Apache Maven 3.2+ |
7 changes: 7 additions & 0 deletions
7
templates/modules/ROOT/pages/microservices/what-you-will-learn.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// {framework} -> The name of the microservices framework | ||
|
||
ifdef::framework[] | ||
In this guide, you will learn how to use Hazelcast IMDG within {framework} microservices. | ||
|
||
The {framework} application contains two REST controllers which helps you to put data and read it back. The application initializes a single Hazelcast IMDG member instance which is used to keep the data. When you run the application multiple times, Hazelcast IMDG instances build a cluster and share the data. | ||
endif::[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[tabs] | ||
==== | ||
Hazelcast Cloud:: | ||
+ | ||
-- | ||
You can easily create a Hazelcast cluster on https://cloud.hazelcast.com[Hazelcast Cloud] with just a few clicks. See https://docs.cloud.hazelcast.com/docs/getting-started[Getting Started] documentation for details. | ||
-- | ||
Docker Image:: | ||
+ | ||
-- | ||
You can start members inside Docker containers. See the https://github.com/hazelcast/hazelcast-docker[documentation] for details. | ||
[source, bash] | ||
---- | ||
$ docker run hazelcast/hazelcast:$HAZELCAST_VERSION | ||
---- | ||
-- | ||
Hazelcast CLI:: | ||
+ | ||
-- | ||
You can start members via Hazelcast CLI. See the https://github.com/hazelcast/hazelcast-command-line[documentation] for the installation instructions and details. | ||
[source, bash] | ||
---- | ||
$ hz start | ||
---- | ||
-- | ||
Download Packages:: | ||
+ | ||
-- | ||
You can start members via `start` script in https://hazelcast.org/imdg/download[IMDG bundle]. | ||
[source, bash] | ||
---- | ||
$ sh bin/start.sh | ||
---- | ||
-- | ||
==== | ||
|
||
[NOTE] | ||
==== | ||
You can find other ways of starting Hazelcast members and forming a cluster | ||
https://docs.hazelcast.org/docs/latest/manual/html-single/#installing-hazelcast-imdg[here]. | ||
==== | ||
|