Jim
a8d75db00a
prevent session state changes after session has terminated. ( #540 )
2020-10-06 12:16:44 -04:00
Jim
dc379ed09f
handle unlimited connections when terminating sessions. ( #536 )
2020-10-05 17:01:22 -04:00
Jim
bd547fd0d6
terminate a canceled session when its last connection is closed. ( #520 )
2020-10-02 10:01:46 -04:00
Jim
19aecfefae
terminate "completed" sessions ( #477 )
2020-10-01 10:13:57 -04:00
Jim
1e71c55920
deprecate access to underlying *sql.DB via internal/db.DB() ( #506 )
2020-09-30 18:11:59 -04:00
Jim
978f7dc34c
fix immutable columns for session_state and session_connnection_state ( #449 )
2020-09-25 16:04:43 -04:00
Jim
57da9f918e
cancel a session when one of its FKs is set to null ( #406 )
2020-09-22 14:36:20 -04:00
Jim
cfc76eb88f
add support for WithSessionIds in ListSesions ( #395 )
2020-09-22 10:41:42 -04:00
Jeff Mitchell
f25186f78a
Standardize on one spelling of "canceled" ( #399 )
2020-09-21 16:33:28 -04:00
Jeff Mitchell
1adbe64160
Update some tests that are failing due to 300 nano difference in time comparisons between create and lookup ( #393 )
2020-09-21 15:08:15 -04:00
Jim
b334aeff41
refactor CancelSession and updateStates to be idempotent ( #390 )
2020-09-21 11:14:30 -04:00
Jeff Mitchell
9cbc7b5c3d
Add connection close call from worker to controller ( #387 )
2020-09-21 00:09:50 -04:00
Jeff Mitchell
7ff4b7f106
Send connected RPC to controller ( #386 )
2020-09-20 23:09:42 -04:00
Jeff Mitchell
4669c95999
Pass more session info around, make proxy UX nicer ( #385 )
2020-09-20 21:18:07 -04:00
Todd Knight
e937b0ea27
Sessions Read/List/Cancel API and SDK ( #369 )
2020-09-20 20:22:57 -04:00
Jeff Mitchell
697ea561e0
Fix breakage from dual merges
2020-09-20 16:04:05 -04:00
Jim
5764b2c70a
return States as a field of Connection repo operations. ( #382 )
2020-09-20 15:54:39 -04:00
Jeff Mitchell
edffc7863d
Change connection limit to -1 for unlimited so it works with TF ( #383 )
...
* Migrate connection limit unlimited value to -1
* Fix authorization check
2020-09-20 15:53:49 -04:00
Jeff Mitchell
5214f14105
Work on connection authorization ( #381 )
2020-09-20 12:51:08 -04:00
Jim
223591d835
return connection authz info from session.AuthorizeConnection ( #380 )
2020-09-19 21:05:56 -04:00
Jim
66400c9cff
changes needed for sessions.AuthorizeConnection ( #377 )
2020-09-19 14:21:09 -04:00
Jeff Mitchell
5bf555cca2
Remove connection idle timeout seconds for now ( #379 )
2020-09-19 14:01:49 -04:00
Jeff Mitchell
0a3f9b8357
Rename connection idle timeout duration -> seconds and sessions max duration -> seconds ( #376 )
2020-09-19 11:32:38 -04:00
Jeff Mitchell and Jim Lambert
62baef1b7e
Add multi connection parameters through targets and into session creation ( #375 )
...
* Update protos and gen
* Add new values to targets CLI command
* Lots more plumbing of new parameters through everything
* allow fields to be set to zero value.
* Disallow set but empty name/description strings in create/update verifiers
Co-authored-by: Jim Lambert <jlambert@hashicorp.com >
2020-09-19 10:31:49 -04:00
Jeff Mitchell
07a7e9750a
Tie together the database-driven session handling with the worker and add relevant CLI comands ( #370 )
2020-09-19 00:18:17 -04:00
Jim
e7e70b1b94
new domain functions for the session repo ( #368 )
2020-09-18 18:12:41 -04:00
Jim
611288bdc7
basic sessions ( #337 )
2020-09-16 12:02:02 -04:00