Commit Graph

11 Commits (c4c6ad6974a48fdfc1826225f1bac40a3cba2d43)

Author SHA1 Message Date
Michael Desa 36e14cb111 Refactor data stores into a common interface 2017-10-31 16:41:17 -04:00
Jared Scheib 3b2818688a Make all Store names plural for consistency 2017-10-24 15:54:24 -07:00
Jared Scheib 31f72a71e9 Rename vestigial receiver 'h' on Service to 's'
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-10 15:27:58 -07:00
Chris Goller 77b861d26e Add server error logging 2016-11-19 11:41:06 -06:00
Chris Goller 1e885bce8b Fix several handlers that were not returning after error 2016-11-11 12:52:34 -06:00
Tim Raymond ccd3bfe350 Make /mappings use App Name instead of ID
Due to developer confusion over nomenclature, the ID was used in lieu of
the Application property of `Layout`. `layout.Application` holds the
user-facing name for a particular layout, and is what should be paired
with a measurement name in the `/mappings` endpoint.

Before
------
```
% curl http://localhost:8888/chronograf/v1/mappings
{
   "mappings" : [
      {
         "name" : "18aed9a7-dc83-406e-a4dc-40d53049541a",
         "measurement" : "disk"
      }
   ]
}
```

After
-----
```
% curl http://localhost:8888/chronograf/v1/mappings
{
   "mappings" : [
      {
         "measurement" : "disk",
         "name" : "User Facing Application Name"
      }
   ]
}
```

Connect #326
2016-11-04 14:04:50 -04:00
nathan haugo feb9ef05b9 Revert unwanted changes from commit to new_apps.sh 2016-11-03 11:13:40 -07:00
nathan haugo fdd1dcf3fd Add name and cell to new_app.sh 2016-11-03 11:03:26 -07:00
Tim Raymond 5eabf6aa12 Wire up /mappings endpoint to layouts
This populates the /mappings with data found in the LayoutStore. It uses
the ID for the layout as the mappings Name and pulls the Measurement
from there as well.
2016-11-01 15:49:10 -04:00
Chris Goller dd9f110533 Fix mux paths to be hardcoded; clarify server start; fix golint 2016-10-28 11:27:06 -05:00
Chris Goller 12348d72cb Refactor to remove autogenerated code. 2016-10-26 22:10:52 -05:00