s-christoff and Jim
6b78108ecf
Update primary error functions to take a context, deprecate old functions ( #1358 )
...
* add new error funcs which take a ctx and deprecate existing funcs
* use context where available when writing error events
* remove circular internal/errors pkg dep
* suppress some chatty errors using errors.WithoutEvent()
* convert auth oidc funcs to take context where needed to write events
Co-authored-by: Jim <jlambert@hashicorp.com >
2021-07-29 20:52:56 -04:00
Louis Ruch
8151b30ce9
ICU-743/Domain errors internal/kms refactor ( #848 )
...
* Domain errors internal/kms refactor
* Update changelog
* Update internal/host error op
* Incorrect error returned in read_writer
2021-01-12 08:50:19 -08:00
Louis Ruch
70a5899e99
ICU-739/iam domain error refactor ( #841 )
...
* Refactor iam errors
* Update db and host doTx error ops
* Changelog
2020-12-23 11:00:00 -08:00
Louis Ruch
ec0020de90
Refactor host_repo -> domain errors ( #786 )
...
* Refactor domain errors: New -> E, create helper New and Wrap
* Update host repo to use domain errors
2020-12-09 10:11:38 -08:00
Jim
af6ef1b687
Refactor existing sentinel errors ( #774 )
2020-11-05 16:54:03 -05:00
Jeff Mitchell
31fe9292b3
Instantiate default resources ( #425 )
2020-09-24 03:31:26 -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
Todd Knight
b998591add
Adding and updating host address validation checks ( #350 )
2020-09-12 22:07:56 -07:00
Michael Gaffney
de162c5533
Replace and remove ErrNilParameter with ErrInvalidParameter ( #295 )
2020-08-25 12:18:14 -04:00
Jim
9570897032
basic keys mgmt repo ( #264 )
2020-08-19 16:47:18 -04:00
Michael Gaffney
a413ad7b84
Static Host: Lookup, List and Delete ( #283 )
...
* Implement LookupHost
* Implement ListHosts
* Implement DeleteHost
2020-08-19 14:14:14 -04:00
Michael Gaffney
041e1f9fd3
Update host ( #278 )
...
* Add IsNotNullError function to db package
* Let the database handle default values not gorm
* Implement UpdateHost
* Remove unnecessary clone
2020-08-18 16:50:26 -04:00
Michael Gaffney
e18cdc52b3
Create host ( #276 )
...
* Change testHostCatalog methods to be like other resource test methods
* Implement CreateHost
* Make allocHost return a pointer to a Host
2020-08-17 17:06:31 -04:00