[01/10] ambari git commit: AMBARI-17079. Moved Hue to Ambari migrator to standard view architecture (Pradarttana Panda via dipayanb)

2016-06-30 Thread dbhowmick
Repository: ambari
Updated Branches:
  refs/heads/trunk ef29683ce -> c86672cb7


http://git-wip-us.apache.org/repos/asf/ambari/blob/c86672cb/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/check-configuration.hbs
--
diff --git 
a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/check-configuration.hbs
 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/check-configuration.hbs
new file mode 100644
index 000..ad666be
--- /dev/null
+++ 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/check-configuration.hbs
@@ -0,0 +1,153 @@
+{{!
+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.
+}}
+
+  Welcome to HueMigration View
+  
+  Please wait...
+  
+  {{#if errors}}
+
+  
+  
+
+  {{else}}
+
+  
+  
+
+  {{/if}}
+  
+
+
+  
+{{#if huehttpurlTestDone}}
+  {{#if huehttpurlTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Hue Http Test
+  
+
+
+  
+{{#if huewebhdfsurlTestDone}}
+  {{#if huewebhdfsurlTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Hue Webhdfs Test
+  
+
+
+  
+{{#if ambariwebhdfsTestDone}}
+  {{#if ambariwebhdfsTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Ambari Webhdfs Test
+  
+
+
+  
+{{#if huedatabasesTestDone}}
+  {{#if huedatabasesTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Hue Database Test
+  
+
+
+  
+{{#if ambaridatabasesTestDone}}
+  {{#if ambaridatabasesTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Ambari Database Test
+  
+
+
+  
+  {{#if errors}}
+Issues detected
+
+{{{errors}}}
+
+  {{/if}}
+  {{#if stackTrace}}
+
+  {{#if isExpanded}}
+
+ Collapse Stack Trace
+  {{else}}
+
+ Expand Stack Trace
+  {{/if}}
+
+{{#if isExpanded}}
+  
+{{stackTrace}}
+  
+{{/if}}
+  {{/if}}
+

http://git-wip-us.apache.org/repos/asf/ambari/blob/c86672cb/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
--
diff --git 
a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
new file mode 100644
index 000..60fccf3
--- /dev/null
+++ 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
@@ -0,0 +1,42 @@
+{{!
+   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
+   

[01/10] ambari git commit: AMBARI-17079. Moved Hue to Ambari migrator to standard view architecture (Pradarttana Panda via dipayanb)

2016-06-30 Thread dbhowmick
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 71593b1d8 -> f6e8637c1


http://git-wip-us.apache.org/repos/asf/ambari/blob/f6e8637c/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/check-configuration.hbs
--
diff --git 
a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/check-configuration.hbs
 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/check-configuration.hbs
new file mode 100644
index 000..ad666be
--- /dev/null
+++ 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/check-configuration.hbs
@@ -0,0 +1,153 @@
+{{!
+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.
+}}
+
+  Welcome to HueMigration View
+  
+  Please wait...
+  
+  {{#if errors}}
+
+  
+  
+
+  {{else}}
+
+  
+  
+
+  {{/if}}
+  
+
+
+  
+{{#if huehttpurlTestDone}}
+  {{#if huehttpurlTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Hue Http Test
+  
+
+
+  
+{{#if huewebhdfsurlTestDone}}
+  {{#if huewebhdfsurlTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Hue Webhdfs Test
+  
+
+
+  
+{{#if ambariwebhdfsTestDone}}
+  {{#if ambariwebhdfsTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Ambari Webhdfs Test
+  
+
+
+  
+{{#if huedatabasesTestDone}}
+  {{#if huedatabasesTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Hue Database Test
+  
+
+
+  
+{{#if ambaridatabasesTestDone}}
+  {{#if ambaridatabasesTest}}
+
+  
+  {{else}}
+
+  
+  {{/if}}
+{{else}}
+  
+  
+{{/if}}
+  
+  
+Ambari Database Test
+  
+
+
+  
+  {{#if errors}}
+Issues detected
+
+{{{errors}}}
+
+  {{/if}}
+  {{#if stackTrace}}
+
+  {{#if isExpanded}}
+
+ Collapse Stack Trace
+  {{else}}
+
+ Expand Stack Trace
+  {{/if}}
+
+{{#if isExpanded}}
+  
+{{stackTrace}}
+  
+{{/if}}
+  {{/if}}
+

http://git-wip-us.apache.org/repos/asf/ambari/blob/f6e8637c/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
--
diff --git 
a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
new file mode 100644
index 000..60fccf3
--- /dev/null
+++ 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
@@ -0,0 +1,42 @@
+{{!
+   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
+   

[01/10] ambari git commit: AMBARI-17079. Moved Hue to Ambari migrator to standard view architecture (Pradarttana Panda via dipayanb)

2016-06-29 Thread dbhowmick
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 fd9574fc7 -> 424afb471


http://git-wip-us.apache.org/repos/asf/ambari/blob/424afb47/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
--
diff --git 
a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
new file mode 100644
index 000..60fccf3
--- /dev/null
+++ 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
@@ -0,0 +1,42 @@
+{{!
+   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.
+}}
+
+  
+
+  Hive 
+
+  {{#link-to 'homePage.hive-history'}}HiveHistory 
Query{{/link-to}}
+  {{#link-to 'homePage.hive-saved-query'}}HiveSaved 
Query{{/link-to}}
+
+  
+  Pig 
+
+  {{#link-to 'homePage.pig-script'}}PigSaved 
script{{/link-to}}
+  {{#link-to 'homePage.pig-job'}}PigJob{{/link-to}}
+
+  
+  {{#link-to 'homePage.revert-change'}}RevertChange{{/link-to}}
+
+  
+
+
+
+  {{outlet}}
+
+
+

http://git-wip-us.apache.org/repos/asf/ambari/blob/424afb47/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-history.hbs
--
diff --git 
a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-history.hbs
 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-history.hbs
new file mode 100644
index 000..b43e49f
--- /dev/null
+++ 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-history.hbs
@@ -0,0 +1,125 @@
+{{!
+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.
+}}
+
+  
+History Query Migration
+
+  
+  
+
+  
+User Name
+ *
+
+  
+  
+{{ember-selectize content=model.usersdetail  
optionValuePath="content.username" optionLabelPath="content.username" 
value=usernamehue placeholder="Select an userName" }}
+  
+
+
+
+  
+Instance Name
+ *
+
+  
+  
+{{ember-selectize content=model.hiveinstancedetail  
optionValuePath="content.instanceName" optionLabelPath="content.instanceName" 
value=instancename  placeholder="Select an Instance name" }}
+  
+
+
+
+  
+Start Date
+  
+  
+{{date-picker size="35" date=startdate valueFormat='-MM-DD' 
name="startdate" id="startdate" value=startdate}}
+  
+
+
+
+  
+End Date
+  
+  
+{{date-picker size="35" date=enddate valueFormat='-MM-DD' 
name="enddate" id="enddate" value=enddate}}
+  
+
+
+
+  
+Submit
+  
+  
+{{#if jobstatus}}
+  
+Job has been Submitted.
+
+  
+{{/if}}
+  
+
+
+
+  
+{{#if jobstatus}}
+  
+  
+
+
+  
+{{/if}}
+  
+
+
+  
+{{#if completionStatus}}
+  Migration Report
+  
+  
+
+
+  

[01/10] ambari git commit: AMBARI-17079. Moved Hue to Ambari migrator to standard view architecture (Pradarttana Panda via dipayanb)

2016-06-29 Thread dbhowmick
Repository: ambari
Updated Branches:
  refs/heads/trunk 259279cd6 -> 6f4a9c288


http://git-wip-us.apache.org/repos/asf/ambari/blob/6f4a9c28/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
--
diff --git 
a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
new file mode 100644
index 000..60fccf3
--- /dev/null
+++ 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page.hbs
@@ -0,0 +1,42 @@
+{{!
+   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.
+}}
+
+  
+
+  Hive 
+
+  {{#link-to 'homePage.hive-history'}}HiveHistory 
Query{{/link-to}}
+  {{#link-to 'homePage.hive-saved-query'}}HiveSaved 
Query{{/link-to}}
+
+  
+  Pig 
+
+  {{#link-to 'homePage.pig-script'}}PigSaved 
script{{/link-to}}
+  {{#link-to 'homePage.pig-job'}}PigJob{{/link-to}}
+
+  
+  {{#link-to 'homePage.revert-change'}}RevertChange{{/link-to}}
+
+  
+
+
+
+  {{outlet}}
+
+
+

http://git-wip-us.apache.org/repos/asf/ambari/blob/6f4a9c28/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-history.hbs
--
diff --git 
a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-history.hbs
 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-history.hbs
new file mode 100644
index 000..b43e49f
--- /dev/null
+++ 
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-history.hbs
@@ -0,0 +1,125 @@
+{{!
+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.
+}}
+
+  
+History Query Migration
+
+  
+  
+
+  
+User Name
+ *
+
+  
+  
+{{ember-selectize content=model.usersdetail  
optionValuePath="content.username" optionLabelPath="content.username" 
value=usernamehue placeholder="Select an userName" }}
+  
+
+
+
+  
+Instance Name
+ *
+
+  
+  
+{{ember-selectize content=model.hiveinstancedetail  
optionValuePath="content.instanceName" optionLabelPath="content.instanceName" 
value=instancename  placeholder="Select an Instance name" }}
+  
+
+
+
+  
+Start Date
+  
+  
+{{date-picker size="35" date=startdate valueFormat='-MM-DD' 
name="startdate" id="startdate" value=startdate}}
+  
+
+
+
+  
+End Date
+  
+  
+{{date-picker size="35" date=enddate valueFormat='-MM-DD' 
name="enddate" id="enddate" value=enddate}}
+  
+
+
+
+  
+Submit
+  
+  
+{{#if jobstatus}}
+  
+Job has been Submitted.
+
+  
+{{/if}}
+  
+
+
+
+  
+{{#if jobstatus}}
+  
+  
+
+
+  
+{{/if}}
+  
+
+
+  
+{{#if completionStatus}}
+  Migration Report
+  
+  
+
+
+