Environment Setup Lab

The first two labs of this course provide an overview of the Decision Central and Decision Server components of Red Hat Decision Manager.

In this lab, you order a Red Hat Decision Manager environment and then log into its Decision Central web application.

Goals
  • Order a Red Hat Decision Manager lab environment

  • Log in to the Decision Central web application

Prerequisites
  • Broadband internet connectivity

  • An up-to-date browser, such as Google Chrome or Firefox

  • Red Hat Online Partner Enablement Network—Training Learning Center (OPENTLC) credentials

1. Set Up Red Hat Decision Manager Environment

  1. In your browser, navigate to the OPENTLC lab portal^:

    images/cf_login.png
  2. Enter your OPENTLC username and password, and click Login.

  3. Navigate to Services → Catalogs → OPENTLC Middleware Solutions Labs:

    images/cf_course_selection_project.png
  4. Select RHT Decision Manager 7 Foundations and then click Order:

  5. Click the checkbox that says: Check this box to confirm that you understand and know your runtime and expiration dates.

  6. In the next panel, click Submit in the lower right corner.

    • This initiates a process to provision a full Red Hat Decision Manager lab environment. This lab environment is provisioned in a Red Hat OpenShift Container Platform (RHOCP) cloud environment administered by Red Hat’s OPEN team.

  7. Within 5 to 10 minutes, expect to receive an email with contents similar to the following:

    • This email confirms that your Red Hat Decision Manager project is created.

  8. Save the email.

    • The email includes a GUID—a unique four-character identifier generated for your lab environment.

    • Whenever you see "GUID" or "$GUID" in a command, make sure to replace it with your GUID.

  9. Pay particular attention to the URL of the OpenShift Container Platform master node referenced in this email.

    • It is likely that the URL listed in your email is different from the URL in this sample email snippet.

    • For the duration of the course, you navigate to this OpenShift Container Platform master node.

2. Review OpenShift Container Platform Components

  1. Using an internet browser, navigate to the URL of Red Hat OpenShift Container Platform mentioned in the lab confirmation email.

  2. Log in to OpenShift Container Platform using your OPENTLC credentials:

    images/ocp-login.png
    • When you log in to the OpenShift Container Platform, expect to see the available projects in the right panel of the home screen:

      images/projects-list.png
  3. Select the project with the name similar to bxms-dm-$GUID.

2.1. Explore Deployments

  1. In the left panel of your Red Hat OpenShift Container Platform project home page, navigate to Applications → Deployments.

  2. Examine the three deployments and expect to see that they all have a status of Active, 1 replica:

    images/initial_deployments.png
  3. Review the descriptions of each of these applications:

    Application Name Description

    gpte-kieserver

    Decision Server component where rule execution occurs

    gpte-ng-dmf

    Angular web application that interacts with RESTful API of Decision Server container

    gpte-rhdmcentr

    Decision Central component where version-controlled rule authoring occurs

2.2. Explore Routes

  1. In the left panel, navigate to the Applications → Routes section.

  2. Note the URL to your gpte-rhdmcentr route:

    images/external-route.png

3. Log In to Decision Central

  1. Click the link to open a new tab in your browser showing the Decision Central web application of Red Hat Decision Manager:

    images/bc-login.png
  2. Log in to Decision Central using these credentials:

    • Username: adminUser

    • Password: test1234!

    • Verify that you see the Decision Central home page:

      images/bc-home.png

4. Review Known Issues

Red Hat’s engineering team is investigating two known issues—Decision Central’s long load time and the display of incorrect information.

Long Load Times

Sometimes Decision Central takes a long time to load. You can refresh your browser to make use of your browser cache and improve the load time in subsequent attempts to load the UI.

Inconsistent State

In some cases, Decision Central does not correctly display the expected information on a page after an action or remains in the loading state.

  • In this case, you can press the F5 key to refresh your browser and reload the Decision Central web page.

  • When you try the exercise again, you can expect it to work.