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.
* Load services on manages sources page
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
* Add Flux dropdown on manage sources page
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
* Add flux connection dropdown with create, select, and update
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
* Prevent creation of Flux connection with duplicate name
Fixed bug where refreshing page allowed for Flux or connections
with duplicate names to be created
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
* Add ability to delete a FluxService from the fluxservice dropdown
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
* Change FluxPage to use the active flux connection set by FluxConnectionPage
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
* Ensure that only flux services are loaded into redux services
* Polish styles for Flux Connection Page
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
* Add pingflux as a part of adding and updating a flux service
Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
* Add Swagger routes and definitions for Service endpoints
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
* Replace flux overlay with redirect to flux connections pages
* Add test for FluxConnectionPage
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
* Replace hard-coded string with enum
* Use active from metadata instead of service object in ServiceDropdown
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
* Add generic for getDeep on service metadata property
* Capitalize enum constant values in FluxFormMode
* Show error notification when user reaches edit route for nonexistant flux
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
* Add tests for FluxDropdown
* Update types for async functions