)]}'
{"java/src/main/java/monasca/api/infrastructure/persistence/vertica/StatisticVerticaRepoImpl.java":[{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"2f9690ca2514190b5e5c9746129977335041e37f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":" * Copyright (c) 2014 Hewlett-Packard Development Company, L.P."},{"line_number":3,"context_line":" * "},{"line_number":4,"context_line":" * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except"},{"line_number":5,"context_line":" * in compliance with the License. You may obtain a copy of the License at"}],"source_content_type":"text/x-java","patch_set":4,"id":"fa1b9901_82fc773f","line":2,"updated":"2015-08-24 15:42:00.000000000","message":"This space needs to be removed.","commit_id":"0cc909be7e0c148a05657e670c1093844d5fc2a7"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"2f9690ca2514190b5e5c9746129977335041e37f","unresolved":false,"context_lines":[{"line_number":2,"context_line":" * Copyright (c) 2014 Hewlett-Packard Development Company, L.P."},{"line_number":3,"context_line":" * "},{"line_number":4,"context_line":" * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except"},{"line_number":5,"context_line":" * in compliance with the License. You may obtain a copy of the License at"},{"line_number":6,"context_line":" * "},{"line_number":7,"context_line":" * http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":8,"context_line":" * "}],"source_content_type":"text/x-java","patch_set":4,"id":"fa1b9901_4295ffe1","line":5,"updated":"2015-08-24 15:42:00.000000000","message":"Remove space.","commit_id":"0cc909be7e0c148a05657e670c1093844d5fc2a7"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"2f9690ca2514190b5e5c9746129977335041e37f","unresolved":false,"context_lines":[{"line_number":4,"context_line":" * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except"},{"line_number":5,"context_line":" * in compliance with the License. You may obtain a copy of the License at"},{"line_number":6,"context_line":" * "},{"line_number":7,"context_line":" * http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":8,"context_line":" * "},{"line_number":9,"context_line":" * Unless required by applicable law or agreed to in writing, software distributed under the License"},{"line_number":10,"context_line":" * is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express"}],"source_content_type":"text/x-java","patch_set":4,"id":"fa1b9901_029f0704","line":7,"updated":"2015-08-24 15:42:00.000000000","message":"Remove space.","commit_id":"0cc909be7e0c148a05657e670c1093844d5fc2a7"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"2f9690ca2514190b5e5c9746129977335041e37f","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        // we increment offset by the interval to begin at the"},{"line_number":126,"context_line":"        // next time bucket."},{"line_number":127,"context_line":"        //"},{"line_number":128,"context_line":"        offsetMs +\u003d period * 1000;"},{"line_number":129,"context_line":"        query.bind(\"offset\", new Timestamp(offsetMs));"},{"line_number":130,"context_line":"      }"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-java","patch_set":4,"id":"fa1b9901_fdf3989d","line":128,"updated":"2015-08-24 15:42:00.000000000","message":"This supposes that the period is the same between successive requests. What if the period on the first request is 300 and the period on the next request is 600. Some measurements will be skipped on the second request.\n\nThe offset needs to be independent of the period.","commit_id":"0cc909be7e0c148a05657e670c1093844d5fc2a7"}]}
