Skip to content

Commit 36ace39

Browse files
authored
Merge pull request #2194 from broadinstitute/development
Release 1.89.0
2 parents 8a2666c + a29b214 commit 36ace39

20 files changed

+1217
-869
lines changed

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
44
ruby '3.2.2'
55

66
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7-
gem 'rails', '6.1.7.8'
7+
gem 'rails', '6.1.7.9'
88
# Use SCSS for stylesheets
99
gem 'sass-rails', '>= 6'
1010
# Use CoffeeScript for .coffee assets and views
@@ -40,6 +40,7 @@ gem 'googleauth'
4040
gem 'google-cloud-storage', require: 'google/cloud/storage'
4141
gem 'google-cloud-bigquery', require: 'google/cloud/bigquery'
4242
gem 'google-apis-lifesciences_v2beta', require: 'google/apis/lifesciences_v2beta'
43+
gem 'google-apis-batch_v1', require: 'google/apis/batch_v1'
4344
gem 'bootstrap-sass', :git => 'https://github.com/twbs/bootstrap-sass'
4445
gem 'font-awesome-sass', git: 'https://github.com/FortAwesome/font-awesome-sass'
4546
gem 'mongoid'
@@ -79,6 +80,7 @@ gem 'net-smtp'
7980
gem 'net-imap'
8081
gem 'net-pop'
8182
gem 'exponential-backoff'
83+
gem 'concurrent-ruby', '1.3.4'
8284

8385
group :development, :test do
8486
# Access an IRB console on exception pages or by using <%= console %> in views

Gemfile.lock

Lines changed: 78 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -32,60 +32,60 @@ GIT
3232
GEM
3333
remote: https://rubygems.org/
3434
specs:
35-
actioncable (6.1.7.8)
36-
actionpack (= 6.1.7.8)
37-
activesupport (= 6.1.7.8)
35+
actioncable (6.1.7.9)
36+
actionpack (= 6.1.7.9)
37+
activesupport (= 6.1.7.9)
3838
nio4r (~> 2.0)
3939
websocket-driver (>= 0.6.1)
40-
actionmailbox (6.1.7.8)
41-
actionpack (= 6.1.7.8)
42-
activejob (= 6.1.7.8)
43-
activerecord (= 6.1.7.8)
44-
activestorage (= 6.1.7.8)
45-
activesupport (= 6.1.7.8)
40+
actionmailbox (6.1.7.9)
41+
actionpack (= 6.1.7.9)
42+
activejob (= 6.1.7.9)
43+
activerecord (= 6.1.7.9)
44+
activestorage (= 6.1.7.9)
45+
activesupport (= 6.1.7.9)
4646
mail (>= 2.7.1)
47-
actionmailer (6.1.7.8)
48-
actionpack (= 6.1.7.8)
49-
actionview (= 6.1.7.8)
50-
activejob (= 6.1.7.8)
51-
activesupport (= 6.1.7.8)
47+
actionmailer (6.1.7.9)
48+
actionpack (= 6.1.7.9)
49+
actionview (= 6.1.7.9)
50+
activejob (= 6.1.7.9)
51+
activesupport (= 6.1.7.9)
5252
mail (~> 2.5, >= 2.5.4)
5353
rails-dom-testing (~> 2.0)
54-
actionpack (6.1.7.8)
55-
actionview (= 6.1.7.8)
56-
activesupport (= 6.1.7.8)
54+
actionpack (6.1.7.9)
55+
actionview (= 6.1.7.9)
56+
activesupport (= 6.1.7.9)
5757
rack (~> 2.0, >= 2.0.9)
5858
rack-test (>= 0.6.3)
5959
rails-dom-testing (~> 2.0)
6060
rails-html-sanitizer (~> 1.0, >= 1.2.0)
61-
actiontext (6.1.7.8)
62-
actionpack (= 6.1.7.8)
63-
activerecord (= 6.1.7.8)
64-
activestorage (= 6.1.7.8)
65-
activesupport (= 6.1.7.8)
61+
actiontext (6.1.7.9)
62+
actionpack (= 6.1.7.9)
63+
activerecord (= 6.1.7.9)
64+
activestorage (= 6.1.7.9)
65+
activesupport (= 6.1.7.9)
6666
nokogiri (>= 1.8.5)
67-
actionview (6.1.7.8)
68-
activesupport (= 6.1.7.8)
67+
actionview (6.1.7.9)
68+
activesupport (= 6.1.7.9)
6969
builder (~> 3.1)
7070
erubi (~> 1.4)
7171
rails-dom-testing (~> 2.0)
7272
rails-html-sanitizer (~> 1.1, >= 1.2.0)
73-
activejob (6.1.7.8)
74-
activesupport (= 6.1.7.8)
73+
activejob (6.1.7.9)
74+
activesupport (= 6.1.7.9)
7575
globalid (>= 0.3.6)
76-
activemodel (6.1.7.8)
77-
activesupport (= 6.1.7.8)
78-
activerecord (6.1.7.8)
79-
activemodel (= 6.1.7.8)
80-
activesupport (= 6.1.7.8)
81-
activestorage (6.1.7.8)
82-
actionpack (= 6.1.7.8)
83-
activejob (= 6.1.7.8)
84-
activerecord (= 6.1.7.8)
85-
activesupport (= 6.1.7.8)
76+
activemodel (6.1.7.9)
77+
activesupport (= 6.1.7.9)
78+
activerecord (6.1.7.9)
79+
activemodel (= 6.1.7.9)
80+
activesupport (= 6.1.7.9)
81+
activestorage (6.1.7.9)
82+
actionpack (= 6.1.7.9)
83+
activejob (= 6.1.7.9)
84+
activerecord (= 6.1.7.9)
85+
activesupport (= 6.1.7.9)
8686
marcel (~> 1.0)
8787
mini_mime (>= 1.1.0)
88-
activesupport (6.1.7.8)
88+
activesupport (6.1.7.9)
8989
concurrent-ruby (~> 1.0, >= 1.0.2)
9090
i18n (>= 1.6, < 2)
9191
minitest (>= 5.1)
@@ -97,6 +97,7 @@ GEM
9797
ast (2.4.2)
9898
autoprefixer-rails (10.2.4.0)
9999
execjs
100+
base64 (0.2.0)
100101
bcrypt (3.1.16)
101102
bootsnap (1.13.0)
102103
msgpack (~> 1.2)
@@ -126,10 +127,10 @@ GEM
126127
coffee-script-source
127128
execjs
128129
coffee-script-source (1.12.2)
129-
concurrent-ruby (1.3.3)
130+
concurrent-ruby (1.3.4)
130131
crass (1.0.6)
131132
daemons (1.4.0)
132-
date (3.3.4)
133+
date (3.4.1)
133134
declarative (0.0.20)
134135
delayed_job (4.1.10)
135136
activesupport (>= 3.0, < 8.0)
@@ -150,7 +151,7 @@ GEM
150151
unf (>= 0.0.5, < 1.0.0)
151152
dry-cli (0.7.0)
152153
easy_diff (1.0.0)
153-
erubi (1.13.0)
154+
erubi (1.13.1)
154155
execjs (2.7.0)
155156
exponential-backoff (0.0.4)
156157
factory_bot (6.1.0)
@@ -186,6 +187,8 @@ GEM
186187
gibberish (2.1.1)
187188
globalid (1.2.1)
188189
activesupport (>= 6.1)
190+
google-apis-batch_v1 (0.27.0)
191+
google-apis-core (>= 0.11.0, < 2.a)
189192
google-apis-bigquery_v2 (0.54.0)
190193
google-apis-core (>= 0.11.0, < 2.a)
191194
google-apis-core (0.11.0)
@@ -235,7 +238,7 @@ GEM
235238
http-cookie (1.0.3)
236239
domain_name (~> 0.5)
237240
httpclient (2.8.3)
238-
i18n (1.14.5)
241+
i18n (1.14.7)
239242
concurrent-ruby (~> 1.0)
240243
image_processing (1.12.2)
241244
mini_magick (>= 4.9.5, < 5)
@@ -255,7 +258,7 @@ GEM
255258
listen (3.5.1)
256259
rb-fsevent (~> 0.10, >= 0.10.3)
257260
rb-inotify (~> 0.9, >= 0.9.10)
258-
loofah (2.23.1)
261+
loofah (2.24.0)
259262
crass (~> 1.0.2)
260263
nokogiri (>= 1.12.0)
261264
macaddr (1.7.2)
@@ -315,7 +318,7 @@ GEM
315318
multi_xml (0.6.0)
316319
multipart-post (2.3.0)
317320
naturally (2.2.1)
318-
net-imap (0.4.13)
321+
net-imap (0.5.5)
319322
date
320323
net-protocol
321324
net-pop (0.1.2)
@@ -325,12 +328,12 @@ GEM
325328
net-smtp (0.5.0)
326329
net-protocol
327330
netrc (0.11.0)
328-
nio4r (2.7.3)
329-
nokogiri (1.16.8-arm64-darwin)
331+
nio4r (2.7.4)
332+
nokogiri (1.18.2-arm64-darwin)
330333
racc (~> 1.4)
331-
nokogiri (1.16.8-x86_64-darwin)
334+
nokogiri (1.18.2-x86_64-darwin)
332335
racc (~> 1.4)
333-
nokogiri (1.16.8-x86_64-linux)
336+
nokogiri (1.18.2-x86_64-linux-gnu)
334337
racc (~> 1.4)
335338
oauth2 (1.4.7)
336339
faraday (>= 0.8, < 2.0)
@@ -365,7 +368,7 @@ GEM
365368
puma (5.6.9)
366369
nio4r (~> 2.0)
367370
racc (1.8.1)
368-
rack (2.2.9)
371+
rack (2.2.10)
369372
rack-brotli (1.1.0)
370373
brotli (>= 0.1.7)
371374
rack (>= 1.4)
@@ -375,33 +378,33 @@ GEM
375378
rack
376379
rack-proxy (0.6.5)
377380
rack
378-
rack-test (2.1.0)
381+
rack-test (2.2.0)
379382
rack (>= 1.3)
380-
rails (6.1.7.8)
381-
actioncable (= 6.1.7.8)
382-
actionmailbox (= 6.1.7.8)
383-
actionmailer (= 6.1.7.8)
384-
actionpack (= 6.1.7.8)
385-
actiontext (= 6.1.7.8)
386-
actionview (= 6.1.7.8)
387-
activejob (= 6.1.7.8)
388-
activemodel (= 6.1.7.8)
389-
activerecord (= 6.1.7.8)
390-
activestorage (= 6.1.7.8)
391-
activesupport (= 6.1.7.8)
383+
rails (6.1.7.9)
384+
actioncable (= 6.1.7.9)
385+
actionmailbox (= 6.1.7.9)
386+
actionmailer (= 6.1.7.9)
387+
actionpack (= 6.1.7.9)
388+
actiontext (= 6.1.7.9)
389+
actionview (= 6.1.7.9)
390+
activejob (= 6.1.7.9)
391+
activemodel (= 6.1.7.9)
392+
activerecord (= 6.1.7.9)
393+
activestorage (= 6.1.7.9)
394+
activesupport (= 6.1.7.9)
392395
bundler (>= 1.15.0)
393-
railties (= 6.1.7.8)
396+
railties (= 6.1.7.9)
394397
sprockets-rails (>= 2.0.0)
395398
rails-dom-testing (2.2.0)
396399
activesupport (>= 5.0.0)
397400
minitest
398401
nokogiri (>= 1.6)
399-
rails-html-sanitizer (1.6.1)
402+
rails-html-sanitizer (1.6.2)
400403
loofah (~> 2.21)
401404
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
402-
railties (6.1.7.8)
403-
actionpack (= 6.1.7.8)
404-
activesupport (= 6.1.7.8)
405+
railties (6.1.7.9)
406+
actionpack (= 6.1.7.9)
407+
activesupport (= 6.1.7.9)
405408
method_source
406409
rake (>= 12.2)
407410
thor (~> 1.0)
@@ -480,7 +483,7 @@ GEM
480483
sprockets (4.2.1)
481484
concurrent-ruby (~> 1.0)
482485
rack (>= 2.2.4, < 4)
483-
sprockets-rails (3.5.1)
486+
sprockets-rails (3.5.2)
484487
actionpack (>= 6.1)
485488
activesupport (>= 6.1)
486489
sprockets (>= 3.0.0)
@@ -493,11 +496,11 @@ GEM
493496
systemu (2.6.5)
494497
test-unit (3.4.1)
495498
power_assert
496-
thor (1.3.1)
499+
thor (1.3.2)
497500
tilt (2.0.10)
498501
time_difference (0.5.0)
499502
activesupport
500-
timeout (0.4.1)
503+
timeout (0.4.3)
501504
trailblazer-option (0.1.2)
502505
truncate_html (0.9.3)
503506
tzinfo (2.0.6)
@@ -519,7 +522,8 @@ GEM
519522
warden (1.2.9)
520523
rack (>= 2.0.9)
521524
webrick (1.8.2)
522-
websocket-driver (0.7.6)
525+
websocket-driver (0.7.7)
526+
base64
523527
websocket-extensions (>= 0.1.0)
524528
websocket-extensions (0.1.5)
525529
will_paginate (3.3.0)
@@ -528,7 +532,7 @@ GEM
528532
will_paginate_mongoid (2.0.1)
529533
mongoid
530534
will_paginate (~> 3.0)
531-
zeitwerk (2.6.16)
535+
zeitwerk (2.7.1)
532536

533537
PLATFORMS
534538
arm64-darwin-21
@@ -549,6 +553,7 @@ DEPENDENCIES
549553
carrierwave (~> 2.2)
550554
carrierwave-mongoid
551555
coffee-rails
556+
concurrent-ruby (= 1.3.4)
552557
daemons
553558
delayed_job
554559
delayed_job_mongoid
@@ -558,6 +563,7 @@ DEPENDENCIES
558563
flamegraph
559564
font-awesome-sass!
560565
gibberish
566+
google-apis-batch_v1
561567
google-apis-lifesciences_v2beta
562568
google-cloud-bigquery
563569
google-cloud-storage
@@ -587,7 +593,7 @@ DEPENDENCIES
587593
puma
588594
rack-brotli
589595
rack-mini-profiler
590-
rails (= 6.1.7.8)
596+
rails (= 6.1.7.9)
591597
rest-client
592598
rubocop
593599
rubocop-rails

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ about service accounts. To export the credentials:
122122
* Editor (project level)
123123
* Cloud Datastore Owner
124124
* Storage Object Viewer
125-
* Genomics Service Agent
125+
* Batch Administrator
126126
* Select 'JSON' and export and save the key locally
127127
* Additionally, a 'read-only' service account is now used for streaming GCS assets to the client in some instances,
128128
so create a second service account and set the role to 'Storage Object Viewer' (see READ-ONLY SERVICE ACCOUNT at the
@@ -134,7 +134,7 @@ about service accounts. To export the credentials:
134134
* Google Cloud APIs
135135
* Google Cloud Billing API
136136
* Google Cloud Storage JSON API
137-
* Google Cloud Genomics API
137+
* Google Cloud Batch API
138138

139139
* **Registering your Service Account as a Terra user**: Once you have configured and booted your instance of the portal,
140140
you will need to register your service account as a Terra user in order to create a billing project and create studies.
@@ -279,8 +279,8 @@ OAUTH_CLIENT_SECRET variables are necessary for allowing Google user authenticat
279279

280280
### INGEST PIPELINE AND NETWORK ENVIRONMENT VARIABLES
281281
The Single Cell Portal handles ingesting data into MongoDB via an [ingest pipeline](https://github.com/broadinstitute/scp-ingest-pipeline)
282-
that runs via the Google Genomics API (also known as the Pipelines API, or PAPI). This API should have been enabled as
283-
a previous step to this (see [DEPLOYING A PRIVATE INSTANCE](#local-development-or-deploying-a-private-instance)).
282+
that runs via the Google Batch API. This API should have been enabled as a previous step to this (see
283+
[DEPLOYING A PRIVATE INSTANCE](#local-development-or-deploying-a-private-instance)).
284284

285285
In order for the ingest pipeline to connect to MongoDB, and in addition to the variables relating to MongoDB as described
286286
in [DOCKER RUN COMMAND ENVIRONMENT VARIABLES](#docker-run-command-environment-variables), there are two further environment

app/controllers/application_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class ApplicationController < ActionController::Base
2727

2828
rescue_from ActionController::InvalidAuthenticityToken, with: :invalid_csrf
2929

30-
def self.life_sciences_api_client
31-
@@life_sciences_api_client ||= LifeSciencesApiClient.new
30+
def self.batch_api_client
31+
@@batch_api_client ||= BatchApiClient.new
3232
end
3333

3434
def self.big_query_client

0 commit comments

Comments
 (0)