Wednesday, 22 May 2013

Upgrading the 'TeamMentor View Library Links Status’ tool to 3.3

One of the tools I developed during the 3.2 release was a window's tool that allowed the analysis and mapping of broken links in an TeamMentor library.

This tool is similar to the one I showed in this video and is on the https://github.com/TeamMentor/UnitTests repository:

image

Which I cloned:

image

locally

 image

And found in the LibraryManagement folder, amongst other scripts, the TM - View Library Links Status v1.0.h2 tool:

image

which at the moment fails to run because of the changed web service’s

image

Tip: this GUI comes with a couple C# REPL helpers, for example here is how to use it to programmatically get the current WebServices URL

image

Then I quickly used the O2 Platform’s WSDL tool to load up the WSDL and create the updated C# file (note: this should be scripted)

image

The updated WSDL C# file is here:

image

Which I copied to:

image

and committed the changes:

image

Since there were a couple API changes, there were a couple errors on the API_TeamMentor_WebServices.cs file:

image

After easily fixing them:

image

The link checked tool works :)

Here it is running stating an analysis of the .NET 2.0 library in the https://teammentor.net server

image

Which looks like this when completed (ignore the Not OK for now, since for performance reasons I only loaded up the .NET 2.0 files):

image

For reference here are the two commits I did during this blog post (with the scripts upgrade to 3.3)

Finally, on the topic of visualisation, you might also like to read Visualizing TeamMentor Link's structure (with Graphs)

No comments: