Wednesday, 18 September 2013

IBM BPM - Getting a list of installed Toolkits

My client asked me how they could get a list of installed Toolkits without needing to paste through pages of UI.

I checked the IBM BPM Information Center: -


specifically: -


which provides the following REST endpoint URL: -

/rest/bpm/wle/v1/toolkit

I tried this on one of our Process Center boxes: -

https://process-center.uk.ibm.com/rest/bpm/wle/v1/toolkit

and got back an XML document listing all of the toolkits: -

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <bpm:ResponseData xmlns:bpm="http://rest.bpm.ibm.com/v1/data" xmlns:ex="http://rest.bpm.ibm.com/v1/data/exception">
  <status>200</status>
- <data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sys="http://rest.bpm.ibm.com/v1/data/system" xsi:type="sys:ProcessApps">
- <processAppsList>
  <ID>2066.1b351583-e5cb-43b7-baee-340a63130ea7</ID>
  <shortName>TWSYS</shortName>
  <name>System Data</name>
  <description>Teamworks System Data</description>
  <lastModifiedBy>tw_admin</lastModifiedBy>
  <lastModified_on>2013-06-25T09:49:16Z</lastModified_on>
  </processAppsList>
- <processAppsList>
  <ID>2066.9715841f-b0f3-4e32-9db0-708f8bd3e93a</ID>
  <shortName>PTK</shortName>
  <name>Processes and Tasks</name>
  <description>A toolkit for interfacing with the Javascript API for retrieval of generic information about Processes Instances and Tasks.</description>
  <lastModifiedBy>tw_admin</lastModifiedBy>
  <lastModified_on>2013-07-23T09:46:00Z</lastModified_on>
  <defaultVersion>Main</defaultVersion>
  </processAppsList>
- <processAppsList>

... 

which is useful.

:-)

6 comments:

Prakshal said...

We can use rest/bpm/wle/v1/processApps for getting details about all ProcessApps and snpashots installed for each process app

Dave Hay said...

Hi Prakshal, good to hear from you :-)

Yes, you're right, and I did post the ProcessApps URL in a much earlier blog post in 2012: -

http://portal2portal.blogspot.co.uk/2012/12/random-things-to-remember-about-my.html

Hope all is well, Dave

Prakshal said...

Hi Dave,
All is well.. still at same place, same story.. :)

I was finding a REST to get processApp and lended on this page, which gave me pointer to solution.
I kinda use your blog every other day... :)
Thanks..

Hope you are also well.

Dave Hay said...

@Prakshal

Yes, life is good here, working with BPM Advanced, plus other interesting technologies. I'm even getting to write a bit of code, partly for self-enablement and partly to enable the client, using IBM Integration Designer ( SCA, BPEL, mediations, maps etc. ).

:-)

All the best, Dave

Anonymous said...

This is probably kind of redundant but can anyone help me with how to create a toolkit in IBM BPM v8.5.6

Dave Hay said...

Hi, thanks for the comment. Have you referenced the IBM documentation, specifically the Knowledge Center ?

For example, we have this: -

Managing and using toolkits

There's also developerWorks Answers

And then there's the BPM design redbook: -

Business Process Management Design Guide: Using IBM Business Process Manager

Hope this helps :-)

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...