| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="UTF-8"> |
| <title>Adaptor Dashboard</title> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| |
| <link rel="stylesheet" type="text/css" href="dashboard.css"> |
| <link rel="stylesheet" type="text/css" href="jquery.jqplot.min.css"> |
| |
| <script type="text/javascript" src="jquery-1.6.2.min.js"></script> |
| <!--[if IE]><script type="text/javascript" src="excanvas.min.js"></script><![endif]--> |
| <script type="text/javascript" src="jquery.jqplot.min.js"></script> |
| <script type="text/javascript" src="jqplot.canvasTextRenderer.min.js"></script> |
| <script type="text/javascript" src="jqplot.canvasAxisLabelRenderer.min.js"></script> |
| <script type="text/javascript" src="jqplot.dateAxisRenderer.min.js"></script> |
| <script type="text/javascript" src="jqplot.highlighter.min.js"></script> |
| <script type="text/javascript" src="dashboard.js"></script> |
| </head> |
| <body> |
| <div class="google-header-bar"> |
| <div class="header content"> |
| <!--img class="logo" |
| src="https://ssl.gstatic.com/images/logos/google_logo_41.png" |
| alt="Google"--> |
| </div> |
| <div class="action-btn-grp"> |
| <button class="g-button g-button-primary" id="gaf-incremental-feed-push">Run Incremental Push</button> |
| <button class="g-button g-button-primary" id="gaf-start-feed-push">Run Full Push</button> |
| </div> |
| <div class="notifications"> |
| <span id="gaf-incremental-feed-push-sending" style="display: none">Sending request...</span> |
| <span id="gaf-incremental-feed-push-success" style="display: none">Incremental feed push started</span> |
| <span id="gaf-incremental-feed-push-already-running" style="display: none">A push is already in progress</span> |
| <span id="gaf-start-feed-push-sending" style="display: none">Sending request...</span> |
| <span id="gaf-start-feed-push-success" style="display: none">Feed push started</span> |
| <span id="gaf-start-feed-push-already-running" style="display: none">A push is already in progress</span> |
| <span id="gaf-check-config-sending" style="display: none">Sending request...</span> |
| <span id="gaf-check-config-updated" style="display: none">Configuration updated</span> |
| <span id="gaf-check-config-not-updated" style="display: none">No configuration changes noticed; nothing updated.</span> |
| </div> |
| </div> |
| <div class="main"> |
| <h2>Version</h2> |
| <table class="table-print"> |
| <tr><td>JVM version</td> |
| <td id="version-jvm"></td></tr> |
| <tr><td>Adaptor library version</td> |
| <td id="version-adaptor-library"></td></tr> |
| <tr><td>Adaptor type</td> |
| <td id="type-adaptor"></td></tr> |
| <tr><td>Adaptor version</td> |
| <td id="version-adaptor"></td></tr> |
| </table> |
| |
| <h2>Status</h2> |
| <table class="table-print" id="gaf-status-table"></table> |
| |
| <h2>Statistics</h2> |
| <table class="table-print"> |
| <tr><td>Program started at</td> |
| <td id="gaf-when-started"></td></tr> |
| <tr><td>Last successful full push start</td> |
| <td id="gaf-last-successful-full-push-start"></td></tr> |
| <tr><td>Last successful full push end</td> |
| <td id="gaf-last-successful-full-push-end"></td></tr> |
| <tr><td>Current full push</td> |
| <td id="gaf-current-full-push"></td></tr> |
| <tr><td>Last successful incremental push start</td> |
| <td id="gaf-last-successful-incr-push-start"></td></tr> |
| <tr><td>Last successful incremental push end</td> |
| <td id="gaf-last-successful-incr-push-end"></td></tr> |
| <tr><td>Current incremental push</td> |
| <td id="gaf-current-incr-push"></td></tr> |
| <tr><td>Total document ids pushed</td> |
| <td id="gaf-num-total-doc-ids-pushed"></td></tr> |
| <tr><td>Unique document ids pushed</td> |
| <td id="gaf-num-unique-doc-ids-pushed"></td></tr> |
| <tr><td>GSA document requests</td> |
| <td id="gaf-num-total-gsa-requests"></td></tr> |
| <tr><td>GSA Unique document requests</td> |
| <td id="gaf-num-unique-gsa-requests"></td></tr> |
| <tr><td>Non-GSA document requests</td> |
| <td id="gaf-num-total-non-gsa-requests"></td></tr> |
| <tr><td>Non-GSA Unique document requests</td> |
| <td id="gaf-num-unique-non-gsa-requests"></td></tr> |
| <tr><td>Time resolution</td> |
| <td><span id="gaf-time-resolution"></span> ms</td></tr> |
| </table> |
| |
| <h3>Throughput</h3> |
| <div id="gaf-throughput-chart-minute" class="gaf-chart"></div> |
| <div id="gaf-throughput-chart-hour" class="gaf-chart"></div> |
| <div id="gaf-throughput-chart-day" class="gaf-chart"></div> |
| <div class="gaf-post-charts-div"></div> |
| |
| <h3>Response Time</h3> |
| <div id="gaf-processings-chart-minute" class="gaf-chart"></div> |
| <div id="gaf-processings-chart-hour" class="gaf-chart"></div> |
| <div id="gaf-processings-chart-day" class="gaf-chart"></div> |
| <div class="gaf-post-charts-div"></div> |
| |
| <h2>Adaptor Configuration</h2> |
| <table id="gaf-config-table"></table> |
| |
| <h2>Storing Sensitive Values</h2> |
| <p>Passwords and other security-sensitive configuration values can be |
| specified in configuration as <code>prefix:data</code>, where the prefix |
| specifies how the value is stored. The value can be stored as:</p> |
| <ul> |
| <li><strong>Plain text</strong> allowing the password or other information |
| to be read by anybody who can read the configuration. Denoted by "pl" |
| prefix. |
| <li><strong>Obfuscated</strong> where the information in a highly unreadable |
| format, but it is possible for anyone to retrieve the original text. |
| Denoted by "obf" prefix. |
| <li><strong>Encrypted</strong> which uses your HTTPS encryption key to |
| encrypt the value. Denoted by "pkc" prefix.</ul> |
| |
| <p><form id="gaf-sec-form"> |
| Sensitive Value: <input type="password" class="marg" name="secvalue" id="#gaf-sec-value"> |
| <br> |
| <input type="radio" name="sectype" id="gaf-sec-type-pl" value="PLAIN_TEXT"> |
| <label for="gaf-sec-type-pl">Plain Text</label> |
| <input type="radio" name="sectype" id="gaf-sec-type-obf" value="OBFUSCATED" |
| checked="checked"> |
| <label for="gaf-sec-type-obf">Obfuscated</label> |
| <input type="radio" name="sectype" id="gaf-sec-type-pkc" value="ENCRYPTED"> |
| <label for="gaf-sec-type-pkc">Encrypted |
| <span id="gaf-sec-enc-unavailable" style="display: none">(unavailable |
| because security has not been configured)</span></label><br> |
| <button id="gaf-sec-runenc" class="g-button marg" type="submit">Encode Sensitive Value</button> |
| </form></p> |
| <p> |
| Encoded Value: |
| <input type="text" readonly id="gaf-sec-encoded"> |
| <span id="gaf-sec-processing" style="display: none">Encoding...</span> |
| </p> |
| |
| <h2>Recent Log Messages</h2> |
| <p><a href="../diagnostics-support.zip">Diagnostics zip file</a></p> |
| <pre id="gaf-log"></pre> |
| </div> |
| </body> |
| </html> |