Commit Graph

299 Commits (01ad9e99a74f6a36a4da09ea7839e1ad616294ed)

Author SHA1 Message Date
j. Emrys Landivar (docmerlin) 593e8f85c0 Update Gopkg.lock 2018-05-23 00:35:19 -05:00
j. Emrys Landivar (docmerlin) 32118f36c7 toHTTP function moved from github.com/influxdata/ifql PR 362 2018-05-23 00:28:44 -05:00
Jorge Landivar 435e38da9d
Merge pull request #25 from influxdata/vet
fix and enable vet
2018-05-23 00:22:42 -05:00
j. Emrys Landivar (docmerlin) 2f33928e1c add make vet 2018-05-23 00:21:26 -05:00
j. Emrys Landivar (docmerlin) 85c13d5f12 enable vet 2018-05-22 17:05:17 -05:00
Adam 19a51426d7
Merge pull request #22 from influxdata/aa_fromcsv_file
feat(cmd/ifqld): fromCSV reads files now
2018-05-22 17:17:57 -04:00
Adam 1495b7291a feat(cmd/ifqld): fromCSV reads files now
extended fromCSV to have an optional file:  parameter so that larger blocks of text can be given by filename instead of a blob of text
2018-05-22 16:56:27 -04:00
Nathaniel Cook 316bd7fb16 Merged pull request #17 from influxdata/nc-makefile
chore: Add Makefile
2018-05-22 14:51:50 -06:00
Nathaniel Cook eb7210b107 fix(ci): fix circleci to use make file 2018-05-22 14:50:10 -06:00
Nathaniel Cook c8ff490338 chore: Add Makefile 2018-05-22 14:45:23 -06:00
Nathaniel Cook ae31810f41 Merged pull request #19 from influxdata/nc-stop-col
fix(query): Add _stop, _start to partition key
2018-05-22 13:47:33 -06:00
Nathaniel Cook 0e2c213517 fix(query): Add _stop, _start to partition key 2018-05-22 12:59:07 -06:00
Michael Desa d907373d03 fix(http): use name query parameter instead of org in org routes 2018-05-22 13:50:34 -04:00
Michael Desa 3a42225dae test(testing): fix find authorization by token test
The previous test wasn't sufficient to detect certain types bad tests.
2018-05-22 13:25:05 -04:00
Jonathan A. Sternberg 4c69fd85e3
Merge pull request #14 from influxdata/js-influxql-transpiler
migrate(cmd/transpilerd): migrate the transpiler and its http handler to platform
2018-05-22 11:42:35 -05:00
Jonathan A. Sternberg 71986589fa migrate(cmd/transpilerd): migrate the transpiler and its http handler to platform 2018-05-22 11:13:30 -05:00
Nathaniel Cook a4f8741229 Merged pull request #12 from influxdata/nc-ifql-move
Move IFQL into repo
2018-05-22 09:53:49 -06:00
Nathaniel Cook affc7e3976 move types around to avoid cyclic imports 2018-05-21 17:02:42 -06:00
Nathaniel Cook 20345b8701 rewrite imports 2018-05-21 15:20:06 -06:00
Nathaniel Cook 51b8aebebf initial copy of ifql repo 2018-05-21 15:18:56 -06:00
Adam 0eb0f1548c
Merge pull request #9 from influxdata/aa_ifqld
ifqld with static organization+bucket
2018-05-21 11:26:19 -04:00
Nathaniel Cook 61400c0ca7 updates to ifqld to get static services working 2018-05-21 09:22:48 -06:00
Adam 5fb8b1a5dd changes to defaults in the static services 2018-05-21 09:22:48 -06:00
Adam acf70b508e Added static organization and bucket services 2018-05-21 09:22:48 -06:00
Adam 239742f042 First pass at ifqld complete, ready for discussion 2018-05-21 09:22:46 -06:00
Michael Desa 4f0e1afa42
Merge pull request #7 from influxdata/feat/bolt-orgs
Add bolt implementation of organzation/user/authorization services
2018-05-21 10:09:28 -04:00
Michael Desa f654b59662 feat(platform): add boltdb implementation of services
feat(platform): add id to authorization

feat(platform): add user arg to CreateAuthorization method on auth svc

migrate(platform): move idp command to platform directory

This comit did not move the ifql command as it depends on the query
service which has yet to be migrated.

feat(platform): add optional user name to authorization struct

feat(platform): add organization name to bucket struct

Additionally allow filtering buckets by organization name.

feat(prom): ensure that prom auth svc implement base interface

feat(prometheus): add user to create authorization method

feat(prom): drop user string from create authorization

feat(zap): ensure that zap auth svc implements base service interface

feat(zap): add user to create authorization method

feat(zap): drop user string from create authorization

feat(http): add ids to authorization service

feat(http): ensure that http authoriztaion service implements auth svc interface

feat(http): use authorization ids in authorization handler

squash(http): add check for http status accepted in authorization service

feat(http): clean up authorization service and handlers

feat(http): drop user string from create authorization

fix(http): normalize the http authorization service

feat(http): normalize bucket service and handler methods

Additonally, we added support for DELETE bucket

feat(http): add delete user handler

Additionally, there was a bit of general cleanup

feat(http): add delete route for organization handler and service

Did a bit of additional cleanup of the http code.

test(testing): add service conformance tests

test(testing): add organization service conformance tests

test(testing): add conformance test for orgs service

Additionally, there was a bit of cleanup in the users service tests

test(testing): add conformance test for authorizations service

test(testing): update auth tests to validate that user exists

test(testing): update authorization conformance tests with user name

test(testing): update bucket conformance tests to include organizations

feat(bolt): add bolt implementation services

feat(bolt): add bolt implementation of organization service

feat(bolt): add bolt implementation of users service

feat(bolt): add bolt implementation of authorization service

feat(bolt): add user to create authorization method

feat(bolt): drop user string from create authorization

fix(bolt): set user name on authorization after put

feat(bolt): update bucket servie to include organizations

feat(bolt): add dependent destroy of resources

feat(cmd/idpd): use bolt services in platform server

feat(cmd/idpd): use bolt organization service in platform server

feat(cmd/idpd): use bolt users service in plaform server

feat(cmd/idpd): use bolt client as authorization service

feat(cmd/idp): show user name in output of auth sub command

feat(cmd/idp): clean up bucket subcommand of idp command

fix(cmd/idp): normalize idp command output for users

fix(cmd/idp): normalize auth subcommand output

feat(cmd/idp): add support for delete organiztion command

migrate(idp): move ifql subcommand of idp to platform
2018-05-21 10:08:22 -04:00
Nathaniel Cook 7e4912048d Merged pull request #10 from influxdata/nc-csv
fix(query/csv): update CSV encoders/decoders for final SPEC
2018-05-19 15:29:34 -06:00
Nathaniel Cook c0b01f16f8 update transpiler and influxql encoders 2018-05-19 15:28:37 -06:00
Nathaniel Cook 1833601dbb fix(query/csv): update CSV encoders/decoders for final SPEC 2018-05-18 16:54:25 -06:00
Adam 16c4b89eab
Merge pull request #4 from influxdata/aa_refactor_ifql
Migrate cmd/ifqld  to platform
2018-05-17 12:15:32 -04:00
Adam 64e3c840ea Relocated several source files from private repo to here. 2018-05-17 11:35:53 -04:00
Jorge Landivar 7f40fe413e
Merge pull request #6 from influxdata/circleci
Circle ci
2018-05-16 12:07:44 -05:00
Michael Desa 24b2fbfd95
Merge pull request #2 from influxdata/feat/create-idpd
Add boltdb implementation of bucket service
2018-05-16 12:06:12 -04:00
Michael Desa 2f081f20ad todo(kit/errors): add todo item to kit errors 2018-05-16 11:45:13 -04:00
Michael Desa 3c7ca65c61 fix(http): rename status_response_writer.go to status.go 2018-05-16 11:45:13 -04:00
Michael Desa 27cb903cc2 fix(rand): rename *_genator.go to *.go 2018-05-16 11:45:13 -04:00
Michael Desa 1d7e18790c fix(snowflake): rename *_generator.go to *.go 2018-05-16 11:45:13 -04:00
Michael Desa 1aa08a2a4b fix(platform): rename *_generator.go to *.go 2018-05-16 11:45:13 -04:00
Michael Desa 4fe8a8bece feat(cmd/idpd): add influxdata platform server
feat(cmd/idpd): add influxdata platform server daemon
2018-05-16 11:45:11 -04:00
Michael Desa f35f8e3386 feat(bolt): add boltdb implementation of bucket service
fix(bolt): use correct bolt package in test

feat(bolt): add bucket name index to bolt bucket service

feat(bolt): establish pattern for bolt back servies
2018-05-16 11:45:10 -04:00
Michael Desa 83cf82d794 test(testing): add bucket service conformance tests
test(testing): fix incorrectly named delete bucket test

fix(testing): fix bad delete bucket test
2018-05-16 11:45:09 -04:00
Michael Desa 27cf45a870 dep: update dependencies
dep(platform): update dependencies
2018-05-16 11:45:07 -04:00
docmerlin (j. Emrys Landivar) 6925c4b161 Circle ci 2018-05-16 10:43:33 -05:00
Michael Desa 8801c288cd feat(http): add platform http handler 2018-05-15 17:22:42 -04:00
Michael Desa 90af708a2c
Merge pull request #1 from influxdata/migrate/enterprise
Migrate base files from enterprise to platform
2018-05-14 17:44:44 -04:00
Michael Desa eabba6986d migrate(platform): move public dependencies into platform
migrate(context): move context package to platform

migrate(kit/errors): move errors package to platform

migrate(mock): move mock package to platform

migrate(prometheus): move prometheus package to platform

migrate(rand): move rand package to platform

migrate(snowflake): move snowflake package to platform

migrate(testing): move testing package to platform

migrate(zap): move zap package to platform

migrate(http): move http package to platform

migrate(platform): rename base package idpe to platform

git(base): add gitignore

dep: add dependencies

migrate(platform): remove consumer.go

migrate(platform): make secret things private again
2018-05-14 17:12:53 -04:00
Michael Desa 6982acfa37 docs(platform): add base readme 2018-05-14 12:14:40 -04:00
Paul Dix 8e82c1a348
Initial commit 2018-05-09 09:17:31 -07:00