https://github.com/guilhermecamposo/workshop_camel-springboot
workshop material covering Camel on Spring Boot
https://github.com/guilhermecamposo/workshop_camel-springboot
camel springboot
Last synced: about 1 year ago
JSON representation
workshop material covering Camel on Spring Boot
- Host: GitHub
- URL: https://github.com/guilhermecamposo/workshop_camel-springboot
- Owner: GuilhermeCamposo
- Created: 2022-05-23T17:07:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-07T14:47:31.000Z (over 3 years ago)
- Last Synced: 2025-04-07T21:12:16.051Z (about 1 year ago)
- Topics: camel, springboot
- Language: Jinja
- Homepage:
- Size: 23.5 MB
- Stars: 1
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Camel Spring Boot Workshop
:toc:
:toc-placement!:
Ansibe automation to the deploy Red Hat Fuse Workshop.
toc::[]
== Product versions
* Fuse: 2.10
* Spring Boot: 2
* Java: 11
* AMQ Broker: 7.x
* Codeready Workspaces: latest
== Requirements
=== OpenShift 4.9
This workshops requires a OpenShift environment with users already defined, they must:
- be named as `user + number`, like `user1`
- have the same password: `openshift`.
Have as many as you need for your activity.
Take the above resource consumption as a base to calculate the amount of resource you will need for your workshop.
[NOTE]
====
This workshop is specifically tested with OCP 4.9. Older versions have API incompatibilities that will break the automation and newer versions still not possess some of the operators used in this workshop.
====
=== Resource Consumption per User
image::./images/resources.png[Resource Consumption]
=== CodeReady Workspaces
You just need an updated browser, preferably Chrome or Firefox :)
== Using the Ansible playbook
=== Parameters
[options="header"]
|=======================
| Parameter | Example Value | Definition
| token | sha256~vFanQbthlPKfsaldJT3bdLXIyEkd7ypO_XPygY1DNtQ | Access token for a user with cluster-admin privileges.
| server | https://api.cluster-xyz.xyz.sandbox9999.opentlc.com:6443 | The cluster's OpenShift API URL
| num_users | 8 | Number of users attending the workshop. Have in mind that the more users you have, more resources you are going to need from the cluster.
| delete_workshop | false | Only use this parameter if you intend to delete the installation and preserve the cluster.
|=======================
=== Running the playbook
- Replace the environment variable values:
----
token=REPLACE_ME
server=REPLACE_ME
num_users=REPLACE_ME
----
=== Install the Workshop
----
cd workshop_camel-springboot/ansible
ansible-playbook -e token=${token} -e server=${server} -e num_users=${num_users} playbook.yml
----
=== Delete the workshop:
----
ansible-playbook -e token=${token} -e server=${server} -e num_users=${num_users} -e delete_workshop=true playbook.yml
----
=== Getting the user registration page
The URL will be displayed by the `Installation Finished` task.
image::./images/user-distribution-console.PNG[User Distribution]