Enterprise Architecture

Service Catalogue Importer Tool for Sparx EA

Written by Rodrigo Nascimento · 1 min read >
Service Catalogue Importer Tool for Sparx EA

It is not unusual for SOA projects to start to create a list of services using a spreadsheet. However, this list will increase over time and must be well managed to support discoverability and reusability of services. This importer tool is useful when using Sparx Enterprise Architect to model services, by automating the import of the list of services.

This tool is a modification of Geert Bellekens’ “Simple VBA Excel to EA importer” published in his website (http://bellekens.com/2013/04/30/simple-vba-excel-to-ea-importer-v3/).

Service Taxonomy support

This tool was designed to support Service Taxonomy (i.e. by layer, by function), using Class Stereotype and Package Structure. Of course different Service Architects use different approaches to Service Taxonomy, so feel free to adapt the code to your needs.

Preparing the Service Catalogue for Sparx EA

The spreadsheet was designed to include the following catalogue information:

  • Service Name – service name based on your service naming standards.
  • Stereotype – this is the class stereotype. I usually use it to specify the service taxonomy (i.e. Business Service, Utility Service… or any other taxonomy you use as part of your service architecture).
  • Service Description – a brief description about the service
  • Operation – service operation name.
  • Version – service version.
  • Complexity – usually used for estimation purposes.
  • Reference Model information – the Reference Model columns where added to categorise the services and create the respective structure. A domain model (ideally derived from the organisation’s business context) is usually used here.

The template provided in this post includes few lines with examples to illustrate its functionality.

When populating the spreadsheet, please use null to specify an empty field.

Importing the Catalogue into Sparx EA

In Sparx EA, select the folder where you want your Service Catalogue to be created.

Ea_importer_1

In Excel, click on “Import Services to Sparx EA” button under the Add-Ins tab.

Ea_importer_2

Services, operations and respective structure will be automatically created in Sparx EA.

Ea_importer_3

To finalise, I just would like to add Geert’s statement from his original post:

“Both the Excel file as the VBA code embedded in it is free for use. Just be kind and leave the reference to my name in the code if you use it.”

And (of course!) the file: ServiceCatalogueImporter_v1

Written by Rodrigo Nascimento
Rodrigo Nascimento is an experienced consultant with 30+ years of experience in IT. He has been working from the strategy definition down to the technical implementation, ensuring that deliverables can be traced to the promised business values. The combination of his passion for technology (which started when he was 10 years old with his first ZX Spectrum) and his strong academic business background (bachelor's degree in Marketing and MBA) have been used in many organisations to optimise the utilisation of IT resources and capabilities to leverage competitive advantage. Profile

Leave a Reply

Your email address will not be published. Required fields are marked *