add DataSourceDefinition to Pattern