DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • The Path From APIs to Containers: How Microservices Fueled the Journey
  • What Is API-First?
  • Delegated Transport, Forked Authorization: Where Chat and AI-Agent Integrations Actually Break
  • When RabbitMQ Accepts a Message but Does Not Route It to a Queue

Trending

  • Best of Three Worlds: AI Agents Writing In Rust and Java Beat the C Library
  • How to Format Articles for DZone
  • Controller and Data Access: Understanding Two-Layer Architecture Through Abstraction and Encapsulation
  • Key ML Classification Metrics You Need to Understand

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Code Ready Containers: Getting Started With Cloud-Native Process Integration

Code Ready Containers: Getting Started With Cloud-Native Process Integration

The cloud-native approach comes to Code-Ready Containers with OpenShift Container Platform.

By 
Eric D. Schabell
DZone Core CORE ·
Dec. 05, 19 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
8.0K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

containers

Cloud-native with Code-Ready Containers.

I previously posted that I've started a refresh of the Red Hat Demo Central collection of AppDev in the Cloud projects by updating the Code Ready Containers Easy Install. As it promises, you'll have a local container platform cluster installed on your personal machine based on OpenShift Container Platform 4.2 in just minutes. The next step is to start leveraging this local container platform cluster for some cloud-native development experience, focusing on bringing all the existing content up to date.

This article outlines getting started with the HR Employee Rewards project on the above installation as default, though you can point this installation to any existing OpenShift Container Platform (pass an IP address). Let's take a look at how easy it is to get started with Code Ready Containers HR Employee Rewards Demo.

You may also enjoy:  How to Set Up Container Development on Your Local Machine in Minutes

Anyone spending any time with the content found on Red Hat Demo Central should notice that all projects are designed using a template for consistent installation experiences. This one is no different and you can follow the same installation steps you would expect in the readme file:

Image title


Install on OpenShift Container Platform

There are two options to install and run this project on the OpenShift Container Platform (OCP): use your own existing installation, or install on Code Ready Containers, which provides you with a local OCP cluster.

  1. Ensure you have an OpenShift container based installation, such as one of the following:
  • Your own OpenShift installation, if using this, just pass the IP address to the init.{sh|bat} script.
  • Code Ready Containers Easy Install
  1. Download and unzip this demo.
  2. Download Red Hat JBoss EAP & Red Hat Process Automation Manager, add to installs directory (see installs/README).
  3. Run  init.sh or init.bat file.  init.bat must be run with Administrative privileges:
   # If using your own installation just point to Openshift Container Platform IP Address
   # as follows:
   #
   $ ./init.sh 192.168.99.100  # example for OCP.


# If using Code Ready Containers or the Code Ready Containers Easy Install project, just add the cluster 
   # address to HOST_IP variable found at the top of the init.{sh|bat} files, for example:
   #
   # HOST_IP=api.crc.testing  
   # 
   # Now just run the script without any IP address arguments and it picks up that hostname as follows:
   #
   $ ./init.sh


Log in to the HR Employee Rewards project to start exploring an online employee rewards application (the address will be generated by the init script):

  • Code Ready Container example: http:rhcs-rewards-demo-appdev-in-cloud.apps-crc.testing/business-central ( u:erics / p:redhatpam1! )

Want to build this HR employee rewards demo from scratch? Try this hands-on online workshop.

Further Reading

A Quick Guide to Deploying Java Apps on OpenShift

4 Ways to Build Applications in OpenShift 

Getting Started With Cloud-Native Development on OpenShift Container Platform [Video]

Container Integration

Published at DZone with permission of Eric D. Schabell. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • The Path From APIs to Containers: How Microservices Fueled the Journey
  • What Is API-First?
  • Delegated Transport, Forked Authorization: Where Chat and AI-Agent Integrations Actually Break
  • When RabbitMQ Accepts a Message but Does Not Route It to a Queue

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook