The Migrator Gets Console Application

The new Look Migrator's Source Code on codeplex has just had a Console based application added to it for testing, and low level debugging.

You get to see some debug events as the migrator fires them.

This is working using the latest LIVE source code, and a temp built provider for community server.

I should use PowerShell, but I can't be asked to learn it just yet.

image

As you can see in the screenshot, the commands are similar to powershell, but the application works like a standard .net console application.

any exceptions are passed to the interface.

image

When you ask for a provider or provider list, you get this:

image

Debug notes wont come up unless it's in DEBUG mode.

I've programmed CLS and EXIT up as well.

Setting takes either the provider's number or the provider's name.  Provider's name needs to be in Quote " " marks

after that you can call get-destination/sourceprovider

image

Actions listed are only the ones with the right type, destination action uses IFullAction or IDestinationAction, and source action uses ISourceAction or IFullAction.

U can if u want set both destination and source to be the same provider, it'll duplicate the entry in the providers list, and move it to the Destination/Source properties of the migrator, so you can do a migration from Community Server to Community Server.

The core structure has changed alot of the past week, I'm confident it's locked down now. Hopefully, the lastest version of the core diagram is

CoreDiagram

And this should be updated on codeplex later tonight.

All OO based.

Thanks, keep it here for more.  The codeplex site is http://www.codeplex.com/themigrator


Posted Jan 14 2008, 10:00 PM by Nick