Commit Graph

198 Commits (088564c3853229dec58f973a3cfabce70feefbdc)

Author SHA1 Message Date
Jeff Mitchell b76b24a4ad
Move prefixes for many packages into the globals package (#3069)
3 years ago
Johan Brandhorst-Satzkorn 3c29308673 chore: Add license headers to all files
3 years ago
Jim 38b12394fd
refactor (kms): add GetWrapperer for RewrapFn parameter (#2701)
3 years ago
Johan Brandhorst-Satzkorn edd323b73a
Key Rotation/Destruction (#2477) (#2607)
3 years ago
Johan Brandhorst-Satzkorn f57454b6b9
Rewrite interface{} to any (#2535)
4 years ago
Johan Brandhorst-Satzkorn aef9073fa6
Upgrade to Go 1.19 (#2347)
4 years ago
Jim b0bc6bd632
refactor: eliminate gorm references in favor of go-dbw (#2386)
4 years ago
Damian Debkowski 27e9f775be feat: add initial migration hook
4 years ago
Jeff Mitchell 7364d84835
Add mechanism for plugin to normalize attributes (#2376)
4 years ago
Johan Brandhorst-Satzkorn 222a935223
Update grpc-gateway dependency (#2311)
4 years ago
Louis Ruch a17e973712
feat(credentials): Refactor credential purposes (#2260)
4 years ago
Jeff Mitchell 8c56a5648d
Migrate plugin host/set/catalog prefixes to typed (#2256)
4 years ago
Johan Brandhorst-Satzkorn f69fbf2255
feat(proto): Format protobuf files with buf (#2033)
4 years ago
Johan Brandhorst-Satzkorn 7f9b294a7e
refact(all): Use testing.TB for test helpers
4 years ago
Johan Brandhorst-Satzkorn d51ce41db8 feat(hostsets): Classify all proto fields
4 years ago
Johan Brandhorst-Satzkorn 8fa3e8dee0 feat(hostcatalogs): Classify all proto fields
4 years ago
Johan Brandhorst-Satzkorn 5440195cce feat(hosts): Classify host proto fields
4 years ago
Jim addbfee593
chore: upgrade gofumpt to v0.3.1 (#2028)
4 years ago
Johan Brandhorst-Satzkorn b1d6a1da9a
Switch to buf for protobuf generation (#1944)
4 years ago
Jeff Mitchell 7eb29261b2
Update to go-kms-wrapping version 2, and plugin-based KMS (#1901)
4 years ago
Louis Ruch 4ed4575802 chore(fmt): make fmt
4 years ago
Todd 7ee1f74388
fix(hostsets/plugin): Only delete preferred endpoints when there are preferred endpoints to delete. (#1865)
4 years ago
Justen Walker 6166d2240f
bug(plugin): Fix incorrect use of WithIpAddrs in Repository.Endpoints (#1849)
4 years ago
Louis Ruch aaaf0241ff
bug(host): Fix sync job failure blocking other set syncs (#1841)
4 years ago
Haotian fa00a06bef
feat(host): Add host set information to static host (#1828)
4 years ago
Louis Ruch c4506ec743 feat(scheduler): Add support for run now option
4 years ago
Jim 591ec476e7
refactor: Update internal/db and oplog to use go-dbw package for database operations. (#1785)
4 years ago
Chris Marchesi bf18555d5e
internal/host/plugin: remove custom queries for secrets (#1676)
4 years ago
Chris Marchesi 84febd9983
internal/host/plugin: ensure UpdateCatalog triggers updates for sets (#1736)
4 years ago
Jeff Mitchell 5417cc5cb0
Fix setting nil attributes on host sets (#1746)
4 years ago
Jeff Mitchell 1c39691023
Fix setting host catalog attributes to nil (#1743)
4 years ago
Chris Marchesi 9e976cb4ae
internal/host/plugin: Fix TestUpdateSet (#1735)
4 years ago
Todd 18de3653f5
Set sync job still syncs when plugin reports no hosts in sets (#1726)
4 years ago
Jeff Mitchell 866bfceefc
Add secrets_hmac to host catalog output (#1712)
4 years ago
Jeff Mitchell 8110e0eab3
Increment version of host during updates (#1707)
4 years ago
Jeff Mitchell b3fd23863f
Add external ID to host output (#1705)
5 years ago
Todd 78dc6cf370
OnConflict constraints for adding host ip and dns names in upsertHosts (#1700)
5 years ago
Todd 5d2b0e94aa
Update sync interval seconds field. (#1698)
5 years ago
Todd b16ce175e5
Fix secrets clearing bug in update. Changes to update count behavior for catalogs (#1691)
5 years ago
Todd 5cfcc41f00
Fix bug for adding preferred endpoint when non existed prior. (#1692)
5 years ago
Todd Knight f41bceda83 Merge from main and `make gen`
5 years ago
Todd 61f9d1f6af
Add update set handler and sdk functionality (#1684)
5 years ago
Todd 29b4537d3b
Reference PreferredEndpoints by top level struct name (#1688)
5 years ago
Jeff Mitchell 30e9f944a2
Add sync interval to host sets (#1680)
5 years ago
Todd Knight dba7c6b531 Fix value of op constant for syncSets
5 years ago
Chris Marchesi c2cd6febca
internal/host/plugin: add UpdateSet (#1686)
5 years ago
Todd 2229d1a819
Call OnCreate or OnUpdate on the plugin after db constraints are checked (#1683)
5 years ago
Todd 050553ffcf
Add update catalog support for plugin based catalogs in handler and go sdk (#1673)
5 years ago
Chris Marchesi 157f1a091b
internal/host/plugin: add update catalog test for empty/same description (#1672)
5 years ago
Chris Marchesi 0670e272e3
internal/host/plugin: Add UpdateCatalog (#1634)
5 years ago
Chris Marchesi 165cc5ef1b
fix ineffectual assignment to err in DeleteCatalog (#1664)
5 years ago
Chris Marchesi 1bc9a07316
populate correct field for host catalog secret (#1661)
5 years ago
Todd 808b986834
Read and List Plugin based Hosts (#1655)
5 years ago
Todd 1312628a1e
Add plugin set sync and orphaned host cleanup jobs (#1647)
5 years ago
Jeff Mitchell 5e782b6ecc
Update view to return host IDs in a set on set lookup (#1646)
5 years ago
Todd 6eba8a4787
Lookups Catalogs and Persisted data together (#1643)
5 years ago
Jeff Mitchell b64761f38f
Add repository and functions around plugin host set membership (#1629)
5 years ago
Todd 8795b20fe2
Delete actions for plugin based catalogs and sets (#1622)
5 years ago
Jeff Mitchell 804cb22699
Remove priority values from host_ip_address/host_dns_name (#1633)
5 years ago
Todd 23baaac36b
Add DB changes for host, set members, and host addresses for plugins. (#1584)
5 years ago
Jeff Mitchell 70e6536919
Swap server interface for client (#1580)
5 years ago
Jeff Mitchell 098c3e1f22 Update sdk dep from proper branch and fix building
5 years ago
Jeff Mitchell 158ab09952 Merge branch 'main' into plugin-hostcatalogs
5 years ago
Jim 8d6dee09a9
refact: Add db.DB wrapper and refact all test fixtures to use it. (#1535)
5 years ago
Jim 136ac00b49
refact: Changes required for gorm v2 (#1528)
5 years ago
Todd e11a481256
Register Azure and AWS at controller start up (#1570)
5 years ago
Jeff Mitchell 8b1ca4b0b8
Add host IDs to plugin host sets read response (#1568)
5 years ago
Jeff Mitchell 7d71618df0
Add more host-catalog and host-set CLI support (#1567)
5 years ago
Jeff Mitchell a834a14785
Add attribute flag building and parsing (#1562)
5 years ago
Todd 14cc97b645
Add authorize session for plugin based host sets. (#1559)
5 years ago
Todd a4ea99047f
Remove Prefix Id and Plugin Name fields (#1563)
5 years ago
Jeff Mitchell e4e788553f
Add basic loopback test plugin (#1555)
5 years ago
Jeff Mitchell 8fb1898c3e
Update host plugin RPC to return sets from ListHosts (#1557)
5 years ago
Todd bbfef2802f
Placeholder Plugin Providers for Repos and added testPlugin struct (#1532)
5 years ago
Jeff Mitchell 01d4383c1b
Add preferred endpoints logic to API/handler/DB and some CLI bits (#1529)
5 years ago
Jeff Mitchell f9c620a5d5 Merge branch 'main' into plugin-hostcatalogs
5 years ago
Jeff Mitchell 7fc712de44 Bump protoc
5 years ago
Todd Knight 4f09f1d74f
Add create, list, lookup functions for plugin based host catalogs (#1515)
5 years ago
Todd Knight 1249f9668f
Add Plugin Host Set Repo Create, List, Read Operations (#1497)
5 years ago
Todd Knight db9e1106a9
feat(host): Add host plugin related schemas and tests (#1475)
5 years ago
Jeff Mitchell 2649d1b966
Move protooptions to sdk/pbs (#1486)
5 years ago
Todd Knight 39cc245966
Make gen after make tools. Includes make fmt of existing non generated files. (#1438)
5 years ago
s-christoff 6b78108ecf
Update primary error functions to take a context, deprecate old functions (#1358)
5 years ago
Todd Knight 10e8aeae4b
Subtype Id registration moved to its own package (#1416)
5 years ago
Michael Gaffney 094bdcdd2b
protobuf: remove unused imports (#1267)
5 years ago
Michael Gaffney 21033a6174
Refactor: multiple rename to fix the spelling of subtype (#1227)
5 years ago
Michael Gaffney a7ba27148b
Fix godoc wording
5 years ago
Jim 358f5a61fb
bump protoc to v3.15.8 (#1147)
5 years ago
Jeff Mitchell be10cc4b42
Update grpc/proto deps (#1136)
5 years ago
Michael Gaffney 3130bd615e
Fix go doc: remove sentence fragment
5 years ago
Michael Gaffney aafbada3ae
Remove calls to `t.Helper()` from test methods (not helpers) (#1063)
5 years ago
Jeff Mitchell fcbf372881
Bump proto/grpc deps (#1017)
5 years ago
Louis Ruch 7387cec475
Remove sentinel errors (#968)
5 years ago
Jeff Mitchell 6cd97a4a6e
Add support for recursive listing (#885)
5 years ago
Louis Ruch 8151b30ce9
ICU-743/Domain errors internal/kms refactor (#848)
5 years ago
Jeff Mitchell 84c617dc49 Run make gen after the gofumpt update
5 years ago
Michael Gaffney 94cb79bbdd
See how Boundary would look with gofumpt applied (#853)
5 years ago
Louis Ruch 70a5899e99
ICU-739/iam domain error refactor (#841)
5 years ago
Louis Ruch bfbb179741
ICU-738/Refactor internal/db to domain errors (#815)
5 years ago
Jeff Mitchell 11b821a200
Bump deps (#818)
5 years ago