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

New "Docker and Kubernetes" category in Guides #676

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 35 additions & 3 deletions _data/guides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,41 @@ categories:
- title: Getting Started with WildFly
url: /get-started
description: Build and run a Jakarta EE application with WildFly in a few minutes
- title: Java Microservices on Kubernetes with WildFly
url: /guides/get-started-microservices-on-kubernetes
description: Build and run Jakarta EE applications with WildFly on Kubernetes in a few minutes
- category: Podman/Docker and Kubernetes
cat-id: docker-kubernetes
groups:
- title: Jakarta REST service
guides:
- description: Build the Container Image
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-part1
- description: Run the Container Image on Kubernetes
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-part2
- title: Jakarta REST service using a Database
guides:
- description: Build the Container Image
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-database-part1
- description: Run the Container Image on Kubernetes
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-database-part2
- title: Jakarta REST service using a Message Broker
guides:
- description: Build the Container Image
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-infinispan-part1
- description: Run the Container Image on Kubernetes
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-infinispan-part2
- title: Jakarta REST service using Infinispan
guides:
- description: Build the Container Image
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-jms-part1
- description: Run the Container Image on Kubernetes
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-jms-part2
- title: Jakarta REST service invoking another Jakarta REST service
guides:
- description: Build the Container Image
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-client-part1
- description: Run the Container Image on Kubernetes
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-client-part2
- description: Propagate Authentication and Authorization
url: /guides/get-started-microservices-on-kubernetes/simple-microservice-client-part3
- category: Observability
cat-id: observability
guides:
Expand Down
29 changes: 21 additions & 8 deletions _includes/index-guides.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,27 @@ <h1 class="title">{{ page.title }}</h1>
<div class="grid-wrapper news-list-blocks">
{% for item in site.data["guides"].categories %}
<h2 class="grid__item width-12-12" id="{{ item.cat-id }}">{{ item.category }}</h3>
{% for guide in item.guides %}
<div class="grid__item width-3-12 news-block-item">
<div class="post-title">
<h4><a href="{{site.baseurl}}{{ guide.url }}">{{ guide.title}}</a></h4>
<div class="description">{{ guide.description | markdownify }}</div>
</div>
</div>
{% endfor %}
{% if item.groups %}
{% for group in item.groups %}
<div class="grid__item width-3-12 news-block-item">
<div class="post-title">
<h4>{{ group.title}}</h4>
{% for guide in group.guides %}
<div class="description"><a href="{{site.baseurl}}{{ guide.url }}">{{ guide.description}}</a></div>
{% endfor %}
</div>
</div>
{% endfor %}
{% else %}
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be:

{% endif %}
{% if item.guides %}

Otherwise the entire category must be used solely for guides that are part of groups.

{% for guide in item.guides %}
<div class="grid__item width-3-12 news-block-item">
<div class="post-title">
<h4><a href="{{site.baseurl}}{{ guide.url }}">{{ guide.title}}</a></h4>
<div class="description">{{ guide.description | markdownify }}</div>
</div>
</div>
{% endfor %}
{% endif %}
{% endfor %}
</div>
</div>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 16 additions & 8 deletions guides/get-started-microservices-on-kubernetes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,22 @@ We will start building a link:https://docs.docker.com/[Docker Image, window="_bl

=== Guides in this series

* link:/guides/get-started-microservices-on-kubernetes/simple-microservice-part1[{simple-microservice-part1}]
* link:/guides/get-started-microservices-on-kubernetes/simple-microservice-part2[{simple-microservice-part2}]
* link:/guides/get-started-microservices-on-kubernetes/simple-microservice-database-part1[{simple-microservice-database-part1}]
* link:/guides/get-started-microservices-on-kubernetes/simple-microservice-database-part2[{simple-microservice-database-part2}]
* link:/guides/get-started-microservices-on-kubernetes/simple-microservice-infinispan-part1[{simple-microservice-infinispan-part1}]
* link:/guides/get-started-microservices-on-kubernetes/simple-microservice-infinispan-part2[{simple-microservice-infinispan-part2}]
* link:/guides/get-started-microservices-on-kubernetes/simple-microservice-jms-part1[{simple-microservice-jms-part1}]
* link:/guides/get-started-microservices-on-kubernetes/simple-microservice-jms-part2[{simple-microservice-jms-part2}]
* **{simple-microservice-header}**
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-part1[{simple-microservice-part1}]
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-part2[{simple-microservice-part2}]
* **{simple-microservice-database-header}**
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-database-part1[{simple-microservice-database-part1}]
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-database-part2[{simple-microservice-database-part2}]
* **{simple-microservice-infinispan-header}**
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-infinispan-part1[{simple-microservice-infinispan-part1}]
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-infinispan-part2[{simple-microservice-infinispan-part2}]
* **{simple-microservice-jms-header}**
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-jms-part1[{simple-microservice-jms-part1}]
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-jms-part2[{simple-microservice-jms-part2}]
* **{simple-microservice-client-header}**
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-client-part1[{simple-microservice-client-part1}]
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-client-part2[{simple-microservice-client-part2}]
** link:/guides/get-started-microservices-on-kubernetes/simple-microservice-client-part3[{simple-microservice-client-part3}]
//* link:get-enterprise-ready[{get-enterprise-ready}]

[[references]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@
:jaxrs-example-project-groupId: org.wildfly.examples
:jaxrs-example-project-artifactId: jaxrs
:jaxrs-example-project-version: 11.0.0.Final-SNAPSHOT
:version-bootable-jar: 11.0.0.Beta1
:version-wildfly-galleon-pack: 32.0.0.Final
:version-wildfly: 34.0.1.Final
:version-wildfly-galleon-pack: 34.0.1.Final
:jakarta-jakartaee-api-version: 10.0.0
:version-junit-jupiter-api: 5.10.2
:version-arquillian-junit5-container: 1.8.0.Final
:version-org-wildfly-arquillian-wildfly-arquillian: 5.1.0.Beta1
:version-resteasy-client: 6.2.7.Final
:version-wildfly-cloud-galleon-pack: 7.0.0.Final
:version-wildfly-maven-plugin: 5.0.0.Final
:version-junit-jupiter-api: 5.11.3
:version-wildfly-cloud-galleon-pack: 7.0.2.Final
:version-wildfly-maven-plugin: 5.0.1.Final
:version-wildfly-maven-plugin-docs: 5.1
:my-jaxrs-app-docker-image-name: my-jaxrs-app
:my-jaxrs-app-db-docker-image-name: my-jaxrs-app-db
:my-jaxrs-app-infinispan-docker-image-name: my-jaxrs-app-infinispan
:quay-io-account-name: tborgato
:version-wildfly-datasources-galleon-pack: 8.0.0.Final
:version-wildfly-datasources-galleon-pack: 9.1.0.Final
:postgre-sql-user: postgres
:postgre-sql-password: admin
:postgre-sql-host: localhost
Expand Down Expand Up @@ -46,3 +44,19 @@
:artemis-console-port-name: artemis-console-port
:my-jms-app-docker-image-name: my-jms-app
:podman-network-name: demo-network
:simple-microservice-client: simple-microservice-client
:simple-microservice-server: simple-microservice-server
:simple-microservice-client-secured: simple-microservice-client-secured
:simple-microservice-server-secured: simple-microservice-server-secured
:keycloak-external: keycloak-external
:keycloak-internal: keycloak-internal
:keycloak-realm: keycloak-realm
:keycloak-data-import: keycloak-data-import
:keycloak-admin-user: admin
:keycloak-admin-pws: admin
:keycloak-user1: alice
:keycloak-user1-pws: 123
:keycloak-user2: bob
:keycloak-user2-pws: 123
:keycloak-role1: user
:keycloak-role2: admin
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
:simple-microservice-part1: WildFly Java Microservice - PART 1: Docker Image
:simple-microservice-header: WildFly Java Microservice
:simple-microservice-part1: WildFly Java Microservice - PART 1: Container Image
:simple-microservice-part2: WildFly Java Microservice - PART 2: Kubernetes
:simple-microservice-database-part1: Connecting to a DB - PART 1: Docker Image
:simple-microservice-database-header: Connecting to a DB
:simple-microservice-database-part1: Connecting to a DB - PART 1: Container Image
:simple-microservice-database-part2: Connecting to a DB - PART 2: Kubernetes
:simple-microservice-jms-part1: Using a Message Broker - PART 1: Docker Image
:simple-microservice-jms-header: Using a Message Broker
:simple-microservice-jms-part1: Using a Message Broker - PART 1: Container Image
:simple-microservice-jms-part2: Using a Message Broker - PART 2: Kubernetes
:simple-microservice-infinispan-part1: Using Infinispan remote cache - PART 1: Docker Image
:simple-microservice-infinispan-header: Using Infinispan remote cache
:simple-microservice-infinispan-part1: Using Infinispan remote cache - PART 1: Container Image
:simple-microservice-infinispan-part2: Using Infinispan remote cache - PART 2: Kubernetes
:simple-microservice-client-header: Invoke one Microservices from another
:simple-microservice-client-part1: Invoke one Microservices from another - PART 1: Container Images
:simple-microservice-client-part2: Invoke one Microservices from another - PART 2: Kubernetes
:simple-microservice-client-part3: Invoke one Microservices from another - PART 3: Propagate Authentication
:get-enterprise-ready: Get “Enterprise” ready
Loading