Constructing a framework for the TFS Automation Platform
Join the DZone community and get the full member experience.
Join For Freei have been working on a framework that will allow the developers to get started building for the tfs automation platform and specifically to meet the goals for release 1. i should note that i am not writing any code at this time i am putting together the jigsaw and selecting some technologies.
i have gone with two solutions. one to constrain all of the platform bits and another for the automation that we will be building. the main reason for this is to dogfood the developer experience as we really want folks to start building automations in the wild. if it is hard in any way then they will not.
this method also allows us to both version and release the automations separately from the platform and reduces our dependency on code changes in the core. the idea is that, just as everyone else will be doing, we build the automations against the latest “released” bits. in our case, that will mean the latest “alfa” at the start, but needs must.
tfsautomationplatform
while i intend to keep the automation platform as simple as possible, that does not mean that it actually is simple. there are really three parts to the platform that need to be installed separately, but mike’s help we should be able to have a unified installer.
figure: the platform needs to be very structured
if you are eagle eyed you will see that we are going to be using wix, silverlight and the new architectural tooling in visual studio 2010 ultimate.
store
the store is like a big database of assets. in this case the assets are the plugins that are available for tfs administrators to install on their servers. this will be written in silverlight 5 and can be hosted in iis or azure. hopefully we will be providing a hosted version on azure, but those with extreme security concerns may install it locally in iis.
hopefully as we move forward with new versions we can implement more to provide a culture and ecosystem around the store, but our initial goal is to deliver something that works. lets worry about gold plating later.
admin
this handles all of the grunt work of downloading, installing, deploying, retracting and configuring plugins. must be installed on the application tier.
figure: very similar to the store for now
the admin section handles all of the magic of configuring and auctioning all of the plugins.
client
a hook to provide deep visual studio integration. is optional, but lets you quickly link thorough to the admin application. will also provide dynamic check-in policies in the future. i am not really thinking a lot around this as it will probably not make r1.
tfsautomationplugins
as we will be building a number of oob (out of the box) automations it makes sense for us to build them as part of a single solution. this is just for ease of development and if we do have a separation of teams then we may end up with separate solutions. but for now it is easier with just one. we will however need to be careful not to reference between them as one could be deployed without the other.
figure: where do the files go?
i will be looking more at the plugins layout later, and how you can start building plugins now. i will be upgrading my tfs event handler project code to this platform soon.
i am trying very hard to make it easy to develop for this platform. i don’t think it will be something that anyone can do as there will be a learning curve for what goes where, and especially how you can debug against tfs in process.
now that everything is checked in, i will be encouraging my team mates to explore the solution.
figure: lots of lovely places to put code
let me know what improvements you can observe as noting is perfect, especially not if it was done by me.
Opinions expressed by DZone contributors are their own.
Trending
-
Integrating AWS With Salesforce Using Terraform
-
Mainframe Development for the "No Mainframe" Generation
-
Application Architecture Design Principles
-
Zero Trust Network for Microservices With Istio
Comments