The purpose of this project is to provide a starting point for integrating Red Hat ® Red Hat CloudForms and ServiceNow’s Service Catalog.
This is what happens behind the scenes when a catalogitem is ordered through ServiceNow and sent to CloudForms.
-
User logs into ServiceNow.
-
User opens the catalogitem.
-
The
Catalogitem
contains:-
A defined
workflow
. -
A list of
variable(s)
.
-
-
-
User orders the
Catalogitem
.-
A
Request
is created for theCatalogitem
. -
The
Request
goes through an internal approvalWorkflow
. -
The
Request
is approved. -
The
Request Item
task:-
Passes the
Catalogitem
variables to theWorkflow
. -
Executes the
Workflow
specified in theCatalogitem
. -
The
Workflow
points to aREST Message
which defines:-
The
REST Endpoint
. -
The
MID Server
. -
The
HTTP Headers
. -
The
JSON payload
to be passed to CloudForms.
-
-
The
REST Message
then writes the job to the ServiceNowecc_queue
.
-
-
The
MID Server
frequently queries the ServiceNowecc_queue
message bus for assigned tasks. -
The
MID Server
finds theREST Message
. -
The
MID Server
executes theREST Message
along with theJSON Payload
to CloudForms. -
The
MID Server
then writes theresults
to theWorkflow Activity History
for theRequest Item
.
-