open-vault/vault
vinay-gopalan 458927c2ed
[VAULT-3157] Move mergeStates utils from Agent to api module (#12731)
* move merge and compare states to vault core

* move MergeState, CompareStates and ParseRequiredStates to api package

* fix merge state reference in API Proxy

* move mergeStates test to api package

* add changelog

* ghost commit to trigger CI

* rename CompareStates to CompareReplicationStates

* rename MergeStates and make compareStates and parseStates private methods

* improved error messaging in parseReplicationState

* export ParseReplicationState for enterprise files
2021-10-06 10:57:06 -07:00
..
activity Update protobuf & grpc libraries and protoc plugins (#12679) 2021-09-29 18:25:15 -07:00
cluster Update protobuf & grpc libraries and protoc plugins (#12679) 2021-09-29 18:25:15 -07:00
diagnose change advice to be used with spot warning (#12237) 2021-08-02 14:41:12 -07:00
external_tests Fail alias rename if the resulting (name,accessor) exists already (#12473) 2021-09-21 08:19:44 -04:00
quotas Upgrade go-limiter to fix building on 1.17 (#12358) 2021-09-01 16:28:47 -05:00
replication
seal Add code to api.RaftSnapshot to detect incomplete snapshots (#12388) 2021-09-07 11:16:37 -04:00
acl.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
acl_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
acl_util.go
activity_log.go Vault 2823 cc namespace (#12393) 2021-09-07 09:16:12 -07:00
activity_log_test.go Vault 2823 cc namespace (#12393) 2021-09-07 09:16:12 -07:00
activity_log_testing_util.go Vault 2823 cc namespace (#12393) 2021-09-07 09:16:12 -07:00
activity_log_util.go Backport some OSS changes (#10267) 2020-10-29 16:47:34 -07:00
audit.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
audit_broker.go
audit_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
audited_headers.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
audited_headers_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auth.go (OSS Port) Restrict Quota Deletion to Primary Cluster [vault-2399] (#12339) 2021-08-17 15:34:43 -07:00
auth_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier.go OSS side barrier encryption tracking and automatic rotation (#11007) 2021-02-25 14:27:25 -06:00
barrier_access.go
barrier_aes_gcm.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
barrier_aes_gcm_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier_test.go vault: fix dropped test errors (#12242) 2021-08-16 09:52:08 -04:00
barrier_view.go
barrier_view_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier_view_util.go
capabilities.go
capabilities_test.go
cluster.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
cluster_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
core.go [VAULT-3157] Move mergeStates utils from Agent to api module (#12731) 2021-10-06 10:57:06 -07:00
core_metrics.go [VAULT-2852] deprecate req counters in oss (#12197) 2021-07-29 10:21:40 -07:00
core_metrics_test.go [VAULT-1836] Support kv-v1 generic mounts for vault.kv.secret.count metric (#12020) 2021-07-09 11:05:05 -04:00
core_test.go Create helpers which integrate with OpenTelemetry for diagnose collection (#11454) 2021-04-29 13:32:41 -05:00
core_util.go Make necessary OSS changes for contexts in quotas (#12480) 2021-09-02 09:54:21 -05:00
cors.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
counters.go [VAULT-2852] deprecate req counters in oss (#12197) 2021-07-29 10:21:40 -07:00
counters_test.go [VAULT-2852] deprecate req counters in oss (#12197) 2021-07-29 10:21:40 -07:00
deadlock.go Add option to detect deadlocks in Core.stateLock using build tag deadlock (#8524) 2020-03-10 16:01:20 -04:00
dynamic_system_view.go core: set namespace within GeneratePasswordFromPolicy (#12635) 2021-09-27 09:08:07 -07:00
dynamic_system_view_test.go core: set namespace within GeneratePasswordFromPolicy (#12635) 2021-09-27 09:08:07 -07:00
expiration.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
expiration_integ_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
expiration_test.go move from static sleep to timed loop waiting for lease revocation (#12627) 2021-09-27 14:23:17 -06:00
expiration_testing_util_common.go [VAULT-1981] Add OSS changes (#11999) 2021-07-06 17:12:24 -05:00
expiration_util.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
generate_root.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
generate_root_recovery.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
generate_root_test.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
ha.go Reorganize request handling code so that we don't touch storage until we have the stateLock. (#11835) 2021-06-11 13:18:16 -04:00
ha_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_lookup.go
identity_lookup_test.go
identity_store.go Adds OIDC Authorization Endpoint to OIDC providers (#12538) 2021-09-27 10:55:29 -07:00
identity_store_aliases.go Fail alias rename if the resulting (name,accessor) exists already (#12473) 2021-09-21 08:19:44 -04:00
identity_store_aliases_test.go Add Custom metadata field to alias (#12502) 2021-09-17 11:03:47 -07:00
identity_store_entities.go Fix entity group associations (#10085) 2021-10-01 10:22:52 -04:00
identity_store_entities_test.go Fix entity group associations (#10085) 2021-10-01 10:22:52 -04:00
identity_store_group_aliases.go Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -04:00
identity_store_group_aliases_test.go
identity_store_groups.go Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -04:00
identity_store_groups_test.go Fix use of identity/group endpoint to edit group by name (#10812) 2021-01-29 16:50:08 -06:00
identity_store_oidc.go [VAULT-3472] Cap Client id_token_ttl field to associated Key's verification_ttl (#12677) 2021-10-01 10:47:40 -07:00
identity_store_oidc_provider.go [VAULT-3472] Cap Client id_token_ttl field to associated Key's verification_ttl (#12677) 2021-10-01 10:47:40 -07:00
identity_store_oidc_provider_test.go [VAULT-3472] Cap Client id_token_ttl field to associated Key's verification_ttl (#12677) 2021-10-01 10:47:40 -07:00
identity_store_oidc_test.go [VAULT-3472] Cap Client id_token_ttl field to associated Key's verification_ttl (#12677) 2021-10-01 10:47:40 -07:00
identity_store_oidc_util.go Fix identity token caching (#8412) 2020-02-26 15:56:19 -05:00
identity_store_oss.go Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -04:00
identity_store_schema.go Adds OIDC Authorization Endpoint to OIDC providers (#12538) 2021-09-27 10:55:29 -07:00
identity_store_structs.go Adds OIDC Authorization Endpoint to OIDC providers (#12538) 2021-09-27 10:55:29 -07:00
identity_store_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_upgrade.go
identity_store_util.go Adds OIDC Authorization Endpoint to OIDC providers (#12538) 2021-09-27 10:55:29 -07:00
init.go TLS Verification Bugfixes (#11910) 2021-06-24 10:43:49 -07:00
init_test.go Shutdown Test Cores when Tests Complete (#10912) 2021-02-12 13:04:48 -07:00
keyring.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
keyring_test.go
lock.go Add option to detect deadlocks in Core.stateLock using build tag deadlock (#8524) 2020-03-10 16:01:20 -04:00
logical_cubbyhole.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
logical_cubbyhole_test.go
logical_passthrough.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
logical_passthrough_test.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
logical_raw.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
logical_system.go VAULT-2285 adding capability to accept comma separated entries for au… (#12126) 2021-08-09 15:37:03 -04:00
logical_system_activity.go Vault 2823 cc namespace (#12393) 2021-09-07 09:16:12 -07:00
logical_system_helpers.go OSS parts of sys/config/reload/license (#11695) 2021-06-03 10:30:30 -07:00
logical_system_integ_test.go Only fail auth plugin backend mounting for custom plugins (#11690) 2021-05-27 13:37:45 -05:00
logical_system_paths.go remove trailing / on leases API endpoint (#11959) 2021-06-30 13:02:26 -06:00
logical_system_pprof.go Add support for unauthenticated pprof access on a per-listener basis,… (#11324) 2021-04-19 14:30:59 -04:00
logical_system_quotas.go Fix quota enforcing old path issue (#10689) 2021-02-09 05:46:09 -05:00
logical_system_raft.go OSS parts of Autopilot in DR secondaries (#12014) 2021-07-08 12:30:01 -04:00
logical_system_test.go Adds OIDC Authorization Endpoint to OIDC providers (#12538) 2021-09-27 10:55:29 -07:00
logical_system_util.go Move the declaration to a OSS build tag file to not have it collide w… (#10750) 2021-01-25 09:35:19 -05:00
mount.go Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -04:00
mount_test.go [VAULT-1441] Fix race that allowed remounting on path used by another mount (#11453) 2021-04-24 09:05:41 -07:00
mount_util.go Port filtered paths changes back to OSS (#7741) 2019-10-27 13:30:38 -07:00
namespaces.go Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -04:00
namespaces_oss.go Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -04:00
password_policy_util.go core: updates to password policy generator (#11596) 2021-05-13 09:55:46 -04:00
plugin_catalog.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
plugin_catalog_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_reload.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
policy.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
policy_store.go Adds OIDC Authorization Endpoint to OIDC providers (#12538) 2021-09-27 10:55:29 -07:00
policy_store_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_store_util.go
policy_test.go oss part of control groups upgrade (#11772) 2021-06-07 09:15:35 -07:00
policy_util.go
raft.go Auto-join support for IPv6 discovery (#12366) 2021-09-07 11:55:07 -07:00
rekey.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
rekey_test.go Shutdown Test Cores when Tests Complete (#10912) 2021-02-12 13:04:48 -07:00
request_forwarding.go Fix a Deadlock on HA leadership transfer (#12691) 2021-10-04 13:55:15 -04:00
request_forwarding_rpc.go Update protobuf & grpc libraries and protoc plugins (#12679) 2021-09-29 18:25:15 -07:00
request_forwarding_rpc_util.go
request_forwarding_service.pb.go Update protobuf & grpc libraries and protoc plugins (#12679) 2021-09-29 18:25:15 -07:00
request_forwarding_service.proto Autopilot: Server Stabilization, State and Dead Server Cleanup (#10856) 2021-03-03 13:59:50 -05:00
request_forwarding_service_grpc.pb.go Update protobuf & grpc libraries and protoc plugins (#12679) 2021-09-29 18:25:15 -07:00
request_handling.go Make necessary OSS changes for contexts in quotas (#12480) 2021-09-02 09:54:21 -05:00
request_handling_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
request_handling_util.go OSS side barrier encryption tracking and automatic rotation (#11007) 2021-02-25 14:27:25 -06:00
rollback.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
rollback_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
router.go Adds OIDC Authorization Endpoint to OIDC providers (#12538) 2021-09-27 10:55:29 -07:00
router_access.go
router_test.go
router_testing.go
seal.go Fix error log typo for failing to decrypt keys (#11873) 2021-06-17 10:12:13 -04:00
seal_access.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
seal_autoseal.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
seal_autoseal_test.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
seal_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
seal_testing.go Revert "Vault Dependency Upgrades [VAULT-871] (#10903)" (#10939) 2021-02-18 15:40:18 -05:00
seal_testing_util.go Revert "Vault Dependency Upgrades [VAULT-871] (#10903)" (#10939) 2021-02-18 15:40:18 -05:00
sealunwrapper.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sealunwrapper_test.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
testing.go core: set namespace within GeneratePasswordFromPolicy (#12635) 2021-09-27 09:08:07 -07:00
testing_util.go OSS parts of sys/config/reload/license (#11695) 2021-06-03 10:30:30 -07:00
token_store.go [VAULT-3519] Return no_default_policy on token role read (#12565) 2021-09-21 09:53:08 -07:00
token_store_test.go [VAULT-3519] Return no_default_policy on token role read (#12565) 2021-09-21 09:53:08 -07:00
token_store_util.go
ui.go UI/obscure secret on input (#11284) 2021-04-22 08:58:37 -06:00
ui_test.go Fix UI custom header values (#10511) 2020-12-15 15:58:03 +01:00
util.go
util_test.go
wrapping.go Expose secret_id_accessor as WrappedAccessor when wrapping secret-id creation. (#12425) 2021-09-16 10:47:49 -07:00
wrapping_util.go