Commit Graph
1429 Commits
Author SHA1 Message Date
Timothy Messier b0b8375dc6 Merge branch 'tmessi-migration-editions' 2021-10-11 08:37:07 -04:00
Timothy Messier 06e6ab6c57 build: Fix build to support switch to embed for migrations
With the refactor to the schema package, and the switch to use embed,
the sql files need to be included in CI when compiling the boundary
binary.
2021-10-08 06:50:26 -04:00
Timothy Messier e3f7c263b0 refactor(sqltest): Update init script to support migration editions
This updates the docker image used for tests to support the new location
for sql migration files and the concept of editions. It continues to
process the old paths for now if the new directory does not exist, so
that the same image can be used during the transition.
2021-10-08 06:50:26 -04:00
Timothy Messier 2143940a4a refactor(dbtest): Support new paths for migration files
This updates the docker image used for tests to support the new location
for sql migration files and the concept of editions. It continues to
process the old paths for now if the new directory does not exist, so
that the same image can be used during the transition.
2021-10-08 06:50:26 -04:00
Timothy Messier 8caaf3e076 refactor(schema): Add support for migration editions
This refactors the schema package and subpackages to support editions.
An Edition is a collection of sql migrations. A given boundary binary
can have multiple migration editions. The `schema.Manager` is updated to
apply the necessary migrations in the correct order, leveraging an
Edition's priority to determine the order in which the separate Editions
are applied.

The sql migration files are now nested under a directory for the
edition.

This also switches from the generated code to using embed, which
eliminates the need for the `make migrations` target and the generated
code. As such this commit removes the target and generated code.

See:
    https://pkg.go.dev/embed
2021-10-08 06:50:26 -04:00
Jeff Mitchell 217adfc4d2 Pull over CombinedSliceFlagValue from WIP plugin-hostcatalogs (#1582)
I've pulled over files as-is for the most part so this also pulls over
some common attribute/secret flags but it's not worth dealing with the
merge later...
2021-10-07 15:30:39 -04:00
Bryce KalowandZachary Shilton 5dd49871f9 website: upgrade dependencies (#1551)
Co-authored-by: Zachary Shilton <4624598+zchsh@users.noreply.github.com>
2021-10-07 09:47:35 -05:00
Timothy Messier 111f3906e8 ci: Consolidate some circle configuration with executors (#1578) 2021-10-05 15:15:08 -04:00
Jim 2ee2c50ba3 fix (Makefile): Add proper comment delimiter (#1577) 2021-10-04 13:37:07 -04:00
Jimmy Merritello 50ad0f9396 Fix broken downloads link url (#1575) 2021-10-02 17:00:02 -05:00
jweissig 291d80136c website: fix wording (#1572)
Minor wording tweak.
2021-10-01 13:19:48 -04:00
Alex Carpenter ebb4d4e99f [Assembly] homepage refresh (#1558)
* Updates <BrandedCta />

* Add <WhyBoundary /> section

* Add <HowBoundaryWorks /> section

* Updates <UseCases /> content

* Adjust <HomepageHero /> content

* Update <HowItWorks /> section

* Content updates

* Update icon directory

* Update how it works title

* Removes extra grid container

* Adds lang attribute to document

* Fix heading level usage

* Content updates

* Remove secure

* Captialize works

* Content update

* Update use case links

* Update background

* CTA text

* Convert ssh to svg

* Convert to SVG

* Coming soon to feature block
2021-09-30 10:54:51 -07:00
Jim c8b29ded1c Events: Add outbound detail protobufs, request status code, and update event encrypt filter. (#1569)
* feat (events): Add status code to audit events

* feat (events): Add the resp proto msg to every audit event

* chore (events): Update eventlogger dep

This latest version will redact any map and/or map field which isn't
explicitly classified via a Taggable interface

* feat (events): Begin to add tagging to response proto msgs
2021-09-30 12:55:47 -04:00
Jim 8d6dee09a9 refact: Add db.DB wrapper and refact all test fixtures to use it. (#1535)
* refact: Changes required for gorm v2

* refact: Add db.DB wrapper and refact all test fixtures to use it

Stop leaking the gorm abstraction within our unit tests.

* refact: Migrate direct calls to pq to pgx driver

The refactor will remove the remaining direct dependencies on
the pq driver which has been deprecated in favor of the pgx
driver.

It includes the addition of common.SqlOpen which is a wrapper around
sql.Open, which is needed to deal with the driver name changing from
"postgres" to "pgx" but in our code base the dialect and driver are
synonyms.
2021-09-30 09:17:27 -04:00
Jim 136ac00b49 refact: Changes required for gorm v2 (#1528) 2021-09-30 08:47:34 -04:00
Jim 0d74f8dbc9 Merge branch 'main' of https://github.com/hashicorp/boundary 2021-09-28 15:28:36 -04:00
Jim 744e08aaef chore: Update website version 2021-09-28 15:28:14 -04:00
Noel Quiles c2948a2257 Update alert banner for HashiConf Global 2021 (#1566)
* Update alert banner for HashiConf Global 2021

* Proper formatting
2021-09-27 17:47:36 -04:00
Jim 07c5c00f55 chore: Update version to 0.6.2 2021-09-27 16:38:06 -04:00
Jim f9c043c866 chore: Update sdk and api deps 2021-09-27 16:32:42 -04:00
Jim 6c7333cbe0 chore: Update sdk dep 2021-09-27 16:28:51 -04:00
Jim 350b79be2d chore: Update go:build tags to new fmt 2021-09-27 16:24:00 -04:00
Randall Morey 0eb1ab1698 chore: bump UI commit (#1565) 2021-09-27 14:28:36 -04:00
Robin Beck aab46370aa Docs: redirect Desktop install links to Learn (#1556)
* point install Desktop redirect to Learn

* hide /api-concepts/desktop and redirect to Learn

* add permanent redirect for /api-clients/desktop to Learn
2021-09-23 11:23:06 -06:00
Timothy Messier 88b3c8358c feat(cmd): Include version metadata in output (#1560)
If the VersionMetadata is set, include it in the output of the `boundary
version` subcommand.
2021-09-23 12:22:20 -04:00
Louis Ruch 49d5711a49 fix (service): corrects permission bug in hostset service (#1549)
* fix (service): corrects permission bug in hostset service

* fixup! fix (service): corrects permission bug in hostset service
2021-09-22 11:01:51 -07:00
Todd 0ba217cbfa Run make tools and make gen now that the dependencies have been updated. (#1552) 2021-09-21 10:32:26 -04:00
Jacob Mammoliti 2f329c4e93 chore: Docker Build fixes (#1502)
Pass correct context to docker build for multiarch and dev build targets.

* fixed missing file errors; bumped boundary version
* downgraded alpine due to build issues
* fixing makefile
* bumping boundary and alpine versions
* fixed docker directory in makefile and dockerfile
* updating dev.dockerfile & makefile
2021-09-21 09:46:17 -04:00
Louis Ruch 1c40100edd tests(scheduler): fix unit test deadlock (#1550)
If a new job is started as the test successfully compeltes and begins
the scheduler shutdown process.  The new job will deadlock waiting on
channel reads.
2021-09-20 11:31:54 -07:00
Louis Ruch 96b0c18f25 docs(dbtest): corrects echo in makefile (#1548)
After running make test-database-up, the output gave the
incorrect command to run to see docker logs.
2021-09-20 10:21:48 -07:00
Jim 5312f7d042 fix (credential/vault): Correct typo in error msg (#1547)
* fix (credential/vault): Correct typo in error msg

* test (vault): Add missing assertion
2021-09-20 11:42:04 -04:00
Louis Ruch 6000f20ae5 chore(authenticate): remove deprecated authenticate:login and credentials field (#1534)
* chore(authenticate): remove deprecated authenticate:login

* Update changelog
2021-09-17 18:23:24 -07:00
Jeff Mitchell 7c32d25dd8 Bump dockertest and atomic (#1545) 2021-09-17 16:26:35 -04:00
Jeff Mitchell 7fc712de44 Bump protoc 2021-09-17 16:23:25 -04:00
Jeff Mitchell 7dff943a91 Bump some x deps up (#1544) 2021-09-17 16:21:30 -04:00
Jeff Mitchell 8a2716c503 Update various grpc deps (#1541) 2021-09-17 16:11:03 -04:00
Jeff Mitchell 8503d6c62e Update protoc-go-inject-tag and pq deps (#1539) 2021-09-17 16:10:52 -04:00
Louis Ruch 6a92e08928 refact(worker): update worker porxy handler signature to return an error (#1536)
Instead of requiring the each proxy handler to handle the webSocket
connection closure.  On error the worker handler will appropriately
close the connection and event any errors.
2021-09-17 11:48:44 -07:00
Jeff Mitchell c82d37bfba Updating dbassert (no code changes, just newer version number) 2021-09-17 14:36:04 -04:00
Jeff Mitchell 021f1ff55e Update various dependencies (#1540) 2021-09-17 14:33:38 -04:00
Louis Ruch 8b5e4a175a feat(worker): add egress credentials option to proxy (#1531) 2021-09-17 11:26:04 -07:00
Jeff Mitchell bc240da52b Fix word ordering 2021-09-17 13:48:26 -04:00
Timothy Messier 21e61d362e Merge branch 'tmessi-wh-credentials' 2021-09-16 10:09:57 -04:00
Timothy Messier 99d0d2f682 wh: Add wh_credential_dimension and bridge tables
This adds new dimension table to record credential information. Since a
session can have multiple credentials, the wh_session_accumulating_fact
is is linked to the credential_dimensions via bridge tables,
wh_credential_group and wh_credential_group_membership. When a session
is inserted, the credental group and credential dimensions will be
upserted. If the group changed in any way, a new group is inserted along
with all of the corresponding credentials.
2021-09-16 08:53:11 -04:00
Todd Knight 7692b6a541 Bumping version.js to 0.6.1 2021-09-15 15:25:19 -07:00
Jeff Mitchell 1f7999ed97 Add authorized collection actions output for credential stores (#1530)
Add authorized collection actions output for credential stores
2021-09-15 13:51:15 -04:00
Todd Knight 5d7e723768 Update to version 0.6.1 2021-09-14 13:50:56 -07:00
Todd Knight e3986d5f9c Running make fmt to fix formatting. 2021-09-14 13:34:31 -07:00
Pete Pacent 08c6095aac Adding release notes for 0.6 and 0.5 (#1523) 2021-09-14 13:16:29 -07:00
Michael Gaffney e9d3cebd45 feat(credential): Add specific credential types (#1525)
This adds interfaces for the following credential types:
- Username and password
- Username and private key
- Certificate and private key

It also adds the following types for redacting secret data:
- Password
- PrivateKey
2021-09-14 14:11:42 -04:00