Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0F27F200C86 for ; Wed, 31 May 2017 21:09:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0BE6A160BCB; Wed, 31 May 2017 19:09:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 48FA1160BC2 for ; Wed, 31 May 2017 21:09:41 +0200 (CEST) Received: (qmail 66858 invoked by uid 500); 31 May 2017 19:09:40 -0000 Mailing-List: contact commits-help@ariatosca.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ariatosca.incubator.apache.org Delivered-To: mailing list commits@ariatosca.incubator.apache.org Received: (qmail 66849 invoked by uid 99); 31 May 2017 19:09:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2017 19:09:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 68316DFF66; Wed, 31 May 2017 19:09:40 +0000 (UTC) From: tliron To: commits@ariatosca.apache.org Reply-To: commits@ariatosca.apache.org References: In-Reply-To: Subject: [GitHub] incubator-ariatosca pull request #138: ARIA-149 Enhance operation configurat... Content-Type: text/plain Message-Id: <20170531190940.68316DFF66@git1-us-west.apache.org> Date: Wed, 31 May 2017 19:09:40 +0000 (UTC) archived-at: Wed, 31 May 2017 19:09:42 -0000 Github user tliron commented on a diff in the pull request: https://github.com/apache/incubator-ariatosca/pull/138#discussion_r119447056 --- Diff: aria/modeling/utils.py --- @@ -51,74 +53,95 @@ def service_template(self): return self.container.service_template -def create_inputs(inputs, template_inputs): +def merge_parameter_values(parameter_values, declared_parameters, forbidden_names=None): --- End diff -- The original code was superfluous and complex, doing unpacking and re-packing of values, and actually had a bug in one area of it. I think this code is much cleaner! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---