Feature #7709

[API] Upgrade API server to Rails 4.2

Added by Ward Vandewege over 1 year ago. Updated about 14 hours ago.

Status:In ProgressStart date:03/19/2017
Priority:NormalDue date:
Assignee:Tom Clegg% Done:


Target version:2017-03-29 sprint
Story points2.0Remaining (hours)0.00 hour
Velocity based estimate-


Among other things, this will provide:
- 4.0 - encrypted session cookies, cf. http://api.rubyonrails.org/classes/ActionDispatch/Session/CookieStore.html
- 4.2 - jsonb column type (requires PostgreSQL 9.4)


Task #11319: Review 7709-sdk-cli-active_supportResolvedLucas Di Pentima

Task #11264: ReviewNewLucas Di Pentima

Task #11298: make tests pass in rails4ResolvedTom Clegg

Task #11297: update bundleResolvedTom Clegg

Task #11316: make other components' integration tests passResolvedTom Clegg

Related issues

Duplicated by Arvados - Task #9778: Upgrade API Server to Rails 4.2 Closed 08/11/2016
Blocks Arvados - Story #4019: [API] Support query of "properties" field on objects New
Blocked by Arvados - Feature #10766: [Docs] [arvados-ws] make the arvados-ws documentation off... New 03/23/2017

Associated revisions

Revision b50e323e
Added by Tom Clegg 1 day ago

Merge branch '7709-sdk-cli-active_support'

refs #7709


#1 Updated by Ward Vandewege over 1 year ago

  • Description updated (diff)

#2 Updated by Tom Morris 4 months ago

  • Subject changed from [API] Upgrade API server to rails 4 to [API] Upgrade API server to Rails 4.2
  • Description updated (diff)

#3 Updated by Peter Amstutz 16 days ago

#4 Updated by Tom Morris 16 days ago

  • Target version set to 2017-04-12 sprint
  • Story points set to 2.0

#5 Updated by Tom Morris 8 days ago

  • Target version changed from 2017-04-12 sprint to 2017-03-29 sprint

#6 Updated by Tom Clegg 8 days ago

  • Assignee set to Tom Clegg

#7 Updated by Tom Clegg 3 days ago

So far, the most annoying part has been making the websocket tests (or server?) work. Switching to arvados-ws and abandoning the Rails websocket server & tests might be a better use of time.

Other things that require non-trivial fixes
  • serialized attributes behave differently: Rails 4 wants to store [] and {} as NULL.
  • attr_protected is replaced by strong parameters

#8 Updated by Tom Clegg 2 days ago

  • Status changed from New to In Progress

#9 Updated by Tom Clegg 1 day ago

7709-sdk-cli-active_support @ 2fd606b328508babad9af6c0a30c159568b525c2

#10 Updated by Lucas Di Pentima 1 day ago

LGTM, please merge

Also available in: Atom PDF