This file is indexed.

/usr/share/maas/web/static/js/tests/test_node_views.html is in maas-region-controller-min 1.5+bzr2252-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Test maas.node_views</title>

    <!-- YUI and test setup -->
    <script type="text/javascript" src="/usr/share/javascript/raphael/raphael-min.js"></script>
    <script type="text/javascript" src="../testing/yui_test_conf.js"></script>
    <script type="text/javascript" src="/usr/share/javascript/yui3/yui/yui.js"></script>
    <script type="text/javascript" src="../testing/testrunner.js"></script>
    <script type="text/javascript" src="../testing/testing.js"></script>
    <script type="text/javascript" src="../enums.js"></script>
    <script type="text/javascript" src="../node.js"></script>
    <script type="text/javascript" src="../node_add.js"></script>
    <script type="text/javascript" src="../nodes_chart.js"></script>
    <!-- The module under test -->
    <script type="text/javascript" src="../node_views.js"></script>
    <!-- The test suite -->
    <script type="text/javascript" src="test_node_views.js"></script>
    <script type="text/javascript">
    <!--
    var MAAS_config = {
      uris: {
        statics: '/static/',
        nodes_handler: '/api/nodes/'
      }
    };
    // -->
    </script>
  </head>
  <body>
  <span id="suite">maas.node_views.tests</span>

  <!-- Reusable template: nodes for the dashboard to hook into. -->
  <script type="text/x-template" id="dashboard-hooks">
    <div id="chart"></div>
    <div id="summary">
      <h2 id="nodes-number"></h2>
      <p id="nodes-description"></p>
    </div>
    <p id="reserved-nodes"></p>
    <p id="retired-nodes"></p>
  </script>

  <!-- Place for tests to hook instances of the template in the DOM. -->
  <div id="placeholder"></div>

  </body>
</html>