Red Hat Connected Vehicle Architecture

See the Solution in Action

1. Demonstration

Include here content related to potential existing demos: blogs, articles, recorded videos, walkthrough guides, tutorials.

1.1. Watch a demonstration

Next, you can learn how to install this solution pattern.

2. Install the solution pattern

You can use the install.sh script to install this Solution Pattern.

2.1. Prerequisites

Before executing the install.sh script, make sure you have the following ready:

2.2. Running the installation

  1. Provide the properties in install_cleanup_vars.sh, i.e.:

# The namespace to deploy the solution pattern in
NAMESPACE=bobbycar
# The clusters app domain without port
APP_DOMAIN=apps.cluster-pnc6l.pnc6l.sandbox52.opentlc.com
# The clusters api domain without port
API_DOMAIN=api.cluster-pnc6l.pnc6l.sandbox52.opentlc.com

# Google Maps API key - https://developers.google.com/maps/documentation/javascript/get-api-key
GOOGLE_API_KEY=<MyGoogleMapsApiKey>
# OpenWeatherMap API Key - https://openweathermap.org/api
OWM_WEATHER_API_KEY=<MyApiKey>
# https://www.ibm.com/products/environmental-intelligence-suite/data-packages
IBM_WEATHER_API_KEY=<MyApiKey>

# Installs OpenShift Serverless in the cluster
INSTALL_KNATIVE=true
# Installs the required namespaced operators: AMQ Streams, AMQ Broker, Datagrid, Camel-K
INSTALL_OPERATORS=true
# Deletes the BobbycarZone CRD when executing ./cleanup.sh
DELETE_CRD=true

# Helm Release names
HELM_INFRA_RELEASE_NAME=infra
HELM_APP_RELEASE_NAME=apps
HELM_SERVERLESS_RELEASE_NAME=serverless

Mandatory fields are:

  • NAMESPACE

  • APP_DOMAIN

  • API_DOMAIN

  • GOOGLE_API_KEY

The weather-api fields are optional:

  • OWM_WEATHER_API_KEY and/or

  • IBM_WEATHER_API_KEY

If you haven’t installed OpenShift Serverless in your cluster, you can set INSTALL_KNATIVE=true, this will install OpenShift Serverless.

INSTALL_OPERATORS=true will install the

  • AMQ Streams

  • AMQ Broker

  • Camel-K

  • Datagrid

operators in the local namespace you’ll deploy this solution pattern into.

When using OpenShift Local, you can use the following values:

NAMESPACE=bobbycar
APP_DOMAIN=apps-crc.testing
API_DOMAIN=api-crc-testing

Then run the install.sh script:

  ./install.sh

If you want to manually install Bobbycar in your own environment (step-by-step), please follow these installation instructions!

2.3. Clean up the installation

Run the cleanup.sh script to uninstall the solution pattern

If you also want to remove the BobbycarZone CRD, set DELETE_CRD=true in the install_cleanup_vars.sh script.

  ./cleanup.sh