Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B40061884C for ; Thu, 17 Mar 2016 10:31:33 +0000 (UTC) Received: (qmail 17551 invoked by uid 500); 17 Mar 2016 10:31:33 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 17497 invoked by uid 500); 17 Mar 2016 10:31:33 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 17477 invoked by uid 99); 17 Mar 2016 10:31:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2016 10:31:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6C7602C14F4 for ; Thu, 17 Mar 2016 10:31:33 +0000 (UTC) Date: Thu, 17 Mar 2016 10:31:33 +0000 (UTC) From: "Aljoscha Krettek (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-3624) Use camelCase naming of JSON attributes generated by the REST API instead of dash MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-3624?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1519= 9277#comment-15199277 ]=20 Aljoscha Krettek commented on FLINK-3624: ----------------------------------------- That's certainly a valid concern. I don't know whether we can change the Re= st API for the 1.x series of releases or whether we have to wait for 2.x, h= owever. > Use camelCase naming of JSON attributes generated by the REST API instead= of dash > -------------------------------------------------------------------------= -------- > > Key: FLINK-3624 > URL: https://issues.apache.org/jira/browse/FLINK-3624 > Project: Flink > Issue Type: Improvement > Components: Webfrontend > Reporter: Zolt=C3=A1n Zvara > > It forces inconvenient attribute access in some scripting languages, for = example JavaScript (which includes the JSON (JavaScript Object Notation) sp= ecification) and against the widely used and accepted camelCase style. > Example: > {code:title=3Dhttp://localhost:8081/jobs/8510e306a40e9266fcc6e0989a258a01= /vertices|borderStyle=3Dsolid} > { > jid: "8510e306a40e9266fcc6e0989a258a01", > name: "Socket Window WordCount", > isStoppable: false, > state: "RUNNING", > start-time: 1458147070328, > end-time: -1, > duration: 418389, > now: 1458147488717, > {code} > {{isStoppable}} is camelCase, {{start-time}} is not. -- This message was sent by Atlassian JIRA (v6.3.4#6332)