incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cr...@apache.org
Subject [19/58] [partial] Initial setup of new console
Date Tue, 08 Oct 2013 17:59:27 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/app/views/users/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/users/index.html.haml b/contrib/blur-console/blur-admin/app/views/users/index.html.haml
deleted file mode 100644
index e00e087..0000000
--- a/contrib/blur-console/blur-admin/app/views/users/index.html.haml
+++ /dev/null
@@ -1,51 +0,0 @@
--#
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
-
-- content_for :title, 'Users'
-- content_for :javascript do
-  =javascript_include_tag 'admin'
-
-#admin_wrapper
-  %h2 Users
-  #users_table_wrapper
-    %table.table.table-bordered.table-striped{:id => 'users_table'}
-      %tr
-        %th Username
-        %th Name
-        %th Email
-        %th Roles
-        %th Actions
-      - for user in @users
-        %tr
-          %td= user.username
-          %td= user.name
-          %td= user.email
-          %td= user.roles.to_a.join ', '
-          %td
-            =link_to raw('<i class="icon-pencil"></i> Edit'), edit_user_path(user), :class => 'btn'
-            - if current_user != user
-              = link_to raw('<i class="icon-trash icon-white"></i> Delete'), user, :confirm => 'Are you sure?', :method => :delete, :class => 'btn btn-danger'
-  %p= link_to raw('<i class="icon-user"></i> New User'), new_user_path, :class => 'btn'
-
-  %h2.filter-header Star Query Table Filter
-  %p.clarification (Whitelist Regex for allowing '*' queries)
-  = form_tag("/admin_settings/#{@search_filter.id}.html", :method => "put", :remote => true, :class => 'table-filter') do
-    = hidden_field_tag(:setting, 'regex_filter')
-    .control-group
-      = text_field_tag(:value, @search_filter.value)
-      = submit_tag("Save", :class => 'btn')

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/app/views/users/new.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/users/new.html.haml b/contrib/blur-console/blur-admin/app/views/users/new.html.haml
deleted file mode 100644
index 89f7bd1..0000000
--- a/contrib/blur-console/blur-admin/app/views/users/new.html.haml
+++ /dev/null
@@ -1,30 +0,0 @@
--#
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
-
-- content_for :title, 'New User'
-
-- if current_user
-  #new_user_wrapper
-    %h2 New User
-    = render 'form', :user => @user, :cancel_path => users_path
-- else
-  #login_wrapper
-    = link_to image_tag('blur_logo.png'), root_path
-    #new_user_wrapper.well
-      %h2 Register
-      = render 'form', :user => @user, :cancel_path => login_path

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/app/views/users/show.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/users/show.html.haml b/contrib/blur-console/blur-admin/app/views/users/show.html.haml
deleted file mode 100644
index 3b60110..0000000
--- a/contrib/blur-console/blur-admin/app/views/users/show.html.haml
+++ /dev/null
@@ -1,96 +0,0 @@
--#
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
-
-- content_for :title, 'User'
-- content_for :javascript do
-  =javascript_include_tag 'users'
-
-#show_user_wrapper{'data-user-id' => @user.id}
-  .info-contain.row
-    - if can? :update, @column_preference
-      - col_prefs = @column_preference.value || []
-      #pref-col-info.span5
-        #pref-row.row
-          #pref-title.hidden-spinner
-            %img{:class => "loading-spinner",
-              :src => image_path("loader.gif"),
-              :alt => "Loading..."}
-            %h3 Search Result Column Preferences
-          #pref-bin.span3
-
-            #pref-col
-              .section-label{:id => @user.id} My Saved Column Families
-              %ul#my-cols.sort
-                -if col_prefs.size() == 0
-                  #no-saved None Currently Saved
-                -else
-                  #no-saved{:style => "display:none;"} None Currently Saved
-                  -col_prefs.each do |pref|
-                    .sel-fam{:id => "value_#{pref}"}
-                      =pref
-            #pref-trash
-              %ul#actual-trash.sort
-                #trash Drag a column here to remove it from your preferences
-            #pref-key
-              %h4 Search Prefence Key:
-              Saved Column:
-              #orange_color
-              %br
-              Unsaved Column:
-              #blue_color
-          #opt-col.span2
-            .section-label All Column Families
-            -@choices.each do |option|
-              -if col_prefs.include? option
-                .my-select.fam{:id => "value_#{option}"}
-                  =option
-              -elsif !option.blank?
-                .fam{:id => "value_#{option}"}
-                  =option
-    #zookeeper-pref.span6
-      %h3 Zookeeper Preferences
-      - options = ["Default", "Choose Zookeeper", " Use Last Zookeeper"]
-      %select#zookeeper_pref
-        - options.each_with_index do |option, index|
-          %option{ :value => index, :selected => (:selected if @zookeeper_preference.name == index.to_s) }
-            = option
-      =select_tag :zookeeper_num,  options_from_collection_for_select(@zookeepers, "id", "name", @zookeeper_preference.value)
-      %p
-        This preference will only be used when the current user does not have a zookeeper in the current session.
-      %p
-      =submit_tag "Save", :confirm => "Are you sure?", :id => "zookeeper_submit", :class => "btn btn-primary"
-
-    #user-info.span4
-      %p
-        %strong Username:
-        = @user.username
-      %p
-        %strong Name:
-        = @user.name
-      %p
-        %strong Email:
-        = @user.email
-      %p
-        %strong Roles:
-        = @user.roles.to_a.join ', '
-      %p
-        - if can? :edit, @user
-          = link_to "Edit", edit_user_path(@user)
-        - if can? :index, :users
-          |
-          = link_to "View All Users", users_path

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/app/views/zookeepers/_hdfs_stat.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/zookeepers/_hdfs_stat.html.haml b/contrib/blur-console/blur-admin/app/views/zookeepers/_hdfs_stat.html.haml
deleted file mode 100644
index 165fdae..0000000
--- a/contrib/blur-console/blur-admin/app/views/zookeepers/_hdfs_stat.html.haml
+++ /dev/null
@@ -1,59 +0,0 @@
--#
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
-
-.hdfs_info
-  %table.hdfs_table{:id => "#{hdfs.id}"}
-    %thead
-      %tr
-        %th.hdfs-title{ :colspan => 2}
-          .hdfs-name
-            = hdfs.name + " - "
-            %span.hdfs-host
-              =hdfs.host
-
-    %tbody
-      %tr
-        %th Blocks
-        %th Nodes
-      %tr
-        %td.center
-          .blocks-corr.label.status.center
-            %span.number 0
-            Corrupt Blocks
-        %td.center
-          .progress.progress-up-down
-            .bar.up.nodes-live{:style=>'width:100%'}
-              %span.number 0
-              Online/Offline
-            .down.nodes-dead
-              %span.number
-      %tr
-        %td.center
-          .blocks-miss.label.status.center
-            %span.number 0
-            Missing Blocks
-        %td.center &nbsp;
-      %tr
-        %td.center
-          .nodes-under.label.status.center
-            %span.number 0
-            Under Replicated Blocks
-        %td.center &nbsp;
-      %tr
-        %td{ :colspan => 2 }
-          .warning

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/app/views/zookeepers/_zookeeper.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/zookeepers/_zookeeper.html.haml b/contrib/blur-console/blur-admin/app/views/zookeepers/_zookeeper.html.haml
deleted file mode 100644
index 28e1b2d..0000000
--- a/contrib/blur-console/blur-admin/app/views/zookeepers/_zookeeper.html.haml
+++ /dev/null
@@ -1,66 +0,0 @@
--#
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
-
-.zookeeper_info
-  %table.zookeeper_table{:id => "#{zookeeper.id}"}
-    %thead
-      %tr
-        %th.zookeeper-title{ :colspan => 3 }
-          .zookeeper-name
-            = zookeeper.name
-          .zookeeper-status
-            = case zookeeper.zookeeper_status; when 0 then "Offline"; when 1 then "Online"; else "Not Available"; end
-
-    %tbody
-      %tr
-        %td.index
-        %th.cont
-          Controllers
-        %th.shard
-          Shards
-      %tr
-        %th.index
-          Blur Version
-        %td.cont
-          .bv-cont
-            .controllers-bv.label.status
-              No Controllers Available
-        %td.shard
-          .bv-shard
-            .shards-bv.label.status
-              No Shards Available
-      %tr
-        %th.index
-          Status
-        %td.cont
-          .progress.progress-up-down.stat-cont
-            .bar.up.controllers-online{:style=>'width:100%'}
-              %span.number 0
-              Online/Offline
-            .down.controllers-offline
-              %span.number
-        %td.shard
-          .progress.progress-up-down.stat-shard
-            .bar.up.shards-online{:style=>'width:100%'}
-              %span.number 0
-              Online/Offline
-            .down.shards-offline
-              %span.number
-      %tr
-        %td{ :colspan => 3 }
-          .warning

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/app/views/zookeepers/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/zookeepers/index.html.haml b/contrib/blur-console/blur-admin/app/views/zookeepers/index.html.haml
deleted file mode 100644
index a816dea..0000000
--- a/contrib/blur-console/blur-admin/app/views/zookeepers/index.html.haml
+++ /dev/null
@@ -1,33 +0,0 @@
--#
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
-
-- content_for :title, 'Blur Status'
-- content_for :javascript do
-  = javascript_include_tag 'dashboard/dashboard'
-
-.dashboard_wrapper
-  #zookeepers_wrapper
-    %h2 Blur Instances
-    #zookeepers
-    .clearfix
-
-  #hdfs_dash_wrapper
-    %h2 HDFS
-    #hdfses 
-    .clearfix
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/app/views/zookeepers/show.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/zookeepers/show.html.haml b/contrib/blur-console/blur-admin/app/views/zookeepers/show.html.haml
deleted file mode 100644
index 196709b..0000000
--- a/contrib/blur-console/blur-admin/app/views/zookeepers/show.html.haml
+++ /dev/null
@@ -1,51 +0,0 @@
--#
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
-
-- content_for :title, 'Environment Status'
-- content_for :javascript do
-  = javascript_include_tag 'environment/environment'
-
-#zookeeper_wrapper
-  #zookeeper
-  #blur.row
-    #controllers.span6
-      .subHeaders
-        Controllers
-      .controller_table
-        %table.table.table-bordered
-          %thead
-            %th Name
-            %th Blur Version
-            %th
-          %tbody
-            %tr.no_children
-              %td{:colspan => 3} No Controllers!
-    #clusters.span6
-      .subHeaders
-        Clusters
-      .clusters_table
-        %table.table.table-bordered
-          %thead
-            %th Name
-            %th Blur Version
-            %th Safe Mode
-            %th Shards
-            %th
-          %tbody
-            %tr.no_children
-              %td{:colspan => 5} No Clusters!
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config.ru
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config.ru b/contrib/blur-console/blur-admin/config.ru
deleted file mode 100644
index 2f934ea..0000000
--- a/contrib/blur-console/blur-admin/config.ru
+++ /dev/null
@@ -1,22 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment',  __FILE__)
-run BlurAdmin::Application

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/application.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/application.rb b/contrib/blur-console/blur-admin/config/application.rb
deleted file mode 100644
index c21c9d4..0000000
--- a/contrib/blur-console/blur-admin/config/application.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-if defined?(Bundler)
-  Bundler.require(*Rails.groups(:assets => %w(development test)))
-end
-
-module BlurAdmin
-  class Application < Rails::Application
-    config.encoding = "utf-8"
-
-    # Configure sensitive parameters which will be filtered from the log file.
-    config.filter_parameters += [:password, :query_string]
-
-    # Enable the asset pipeline
-    config.assets.enabled = true
-
-    # Version of your assets, change this if you want to expire all your assets
-    config.assets.version = '1.0'
-    
-    # Custom directories with classes and modules you want to be autoloadable.
-    config.autoload_paths += %W(#{config.root}/lib/thrift)
-
-    config.exceptions_app = self.routes
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/boot.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/boot.rb b/contrib/blur-console/blur-admin/config/boot.rb
deleted file mode 100644
index 969ed9d..0000000
--- a/contrib/blur-console/blur-admin/config/boot.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-require 'rubygems'
-
-# Set up gems listed in the Gemfile.
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/compass.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/compass.rb b/contrib/blur-console/blur-admin/config/compass.rb
deleted file mode 100644
index 1595f66..0000000
--- a/contrib/blur-console/blur-admin/config/compass.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-# This configuration file works with both the Compass command line tool and within Rails.
-# Require any additional compass plugins here.
-project_type = :rails
-# Set this to the root of your project when deployed:
-http_path = "/"
-sass_dir = "app/stylesheets"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/database.yml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/database.yml b/contrib/blur-console/blur-admin/config/database.yml
deleted file mode 100644
index bcf87f4..0000000
--- a/contrib/blur-console/blur-admin/config/database.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-  
-development:
-  adapter: mysql2
-  encoding: utf8
-  database: blurtools_development
-  host: localhost
-  pool: 5
-  username: root
-  password: 
-
-test:
-  adapter: mysql2
-  encoding: utf8
-  database: blurtools-test
-  host: localhost
-  pool: 5
-  username: root
-  password:
-
-production:
-  adapter: mysql2
-  encoding: utf8
-  database: blurtools
-  host: localhost
-  pool: 5
-  username: root
-  password: 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/environment.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/environment.rb b/contrib/blur-console/blur-admin/config/environment.rb
deleted file mode 100644
index ede0983..0000000
--- a/contrib/blur-console/blur-admin/config/environment.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-# Load the rails application
-require File.expand_path('../application', __FILE__)
-
-# Initialize the rails application
-BlurAdmin::Application.initialize!
-
-#generate the routes file
-#JsRoutes.generate!
-
-#setup authlogic
-BlurAdmin::Application.configure do
-  config.gem "authlogic"
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/environments/development.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/environments/development.rb b/contrib/blur-console/blur-admin/config/environments/development.rb
deleted file mode 100644
index e2c8333..0000000
--- a/contrib/blur-console/blur-admin/config/environments/development.rb
+++ /dev/null
@@ -1,54 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-BlurAdmin::Application.configure do
-  # Settings specified here will take precedence over those in config/application.rb
-
-  # In the development environment your application's code is reloaded on
-  # every request. This slows down response time but is perfect for development
-  # since you don't have to restart the web server when you make code changes.
-  config.cache_classes = false
-
-  # Log error messages when you accidentally call methods on nil.
-  config.whiny_nils = true
-
-  # Show full error reports and disable caching
-  config.consider_all_requests_local       = true
-  config.action_controller.perform_caching = false
-
-  # Don't care if the mailer can't send
-  config.action_mailer.raise_delivery_errors = false
-
-  # Print deprecation notices to the Rails logger
-  config.active_support.deprecation = :log
-
-  # Only use best-standards-support built into browsers
-  config.action_dispatch.best_standards_support = :builtin
-
-  # Raise exception on mass assignment protection for Active Record models
-  config.active_record.mass_assignment_sanitizer = :strict
-
-  # Log the query plan for queries taking more than this (works
-  # with SQLite, MySQL, and PostgreSQL)
-  config.active_record.auto_explain_threshold_in_seconds = 0.5
-
-  # Do not compress assets
-  config.assets.compress = false
-
-  # Expands the lines which load the assets
-  config.assets.debug = true
-
-  
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/environments/production.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/environments/production.rb b/contrib/blur-console/blur-admin/config/environments/production.rb
deleted file mode 100644
index 46ac93a..0000000
--- a/contrib/blur-console/blur-admin/config/environments/production.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-BlurAdmin::Application.configure do
-  # Settings specified here will take precedence over those in config/application.rb
-
-  # Code is not reloaded between requests
-  config.cache_classes = true
-
-  # Full error reports are disabled and caching is turned on
-  config.consider_all_requests_local       = false
-  config.action_controller.perform_caching = true
-
-  # Disable Rails's static asset server (Apache or nginx will already do this)
-  config.serve_static_assets = false
-
-  # Compress JavaScripts and CSS
-  config.assets.compress = true
-
-  # Don't fallback to assets pipeline if a precompiled asset is missed
-  config.assets.compile = false
-
-  # Generate digests for assets URLs
-  config.assets.digest = true
-  
-  config.assets.precompile += Dir.foreach('app/assets/javascripts/').select{|file| (file =~ /.js/) }
-  config.assets.precompile += ['blur_table/blur_tables.js', 'dashboard/dashboard.js', 'environment/environment.js']
-  
-  #.reject{|file| (file =~ /.*\.coffee/).nil? && (file =~ /routes.js/).nil?}.collect{|file| file.gsub /.coffee/, ''}
-  
-  config.action_dispatch.x_sendfile_header = "X-Sendfile"
-  
-  class LogFormatter < Logger::Formatter
-    def call(severity,time,progname,msg)
-      "#{severity} #tok1-block-tok #{msg}\n"
-    end
-  end
-  config.logger = Logger.new("#{::Rails.root.to_s}/log/#{ENV['RAILS_ENV']}.log", 10,26_214_400)
-  config.logger.formatter = LogFormatter.new
-  config.logger.level = Logger::WARN
-
-  config.i18n.fallbacks = true
-
-  # Send deprecation notices to registered listeners
-  config.active_support.deprecation = :notify
-
-  # Log the query plan for queries taking more than this (works
-  # with SQLite, MySQL, and PostgreSQL)
-  config.active_record.auto_explain_threshold_in_seconds = 2
-
-  config.action_dispatch.rack_cache = {:metastore => "rails:/", :entitystore => "rails:/", :verbose => false}
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/environments/test.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/environments/test.rb b/contrib/blur-console/blur-admin/config/environments/test.rb
deleted file mode 100644
index 4a04651..0000000
--- a/contrib/blur-console/blur-admin/config/environments/test.rb
+++ /dev/null
@@ -1,52 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-BlurAdmin::Application.configure do
-  # Settings specified here will take precedence over those in config/application.rb
-
-  # The test environment is used exclusively to run your application's
-  # test suite. You never need to work with it otherwise. Remember that
-  # your test database is "scratch space" for the test suite and is wiped
-  # and recreated between test runs. Don't rely on the data there!
-  config.cache_classes = true
-
-  # Configure static asset server for tests with Cache-Control for performance
-  config.serve_static_assets = true
-  config.static_cache_control = "public, max-age=3600"
-
-  # Log error messages when you accidentally call methods on nil
-  config.whiny_nils = true
-
-  # Show full error reports and disable caching
-  config.consider_all_requests_local       = true
-  config.action_controller.perform_caching = false
-
-  # Raise exceptions instead of rendering exception templates
-  config.action_dispatch.show_exceptions = false
-
-  # Disable request forgery protection in test environment
-  config.action_controller.allow_forgery_protection    = false
-
-  # Tell Action Mailer not to deliver emails to the real world.
-  # The :test delivery method accumulates sent emails in the
-  # ActionMailer::Base.deliveries array.
-  config.action_mailer.delivery_method = :test
-
-  # Raise exception on mass assignment protection for Active Record models
-  config.active_record.mass_assignment_sanitizer = :strict
-
-  # Print deprecation notices to the stderr
-  config.active_support.deprecation = :stderr
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/asset_precompile_prefix_fix.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/asset_precompile_prefix_fix.rb b/contrib/blur-console/blur-admin/config/initializers/asset_precompile_prefix_fix.rb
deleted file mode 100644
index 4983521..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/asset_precompile_prefix_fix.rb
+++ /dev/null
@@ -1,54 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-
-# ./config/initializers/asset_precompile_prefix_fix.rb
-#
-# So we can deploy at a SubURI, and precompile assets to respect that with:
-#    RAILS_RELATIVE_URL_ROOT=/foo rake assets:precompile
-#
-# See: http://stackoverflow.com/questions/7293918/broken-precompiled-assets-in-rails-3-1-when-deploying-to-a-sub-uri
-#
-# Confirmed working in Rails 3.1.3
-# Future versions of Rails may make this monkey patch unneccesary. (or break
-# it without making it unneccesary)
-#
-#
-# We are monkey patching source originally (in 3.1.3) at:
-# https://github.com/rails/rails/blob/master/actionpack/lib/sprockets/helpers/rails_helper.rb#L54
-
-module Sprockets
-  module Helpers
-    module RailsHelper
-
-      included do |klass|
-        klass.alias_method_chain :asset_path, :prefix
-      end
-      
-      def asset_path_with_prefix(*args)
-        path = asset_path_without_prefix(*args)
-        
-        if !asset_paths.send(:has_request?)
-          path = ENV['RAILS_RELATIVE_URL_ROOT'] + path if ENV['RAILS_RELATIVE_URL_ROOT']
-        end
-        
-        return path
-      end
-       
-                
-    end 
-  end
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/backtrace_silencers.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/backtrace_silencers.rb b/contrib/blur-console/blur-admin/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 57fd2a9..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/blur_instrumentation.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/blur_instrumentation.rb b/contrib/blur-console/blur-admin/config/initializers/blur_instrumentation.rb
deleted file mode 100644
index edf661f..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/blur_instrumentation.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-ActiveSupport::Notifications.subscribe "search.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Query", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] #{payload[:query]} - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "terms.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Terms", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:family]}.#{payload[:column]}] #{payload[:starter]} (#{payload[:size]}) - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "enable.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Enable Table", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "disable.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Disable Table", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "destroy.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Destroy Table", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] (Underlying: #{payload[:underlying]}) - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "cancel.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Cancel Query", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] #{payload[:uuid]} - #{payload[:urls]}")
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/inflections.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/inflections.rb b/contrib/blur-console/blur-admin/config/initializers/inflections.rb
deleted file mode 100644
index e328443..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/inflections.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-ActiveSupport::Inflector.inflections do |inflection|
-  inflection.irregular "is", "are"
-  inflection.uncountable "hdfs"
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/mime_types.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/mime_types.rb b/contrib/blur-console/blur-admin/config/initializers/mime_types.rb
deleted file mode 100644
index 7428a22..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
-# Mime::Type.register_alias "text/html", :iphone

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/overrides.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/overrides.rb b/contrib/blur-console/blur-admin/config/initializers/overrides.rb
deleted file mode 100644
index d830810..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/overrides.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-module Rack
-  module Utils
-    def escape(s)
-      CGI.escape(s.to_s)
-    end
-    def unescape(s)
-      CGI.unescape(s)
-    end
-  end
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/quiet_assets.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/quiet_assets.rb b/contrib/blur-console/blur-admin/config/initializers/quiet_assets.rb
deleted file mode 100644
index ead0491..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/quiet_assets.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-Rails.application.assets.logger = Logger.new('/dev/null')
-Rails::Rack::Logger.class_eval do
-  def call_with_quiet_assets(env)
-    previous_level = Rails.logger.level
-    Rails.logger.level = Logger::ERROR if env['PATH_INFO'].index("/assets/") == 0
-    call_without_quiet_assets(env).tap do
-      Rails.logger.level = previous_level
-    end
-  end
-  alias_method_chain :call, :quiet_assets
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/secret_token.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/secret_token.rb b/contrib/blur-console/blur-admin/config/initializers/secret_token.rb
deleted file mode 100644
index 65d81d9..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/secret_token.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# Be sure to restart your server when you modify this file.
-
-# Your secret key for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-BlurAdmin::Application.config.secret_token = '538e2d950ec5888e4edf191ba28ebb070927afbad9b98a316afc7ec040300990b8499d4824902814c46c09ed9749d4fe195fe62e503dc4d3972244db2c14864f'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/session_store.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/session_store.rb b/contrib/blur-console/blur-admin/config/initializers/session_store.rb
deleted file mode 100644
index 8567a85..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/session_store.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# Be sure to restart your server when you modify this file.
-
-BlurAdmin::Application.config.session_store :cookie_store, key: '_blur-admin_session'
-
-# Use the database for sessions instead of the cookie-based default,
-# which shouldn't be used to store highly confidential information
-# (create the session table with "rails generate session_migration")
-# BlurAdmin::Application.config.session_store :active_record_store

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/initializers/wrap_parameters.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/initializers/wrap_parameters.rb b/contrib/blur-console/blur-admin/config/initializers/wrap_parameters.rb
deleted file mode 100644
index fa2f2df..0000000
--- a/contrib/blur-console/blur-admin/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# Be sure to restart your server when you modify this file.
-#
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
-  wrap_parameters format: [:json]
-end
-
-# Disable root element in JSON by default.
-ActiveSupport.on_load(:active_record) do
-  self.include_root_in_json = false
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/locales/en.yml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/locales/en.yml b/contrib/blur-console/blur-admin/config/locales/en.yml
deleted file mode 100644
index f93983f..0000000
--- a/contrib/blur-console/blur-admin/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-
-# Sample localization file for English. Add more files in this directory for other locales.
-# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
-
-en:
-  hello: "Hello world"

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/config/routes.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/routes.rb b/contrib/blur-console/blur-admin/config/routes.rb
deleted file mode 100644
index 3059209..0000000
--- a/contrib/blur-console/blur-admin/config/routes.rb
+++ /dev/null
@@ -1,114 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-BlurAdmin::Application.routes.draw do
-  # User routes
-  resources :users do
-    match '/preferences/:pref_type' => 'preferences#update', :via => :put, :as => :preference
-  end
-
-  resources :admin_settings, :only => [:update]
-
-  # Zookeeper routes
-  resources :zookeepers, :only => [:index, :show, :destroy], :shallow => true do
-    # Nested cluster Resource
-    resources :clusters, :only => [:destroy] do
-      # Nested Shards Resource
-      resources :blur_shards, :only => [:index, :destroy]
-    end
-
-    # Nested BlurTables Resource
-    resources :blur_tables, :only => :index do
-
-      # BlurTable routes
-      member do
-        get 'terms'
-        get 'hosts'
-        get 'schema'
-        put 'comment'
-      end
-      collection do
-        put 'enable'
-        put 'disable'
-        delete 'destroy'
-      end
-    end
-
-    # Nested BlurQueries Resource
-    resources :blur_queries, :only => [:index, :show] do
-
-      #Blur Queries routes
-      member do
-        put 'cancel'
-      end
-      collection do
-        get 'refresh/:time_length', :action => :refresh, :as => :refresh
-      end
-    end
-
-    # Nested Controller Resource
-    resources :blur_controllers, :only => [:destroy]
-
-    # Nested Search Resource
-    resources :searches, :only => [:index, :update, :show, :destroy] do
-      collection do
-        post 'save'
-        post ':blur_table', :action => :create, :as => :fetch_results
-        get 'filters/:blur_table', :action => :filters, :as => :filters
-      end
-    end
-
-    # Zookeeper specific action
-    member do
-      get 'long_running' => 'zookeepers#long_running_queries', :as => :long_running_queries
-    end
-  end
-
-  resources :hdfs, :only => :index do
-    get '(/:id(/show(*fs_path)))', :action => :index, :on => :collection
-    member do
-      get 'info'
-      get 'folder_info'
-      get 'slow_folder_info'
-      get 'expand(*fs_path)', :action => :expand, :as => :expand, :format => false
-      get 'file_info(*fs_path)', :action => :file_info, :as => :file_info, :format => false
-      post 'move', :action => :move_file
-      post 'mkdir'
-      post 'delete_file'
-      get 'upload_form'
-      post 'upload'
-      get 'structure', :action => :file_tree
-
-    end
-  end
-
-  resources :user_sessions, :only => [:create]
-  resources :hdfs_metrics, :only => [:index] do
-    member do
-      get 'stats', :action => :stats
-    end
-  end
-
-  resources :audits, :only => [:index]
-
-  match 'login' => 'user_sessions#new', :as => :login
-  match 'logout' => 'user_sessions#destroy', :as => :logout
-  match 'help/:tab' => 'application#help', :as => :help
-  root :to => 'zookeepers#index'
-
-    #Errors
-  match '/404' => 'errors#error_404'
-  match '/500' => 'errors#error_500'
-  match '/422' => 'errors#error_422'
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110524204140_create_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110524204140_create_blur_tables.rb b/contrib/blur-console/blur-admin/db/migrate/20110524204140_create_blur_tables.rb
deleted file mode 100644
index 691a9aa..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110524204140_create_blur_tables.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class CreateBlurTables < ActiveRecord::Migration
-  def self.up
-    create_table :blur_tables do |t|
-      t.string :table_name
-      t.integer :current_size
-      t.integer :query_usage
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :blur_tables
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb b/contrib/blur-console/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb
deleted file mode 100644
index b1204e8..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class CreateHdfsStats < ActiveRecord::Migration
-  def self.up
-    create_table :hdfs_stats do |t|
-      t.string :hdfs_name
-      t.integer :config_capacity
-      t.integer :present_capacity
-      t.integer :dfs_remaining
-      t.integer :dfs_used
-      t.decimal :dfs_used_percent
-      t.integer :under_replicated
-      t.integer :corrupt_blocks
-      t.integer :missing_blocks
-      t.integer :total_nodes
-      t.integer :dead_nodes
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :hdfs_stats
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110525015557_create_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110525015557_create_blur_queries.rb b/contrib/blur-console/blur-admin/db/migrate/20110525015557_create_blur_queries.rb
deleted file mode 100644
index 7b1dadf..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110525015557_create_blur_queries.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class CreateBlurQueries < ActiveRecord::Migration
-  def self.up
-    create_table :blur_queries do |t|
-      t.string :query_string
-      t.integer :cpu_time
-      t.integer :real_time
-      t.integer :complete
-      t.boolean :interrupted
-      t.boolean :running
-      t.string :uuid
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :blur_queries
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb b/contrib/blur-console/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb
deleted file mode 100644
index 0afb90c..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddExtraColumnsToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :table_name, :string
-    add_column :blur_queries, :super_query_on, :boolean
-    add_column :blur_queries, :facets, :string
-    add_column :blur_queries, :selectors, :string
-    add_column :blur_queries, :start, :integer
-    add_column :blur_queries, :fetch, :integer
-  end
-
-  def self.down
-    remove_column :blur_queries, :table_name
-    remove_column :blur_queries, :super_query_on
-    remove_column :blur_queries, :facets
-    remove_column :blur_queries, :selectors
-    remove_column :blur_queries, :start
-    remove_column :blur_queries, :fetch
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb b/contrib/blur-console/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb
deleted file mode 100644
index ad00dae..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddFilterColumnsToBlurQueries < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :pre_filters, :text, :limit => 64.kilobytes + 1
-    add_column :blur_queries, :post_filters, :text, :limit => 64.kilobytes + 1
-  end
-
-  def self.down
-    remove_column :blur_queries, :pre_filters
-    remove_column :blur_queries, :post_filters
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb b/contrib/blur-console/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb
deleted file mode 100644
index 5ad9a9d..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ModifyFetchColumnName < ActiveRecord::Migration
-  def self.up
-    rename_column :blur_queries, :fetch, :fetch_num
-  end
-
-  def self.down
-    rename_column :blur_queries, :fetch_num, :fetch
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110602014308_add_selector_columns.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110602014308_add_selector_columns.rb b/contrib/blur-console/blur-admin/db/migrate/20110602014308_add_selector_columns.rb
deleted file mode 100644
index f1e2fbe..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110602014308_add_selector_columns.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddSelectorColumns < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :selector_column_families, :text
-    add_column :blur_queries, :selector_columns, :text
-
-    remove_column :blur_queries, :selectors
-  end
-
-  def self.down
-    remove_column :blur_queries, :selector_column_families
-    remove_column :blur_queries, :selector_columns
-
-    add_column :blur_queries, :selectors, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb b/contrib/blur-console/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb
deleted file mode 100644
index ea2bbe8..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddUseridToBlurQueries < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :userid, :string
-  end
-
-  def self.down
-    remove_column :blur_queries, :userid
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110607191131_create_users.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110607191131_create_users.rb b/contrib/blur-console/blur-admin/db/migrate/20110607191131_create_users.rb
deleted file mode 100644
index 7b56eb2..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110607191131_create_users.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class CreateUsers < ActiveRecord::Migration
-  def self.up
-    create_table :users do |t|
-      t.string :username
-      t.string :email
-      t.string :crypted_password
-      t.string :password_salt
-      t.string :persistence_token
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :users
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb b/contrib/blur-console/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb
deleted file mode 100644
index 9102c46..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddRolesMaskToUsers < ActiveRecord::Migration
-  def self.up
-    add_column :users, :roles_mask, :integer
-  end
-
-  def self.down
-    remove_column :users, :roles_mask
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb b/contrib/blur-console/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb
deleted file mode 100644
index d828e3a..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddCountColumnToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :record_count, :integer, :limit => 8
-  end
-
-  def self.down
-    remove_column :blur_tables, :record_count
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb b/contrib/blur-console/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb
deleted file mode 100644
index 811074e..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddStatusColumnToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :status, :boolean
-  end
-
-  def self.down
-    remove_column :blur_tables, :record_count
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb b/contrib/blur-console/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb
deleted file mode 100644
index 402994f..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddAgentdataColumnToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :table_uri, :boolean
-    add_column :blur_tables, :table_analyzer, :text
-    add_column :blur_tables, :schema, :text
-    add_column :blur_tables, :server, :text
-  end
-
-  def self.down
-    remove_column :blur_tables, :table_uri
-    remove_column :blur_tables, :table_analyzer
-    remove_column :blur_tables, :schema
-    remove_column :blur_tables, :server
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110617142244_fix_table_types.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110617142244_fix_table_types.rb b/contrib/blur-console/blur-admin/db/migrate/20110617142244_fix_table_types.rb
deleted file mode 100644
index 4af544d..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110617142244_fix_table_types.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class FixTableTypes < ActiveRecord::Migration
-  def self.up
-    change_column :blur_tables, :status, :integer
-    change_column :blur_tables, :table_uri, :string
-  end
-
-  def self.down
-    change_column :blur_tables, :status, :boolean
-    change_column :blur_tables, :table_uri, :boolean
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110617163052_change_schema_column.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110617163052_change_schema_column.rb b/contrib/blur-console/blur-admin/db/migrate/20110617163052_change_schema_column.rb
deleted file mode 100644
index f890aa7..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110617163052_change_schema_column.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeSchemaColumn < ActiveRecord::Migration
-  def self.up
-    rename_column :blur_tables, :schema, :table_schema
-  end
-
-  def self.down
-    rename_column :blur_tables, :table_schema, :schema
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb b/contrib/blur-console/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb
deleted file mode 100644
index b871899..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddTableIdColumnToBlurQueries < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :blur_table_id, :int
-  end
-
-  def self.down
-    remove_column :blur_queries, :blur_table_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb b/contrib/blur-console/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb
deleted file mode 100644
index 63b4256..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class RemoveTableNameColumnFromBlurQueries < ActiveRecord::Migration
-  def self.up
-    remove_column :blur_queries, :table_name
-  end
-
-  def self.down
-    add_column :blur_queries, :table_name, :string
-  end
-end


Mime
View raw message