28 Commits (76b5de5039e9101416d5722046784e29d741d57f)

Author SHA1 Message Date
Matt Keeler efe279f802
Retry lint fixes (#19151) 12 months ago
hashicorp-copywrite[bot] 5fb9df1640
[COMPLIANCE] License changes (#18443) 1 year ago
Ronald 94ec4eb2f4
copyright headers for agent folder (#16704) 2 years ago
Semir Patel bafa5c7156
Pass remote addr of incoming HTTP requests through to RPC(..) calls (#15700) 2 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short 4 years ago
Daniel Nephin 282fbdfa75 api: rename HTTPServer to HTTPHandlers 4 years ago
Daniel Nephin a4b201af36 testing: Improve session_endpoint_test 4 years ago
Daniel Nephin cb050b280c ci: enable SA4006 staticcheck check 5 years ago
Daniel Nephin c88fae0aac ci: Add staticcheck and fix most errors 5 years ago
Daniel Nephin c662f0f0de Fix a number of problems found by staticcheck 5 years ago
Daniel Nephin 475659a132 Remove name from NewTestAgent 5 years ago
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909) 5 years ago
Matt Keeler 7b471f6bf8
OSS Modifications necessary for sessions namespacing 5 years ago
Sarah Adams 78ad8203a4
Use encoding/json as JSON decoder instead of mapstructure (#6680) 5 years ago
R.B. Boyer 6269d1f130
tests: actually have TestSessionTTLRenew sleep during execution (#5669) 6 years ago
Jeff Mitchell 4243c3ae42
Move internal/ to sdk/ (#5568) 6 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517) 6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 6 years ago
Pierre Souchay ae7f88f995 Avoid to have infinite recursion in DNS lookups when resolving CNAMEs (#4918) 6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468) 6 years ago
Freddy 6d43d24edb
Improve reliability of tests with TestAgent (#4525) 6 years ago
Pierre Souchay cec5d72396 BUGFIX: Unit test relying on WaitForLeader() did not work due to wrong test (#4472) 6 years ago
James Phillips ca3f9024ac
Works around mapstructure behavior to enable sessions with no checks. 7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480) 7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs 7 years ago
James Phillips 0881e46111 Cleans up version 8 ACLs in the agent and the docs. (#3248) 7 years ago
Frank Schroeder c218fdbc77 agent: make timing sensitive tests more robust 7 years ago
Frank Schroeder 1c75cf1af5 pkg refactor 8 years ago
Frank Schroeder 141efd9588
test: rename *Config vars to 'cfg' 8 years ago
Frank Schroeder 0c905a0df8
test: a.config -> a.Config 8 years ago
Frank Schroeder 0be63d7060
test: refactor httpTest with TestAgent 8 years ago
Frank Schroeder 308f9929b3
test: run agent tests in parallel 8 years ago
Frank Schroeder 1e89692cc1 test: drop error check on http.NewRequest 8 years ago
Frank Schroeder 48fa2962eb Revert "test: Run command/agent tests in parallel" 8 years ago
Frank Schroeder 7281b4291a test: Speedup session renew tests 8 years ago
Frank Schroeder 17be40a733 test: Run command/agent tests in parallel 8 years ago
Frank Schroeder eddb1af603 Remove duplicate constants 8 years ago
Sean Chittenden e9a2f5b40c
Chase casting types.CheckID to a string into the state_store. 9 years ago
James Phillips c248b0017a Fixes nil slices from HTTP endpoints. 9 years ago
Michael Fraenkel 8c26836783 Support SesionTTLMin configuration 10 years ago
Atin Malaviya ac54010027 Fixed clearSessionTimer, created invalidateSession, added invalid TTL test 10 years ago
Atin Malaviya 60915629f6 Took out usage of snapshot SessionListTTL 10 years ago
Atin Malaviya 0f9723e6f8 Remove hardcoded wait time in session TTL tests 10 years ago
Atin Malaviya 5229f3b44d Clean up code based on feedback from armon 10 years ago
Atin Malaviya 624c465e2b Added more tests. Also added return of 404 if the session id to renew is not found 10 years ago
Atin Malaviya 4732c36d88 Consul Session TTLs 10 years ago
Atin Malaviya 6ef03a806c Clean up tests, use switch to default session.Behavior value if unspecified, unrecognized 10 years ago
Atin Malaviya 47241fc1c8 Ephemeral Nodes for via Session behavior settings. 10 years ago
Ryan Uber 149656951d agent: fix tests after default status change 10 years ago
Armon Dadgar 10f3007aa2 consul: Adding support for optional session name 11 years ago