ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AviaE <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #189: ARIA-174 Refactor instantiation phase
Date Wed, 09 Aug 2017 10:05:56 GMT
Github user AviaE commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/189#discussion_r132122306
  
    --- Diff: aria/core.py ---
    @@ -74,18 +74,19 @@ def create_service(self, service_template_id, inputs, service_name=None):
             # setting no autoflush for the duration of instantiation - this helps avoid dependency
             # constraints as they're being set up
             with storage_session.no_autoflush:
    -            topology_ = topology.Topology(self.model_storage)
    -            service = topology_.instantiate(service_template, inputs=inputs)
    -            topology_.coerce(service)
    +            topology_ = topology.Topology()
    +            service = topology_.instantiate(
    --- End diff --
    
    maybe just pass the plugins, as they are the only ones that are actually needed from the
model.


---
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.
---

Mime
View raw message