<commit_before><!DOCTYPE html>
<html lang="en">
	<#include "header.ftl">
	<body>
    <#include "navigation.ftl">

<!--main-->
<div class="container page-wrap" id="main">
  <div class="row">
  
  	<div class="col-md-6 col-sm-6 col-md-offset-3">
      <div class="well"> 
        <form class="form-horizontal" id="template_create" method="POST" action="Templates">
          <h4>Template parameters</h4>
          <div class="form-group">
            <label for="tmpl-proglang" class="col-sm-4 control-label">Programming Language</label>
            <div class="col-sm-8">
              <select class="form-control" id="tmpl-proglang" name="tmpl-proglang" required>
                <option value="Java" selected>Java</option>
                <option value="C++">C++ (Not supported yet)</option>
                <option value="Python">Python (Not supported yet)</option>
              </select>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-author" class="col-sm-4 control-label">Author</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-author" value="OpenZoo User <<EMAIL>>" required>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-componentID" class="col-sm-4 control-label">Component ID</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-componentID" value="" required>
            </div>
          </div>
          <!-- <div class="form-group">
            <label for="tmpl-serviceID" class="col-sm-4 control-label">Service ID</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-serviceID" value="" required>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-workerID" class="col-sm-4 control-label">Worker ID</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-workerID" value="" required>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-resourcePath" class="col-sm-4 control-label">Resource path</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-resourcePath" value="" required>
            </div>
          </div> -->
          <div class="form-group">
            <label for="tmpl-description" class="col-sm-4 control-label">Description</label>
            <div class="col-sm-8">
              <textarea type="text" class="form-control" name="tmpl-description" rows="2" required></textarea>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-numOutputs" class="col-sm-4 control-label">Number of output endpoints</label>
            <div class="col-sm-8">
              <input type="number" class="form-control" name="tmpl-numOutputs" id="tmpl-numOutputs" min="0" max="10" value="1">
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-hasInput" class="col-sm-4 control-label">Has input endpoint</label>
            <div class="col-sm-4">
              <input type="checkbox" class="form-control" data-toggle="toggle" data-on="<i class='fa fa-plug'></i> Yes" data-off="<i class='fa fa-times'></i> No" data-onstyle="success" data-offstyle="warning" id="tmpl-hasInput" name="tmpl-hasInput" value="O" data-width="100%" checked>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-queueLogging" class="col-sm-4 control-label">Uses queue logging</label>
            <div class="col-sm-4">
              <input type="checkbox" class="form-control" data-toggle="toggle" data-on="<i class='fa fa-pencil-square-o'></i> Yes" data-off="<i class='fa fa-times'></i> No" data-onstyle="success" data-offstyle="warning" id="tmpl-queueLogging" name="tmpl-queueLogging" value="O" data-width="100%" checked>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-usesMongo" class="col-sm-4 control-label">Uses MongoDB</label>
            <div class="col-sm-4">
              <input type="checkbox" class="form-control" data-toggle="toggle" data-on="<i class='fa fa-database'></i> Yes" data-off="<i class='fa fa-times'></i> No" data-onstyle="success" data-offstyle="warning" id="tmpl-usesMongo" name="tmpl-usesMongo" value="O" data-width="100%">
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-workerType" class="col-sm-4 control-label">Worker type</label>
            <div class="col-sm-4">
              <input type="checkbox" class="form-control" data-toggle="toggle" data-on="<i class='fa fa-long-arrow-right'></i> Operator" data-off="<i class='fa fa-arrows-alt'></i> Broker" data-onstyle="success" data-offstyle="warning" id="tmpl-workerType" name="tmpl-workerType" value="O" data-width="100%" checked>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-requiredParameters" class="col-sm-4 control-label">Required Parameters (Comma separated list)</label>
            <div class="col-sm-8">
              <textarea type="text" class="form-control" name="tmpl-requiredParameters" rows="2"></textarea>
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
              <button type="submit" class="btn btn-success pull-right">Create</button>
            </div>
          </div>
        </form>
      </div>
  	</div>
  </div><!--/row-->
  	
  <div class="clearfix"></div>
      
</div><!--/main-->

<#include "footer.ftl">



  <#include "login-about.ftl">
<commit_msg>title description on service templates parameters<commit_after><!DOCTYPE html>
<html lang="en">
	<#include "header.ftl">
	<body>
    <#include "navigation.ftl">

<!--main-->
<div class="container page-wrap" id="main">
  <div class="row">
  
  	<div class="col-md-6 col-sm-6 col-md-offset-3">
      <div class="well"> 
        <form class="form-horizontal" id="template_create" method="POST" action="Templates">
          <h4>Template parameters</h4>
          <div class="form-group">
            <label for="tmpl-proglang" class="col-sm-4 control-label" title="Currently, only Java-based components are supported">Programming Language</label>
            <div class="col-sm-8">
              <select class="form-control" id="tmpl-proglang" name="tmpl-proglang" required>
                <option value="Java" selected>Java</option>
                <option value="C++">C++ (Not supported yet)</option>
                <option value="Python">Python (Not supported yet)</option>
              </select>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-author" class="col-sm-4 control-label" title="The name and email of the author, in the form 'Name <email>'. This information will be embedded to all created files that contain code.">Author</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-author" value="OpenZoo User <<EMAIL>>" required>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-componentID" class="col-sm-4 control-label" title="A unique string for identifying the component through the entire OpenZoo framework. It must be a single word.">Component ID</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-componentID" value="" required>
            </div>
          </div>
          <!-- <div class="form-group">
            <label for="tmpl-serviceID" class="col-sm-4 control-label"  title="Some words about the service functionality.">Service ID</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-serviceID" value="" required>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-workerID" class="col-sm-4 control-label">Worker ID</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-workerID" value="" required>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-resourcePath" class="col-sm-4 control-label">Resource path</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="tmpl-resourcePath" value="" required>
            </div>
          </div> -->
          <div class="form-group">
            <label for="tmpl-description" class="col-sm-4 control-label" title="Some words about the service functionality.">Description</label>
            <div class="col-sm-8">
              <textarea type="text" class="form-control" name="tmpl-description" rows="2" required></textarea>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-numOutputs" class="col-sm-4 control-label" title="The service can have zero or more output endpoints. A service that saves results on the database/filesystem and does not forward any messages to other components, would not need an output endpoint.">Number of output endpoints</label>
            <div class="col-sm-8">
              <input type="number" class="form-control" name="tmpl-numOutputs" id="tmpl-numOutputs" min="0" max="10" value="1">
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-hasInput" class="col-sm-4 control-label" title="The service can have zero or one input endpoint. A crawler that does not accept any input from other components, but creates input for other components, would not need an input endpoint.">Has input endpoint</label>
            <div class="col-sm-4">
              <input type="checkbox" class="form-control" data-toggle="toggle" data-on="<i class='fa fa-plug'></i> Yes" data-off="<i class='fa fa-times'></i> No" data-onstyle="success" data-offstyle="warning" id="tmpl-hasInput" name="tmpl-hasInput" value="O" data-width="100%" checked>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-queueLogging" class="col-sm-4 control-label"  title="If set, the user can see logging information from this service on the OpenZUI Topology monitoring page, after the service is started.">Uses queue logging</label>
            <div class="col-sm-4">
              <input type="checkbox" class="form-control" data-toggle="toggle" data-on="<i class='fa fa-pencil-square-o'></i> Yes" data-off="<i class='fa fa-times'></i> No" data-onstyle="success" data-offstyle="warning" id="tmpl-queueLogging" name="tmpl-queueLogging" value="O" data-width="100%" checked>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-usesMongo" class="col-sm-4 control-label"  title="If set, the appropriate imports and sample functions are included in the template, so that the developer can access the MongoDB easily. A database manager is such a typical case, but also other services could access the database for storing intermediate results or reading necessary information.">Uses MongoDB</label>
            <div class="col-sm-4">
              <input type="checkbox" class="form-control" data-toggle="toggle" data-on="<i class='fa fa-database'></i> Yes" data-off="<i class='fa fa-times'></i> No" data-onstyle="success" data-offstyle="warning" id="tmpl-usesMongo" name="tmpl-usesMongo" value="O" data-width="100%">
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-workerType" class="col-sm-4 control-label"  title="The Operator/Broker service types are explained at the OpenZoo project -How it works- page.">Worker type</label>
            <div class="col-sm-4">
              <input type="checkbox" class="form-control" data-toggle="toggle" data-on="<i class='fa fa-long-arrow-right'></i> Operator" data-off="<i class='fa fa-arrows-alt'></i> Broker" data-onstyle="success" data-offstyle="warning" id="tmpl-workerType" name="tmpl-workerType" value="O" data-width="100%" checked>
            </div>
          </div>
          <div class="form-group">
            <label for="tmpl-requiredParameters" class="col-sm-4 control-label"  title="A comma separated list of parameter names can be specified. Values for these parameters will then be requested during the creation of the topology.">Required Parameters (Comma separated list)</label>
            <div class="col-sm-8">
              <textarea type="text" class="form-control" name="tmpl-requiredParameters" rows="2"></textarea>
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
              <button type="submit" class="btn btn-success pull-right">Create</button>
            </div>
          </div>
        </form>
      </div>
  	</div>
  </div><!--/row-->
  	
  <div class="clearfix"></div>
      
</div><!--/main-->

<#include "footer.ftl">



  <#include "login-about.ftl">

{'fraction_non_alphanumeric': 0.16810671517356374, 'fraction_numerical': 0.007882370774594513, 'mean_word_length': 2.5662162162162163, 'pattern_counts': {'":': 0, '<': 302, '<?xml version=': 0, '>': 302, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6781998', 'n_tokens_mistral': 4004, 'n_tokens_neox': 3929, 'n_words': 925}