Commit Graph
69172 Commits
Author SHA1 Message Date
claudiofr fe63ba9dcf Clear the beaker caches after creating them on app startup
Clear the caches in the event the cache type is database. This will
delete any rows in the cache table that could be left over from a
prior run of the app preventing an accumulation of stale data.
2023-06-21 22:45:12 +02:00
claudiofr 2d3547a630 Change default beaker cache type to file for the 3 beaker caches. 2023-06-21 22:45:12 +02:00
claudiofr cb9ff7c7b8 Changed default beaker cache table name to beaker_cache for all caches
All 3 beaker caches, mulled_resolution, citations, biotools service,
now use the same default cache table, beaker_cache. This reduces the
number of open db connections because beaker creates a separate
sqlalchemy engine and associated connection pool for each distinct
table and each connection pool opens up a certain number of connections.
This was causing the integration tests to fail because the max
postgress connections(100) were being exceeded.
2023-06-21 22:45:12 +02:00
claudiofr 57e9502f33 Fix isort errors after uploading changes to support a database based beaker cache. 2023-06-21 22:45:12 +02:00
claudiofr 2d2ef309ad Fix formatting errors after uploading changes to support a database based beaker cache. 2023-06-21 22:45:12 +02:00
claudiofr 1fa1b05011 Fix lint errors after uploading changes to support a database based beaker cache. 2023-06-21 22:45:12 +02:00
claudiofr 9237953e9a Fix mypy errors after uploading changes to support a database based beaker cache.
mypy kept complaining that module 'galaxy' has no attribute 'config'
on an 'from galaxy import config' statement. So I changed it to
'import galaxy.config'
2023-06-21 22:45:11 +02:00
claudiofr add56aab3f Fix testing errors after uploading changes to support a database
based beaker cache.

Change test-requirements.txt to require v beaker 1.11.0 because latest
version of beaker apparently introduced a bug that broke the ability
to use database as a cache. Also fixed lint errors.
2023-06-21 22:45:11 +02:00
claudiofr 213398aee3 Change citation and biotools_service beaker cache type from file to
ext:database.

Rather than store cache data in the file system store cache data
in the database. These are the last 2 beaker caches that need
to be converted to the database as part of issue 15216.
Introduce new config parameters for database url, cache table name.
Introduce logic to default values of a parameter to values of another
parameter. i.e. default cache database url to database_connection.
Metadata for this was placed in code. Should probably be
placed eventually in config file which would require a change
to the config_schema.yml.

Introduced a new unit test, test_citations_db.py
Did not introduce a new test for the biotools_service beaker cache
because I could not find a place in the code where it was used.
2023-06-21 22:19:04 +02:00
claudiofr 80f9d66824 Change muled resolution beaker cache type from file to ext:database.
Rather than store cache data in the file system store cache data
in the database. Partially addresses issue 15216. For now this was
only changed for the mulled resolution cache. Introduced new
config parameters for database url, cache table name. Introduced
logic to default values of a parameter to values of another
parameter. i.e. default cache database url to database_connection.
Metadata for this was placed in code. Should probably be
placed eventually in config file which would require a change
to the config_schema.yml.

Introduced a new unit test, test_mulled_resolution_cache_db.py.
2023-06-21 22:19:03 +02:00
Marius van den Beek 71d70a9275 Merge pull request #15483 from bernt-matthias/tests-fix
Fixes for two framework test tools
2023-06-21 22:02:22 +02:00
John Davis 8b6f11cda6 Merge pull request #16285 from mvdbeek/dependency_fix
Bump msal version
2023-06-21 15:56:18 -04:00
mvdbeek d2d4fb8fc4 Bump msal version 2023-06-21 20:25:29 +02:00
Marius van den Beek a68a453608 Merge pull request #15085 from bernt-matthias/topic/decompress-assertions
Decompress history data for testing assertions
2023-06-21 20:05:10 +02:00
Marius van den Beek 8c4598f008 Merge pull request #16224 from jmchilton/edit_attributes
E2E Tests for Edit Dataset Attributes Page
2023-06-21 19:55:07 +02:00
Marius van den Beek 87c91f4d6a Merge pull request #16178 from ElectronicBlueberry/workflow-editor-pan
Fix and Improve Workflow Editor Panning
2023-06-21 19:42:48 +02:00
Marius van den Beek ca8e97f8d8 Merge pull request #16282 from ElectronicBlueberry/workflow-editor-tags
Display Tags in Workflow Editor
2023-06-21 19:41:27 +02:00
Marius van den Beek acc7136045 Merge pull request #15300 from SergeyYakubov/oidc_tokens
OIDC tokens
2023-06-21 19:39:19 +02:00
Marius van den Beek 7a8fdd0d07 Merge pull request #16283 from jdavcs/dev_autocommit_reset
Reset autocommit to True (temporarily)
2023-06-21 19:03:18 +02:00
John Davis 66e82660fd Merge pull request #16173 from abretaud/gnb_datatype
Add zipped mongodb and genenotebook datatypes
2023-06-21 11:11:54 -04:00
John Davis bde13768ac Reset autocommit to True (temporarily)
A deadlock has happened at least on two occasions which may be related
to the autocommit setting recently set to False. Resetting this to True
until we can figure out what's causing the deadlock and fix it.
2023-06-21 09:51:32 -04:00
Laila Los b443b53064 fix selenium test 2023-06-21 15:30:07 +02:00
Anthony BretaudeauandNicola Soranzo 4df618d1ee Update lib/galaxy/datatypes/binary.py
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-21 15:18:59 +02:00
Laila Los 84ac0bfb8a display tags on output node 2023-06-21 13:49:49 +02:00
Laila Los 9eae51fdf6 fix tags component autocomplete rendering 2023-06-21 12:48:39 +02:00
Laila Los 705515096e add FormTags element 2023-06-21 12:48:09 +02:00
Anthony BretaudeauandJohn Davis ed710a42f2 Update lib/galaxy/datatypes/binary.py
Co-authored-by: John Davis <jdavcs@gmail.com>
2023-06-21 09:31:41 +02:00
Anthony BretaudeauandJohn Davis f9b66a3693 Update lib/galaxy/datatypes/binary.py
Co-authored-by: John Davis <jdavcs@gmail.com>
2023-06-21 09:31:32 +02:00
John Davis e12c7993f1 Merge pull request #16209 from martenson/more-pages
bring grids for (published) pages on par with workflows
2023-06-21 00:44:50 -04:00
Martin Cech 711eaac508 remove custom prefix handling
thanks @davelopez
2023-06-20 19:50:09 -07:00
Nicola Soranzo df36f65ca3 Merge pull request #15614 from bernt-matthias/topic/container-resolvers-typing-docs-tests
Container resolvers: add docs, typing and tests
2023-06-20 23:47:31 +01:00
M BerntandNicola Soranzo 07ac4d5805 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-20 22:43:02 +02:00
John Davis 320409236e Merge pull request #15596 from bernt-matthias/topic/job_conf_direct
read job_conf directly from `config_dir` instead of computing it again from `config_file`
2023-06-20 15:37:11 -04:00
John Davis 1a772d09c3 Merge pull request #16220 from jmchilton/test_decorators
Small test decorator improvements.
2023-06-20 15:04:53 -04:00
John Davis d5920c6d78 Merge pull request #16255 from astrovsky01/visium_datatype
Add Visium datatype for squidpy and spatialomics tools
2023-06-20 13:20:39 -04:00
Matthias Bernt 785c936754 replace container resolver config xml by yml 2023-06-20 14:09:34 +02:00
M BerntandNicola Soranzo 0c10751f9c Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-20 11:59:35 +02:00
M BerntandNicola Soranzo 33c71a685a Update doc/source/admin/jobs.md
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-20 11:57:46 +02:00
M BerntandNicola Soranzo 6cfcb04c19 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-20 10:30:19 +02:00
M Bernt 5aa42be72a require_container in tests
i.e. do not allow fallback to conda
2023-06-20 10:28:21 +02:00
Martin Cech dd0750fe8e revert pdf_export test changes, that broke things for no reason
add test_pages another attempt to please selenium deity with more waiting for no reason
2023-06-19 16:45:16 -07:00
Martin Cech 443036a547 attempt to please selenium diety 2023-06-19 15:13:29 -07:00
Martin Cech 6224748f8f Merge pull request #16266 from guerler/add_it_activity
Add interactive tools activity
2023-06-19 21:12:32 +02:00
Martin Cech bc971d9aa2 attempt to fix selenium mby? 2023-06-19 11:20:53 -07:00
Martin Cech 64b4d8394d format 2023-06-19 09:04:29 -07:00
Martin Cech d2dbafa930 Merge branch 'dev' into more-pages
Conflicts:
	lib/galaxy_test/base/populators.py
2023-06-19 08:45:32 -07:00
Dannon a119c94565 Merge pull request #16003 from davelopez/add_history_archiving
Add History Archival feature
2023-06-19 09:44:16 -04:00
Dannon 704e55dfb2 Merge pull request #16267 from galaxybot/dev_auto_update_dependencies
Update Python dependencies
2023-06-19 08:38:38 -04:00
davelopez 3583e8e02a Use transaction instead of session begin 2023-06-19 09:56:54 +02:00
David LópezandEnis Afgan c45c20eb0b Apply suggestions from code review
Co-authored-by: Enis Afgan <afgane@gmail.com>
2023-06-19 09:56:54 +02:00