One would assume that BA dreamliner will have their major maintenance at Cardiff as they will be replacing the B762 and some B744 however I have been reliably informed that no decision has been made as of yet.
As for flight training could be a possibility but i'm sure the first airframe is due this month according to Jethro's but have not heard any rumours of training at Cardiff as of yet.