Johnny Steenbergen
d0a336fbf8
chore(pkger): refactor nested labels and non unique by name resources
...
makes the label mapping more generic so we don't have to create N number
of label mapping funcs.
2019-12-03 11:17:20 -08:00
Johnny Steenbergen
988fd0ae80
chore(pkger): refactor diff into common types for easier access
2019-11-22 16:09:23 -08:00
Johnny Steenbergen
888baa2db6
feat(pkger): move bucket pkger model to reflect http APIs retention rules in palce of retention period
2019-11-22 11:13:06 -08:00
Johnny Steenbergen
9c525ad413
feat(pkger): add ability to export all and defined list of resources via influx cli to a package
...
refers: #15921
2019-11-21 10:55:12 -08:00
Johnny Steenbergen
1a28a3256e
feat(pkger): extend apply HTTP API to return parse err with 422 resp
2019-11-14 12:11:13 -08:00
Johnny Steenbergen
e26b21e261
chore(pkger): add integration tests for pkger service
...
these tests supply coverage for the happy path of the pkger service
behavior.
2019-11-12 14:05:07 -08:00
Johnny Steenbergen
b58e7947b1
feat(pkger): add support for exporting resource associations
...
also adds some extra user friendliness. it sorts the pkg created via an
export by resource kinds. It also titles the kinds to make them match the
documentation even though the kind is case insensitive. Easier to read this
way.
2019-11-11 08:51:54 -08:00
Johnny Steenbergen
a64b976561
feat(pkger): add export functonality to pkger for existing buckets/labels/dashboards
...
no associations included at this time. Also fixes http response to be just
the pkg without the envelope. Having that envelope makes the API icky to
work with from any shell script or just saving it to file. This feels more
organic to just drop that envelope.
2019-11-08 16:55:24 -08:00
Johnny Steenbergen
5eb29e9ed9
feat(pkger): add label associations to variables
2019-11-07 12:33:20 -08:00
Johnny Steenbergen
2090afa5fd
chore(pkger): move pkger http server to http pkg
2019-11-07 09:44:24 -08:00
Johnny Steenbergen
515b3f542a
feat(pkger): add support for the dry run and apply pkger http endpoints
...
not included is the pretty error handling for the pkger.ParseErr handling
2019-11-07 09:44:24 -08:00
Johnny Steenbergen
848875e64b
feat(pkger): add create service and http functionality for a package
...
supports as of this just the basic metadata being setup on the initial post
2019-11-07 09:44:24 -08:00
Johnny Steenbergen
9d44bb02b4
feat(pkger): update pkg application to skip resources that impose no changes
2019-11-04 09:06:55 -08:00
Johnny Steenbergen
c47bad5981
feat(pkger): add single stat chart to pkger dashboards
2019-11-01 14:36:18 -07:00
Johnny Steenbergen
eea44f6c72
feat(pkger): add dashboard support to pkger
...
included is the base for dashboards and association of labels with
dashboards.
2019-11-01 12:20:54 -07:00
Johnny Steenbergen
37decdfa24
chore(pkger): fixup loose ends from PR review
2019-11-01 11:59:09 -07:00
Johnny Steenbergen
a03c497015
feat(pkger): add dry run functionality
...
does not apply to mappings, will apply mappings no matter what. we need to
remedy the uniqueness of resources from the API side. Applies to labels,
label mappings,
2019-11-01 11:59:09 -07:00
Johnny Steenbergen
c7545f8951
feat(pkger): add label -> bucket mappings to pkger
2019-11-01 11:59:09 -07:00
Deary Hudson
220309e498
feat(pkger): adds label support
2019-11-01 11:59:09 -07:00
Johnny Steenbergen
52647af79e
feat(pkger): add groundwork for manifest to support bucket resource
2019-11-01 11:59:09 -07:00