function updateMemberCB(request, appData, callback) {
    logutils.logger.debug('updateMemberCB');
    if (!(memId = request.param('uuid').toString())) {
        error = new appErrors.RESTServerError('Member uuid is missing');
        commonUtils.handleJSONResponse(error, response, null);
        return;
    }
    var memPutURL = '/loadbalancer-member/';
    var memPutData = request.body;
    if (!('loadbalancer-member' in memPutData)
            || (!('uuid' in memPutData['loadbalancer-member']))) {
        error = new appErrors.RESTServerError(
                'Member object or its uuid missing');
        callback(error, memPutData);
        return;
    }
    var memUUID = memPutData['loadbalancer-member']['uuid'];

    if (memId != memUUID) {
        error = new appErrors.RESTServerError(
                'Member Id and Member Object uuid mismatch ');
        callback(error, memPutData);
        return;
    }

    memPutURL += memUUID;
    jsonDiff.getConfigDiffAndMakeCall(memPutURL, appData, memPutData, function(
            locError, data) {
        error = appendMessage(locError, locError);
        callback(error, data);
    });
}
/**
 * @updateMemberCB private function 1. Callback for Member update operations 2.
 *                 Send a call to Update the Member diff
 */
@updateMemberCB private function 1. Callback for Member update operations 2.
Send a call to Update the Member diff
@updateMemberCB private function 1 . Callback for Member update operations 2 . Send a call to Update the Member diff
function updateMemberCB(request, appData, callback) {
    logutils.logger.debug('updateMemberCB');
    if (!(memId = request.param('uuid').toString())) {
        error = new appErrors.RESTServerError('Member uuid is missing');
        commonUtils.handleJSONResponse(error, response, null);
        return;
    }
    var memPutURL = '/loadbalancer-member/';
    var memPutData = request.body;
    if (!('loadbalancer-member' in memPutData)
            || (!('uuid' in memPutData['loadbalancer-member']))) {
        error = new appErrors.RESTServerError(
                'Member object or its uuid missing');
        callback(error, memPutData);
        return;
    }
    var memUUID = memPutData['loadbalancer-member']['uuid'];
    if (memId != memUUID) {
        error = new appErrors.RESTServerError(
                'Member Id and Member Object uuid mismatch ');
        callback(error, memPutData);
        return;
    }
    memPutURL += memUUID;
    jsonDiff.getConfigDiffAndMakeCall(memPutURL, appData, memPutData, function(
            locError, data) {
        error = appendMessage(locError, locError);
        callback(error, data);
    });
}
function updateMemberCB ( request , appData , callback ) { logutils . logger . debug ( 'updateMemberCB' ) ; if ( ! ( memId = request . param ( 'uuid' ) . toString ( ) ) ) { error = new appErrors . RESTServerError ( 'Member uuid is missing' ) ; commonUtils . handleJSONResponse ( error , response , null ) ; return ; } var memPutURL = '/loadbalancer-member/' ; var memPutData = request . body ; if ( ! ( 'loadbalancer-member' in memPutData ) || ( ! ( 'uuid' in memPutData [ 'loadbalancer-member' ] ) ) ) { error = new appErrors . RESTServerError ( 'Member object or its uuid missing' ) ; callback ( error , memPutData ) ; return ; } var memUUID = memPutData [ 'loadbalancer-member' ] [ 'uuid' ] ; if ( memId != memUUID ) { error = new appErrors . RESTServerError ( 'Member Id and Member Object uuid mismatch ' ) ; callback ( error , memPutData ) ; return ; } memPutURL += memUUID ; jsonDiff . getConfigDiffAndMakeCall ( memPutURL , appData , memPutData , function ( locError , data ) { error = appendMessage ( locError , locError ) ; callback ( error , data ) ; } ) ; }
@updateMemberCB private function 1.
@updateMemberCB private function 1 .