Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9457318B00 for ; Tue, 28 Jul 2015 06:43:05 +0000 (UTC) Received: (qmail 16428 invoked by uid 500); 28 Jul 2015 06:43:05 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 16394 invoked by uid 500); 28 Jul 2015 06:43:05 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 16382 invoked by uid 500); 28 Jul 2015 06:43:05 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 16379 invoked by uid 99); 28 Jul 2015 06:43:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2015 06:43:05 +0000 Date: Tue, 28 Jul 2015 06:43:05 +0000 (UTC) From: "Rajani Karuturi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-8192) Wrong ID being returned in the createEgressFirewallRule end-point response MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajani Karuturi updated CLOUDSTACK-8192: ---------------------------------------- Assignee: Maneesha (was: Rajani Karuturi) > Wrong ID being returned in the createEgressFirewallRule end-point response > -------------------------------------------------------------------------- > > Key: CLOUDSTACK-8192 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8192 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Environment: Issue was found on cloudstack version 4.2.1 > Reporter: Diogo Monteiro > Assignee: Maneesha > Priority: Critical > > Instead of returning the rule UUID, the endpoint is returning the database primary key. This causes an issue since most third party applications expect async endpoints to return the asyncJobId and the resource UUID as part of the response > Steps to reproduce: > #1 Make a request to the createEgressFirewallRule endPoint > http://cs42.dev.cloud:8096?action=ALLOW&apiKey=j-DKJIkURhA2G4H0vg3Tba-a75SasolsL8sRZbEAxKlq-AihyVElV7dhaAMjf-jOTOwzu8zEoKb-2krJjr8r3Q&cidrlist=0.0.0.0%2F0&command=createEgressFirewallRule&endport=81&networkid=e5a1cb87-b6da-4e41-b6c2-2bc686713d0f&number=1003&protocol=TCP&response=json&startport=81&traffictype=INGRESS&signature=aT8dtBE%2FTb34205sfKHckXXPGcQ%3D > Results > Response object return primary key instead of UUID: > "createegressfirewallruleresponse": { > "id": "78", > "jobid": "05626600-fb64-4558-b5ce-675294e9f48f" > } > Expected Results: > createegressfirewallruleresponse object should contain the rule UUID -- This message was sent by Atlassian JIRA (v6.3.4#6332)