js/util.js
function (name, separator) {

                var fullName, sep = separator || "/";

                if (name.indexOf(sep) >= 0) {
                    fullName = name; //already got fully-qualified (theoretically)
                } else if (name.indexOf("Service") >= 0) {
                    fullName = "Schema" + sep + "services" + sep + name; //just got the service class name
                } else {
                    fullName = "Schema" + sep + "services" + sep + name + "Service"; //just got the service "object" name
                }

                logger.debug("Service util created full name [" + fullName + "] from [" + name + "]");

                return fullName;

            }
function (name, separator) {

                var fullName, sep = separator || "/";

                if (name.indexOf(sep) >= 0) {
                    fullName = name; //already got fully-qualified (theoretically)
                } else if (name.indexOf("Service") >= 0) {
                    fullName = "Schema" + sep + "services" + sep + name; //just got the service class name
                } else {
                    fullName = "Schema" + sep + "services" + sep + name + "Service"; //just got the service "object" name
                }

                logger.debug("Service util created full name [" + fullName + "] from [" + name + "]");

                return fullName;

            }
function ( name , separator ) { var fullName , sep = separator || "/" ; if ( name . indexOf ( sep ) >= 0 ) { fullName = name ; //already got fully-qualified (theoretically) } else if ( name . indexOf ( "Service" ) >= 0 ) { fullName = "Schema" + sep + "services" + sep + name ; //just got the service class name } else { fullName = "Schema" + sep + "services" + sep + name + "Service" ; //just got the service "object" name } logger . debug ( "Service util created full name [" + fullName + "] from [" + name + "]" ) ; return fullName ; }
Returns a fully-qualified name for a service from one of several partial formats.
Returns a fully - qualified name for a service from one of several partial formats .