Commit a2a3ca78 authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Deployed 40bf402b to develop in public with MkDocs 1.6.1 and mike 2.1.3

parent 1d20cd81
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2907,7 +2907,7 @@
<p>The above configuration is expected to query <code>http://172.16.10.100:9090/api/v1/query?query=gnb_service_state&amp;time=1736528808.484</code> every 1 minute and return the result to the service that the user will point out (filling <code>_MT_SERVICEUUID</code>), and especially into a Characteristic named <code>METRICO Result</code>.</p>
<p>In our presented example, we would like the monitoring service to wait for user input for the <code>_MT_SERVICEUUID</code>, before starting. The user can either provide this during the Service Order (if it is already known and available at the Service Inventory), or add it during execution.</p>
<p>To achieve the above, you should navigate to the "Life Cycle Rules" tab and create a Creation Rule that will prevent the Metrico RFS from starting, unless the <code>_MT_SERVICEUUID</code> is provided. Also, you have to pass the updated user-defined Characteristics from the current to the Metrico RFS, when the previous condition is met. To do so, the rule has to be as the following:</p>
<p><a class="glightbox" data-type="image" data-width="100%" data-height="auto" href="../images/metrico_cfss_creation_rule.png" data-desc-position="bottom"><img alt="METRICO CFSS Creation Rule" src="../images/metrico_cfss_creation_rule.png"></a></p>
<p><a class="glightbox" data-type="image" data-width="100%" data-height="auto" href="../images/MetricoCFSSpecificationLCM_v1_0.png" data-desc-position="bottom"><img alt="METRICO CFSS Creation Rule" src="../images/MetricoCFSSpecificationLCM_v1_0.png"></a></p>
<p>Let's create it step-by-step:</p>
<ul>
<li>Drag-and-drop the Create string variable block (from Text blocks)</li>
@@ -2918,7 +2918,7 @@
<li>At the second slot, attach sequentially a) the Not and b) the String Comparison blocks (from Logic blocks)</li>
<li>The Comparison block must compare the "consumingServiceId" variable value (From Text blocks) and an empty line of text (From Text blocks)</li>
<li>At the final slot, attach the Create list block (from Lists blocks)</li>
<li>From the last block's gear button, drag-and-drop more items in the list (must be 8, as the Characteristics)</li>
<li>From the last block's gear button, drag-and-drop more items in the list (must be 6, as the Characteristics)</li>
<li>At each list item, attach the Set values to characteristics of a referenced service block (Service &gt; Relationships &gt; Service Refs blocks)</li>
<li>Each block must have the RFS's Characteristic Name (fill it in at a line of text block) and the respective Tvalue from the Get Value as String block (from Service &gt; Characteristics blocks)</li>
<li>Repeat for every characteristic, as shown above</li>