Author: keith
Date: Tue Apr 29 07:01:40 2008
New Revision: 16342

Log:

Deleting the commented out code. We dont need this code now as we populate tags 
using a .tags file for each service


Modified:
   
trunk/mashup/java/modules/core/src/org/wso2/mashup/transport/MashupServerInitializer.java

Modified: 
trunk/mashup/java/modules/core/src/org/wso2/mashup/transport/MashupServerInitializer.java
==============================================================================
--- 
trunk/mashup/java/modules/core/src/org/wso2/mashup/transport/MashupServerInitializer.java
   (original)
+++ 
trunk/mashup/java/modules/core/src/org/wso2/mashup/transport/MashupServerInitializer.java
   Tue Apr 29 07:01:40 2008
@@ -107,62 +107,9 @@
 
             // Notify MBean that server is now running.
             MashupUtils.setServerRunning(true);
-
-            // Applying a dummy tag so that searching works
-            // https://wso2.org/jira/browse/REGISTRY-24
-//            Registry systemRegistry = embeddedRegistry.getSystemRegistry();
-//            systemRegistry.applyTag("/mashups/system/version", "built-in");
-//            systemRegistry.applyTag("/mashups/system/version", "management");
-//            systemRegistry.applyTag("/mashups/system/version", "scraping");
-//
-//            systemRegistry.applyTag("/mashups/system/storexml", "built-in");
-//            systemRegistry.applyTag("/mashups/system/storexml", "sample");
-//            systemRegistry.applyTag("/mashups/system/storexml", "File");
-//            systemRegistry.applyTag("/mashups/system/storexml", "cache");
-//
-//            systemRegistry.applyTag("/mashups/system/upgradeChecker", 
"built-in");
-//            systemRegistry.applyTag("/mashups/system/upgradeChecker", 
"sample");
-//            systemRegistry.applyTag("/mashups/system/upgradeChecker", 
"management");
-//            systemRegistry.applyTag("/mashups/system/upgradeChecker", 
"scraping");
-//
-//            systemRegistry.applyTag("/mashups/system/digit2image", 
"built-in");
-//            systemRegistry.applyTag("/mashups/system/digit2image", "Flickr");
-//            systemRegistry.applyTag("/mashups/system/digit2image", 
"WSRequest");
-//            systemRegistry.applyTag("/mashups/system/digit2image", 
"storexml");
-//            systemRegistry.applyTag("/mashups/system/digit2image", "cache");
-//            systemRegistry.applyTag("/mashups/system/digit2image", "sample");
-
-//            systemRegistry.applyTag("/mashups/samples/exchangeRate", 
"webservicex.net");
-//            systemRegistry.applyTag("/mashups/samples/exchangeRate", 
"WSRequest");
-//            systemRegistry.applyTag("/mashups/samples/exchangeRate", 
"sample");
-//
-//            systemRegistry.applyTag("/mashups/samples/formulaFlicks", 
"YouTube");
-//            systemRegistry.applyTag("/mashups/samples/formulaFlicks", "rss");
-//            systemRegistry.applyTag("/mashups/samples/formulaFlicks", 
"feed");
-//            systemRegistry.applyTag("/mashups/samples/formulaFlicks", 
"sample");
-//
-//            systemRegistry.applyTag("/mashups/samples/sudoku", "puzzle");
-//            systemRegistry.applyTag("/mashups/samples/sudoku", "game");
-//            systemRegistry.applyTag("/mashups/samples/sudoku", "sample");
-//            systemRegistry.applyTag("/mashups/samples/sudoku", "Flickr");
-//
-//            systemRegistry.applyTag("/mashups/samples/tomatoTube", 
"RottenTomatoes");
-//            systemRegistry.applyTag("/mashups/samples/tomatoTube", 
"YouTube");
-//            systemRegistry.applyTag("/mashups/samples/tomatoTube", "rss");
-//            systemRegistry.applyTag("/mashups/samples/tomatoTube", "feed");
-//            systemRegistry.applyTag("/mashups/samples/tomatoTube", "sample");
-//
-//            systemRegistry.applyTag("/mashups/samples/yahooGeoCode", 
"Yahoo");
-//            systemRegistry.applyTag("/mashups/samples/yahooGeoCode", 
"geocode");
-//            systemRegistry.applyTag("/mashups/samples/yahooGeoCode", 
"sample");
-//            systemRegistry.applyTag("/mashups/samples/yahooGeoCode", "maps");
         } catch (UserStoreException e) {
             log.error("Error deploying user nashups", e);
         }
-//        catch (RegistryException e) {
-//            // https://wso2.org/jira/browse/REGISTRY-24
-//            // Exception jumps due to a Registry Bug
-//        }
     }
 
     private void persistMashupAdminService(AxisConfiguration configuration) {

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to