- Check if database has default user, org, bucket
- Set up initial user, org and bucket
- Set up a new user, org and bucket
- Add examples and test
- Add necessary models
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
Get the readiness of an instance at startup
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Connects to influxdata/fusion#60
As far as I can tell, `/api/v2/write` uses `org` and `bucket` params
that can take org and bucket names, so just call those `org` and
`bucket` throughout and clarify in examples they can be any string.
However, `/api/v2/buckets` uses only `orgID` that must be the
organization's 16-digit hex ID, so clarify that case.
This means in examples where we create a bucket and push points into it,
we'll need both a hex ID and name for the organization.
Connects to influxdata/fusion#59. Delorean currently ignores this
header.
Also add an example of using this to connect to an InfluxDB 2 instance;
I tested this out with a locally running Influx DB 2 and I was able to
write points!