[
https://issues.apache.org/jira/browse/ARIA-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15858259#comment-15858259
]
ASF GitHub Bot commented on ARIA-42:
------------------------------------
Github user ran-z commented on a diff in the pull request:
https://github.com/apache/incubator-ariatosca/pull/68#discussion_r100119409
--- Diff: tests/storage/__init__.py ---
@@ -65,3 +65,14 @@ def release_sqlite_storage(storage):
session.close()
for engine in set(mapi._engine for mapi in mapis):
--- End diff --
dont forget to revisit mock context
> Implement full blown mechanism for serializing an operation context
> -------------------------------------------------------------------
>
> Key: ARIA-42
> URL: https://issues.apache.org/jira/browse/ARIA-42
> Project: AriaTosca
> Issue Type: Story
> Reporter: Dan Kilman
> Assignee: Maxim Orlov
>
> The current mechanism at
> aria/orchestration/workflows/context/serialization.py is very limited.
> It serializes/deserializes the context.model and context.resource with hard
> coded knowledge of the actual implementation involved and even how they were
> initialized. Specifically:
> The model storage initialized is always expected to be sqlachemy based with
> no additional engine configuration (i.e. only the engine url is used to
> re-construct the sqlalchemy engine), similar logic applies to the
> instantiated sqlalchemy session.
> The resource storage initialized is always the file based resource storage.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)