<commit_before><!--
  Copyright 2014 IBM Corp.

  Licensed 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.
-->
<script type="text/x-red" data-template-name="rtcomm event">

   <div class="form-row">
        <label for="node-input-broker"><i class="icon-tag"></i> Broker</label>
        <input type="text" id="node-input-broker">
    </div>
    <div class="form-row">
        <label for="node-input-topic"><i class="icon-tasks"></i> Root Topic</label>
        <input type="text" id="node-input-topic" placeholder="Topic">
    </div>
    <div class="form-row">
        <label for="node-input-name"><i class="icon-tag"></i> Name</label>
        <input type="text" id="node-input-name" placeholder="Name">
    </div>
    <div class="form-row">
    <input type="checkbox" id="node-input-unique" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-unique">Force Unique Client</label></input>&nbsp;
  </div>
	<hr>
    <div class="form-row">
        Filter event actions to capture:
    </div>
    <div class="form-row">
        <input type="checkbox" id="node-input-started" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-started">Started</label></input>&nbsp;
        <input type="checkbox" id="node-input-modified" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-modified">Modified</label></input>&nbsp;
        <input type="checkbox" id="node-input-stopped" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-stopped">Stopped</label></input>&nbsp;
        <input type="checkbox" id="node-input-failed" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-failed">Failed</label></input>&nbsp;
    </div>
    <div class="form-row">
        <label for="node-input-fromendpoint"><i class="icon-tag"></i> From:</label>
        <input type="text" id="node-input-fromendpoint" placeholder="From endpoint ID filter">
    </div>
    <div class="form-row">
        <label for="node-input-toendpoint"><i class="icon-tag"></i> To:</label>
        <input type="text" id="node-input-toendpoint" placeholder="To endpoint ID filter">
    </div>
</script>

<!-- Next, some simple help text is provided for the rtcomm connector node. -->
<script type="text/x-red" data-help-name="rtcomm event">
  <p>Input node used to receive session events published by an rtcomm connector running on a WebSphere Liberty server via MQTT. These
  events can be filtered using the configuration.</p>
   <p>Outputs an object called <b>msg</b> containing <b>msg.topic</b> and
   <b>msg.payload</b>.</p>
   <p><b>msg.payload</b> is a JSON Object.</p>
   <p>The <b>msg.topic</b> contains the topic name that the event was published to.</p>
   <p>The <b>msg.payload</b> contains the following JSON object:</p>
   
<table border="1">
  <tr>
    <th>key</th>
    <th>value</th>
  </tr>
  <tr>
    <td>timestamp </td>
    <td>e.g. 2015-08-18 11:44:47.891</td>
  </tr>
  <tr>
    <td>action </td>
    <td>started|stopped|modified|failed</td>
  </tr>
  <tr>
    <td>fromendpointid </td>
    <td>Initiating endpoint ID</td><commit_msg>Change on the rtcomm event description <commit_after><!--
  Copyright 2014 IBM Corp.

  Licensed 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.
-->
<script type="text/x-red" data-template-name="rtcomm event">

   <div class="form-row">
        <label for="node-input-broker"><i class="icon-tag"></i> Broker</label>
        <input type="text" id="node-input-broker">
    </div>
    <div class="form-row">
        <label for="node-input-topic"><i class="icon-tasks"></i> Root Topic</label>
        <input type="text" id="node-input-topic" placeholder="Topic">
    </div>
    <div class="form-row">
        <label for="node-input-name"><i class="icon-tag"></i> Name</label>
        <input type="text" id="node-input-name" placeholder="Name">
    </div>
    <div class="form-row">
    <input type="checkbox" id="node-input-unique" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-unique">Force Unique Client</label></input>&nbsp;
  </div>
	<hr>
    <div class="form-row">
        Filter event actions to capture:
    </div>
    <div class="form-row">
        <input type="checkbox" id="node-input-started" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-started">Started</label></input>&nbsp;
        <input type="checkbox" id="node-input-modified" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-modified">Modified</label></input>&nbsp;
        <input type="checkbox" id="node-input-stopped" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-stopped">Stopped</label></input>&nbsp;
        <input type="checkbox" id="node-input-failed" style="display: inline-block; width: auto; vertical-align: top;"> <label style="width: auto;" for="node-input-failed">Failed</label></input>&nbsp;
    </div>
    <div class="form-row">
        <label for="node-input-fromendpoint"><i class="icon-tag"></i> From:</label>
        <input type="text" id="node-input-fromendpoint" placeholder="From endpoint ID filter">
    </div>
    <div class="form-row">
        <label for="node-input-toendpoint"><i class="icon-tag"></i> To:</label>
        <input type="text" id="node-input-toendpoint" placeholder="To endpoint ID filter">
    </div>
</script>

<!-- Next, some simple help text is provided for the rtcomm connector node. -->
<script type="text/x-red" data-help-name="rtcomm event">
  <p>Input node used to receive session events published by the rtcomm feature running on a WebSphere Liberty server via MQTT. These
  events can be filtered using the configuration.</p>
   <p>Outputs an object called <b>msg</b> containing <b>msg.topic</b> and
   <b>msg.payload</b>.</p>
   <p><b>msg.payload</b> is a JSON Object.</p>
   <p>The <b>msg.topic</b> contains the topic name that the event was published to.</p>
   <p>The <b>msg.payload</b> contains the following JSON object:</p>
   
<table border="1">
  <tr>
    <th>key</th>
    <th>value</th>
  </tr>
  <tr>
    <td>timestamp </td>
    <td>e.g. 2015-08-18 11:44:47.891</td>
  </tr>
  <tr>
    <td>action </td>
    <td>started|stopped|modified|failed</td>
  </tr>
  <tr>
    <td>fromendpointid </td>
    <td>Initiating endpoint ID</td>
{'fraction_non_alphanumeric': 0.17163289630512515, 'fraction_numerical': 0.006886505098662429, 'mean_word_length': 3.8628461043142304, 'pattern_counts': {'":': 0, '<': 229, '<?xml version=': 0, '>': 229, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5724666', 'n_tokens_mistral': 2417, 'n_tokens_neox': 2355, 'n_words': 669}