ConfigMap Mission - WildFly Swarm

This mission showcases application configuration, using OpenShift configmaps. It demonstrates application and runtime configuration leveraging external configuration sources. Alongside the basic means to set up a configmap and use with a specific runtime, this booster also demonstrates how changes to the configuration can be applied to services already deployed in OpenShift.

Using the greeting service

Result:

Invoke the service to see the result.

Once you have invoked the greeting service, you can reconfigure it:

  1. Run oc edit configmap app-config
  2. Change the message entry to Bonjour %s from a ConfigMap!
  3. Save
  4. Run oc rollout latest dc/<DEPLOYMENT_NAME> and wait for the pod to be restarted for it to pick up the changes.

    (To find out what deployment name you are using, use oc get dc)