cBioPortal / cbioportal-core

Externalized cBioPortal Core
2 stars 15 forks source link

update mysql-connector-java to 8.0.28 #28

Closed sheridancbio closed 7 months ago

sheridancbio commented 8 months ago

The cbioportal codebase currently uses mysql-connector-java version 8.0.28, and cbioportal is brought into cbioportal-core as a dependency. This PR updates the mysql-connector-java version in cbioportal-core to match the one cbioportal.

Two connected changes were needed:

sheridancbio commented 8 months ago

This PR is still being tested.

sheridancbio commented 8 months ago

This PR has been tested in a built version of the msk importer. A typical study was imported with a variety of genetic profiles, and importation was successful. Similar changes to the datasource (allowLoadLocalInfile) were made in the msk importer codebase.

sheridancbio commented 8 months ago

@JREastonMarks I think this could be merged, but I also have not tested an import with the metaImport.py script (the msk importer performs the import using direct calls to methods of the java classes in the scripts package). So if anyone would like to perform such a test, or tell me an easy way to use metaImport.py to import a representative test study (I've not done it before) I'd be happy to run that test.

sheridancbio commented 7 months ago

This PR was merged after successful test of an adapted version of the test_load_study.sh script from https://github.com/cBioPortal/cbioportal/blob/master/test/integration/test_load_study.sh which did not require docker download of a released version of cbioportal-core. Instead it relied on a standalone database and a standalone cbioportal deployment on a specified port. The cbioportal deployment used the codebase at 8361b0a3dca63050f134a9ab7caa5002bdaab63a (approximately for frontend release v6.0.6) and the db_schema_version was 2.13.1