Преглед изворни кода

AMBARI-587. Rat tool fixes for trunk (Contributed by vikram)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/branch-0.9@1356542 13f79535-47bb-0310-9956-ffa450edef68
Vikram Dixit K пре 13 година
родитељ
комит
fc42a8e7db
100 измењених фајлова са 2048 додато и 11 уклоњено
  1. 2 0
      CHANGES.txt
  2. 21 1
      hmc/ShellScripts/cleanupHMCDB.sh
  3. 20 0
      hmc/cpp/foo.sh
  4. 21 0
      hmc/cpp/runscriptasroot.c
  5. 22 1
      hmc/css/app.css
  6. 21 0
      hmc/css/clusters.css
  7. 22 1
      hmc/css/cssreset-min.css
  8. 21 0
      hmc/css/yuiCombined.css
  9. 21 0
      hmc/fileCombinator.php
  10. 0 0
      hmc/fonts/iconic_fill.css
  11. 21 0
      hmc/fonts/iconic_fill.svg
  12. 0 0
      hmc/fonts/iconic_stroke.css
  13. 21 0
      hmc/fonts/iconic_stroke.svg
  14. 21 0
      hmc/html/addNodesWizard.php
  15. 21 0
      hmc/html/bootstrapJs.htmli
  16. 21 0
      hmc/html/footer.htmli
  17. 21 0
      hmc/html/head.htmli
  18. 21 0
      hmc/html/head.inc
  19. 21 0
      hmc/html/index.php
  20. 21 0
      hmc/html/initializeCluster.php
  21. 22 1
      hmc/html/installFailed.php
  22. 21 0
      hmc/html/manageServices.php
  23. 22 1
      hmc/html/reinstall.php
  24. 21 0
      hmc/html/showDeployAddedNodesProgress.php
  25. 21 0
      hmc/html/showDeployProgress.php
  26. 21 0
      hmc/html/showManageServicesProgress.php
  27. 21 0
      hmc/html/showUninstallProgress.php
  28. 21 0
      hmc/html/subnav.htmli
  29. 21 0
      hmc/html/topnav.htmli
  30. 21 0
      hmc/html/txnUtils.htmli
  31. 22 1
      hmc/html/uninstallFailed.php
  32. 21 0
      hmc/html/uninstallWizard.php
  33. 21 0
      hmc/html/utils.htmli
  34. 22 1
      hmc/html/welcome.inc
  35. 22 1
      hmc/html/welcome.php
  36. 21 0
      hmc/js/addNodes.js
  37. 21 0
      hmc/js/addNodesProgress.js
  38. 21 0
      hmc/js/addNodesWizard.js
  39. 21 0
      hmc/js/addNodesWizardInit.js
  40. 21 0
      hmc/js/assignMasters.js
  41. 21 0
      hmc/js/clustersList.js
  42. 21 0
      hmc/js/configureCluster.js
  43. 21 0
      hmc/js/configureServices.js
  44. 22 1
      hmc/js/configureServicesUtils.js
  45. 21 0
      hmc/js/createCluster.js
  46. 21 0
      hmc/js/deployAddedNodesProgress.js
  47. 21 0
      hmc/js/deployProgress.js
  48. 21 0
      hmc/js/ext/jquery.min.js
  49. 21 0
      hmc/js/ext/yui-min.js
  50. 21 0
      hmc/js/ext/yuiCombined.js
  51. 21 0
      hmc/js/installationWizard.js
  52. 21 0
      hmc/js/manageServices.js
  53. 21 0
      hmc/js/manageServicesProgress.js
  54. 21 0
      hmc/js/reviewAndDeploy.js
  55. 21 0
      hmc/js/selectComponents.js
  56. 21 0
      hmc/js/selectServices.js
  57. 21 0
      hmc/js/showDeployAddedNodesProgress.js
  58. 21 0
      hmc/js/showDeployProgress.js
  59. 21 0
      hmc/js/showManageServicesProgress.js
  60. 21 0
      hmc/js/showUninstallProgress.js
  61. 21 0
      hmc/js/test/initializeClusterTest.js
  62. 21 0
      hmc/js/txnUtils.js
  63. 21 0
      hmc/js/uninstall.js
  64. 21 0
      hmc/js/uninstallProgress.js
  65. 21 0
      hmc/js/utils.js
  66. 21 0
      hmc/php/conf/Config.inc
  67. 21 0
      hmc/php/conf/MessageResources-en.inc
  68. 23 2
      hmc/php/db/HMCDBAccessor.php
  69. 21 0
      hmc/php/frontend/addNodes.php
  70. 21 0
      hmc/php/frontend/addNodes/bootstrap.php
  71. 21 0
      hmc/php/frontend/addNodes/finalizeNodes.php
  72. 21 0
      hmc/php/frontend/addNodes/findSshableNodes.php
  73. 21 0
      hmc/php/frontend/addNodes/obtainNodesInfo.php
  74. 21 0
      hmc/php/frontend/addNodes/stages.php
  75. 21 0
      hmc/php/frontend/addNodes/verifyAndUpdateNodesInfo.php
  76. 21 0
      hmc/php/frontend/assignMasters.php
  77. 21 0
      hmc/php/frontend/commandUtils.php
  78. 21 0
      hmc/php/frontend/configUtils.php
  79. 21 0
      hmc/php/frontend/configureCluster.php
  80. 21 0
      hmc/php/frontend/configureServices.php
  81. 21 0
      hmc/php/frontend/createCluster.php
  82. 21 0
      hmc/php/frontend/deploy.php
  83. 21 0
      hmc/php/frontend/deployAddedNodes.php
  84. 21 0
      hmc/php/frontend/deployPostProcess.php
  85. 21 0
      hmc/php/frontend/fetchClusterServices.php
  86. 21 0
      hmc/php/frontend/fetchTxnLogs.php
  87. 21 0
      hmc/php/frontend/fetchTxnProgress.php
  88. 21 0
      hmc/php/frontend/initializeHMC.php
  89. 21 0
      hmc/php/frontend/listClusters.php
  90. 21 0
      hmc/php/frontend/localDirs.php
  91. 21 0
      hmc/php/frontend/manageServices.php
  92. 21 0
      hmc/php/frontend/manageServicesPostProcess.php
  93. 21 0
      hmc/php/frontend/nodesAction.php
  94. 21 0
      hmc/php/frontend/nodesActionProgress.php
  95. 21 0
      hmc/php/frontend/restoreDeployedStatePostProcess.php
  96. 21 0
      hmc/php/frontend/selectServices.php
  97. 21 0
      hmc/php/frontend/uninstall.php
  98. 21 0
      hmc/php/frontend/uninstall/cleanupProcesses.php
  99. 21 0
      hmc/php/frontend/uninstall/stages.php
  100. 21 0
      hmc/php/frontend/uninstall/uninstallUtil.php

+ 2 - 0
CHANGES.txt

@@ -6,6 +6,8 @@ characters wide.
 
 
 Release 1.0.0 - unreleased
 Release 1.0.0 - unreleased
 
 
+  AMBARI-587. Rat compliance patch. (vikram)
+
   AMBARI-583. UI allows io_sort_spill_percent value to be set to over 1.0
   AMBARI-583. UI allows io_sort_spill_percent value to be set to over 1.0
   (Jaimin Jetly via hitesh)
   (Jaimin Jetly via hitesh)
 
 

+ 21 - 1
hmc/ShellScripts/cleanupHMCDB.sh

@@ -1,4 +1,24 @@
 #!/bin/sh
 #!/bin/sh
+#
+#
+# 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.
+#
+#
 
 
 dbFile="/var/db/hmc/data/data.db"
 dbFile="/var/db/hmc/data/data.db"
 
 
@@ -33,4 +53,4 @@ sqlite3 ${dbFile} "DELETE FROM ConfigHistory;"
 sqlite3 ${dbFile} "DELETE FROM TransactionStatus;"
 sqlite3 ${dbFile} "DELETE FROM TransactionStatus;"
 sqlite3 ${dbFile} "DELETE FROM SubTransactionStatus;"
 sqlite3 ${dbFile} "DELETE FROM SubTransactionStatus;"
 
 
-exit 0;
+exit 0;

+ 20 - 0
hmc/cpp/foo.sh

@@ -1,4 +1,24 @@
 #!/bin/bash 
 #!/bin/bash 
+#
+#
+# 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.
+#
+#
 
 
 sleep 100s;
 sleep 100s;
 
 

+ 21 - 0
hmc/cpp/runscriptasroot.c

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 #include <stdio.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <sys/types.h>
 #include <sys/types.h>

+ 22 - 1
hmc/css/app.css

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 header, footer, aside, nav, article, section {
 header, footer, aside, nav, article, section {
   display: block;
   display: block;
 }
 }
@@ -1416,4 +1437,4 @@ ul#serviceManagementListId,
   list-style:none outside none;
   list-style:none outside none;
   margin:0;
   margin:0;
 }
 }
-/* END manageServices */
+/* END manageServices */

+ 21 - 0
hmc/css/clusters.css

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 #clustersNavigationLinksDivId {
 #clustersNavigationLinksDivId {
   width: 100%;
   width: 100%;
   text-align: center;
   text-align: center;

+ 22 - 1
hmc/css/cssreset-min.css

@@ -1,7 +1,28 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /*
 /*
 YUI 3.5.1 (build 22)
 YUI 3.5.1 (build 22)
 Copyright 2012 Yahoo! Inc. All rights reserved.
 Copyright 2012 Yahoo! Inc. All rights reserved.
 Licensed under the BSD License.
 Licensed under the BSD License.
 http://yuilibrary.com/license/
 http://yuilibrary.com/license/
 */
 */
-html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}
+html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

+ 21 - 0
hmc/css/yuiCombined.css

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /*
 /*
 YUI 3.5.1 (build 22)
 YUI 3.5.1 (build 22)
 Copyright 2012 Yahoo! Inc. All rights reserved.
 Copyright 2012 Yahoo! Inc. All rights reserved.

+ 21 - 0
hmc/fileCombinator.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 function deduceContentType ($fileToLoad)
 function deduceContentType ($fileToLoad)
 {
 {

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
hmc/fonts/iconic_fill.css


+ 21 - 0
hmc/fonts/iconic_fill.svg

@@ -1,4 +1,25 @@
 <?xml version="1.0" standalone="no"?>
 <?xml version="1.0" standalone="no"?>
+<!--
+
+ 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.
+
+-->
+
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
 <svg>
 <svg>
 <metadata>
 <metadata>

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
hmc/fonts/iconic_stroke.css


+ 21 - 0
hmc/fonts/iconic_stroke.svg

@@ -1,4 +1,25 @@
 <?xml version="1.0" standalone="no"?>
 <?xml version="1.0" standalone="no"?>
+<!--
+
+ 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.
+
+-->
+
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
 <svg>
 <svg>
 <metadata>
 <metadata>

+ 21 - 0
hmc/html/addNodesWizard.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>

+ 21 - 0
hmc/html/bootstrapJs.htmli

@@ -1,3 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
 <link type="text/css" rel="stylesheet" href="../css/yuiCombined.css">
 <link type="text/css" rel="stylesheet" href="../css/yuiCombined.css">
 <script src="../js/ext/yui-min.js"></script>
 <script src="../js/ext/yui-min.js"></script>
 <script src="../js/ext/yuiCombined.js"></script>
 <script src="../js/ext/yuiCombined.js"></script>

+ 21 - 0
hmc/html/footer.htmli

@@ -1,3 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
 <!-- START FOOTER -->
 <!-- START FOOTER -->
 	<div class="container">
 	<div class="container">
 		<footer><?php echo $RES['page.footer.body'] ?></footer>
 		<footer><?php echo $RES['page.footer.body'] ?></footer>

+ 21 - 0
hmc/html/head.htmli

@@ -1,3 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
     <title id="pageTitleId"><?php echo $RES['page.title'] ?></title>
     <title id="pageTitleId"><?php echo $RES['page.title'] ?></title>
     <link type="text/css" rel="stylesheet" href="../css/cssreset-min.css">
     <link type="text/css" rel="stylesheet" href="../css/cssreset-min.css">
     <link type="text/css" rel="stylesheet" href="../css/bootstrap.css" media="screen"/>
     <link type="text/css" rel="stylesheet" href="../css/bootstrap.css" media="screen"/>

+ 21 - 0
hmc/html/head.inc

@@ -1,3 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
 <?php
 <?php
 require_once '../php/conf/MessageResources-en.inc';
 require_once '../php/conf/MessageResources-en.inc';
 require_once '../php/util/Logger.php';
 require_once '../php/util/Logger.php';

+ 21 - 0
hmc/html/index.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>

+ 21 - 0
hmc/html/initializeCluster.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc"; ?>
 <?php require_once "./head.inc"; ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>

+ 22 - 1
hmc/html/installFailed.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+/*
+ *
+ * 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.
+ *
+*/
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>
@@ -15,4 +36,4 @@
       </div>
       </div>
     </div>
     </div>
   </body>
   </body>
-</html>
+</html>

+ 21 - 0
hmc/html/manageServices.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>

+ 22 - 1
hmc/html/reinstall.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>
@@ -15,4 +36,4 @@
       </div>
       </div>
     </div>
     </div>
   </body>
   </body>
-</html>
+</html>

+ 21 - 0
hmc/html/showDeployAddedNodesProgress.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>

+ 21 - 0
hmc/html/showDeployProgress.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>

+ 21 - 0
hmc/html/showManageServicesProgress.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>

+ 21 - 0
hmc/html/showUninstallProgress.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>

+ 21 - 0
hmc/html/subnav.htmli

@@ -1,3 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
 <?php
 <?php
 switch ($requestPage) {
 switch ($requestPage) {
 case 'html':
 case 'html':

+ 21 - 0
hmc/html/topnav.htmli

@@ -1,3 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
 <!-- START TOPNAV -->
 <!-- START TOPNAV -->
  <?php 
  <?php 
     $homeUrl = '/hmc/html';
     $homeUrl = '/hmc/html';

+ 21 - 0
hmc/html/txnUtils.htmli

@@ -1,3 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
 <div id="txnProgressCoreDivId" style="display:none">
 <div id="txnProgressCoreDivId" style="display:none">
   <div id="txnProgressBox">
   <div id="txnProgressBox">
     <div id="txnProgressHeader"></div>
     <div id="txnProgressHeader"></div>

+ 22 - 1
hmc/html/uninstallFailed.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>
@@ -17,4 +38,4 @@
       </div>
       </div>
     </div>
     </div>
   </body>
   </body>
-</html>
+</html>

+ 21 - 0
hmc/html/uninstallWizard.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc" ?>
 <?php require_once "./head.inc" ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>

+ 21 - 0
hmc/html/utils.htmli

@@ -1,3 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
 <!-- The mechanism by which we black out the screen and affix the
 <!-- The mechanism by which we black out the screen and affix the
      the spotlight on a smaller portion of it. -->
      the spotlight on a smaller portion of it. -->
 <div id="blackScreenDivId" style="display:none"></div>
 <div id="blackScreenDivId" style="display:none"></div>

+ 22 - 1
hmc/html/welcome.inc

@@ -1,6 +1,27 @@
+<!--
+
+ 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.
+
+-->
+
 <div class="alert alert-info" style="margin-top:40px;padding:20px">
 <div class="alert alert-info" style="margin-top:40px;padding:20px">
   <h2 style="margin-bottom:10px"><?php echo $RES['welcome.header'] ?></h2>
   <h2 style="margin-bottom:10px"><?php echo $RES['welcome.header'] ?></h2>
   <p><?php echo $RES['welcome.body'] ?></p>
   <p><?php echo $RES['welcome.body'] ?></p>
   <p><span class='label label-info'>Note</span><span style='margin-left:10px;'><?php echo $RES['welcome.note'] ?></span></p> 
   <p><span class='label label-info'>Note</span><span style='margin-left:10px;'><?php echo $RES['welcome.note'] ?></span></p> 
   <a class='btn btn-large' style='margin-top:20px' href='initializeCluster.php'><?php echo $RES['welcome.submit.label'] ?></a>
   <a class='btn btn-large' style='margin-top:20px' href='initializeCluster.php'><?php echo $RES['welcome.submit.label'] ?></a>
-</div>
+</div>

+ 22 - 1
hmc/html/welcome.php

@@ -1,4 +1,25 @@
 <?php require_once "./head.inc"; ?>
 <?php require_once "./head.inc"; ?>
+<!--
+
+ 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.
+
+-->
+
 <html>
 <html>
   <head>
   <head>
     <?php require "./head.htmli" ?>
     <?php require "./head.htmli" ?>
@@ -16,4 +37,4 @@
       </div>
       </div>
     </div>
     </div>
   </body>
   </body>
-</html>
+</html>

+ 21 - 0
hmc/js/addNodes.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 InstallationWizard.AddNodes = {
 InstallationWizard.AddNodes = {
 
 
   renderData:
   renderData:

+ 21 - 0
hmc/js/addNodesProgress.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 function cleanUpTxnProgress () {
 function cleanUpTxnProgress () {
   globalYui.one('#installationWizardProgressBarDivId').setStyle('display', 'block');
   globalYui.one('#installationWizardProgressBarDivId').setStyle('display', 'block');

+ 21 - 0
hmc/js/addNodesWizard.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var addNodesWizardStages = {
 var addNodesWizardStages = {
 
 
   /* The keys in 'stages' need to be kept in-sync with the <li> elements in 
   /* The keys in 'stages' need to be kept in-sync with the <li> elements in 

+ 21 - 0
hmc/js/addNodesWizardInit.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 // The values of clusterName and freshInstall come from html/addNodesWizard.php
 // The values of clusterName and freshInstall come from html/addNodesWizard.php
 var addNodesRequestData = {
 var addNodesRequestData = {
   "clusterName": clusterName,
   "clusterName": clusterName,

+ 21 - 0
hmc/js/assignMasters.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function AssignMasters() {
 function AssignMasters() {
 
 
   var registeredAssignHostsEventHandlers = false;
   var registeredAssignHostsEventHandlers = false;

+ 21 - 0
hmc/js/clustersList.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function ClustersList() { 
 function ClustersList() { 
   
   
   var managerHostName;
   var managerHostName;

+ 21 - 0
hmc/js/configureCluster.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function generateEligibleMountPoints () {
 function generateEligibleMountPoints () {
 
 
     /* The list we're about to build up. */
     /* The list we're about to build up. */

+ 21 - 0
hmc/js/configureServices.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var globalOptionsInfo = null;
 var globalOptionsInfo = null;
            
            
 Y.one('#configureClusterAdvancedSubmitButtonId').on('click',function (e) {
 Y.one('#configureClusterAdvancedSubmitButtonId').on('click',function (e) {

+ 22 - 1
hmc/js/configureServicesUtils.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function ConfigureServicesUtil() {
 function ConfigureServicesUtil() {
 
 
   var passwordsArray = [];
   var passwordsArray = [];
@@ -301,4 +322,4 @@ function ConfigureServicesUtil() {
   }.bind(this);
   }.bind(this);
 };
 };
 
 
-var configureServicesUtil = new ConfigureServicesUtil();
+var configureServicesUtil = new ConfigureServicesUtil();

+ 21 - 0
hmc/js/createCluster.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function handleCreateClusterError (errorResponse) {
 function handleCreateClusterError (errorResponse) {
 
 
   globalYui.one("#clusterNameId").addClass('formInputError');
   globalYui.one("#clusterNameId").addClass('formInputError');

+ 21 - 0
hmc/js/deployAddedNodesProgress.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function generateLogsContent(errorInfoJson) {
 function generateLogsContent(errorInfoJson) {
   return '<pre>' +
   return '<pre>' +
            globalYui.JSON.stringify( errorInfoJson.logs, null, 4 ) +
            globalYui.JSON.stringify( errorInfoJson.logs, null, 4 ) +

+ 21 - 0
hmc/js/deployProgress.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function generateLogsContent(errorInfoJson) {
 function generateLogsContent(errorInfoJson) {
 /*
 /*
   content = '<div id=\"ProgressLogsContainer\">'
   content = '<div id=\"ProgressLogsContainer\">'

Разлика између датотеке није приказан због своје велике величине
+ 21 - 0
hmc/js/ext/jquery.min.js


Разлика између датотеке није приказан због своје велике величине
+ 21 - 0
hmc/js/ext/yui-min.js


+ 21 - 0
hmc/js/ext/yuiCombined.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /*
 /*
 YUI 3.5.1 (build 22)
 YUI 3.5.1 (build 22)
 Copyright 2012 Yahoo! Inc. All rights reserved.
 Copyright 2012 Yahoo! Inc. All rights reserved.

+ 21 - 0
hmc/js/installationWizard.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var InstallationWizardStages = {
 var InstallationWizardStages = {
 
 
   /* The keys in 'stages' need to be kept in-sync with the <li> elements in 
   /* The keys in 'stages' need to be kept in-sync with the <li> elements in 

+ 21 - 0
hmc/js/manageServices.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /* Declarations of global data. */
 /* Declarations of global data. */
 var fetchClusterServicesPoller;
 var fetchClusterServicesPoller;
 var clusterServices;
 var clusterServices;

+ 21 - 0
hmc/js/manageServicesProgress.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function renderManageServicesProgress( manageServicesProgressInfo ) {
 function renderManageServicesProgress( manageServicesProgressInfo ) {
 
 
   var manageServicesProgressStatusMessage = {
   var manageServicesProgressStatusMessage = {

+ 21 - 0
hmc/js/reviewAndDeploy.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function renderDeploySummary (deployInfo) {
 function renderDeploySummary (deployInfo) {
   var deploySummary = "";
   var deploySummary = "";
   
   

+ 21 - 0
hmc/js/selectComponents.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 InstallationWizard.SelectServicesForNewNodes = {
 InstallationWizard.SelectServicesForNewNodes = {
   renderData: {},
   renderData: {},
   render: function (deployAddedNodesData) {
   render: function (deployAddedNodesData) {

+ 21 - 0
hmc/js/selectServices.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 InstallationWizard.SelectServices = {
 InstallationWizard.SelectServices = {
 
 
   renderData: {},
   renderData: {},

+ 21 - 0
hmc/js/showDeployAddedNodesProgress.js

@@ -1,2 +1,23 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /* Main() */
 /* Main() */
 executeStage( '../php/frontend/deployAddedNodes.php?clusterName=' + clusterName, renderDeployAddedNodesProgress );
 executeStage( '../php/frontend/deployAddedNodes.php?clusterName=' + clusterName, renderDeployAddedNodesProgress );

+ 21 - 0
hmc/js/showDeployProgress.js

@@ -1,2 +1,23 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /* Main() */
 /* Main() */
 executeStage( '../php/frontend/deploy.php?clusterName=' + clusterName, renderDeployProgress );
 executeStage( '../php/frontend/deploy.php?clusterName=' + clusterName, renderDeployProgress );

+ 21 - 0
hmc/js/showManageServicesProgress.js

@@ -1,2 +1,23 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /* Main() */
 /* Main() */
 executeStage( '../php/frontend/manageServices.php?clusterName=' + clusterName, renderManageServicesProgress );
 executeStage( '../php/frontend/manageServices.php?clusterName=' + clusterName, renderManageServicesProgress );

+ 21 - 0
hmc/js/showUninstallProgress.js

@@ -1,2 +1,23 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /* Main() */
 /* Main() */
 executeStage( '../php/frontend/uninstall.php?clusterName=' + clusterName, renderUninstallProgress );
 executeStage( '../php/frontend/uninstall.php?clusterName=' + clusterName, renderUninstallProgress );

+ 21 - 0
hmc/js/test/initializeClusterTest.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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 is to aid development by jumping to a specified stage on page load
 // This is to aid development by jumping to a specified stage on page load
 // so that the developer does not have to run through each page to see code
 // so that the developer does not have to run through each page to see code
 // changes made to the stage (assuming the developer has already run the wizard
 // changes made to the stage (assuming the developer has already run the wizard

+ 21 - 0
hmc/js/txnUtils.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function TxnProgressWidget( txnProgressContext, txnProgressTitle, txnProgressStatusMessage, txnProgressPostCompletionFixup ) {
 function TxnProgressWidget( txnProgressContext, txnProgressTitle, txnProgressStatusMessage, txnProgressPostCompletionFixup ) {
 
 
   
   

+ 21 - 0
hmc/js/uninstall.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function getWipeOutConfirmation () {
 function getWipeOutConfirmation () {
   var selections = globalYui.all("#confirmWipeOutDivId input[type=checkbox]");
   var selections = globalYui.all("#confirmWipeOutDivId input[type=checkbox]");
 
 

+ 21 - 0
hmc/js/uninstallProgress.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 function generateLogsContent(errorInfoJson) {
 function generateLogsContent(errorInfoJson) {
 /*
 /*
   content = '<div id=\"ProgressLogsContainer\">'
   content = '<div id=\"ProgressLogsContainer\">'

+ 21 - 0
hmc/js/utils.js

@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 var multipleClustersSupported = false;
 var multipleClustersSupported = false;
 
 

+ 21 - 0
hmc/php/conf/Config.inc

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 $INSTALL_ROOT = "/usr/share/hmc/";
 $INSTALL_ROOT = "/usr/share/hmc/";
 
 

+ 21 - 0
hmc/php/conf/MessageResources-en.inc

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 $RES['app.name']="Ambari";
 $RES['app.name']="Ambari";
 $RES['page.title']="Ambari";
 $RES['page.title']="Ambari";
 $RES['page.footer.body']="";
 $RES['page.footer.body']="";

+ 23 - 2
hmc/php/db/HMCDBAccessor.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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 HMCDBAccessor {
 class HMCDBAccessor {
 
 
@@ -1024,12 +1045,12 @@ class HMCDBAccessor {
     }
     }
     $using_sort = FALSE;
     $using_sort = FALSE;
     if (isset($order) && is_array($order)) {
     if (isset($order) && is_array($order)) {
-      if (sizeof($order) > 0) {
+      if (sizeof($order) > 0) {
         $query .= " ORDER BY ";
         $query .= " ORDER BY ";
         $using_sort = TRUE;
         $using_sort = TRUE;
       }
       }
       while (sizeof($order) > 0) {
       while (sizeof($order) > 0) {
-        // is it an array of arrays, for an array of sortColumn and sortOrder?        
+        // is it an array of arrays, for an array of sortColumn and sortOrder?        
         if (isset($order[0]) && is_array($order[0])) {
         if (isset($order[0]) && is_array($order[0])) {
           $this->logger->log_debug('Order is array of arrays');
           $this->logger->log_debug('Order is array of arrays');
           $orderItem = array_shift($order);
           $orderItem = array_shift($order);

+ 21 - 0
hmc/php/frontend/addNodes.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/addNodes/bootstrap.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/addNodes/finalizeNodes.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';

+ 21 - 0
hmc/php/frontend/addNodes/findSshableNodes.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/addNodes/obtainNodesInfo.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/addNodes/stages.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 $stagesInfo = array(
 $stagesInfo = array(
     "findSshableNodes" => array (
     "findSshableNodes" => array (

+ 21 - 0
hmc/php/frontend/addNodes/verifyAndUpdateNodesInfo.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';
 include_once 'localDirs.php';
 include_once 'localDirs.php';

+ 21 - 0
hmc/php/frontend/assignMasters.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/commandUtils.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 function launchCmd ($cmd)
 function launchCmd ($cmd)
 {
 {

+ 21 - 0
hmc/php/frontend/configUtils.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 function validateDirList($dirListStr) {
 function validateDirList($dirListStr) {
   $dirList = explode(",", trim($dirListStr));
   $dirList = explode(",", trim($dirListStr));

+ 21 - 0
hmc/php/frontend/configureCluster.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/configureServices.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/createCluster.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/deploy.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/deployAddedNodes.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/deployPostProcess.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/fetchClusterServices.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/fetchTxnLogs.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/fetchTxnProgress.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once "../conf/Config.inc";
 include_once "../conf/Config.inc";

+ 21 - 0
hmc/php/frontend/initializeHMC.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 /*
 /*
 $dbHandle = sqlite_popen("../../../db/data.db", 666, $error);
 $dbHandle = sqlite_popen("../../../db/data.db", 666, $error);

+ 21 - 0
hmc/php/frontend/listClusters.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/localDirs.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 // Valid constant names
 // Valid constant names
 $rootDir = $GLOBALS["HMC_CLUSTER_PATH"];
 $rootDir = $GLOBALS["HMC_CLUSTER_PATH"];

+ 21 - 0
hmc/php/frontend/manageServices.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/manageServicesPostProcess.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/nodesAction.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/nodesActionProgress.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/restoreDeployedStatePostProcess.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/selectServices.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/uninstall.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';
 include_once 'localDirs.php';
 include_once 'localDirs.php';

+ 21 - 0
hmc/php/frontend/uninstall/cleanupProcesses.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

+ 21 - 0
hmc/php/frontend/uninstall/stages.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 $stagesInfo = array(
 $stagesInfo = array(
     "CleanupProcesses" => array(
     "CleanupProcesses" => array(

+ 21 - 0
hmc/php/frontend/uninstall/uninstallUtil.php

@@ -1,4 +1,25 @@
 <?php
 <?php
+/*
+ *
+ * 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.
+ *
+*/
+
 
 
 include_once '../util/Logger.php';
 include_once '../util/Logger.php';
 include_once '../conf/Config.inc';
 include_once '../conf/Config.inc';

Неке датотеке нису приказане због велике количине промена