ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » java app to tget list of deployed artefacts

Post new topic  Reply to topic
 java app to tget list of deployed artefacts « View previous topic :: View next topic » 
Author Message
souciance
PostPosted: Fri Mar 16, 2018 12:25 am    Post subject: java app to tget list of deployed artefacts Reply with quote

Disciple

Joined: 29 Jun 2010
Posts: 169

Hello,

In case anyone needs a small tool to traverse the list of execution groups, get hold of all applications and restapis deployed and get the lastdeploytime and barfile property then fee free to contact me. I have written a small spring boot/camel that does this. We use this to populate a wiki or sharepoint page with the complete list on a schedued basis. I would have hoped there was a way to get all the applications and apis and their properties in one single call but instead you have to traverse for each execution group and each application/restapi. So for 10 execution groups with 100 apps in each, thats 1000 calls to the IIB admin API.

Best
Souciance
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Mar 16, 2018 12:29 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

You could put it on GIT hub somewhere.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
souciance
PostPosted: Fri Mar 16, 2018 12:44 am    Post subject: Reply with quote

Disciple

Joined: 29 Jun 2010
Posts: 169

zpat wrote:
You could put it on GIT hub somewhere.


Yeah, will do in a couple of days. Need to do some clean up and add better comments. Then it will be on a public github. Will post it here hopefully by end of next week.
Back to top
View user's profile Send private message
souciance
PostPosted: Sat Mar 17, 2018 9:35 am    Post subject: Reply with quote

Disciple

Joined: 29 Jun 2010
Posts: 169

Ok so I cleaned up the code a bit and now the spring boot/camel app is available on github. You can find it here https://github.com/SoucianceEqdamRashti/Integration/tree/master/artefacts .

Our aim was to traverse the admin API and generate a list of execution groups, list of deployed apps and restaps per execution group and a couple of properties. Finally we send it to a logic app component on azure to generate a table on sharepoint. You can off course do whatever you like with the json message.

For full instructions check out the github page. If you encounter any issues let me know.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Mar 17, 2018 11:08 am    Post subject: Re: java app to tget list of deployed artefacts Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

souciance wrote:
Hello,

I would have hoped there was a way to get all the applications and apis and their properties in one single call but instead you have to traverse for each execution group and each application/restapi. So for 10 execution groups with 100 apps in each, thats 1000 calls to the IIB admin API.

Best
Souciance

Let's stay precise here. You're not using the IIB admin API at all. You are using the IIB REST API. There is a difference!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
souciance
PostPosted: Sun Mar 18, 2018 1:48 am    Post subject: Re: java app to tget list of deployed artefacts Reply with quote

Disciple

Joined: 29 Jun 2010
Posts: 169

fjb_saper wrote:
souciance wrote:
Hello,

I would have hoped there was a way to get all the applications and apis and their properties in one single call but instead you have to traverse for each execution group and each application/restapi. So for 10 execution groups with 100 apps in each, thats 1000 calls to the IIB admin API.

Best
Souciance

Let's stay precise here. You're not using the IIB admin API at all. You are using the IIB REST API. There is a difference!


Yes, it is the IIB REST API.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » java app to tget list of deployed artefacts
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.