code: function deploy(req, res, next) {
    var dataSource = req.body;
  
    dataSource._id = req.params.id;
  
    forms.dataSources.deploy(req.connectionOptions, dataSource, dataSourcesHandler(constants.resultTypes.dataSources, req, next));
  }
docs: Deploying A Data Source. This will update if already exists or create one if not.
  @param req
  @param res
  @param next