Each i2b2 cell has a DB_LOOKUP table that defines the Wildfly XML datasource name for each project. The admin tool allows these to be edited:

dbLookup.png

dbLookup-new.png

dbLookup-new.png