package org.kie.guvnor.jcr2vfsmigration.migrater;

import javax.enterprise.context.ApplicationScoped;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

// TODO Maybe we should make one per asset type? Or delegate to one per asset type?
@ApplicationScoped
public class CategoryMigrater {

    protected static final Logger logger = LoggerFactory.getLogger(CategoryMigrater.class);

//    @Inject
//    protected RepositoryCategoryService jcrRepositoryCategoryService;

    public void migrateAll() {
        logger.info("  Category migration started");
        // TODO
        logger.info("  Category migration ended");
    }

}

@@ -95,16 +95,222 @@
 Scoped;%0A
+import javax.inject.Inject;%0A%0Aimport org.drools.guvnor.client.rpc.Module;%0Aimport org.drools.guvnor.server.RepositoryCategoryService;%0Aimport org.kie.guvnor.jcr2vfsmigration.migrater.util.UuidToPathDictionary;
 %0Aimport 
@@ -589,18 +589,16 @@
 lass);%0A%0A
-//
     @Inj
@@ -601,18 +601,16 @@
 @Inject%0A
-//
     prot
@@ -672,16 +672,86 @@
 rvice;%0A%0A
+    @Inject%0A    protected UuidToPathDictionary uuidToPathDictionary;%0A%0A
     publ
@@ -841,16 +841,62 @@
  // TODO
+ similar like ModuleMigrater and assetMigrater
 %0A       

inject UuidToPathDictionary uuidToPathDictionary