<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_script_include">
    <sys_script_include action="INSERT_OR_UPDATE">
        <access>package_private</access>
        <active>true</active>
        <api_name>x_turbo_turbonomic.TurbonomicGlide</api_name>
        <caller_access/>
        <client_callable>false</client_callable>
        <description/>
        <name>TurbonomicGlide</name>
        <script><![CDATA[/**
 * Script so that we can mock glide records in unit tests.
 */
var TurbonomicGlide = (function () {

    TurbonomicGlide.prototype.type = 'TurbonomicGlide';

    function TurbonomicGlide() {
    }

    /**
     * Creates an object for querying and modifying the provided table.
     */
    TurbonomicGlide.prototype.accessTable = function(table) {
        // In unit testing javascript replacing the result from
        // new GlideRecordSecure('cmdb_ci_vm_instance') is difficult.
        // It is much easier if we put it in this script, and pass in
        // this object to production code, and a mock object
        // in unit testing code.
        return new GlideRecordSecure(table);
    };

    return TurbonomicGlide;
}());
]]></script>
        <sys_class_name>sys_script_include</sys_class_name>
        <sys_created_by>admin</sys_created_by>
        <sys_created_on>2019-06-10 17:56:56</sys_created_on>
        <sys_id>0c5a6f8cdb023300373fe04a489619ed</sys_id>
        <sys_mod_count>3</sys_mod_count>
        <sys_name>TurbonomicGlide</sys_name>
        <sys_package display_value="Turbonomic Actions" source="x_turbo_turbonomic">be4eeab2db007f005e691fe968961902</sys_package>
        <sys_policy>read</sys_policy>
        <sys_scope display_value="Turbonomic Actions">be4eeab2db007f005e691fe968961902</sys_scope>
        <sys_update_name>sys_script_include_0c5a6f8cdb023300373fe04a489619ed</sys_update_name>
        <sys_updated_by>admin</sys_updated_by>
        <sys_updated_on>2019-08-09 21:44:03</sys_updated_on>
    </sys_script_include>
</record_update>
