goori / braintrust

Automatically exported from code.google.com/p/braintrust
0 stars 0 forks source link

geAnnotatedSeries webservice returns different Channel Label than getDataSnapshotTimeSeriesDetails #428

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Two different webservices should return same timeseries object:

From tsi.getDataSnapshotTimeSeriesDetails:

<?xml version="1.0" encoding="UTF-8" 
standalone="yes"?><timeSeries><label>Grid_01</label><revId>f783bd4b-056a-4733-b3
75-b4c135f995d9</revId></timeSeries>

From TimeSeries:

<?xml version="1.0" encoding="UTF-8" 
standalone="yes"?><timeSeries><label>Grid1</label><revId>f783bd4b-056a-4733-b375
-b4c135f995d9</revId></timeSeries>

The label is not the same, which creates errors when I do a 
TS.contains(timeseries) ---> always false.

Original issue reported on code.google.com by JBWagenaar on 8 Jul 2013 at 7:16

GoogleCodeExporter commented 9 years ago
first example is from: tsi.getDataSnapshotTimeSeriesDetails

second example is from: getTsAnnotations.getAnnotatedSeries

Original comment by JBWagenaar on 8 Jul 2013 at 7:19

GoogleCodeExporter commented 9 years ago

Original comment by samd.p...@gmail.com on 8 Jul 2013 at 8:16

GoogleCodeExporter commented 9 years ago
I bet this is because getDataSnapshotTimeSeriesDetails is looking at the file 
header and not the database for the label. We changed some file names for the 
benefit of the importer, and the database ends up with a label like the 
filename. But the header label is based on the original file name.

Original comment by john.fro...@gmail.com on 8 Jul 2013 at 8:35

GoogleCodeExporter commented 9 years ago
But the database contains the name we should be using, correct?

Original comment by samd.p...@gmail.com on 8 Jul 2013 at 8:40

GoogleCodeExporter commented 9 years ago
Yes, I think that is what gets shown in all situations except for the table you 
see when you ask for a CSV download.

Original comment by john.fro...@gmail.com on 8 Jul 2013 at 8:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by samd.p...@gmail.com on 8 Jul 2013 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by samd.p...@gmail.com on 9 Jul 2013 at 3:21