I did this with a dumb editor macro, so some comments changed too.
Also rename root package from platform to influxdb.
In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.
Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
A standard Makefile is used now in all subdirs that run go generate.
Make will only generate the file if its source files changed.
The checkgenerate target runs clean to ensure all targets a generated
fresh.
test(platform): run testcontainer integration tests for nightly release
Integration tests for the vault secret service using testcontiners
should not run along with unit tests, however, they should run on some
regular schedule. This commit introduces `make test-integration` which
runs integration tests for vault using testcontainers. The command introduced
relies on docker being available on the host it is executed on.
chore(platform): make go modules tidy
chore: try to fix go mod
chore(platform): remove explicit logrus dependency
chore(platform): run go mod tidy
chore(platform): replace github.com/Sirupsen/logrus with github.com/sirupsen/logrus
chore(platform): update docker dependency
feat(vault): add vault implementation of secret service
test(platform): run testcontainer integration tests for nightly release
Integration tests for the vault secret service using testcontiners
should not run along with unit tests, however, they should run on some
regular schedule. This commit introduces `make test-integration` which
runs integration tests for vault using testcontainers. The command introduced
relies on docker being available on the host it is executed on.
chore(platform): make go modules tidy
chore: try to fix go mod
chore(platform): run go mod tidy
feat(vault): add vault implementation of secret service
chore(platform): make go modules tidy
feat(platform): add Put/Patch/Delete methods on secret service
feat(vault): add Put/Patch/Delete methods on vault secret service
feat(http): add http handler methods for secret service
feat(bolt): add Put/Delete/Patch methods to bolt secret service
feat(testing): add tests for Put/Patch/Delete methods in secret service
feat(mock): add mock secret service
feat(http): add tests for secrets endpoints
feat(http): update swagger for secrets endpoints
chore: run go mod tidy
Hello
As suggested in https://github.com/influxdata/platform/issues/983 I
changed `auths` to `authorizations` to have the key and the link in
line.
I went for this fix in order to avoid BC. I don't know if that's
the fix you had in mind. Or you were speaking more about short and long
terms.
Fixed#983
Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
* Add error handling to spinner
* Fix broken test
* Update retentionPeriod to retentionRules
* fix(http): bucket retention period now empty
Co-authored-by: Chris Goller <goller@gmail.com>
* fix(bucket): remove bucket key from createBucket API
* feat(bucket): update organization buckets
* fix: coerce Bucket type
* chore: create separate components for bucket create / update
* Move organization type definition to own file
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Add organizations link in side nav
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Add organization routes
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Add Organization index and view
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Introduce OrgView
* Fix type errors
* WIP rudimentary view of Org resources
* Add spinner wrapper component
Will make this more awesome later
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Render all org resources in list views with empty states
Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>
* Upgrade prettier and tslint configs
* Add back spinners
* Add createOrg API
* Introduce CreateOrgOverlay
* Move org actions and reducer to org dir
* Add autocomplete option to clockface Input
* Implements CreateOrg from OrgIndex
* Introduce delete org from OrgIndex
* Remove CHANGELOG
* Start OrgOptions
* Add Profile Page Header subcomponent
* Make index list items lighter when nested
* Add filter and create UI to buckets list
* Slightly modify appearance of overlays
* Implement update org options tab
* Introduce createBucket in org view
Waiting on https://github.com/influxdata/platform/issues/1118 for
the API to accept milliseconds as retentionPolicies
* WIP introduce Filter component
* Fix linter warnings
* Introduce filter dashboards
* Implement filter and task list
* Add spinner to member list in org view
* Use new index list
* Update executeQueriesAsync to fetch
* Update actions to use executeQueryAsync
* Update flux transform to respect field ordering
* Fix fluxResponse tests
* Add column ordering test case