►
Description
The second video in the series shows how you can create an OpenShift Decision Service.
We also cover adding a Maven proxy to your build configuration. The steps used to create, configure and run a maven proxy on OpenShift were taken from the post Improving Build Time of Java Builds on OpenShift.
NOTE: For the latest information on OpenShift 3.1, please visit https://enterprise.openshift.com or subscribe to the OpenShift Blog (https://blog.openshift.com).
A
Welcome
to
the
second
video
in
a
series
of
three
showing
how
to
have
a
PMS
decision
service
working
on
opposite
with
the
all
the
web
hooks
configure
and
the
second
video
will
create
the
decision
service
on
openshift
will
configure
maven
to
use
a
proxy,
and
then
we
will
test
the
service.
So
let's
come
to
open
shift.
This
is
a
blank
project.
I'm
going
to
add
my
decision
service.
My
decision
service
is
going
to
be
based
out
of
a
template.
A
A
As
you
can
see,
it's
downloading
all
my
dependencies
from
Haven
and
from
the
internet,
and
we
do
not
want
it
to
be
what
the
dependencies
to
be
downloaded
from
a
native
proxy
and
I
have
a
maven
proxy
configure
here.
An
open
shift-
and
this
which
is
in
this
project
here,
I
configured
this
made
in
proxy
using
instructions
from
this
blog
post,
which
says
improving
the
time
of
Java,
builds
on
openshift
I,
follow
the
process
and
the
blog,
and
now
I
have
my
maven
my
nexus
proxy
configured
and
working
properly.
A
So
let's
do
this:
let's
change
the
build
configuration
and
to
make
it
use
the
bills.
I'll
leave
this
field
here
running,
but
I'll
change.
The
build
configuration,
so
the
next
builds
can
take
advantage
of
the
proxy.
It's
very
easy
to
change
the
village
configuration
to
the
proxy.
You
just
need
to
add
another
environment,
terrible
which
is
the
maven
your
URL
lets.
You
specify
a
value
to
this
and
the
value
is
going
to
be
the
one
that's
coming
from
domain
from
maxsa.
A
So
I'll
have
a
group
here,
which
is
a
group
of
all
my
ripples,
and
this
is
the
URL
I'm
going
to
use
in
my
project.
Ok
here
it
is,
I
add
it
in
even
your
url,
it's
all
fine.
So
that
means
that
next
builds
will
always
get
this
your
app,
and
so
we
can
come
here
and
see
what
urls
have
been
applied.
I'll
make
sure
that
my
mind
even
URL
has
been
correctly
applied.
A
Okay,
that's
safe!
Let's
see
if
it's
there!
Ok!
Now,
it's
good
I
may
have
missed
something
there.
So
it
is.
That
means
that
all
the
next
builds
they
would
use
that
nail.
So
this
one
took
around
1
minute
and
42
to
execute.
Now
I'm
going
to
start
the
build
again
and
this
next
build
should
take
less
than
it.
So,
let's
come
to
the
build
and
access
the
build
logs
and
verify
that
it
is
using
made
so
starting
to
build
and,
as
you
can
see
I'll
just
go
here
and
stop
it's
downloading
from
my
nexus.
A
So
you
can
see
here
starting
online
when
it
starts
downloading.
You
see
here
that
is
going
to
my
local
nexus
instead
of
going
to
the
public
internet.
So
that
will
make
my
build
happen
much
faster,
so
it's
just
downloads
would
take
much
less
time
right
and
while
it
does
the
build,
I
will
show
you
what
this
project
is
about
right.
A
So
it's
a
very
simple
rules
package
where
I
will
receive
a
person,
and
this
person
has
a
name
and
if
this
person's
name
happens
to
be
ritory,
I
will
reply
with
a
salutation
that
says
at
your
service
master,
alright
and
then,
if
that
person
is
not
rhetoric,
I
would
say
get
out
of
my
way
whatever
name
that
is
so.
This
is
a
very
simple
decision
service.
Let's
come
back
here
to
open
shift
while
doing
the
bill,
so
the
build
has
been
completed
and
we
can
see
that
the
build
time
has
improved
and
quite
considerably.
A
It
was
from
one
minute
and
40
seconds
to
55
seconds.
So
that's
one
of
the
advantages
of
having
a
proxy.
Let's
come
here
to
open
shift
now
open
shift
is
starting.
My
docker
image
with
my
decision
service
and,
as
you
can
see
here,
is
light
light
blue.
So
the
light
blue
means
that
the
container
has
started,
but
is
it
not
yet
ready
to
respond
to
requests,
and
that
is
because
we
have
included
a
readiness
probe
on
the
container
that
would
only
let
openshift
send
requests
that
container
when
the
dinner
has
passed.
A
All
the
redness
probes,
you
can
configure
redness
probes
to
be
anything
that
you
want
like
a
a
simple
bash
script.
Call
for
example,
that
will
verify
if
a
certain
port
is
open
or
that
we
verify
faisant.
A
certain
log.
Information
is
out
there.
So
here
we
can
see
that
it
has
passed
the
redness
probes,
and
that
means
we
can
already
send
requests
to
that
service.
So
this
is
a
service
URL
and
I'm
going
to
send
a
test.
My
very
simple
BRMS
decision
service,
I
have
a
rest
client.
A
The
URL
is
here,
is
correct,
so
I'm
going
to
send
a
name,
that's
not
rhetoric
and
we
should
get
something
which
is
hey.
You
get
out
of
the
way
from
the
first
video
right
now
we're
going
to
change
it
to
ritory,
send
and
it
will
say
hello
ritory
at
your
service,
my
master
right.
So
this
was
the
second
video
in
the
series
of
three
thank
you.