Jeff Mitchell
b76b24a4ad
Move prefixes for many packages into the globals package ( #3069 )
...
This is a prerequisite for some enhancements to grant validation
2023-03-10 15:06:39 -05:00
Johan Brandhorst-Satzkorn
3c29308673
chore: Add license headers to all files
2023-02-03 15:54:27 -08:00
Johan Brandhorst-Satzkorn
f57454b6b9
Rewrite interface{} to any ( #2535 )
...
* chore: Rewrite interface{} to any
* Add ignore revs
2022-10-25 19:29:38 -04:00
Jim
b0bc6bd632
refactor: eliminate gorm references in favor of go-dbw ( #2386 )
2022-08-24 14:11:49 -04:00
Damian Debkowski
27e9f775be
feat: add initial migration hook
2022-08-22 12:15:20 -07:00
Haotian
fa00a06bef
feat(host): Add host set information to static host ( #1828 )
...
* feat(host): Add host set information to static host
Updates LookupHost and ListHost API to include sets a static host is part of, as like with plugin hosts.
* test: updated TestList_Plugin and TestCrud to be more consistent under race conditions
2022-02-01 10:06:13 -08:00
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