Commit Graph

361 Commits (e1158088974ea261cf71cc0b965b63aec1e4e791)

Author SHA1 Message Date
Jim Lambert e115808897 refactor: going from protobuf to go structs since sessions and their related data are not oplogged
6 years ago
Jim Lambert 4262f16fe5 fix table for insert trigger
6 years ago
Jim Lambert 98d8d8de4d add insert_new_connection_state
6 years ago
Jim Lambert a6b5f684b8 refactor tests enlight of no oplogging
6 years ago
Jim Lambert fb7083ee29 stop oplogging sessions and session states
6 years ago
Jim Lambert e1143093ac remove oplog function since we are not oplogging sessions
6 years ago
Jim Lambert 1c7b884880 fix comments cut/paste
6 years ago
Jim Lambert f101156e06 remove oplog ticket for sessions since they should not be oplogged
6 years ago
Jim Lambert ebc31e2f83 refactor session so connections will be a separate type.
6 years ago
Michael Gaffney 024c5393e9
Add database schema for session connections (#347)
6 years ago
Jim Lambert 6334649720 export AllocSession
6 years ago
Jim Lambert 970d769c0e add some docs for exported types and functions.
6 years ago
Jim Lambert c311419c3a add DeleteSession with unit testes
6 years ago
Jim Lambert 3395bfa12d added UpdateSession() with unit tests
6 years ago
Jim Lambert e8c44af322 refactor Status const
6 years ago
Jim Lambert c1a34c79c4 refactor: Address and Port will be set by the Worker after the session was created
6 years ago
Jim Lambert 8a0fad1259 refactor session ServerId and ServerType NOT be included/required for the creation of a session
6 years ago
Jim Lambert 83f1fbacf0 allow server info to be updated
6 years ago
Jim Lambert cf04df6f40 refactor Pending to Active
6 years ago
Jim Lambert f5526c1d78 allow server info to be updated
6 years ago
Jim Lambert 188f53e97b refactor Pending to Active
6 years ago
Jim Lambert 5583e34a4e update immutable fields for sessions
6 years ago
Jim Lambert 2a57b689b2 add UpdateState and unit tests
6 years ago
Jim Lambert baa619bf32 add CreateSession with unit tests
6 years ago
Jim Lambert 99d7f1903b add oplog function for Session type
6 years ago
Jim Lambert e75beb5ccf add ticket for session
6 years ago
Jim Lambert 09837f476c added ListSessions with unit tests
6 years ago
Jim Lambert 27dd3f848d added WithOrder, WithScopeId and WithUserId options with unit tests
6 years ago
Jim Lambert 3fd83b8264 mock signatures
6 years ago
Jim Lambert 2728635f78 fix tests
6 years ago
Jim Lambert f7aadbde95 fixing where clause for lookup in test
6 years ago
Jim Lambert 30dab6f1ba refactor tests to properly use primary key
6 years ago
Jim Lambert c362ead640 fix proto primary key
6 years ago
Jim Lambert df5b4e3326 insert_new_session_state
6 years ago
Jim Lambert 1d87510e89 refactor to use servers.ServerType in place of string
6 years ago
Jim Lambert 128ece6db8 refactor using ComposedOf to reduce possible errors due to sooooo many parameters
6 years ago
Jim Lambert 608f77746a immutable field tests
6 years ago
Jim Lambert 321be613e8 more validation
6 years ago
Jim Lambert edabf2dcaa merge change.
6 years ago
Jim Lambert e9751e76b8 add enum for TerminationReason
6 years ago
Jim Lambert b791485cc7 Merge branch 'master' into jimlambrt-session-basics
6 years ago
Todd Knight 1c2c078e0a
Adding Authz checks that support new pathing (#328)
6 years ago
Jim 3d944a616f
fix name typo (#330)
6 years ago
Jim Lambert a7709b1242 add session and session_state immutable triggers
6 years ago
Jim Lambert 356afa575d add insert_session()
6 years ago
Jim Lambert d529c3bdd7 session.State with unit tests
6 years ago
Jim Lambert 55ba3fc7f8 less stuttering
6 years ago
Jim Lambert 90fbecf617 refactor scope_id to be the project of the session's target
6 years ago
Jim Lambert 534786c134 add unique index on scope_id so it can be a FK
6 years ago
Jim Lambert 7c6203212c fix typo
6 years ago