consul/lib
Melissa Kam 3b9bb8d6f9
[CC-7044] Start HCP manager as part of link creation (#20312)
* Check for ACL write permissions on write

Link eventually will be creating a token, so require acl:write.

* Convert Run to Start, only allow to start once

* Always initialize HCP components at startup

* Support for updating config and client

* Pass HCP manager to controller

* Start HCP manager in link resource

Start as part of link creation rather than always starting. Update
the HCP manager with values from the link before starting as well.

* Fix metrics sink leaked goroutine

* Remove the hardcoded disabled hostname prefix

The HCP metrics sink will always be enabled, so the length of sinks will
always be greater than zero. This also means that we will also always
default to prefixing metrics with the hostname, which is what our
documentation states is the expected behavior anyway.

* Add changelog

* Check and set running status in one method

* Check for primary datacenter, add back test

* Clarify merge reasoning, fix timing issue in test

* Add comment about controller placement

* Expand on breaking change, fix typo in changelog
2024-01-29 16:31:44 -06:00
..
channels add DeliverLatest as common function for use by Manager and ProxyTracker Open (#19564) 2023-11-07 23:03:37 +00:00
decode [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
file [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
hoststats [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
maps [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
mutex [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
retry [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
routine [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
semaphore [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
serf [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
stringslice [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
template [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testhelpers remove the skipping of slow tests in go-tests-ce and go-test-enterprise (#20139) 2024-01-10 20:39:34 -07:00
ttlcache [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
cluster.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
cluster_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
eof.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
eof_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
json.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
map_walker.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
map_walker_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
math.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
math_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
path.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
rtt.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
rtt_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
stop_context.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
stop_context_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
strings.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
telemetry.go [CC-7044] Start HCP manager as part of link creation (#20312) 2024-01-29 16:31:44 -06:00
telemetry_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
translate.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
translate_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
useragent.go OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
useragent_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
uuid.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00