Commit Graph

8 Commits (60aa501379cf2f54efb513f31ddce90773ae199a)

Author SHA1 Message Date
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